Thomas Petazzoni | 9ae6f74 | 2012-06-13 19:01:28 +0200 | [diff] [blame] | 1 | /* |
| 2 | * Device Tree Include file for Marvell Armada 370 and Armada XP SoC |
| 3 | * |
| 4 | * Copyright (C) 2012 Marvell |
| 5 | * |
| 6 | * Lior Amsalem <alior@marvell.com> |
| 7 | * Gregory CLEMENT <gregory.clement@free-electrons.com> |
| 8 | * Thomas Petazzoni <thomas.petazzoni@free-electrons.com> |
| 9 | * Ben Dooks <ben.dooks@codethink.co.uk> |
| 10 | * |
| 11 | * This file is licensed under the terms of the GNU General Public |
| 12 | * License version 2. This program is licensed "as is" without any |
| 13 | * warranty of any kind, whether express or implied. |
| 14 | * |
| 15 | * This file contains the definitions that are common to the Armada |
| 16 | * 370 and Armada XP SoC. |
| 17 | */ |
| 18 | |
Gregory CLEMENT | 7489836 | 2013-04-12 16:29:10 +0200 | [diff] [blame] | 19 | /include/ "skeleton64.dtsi" |
Thomas Petazzoni | 9ae6f74 | 2012-06-13 19:01:28 +0200 | [diff] [blame] | 20 | |
Ezequiel Garcia | 5e12a61 | 2013-07-26 10:17:57 -0300 | [diff] [blame] | 21 | #define MBUS_ID(target,attributes) (((target) << 24) | ((attributes) << 16)) |
| 22 | |
Thomas Petazzoni | 9ae6f74 | 2012-06-13 19:01:28 +0200 | [diff] [blame] | 23 | / { |
| 24 | model = "Marvell Armada 370 and XP SoC"; |
Thomas Petazzoni | 92ece1c | 2012-11-09 16:29:17 +0100 | [diff] [blame] | 25 | compatible = "marvell,armada-370-xp"; |
Thomas Petazzoni | 9ae6f74 | 2012-06-13 19:01:28 +0200 | [diff] [blame] | 26 | |
Willy Tarreau | be5a938 | 2013-06-03 18:47:36 +0200 | [diff] [blame] | 27 | aliases { |
| 28 | eth0 = ð0; |
| 29 | eth1 = ð1; |
| 30 | }; |
| 31 | |
Thomas Petazzoni | 9ae6f74 | 2012-06-13 19:01:28 +0200 | [diff] [blame] | 32 | cpus { |
Lorenzo Pieralisi | 7a7ed29 | 2013-04-18 18:29:34 +0100 | [diff] [blame] | 33 | #address-cells = <1>; |
| 34 | #size-cells = <0>; |
Thomas Petazzoni | 9ae6f74 | 2012-06-13 19:01:28 +0200 | [diff] [blame] | 35 | cpu@0 { |
| 36 | compatible = "marvell,sheeva-v7"; |
Lorenzo Pieralisi | 7a7ed29 | 2013-04-18 18:29:34 +0100 | [diff] [blame] | 37 | device_type = "cpu"; |
| 38 | reg = <0>; |
Thomas Petazzoni | 9ae6f74 | 2012-06-13 19:01:28 +0200 | [diff] [blame] | 39 | }; |
| 40 | }; |
| 41 | |
Thomas Petazzoni | 9ae6f74 | 2012-06-13 19:01:28 +0200 | [diff] [blame] | 42 | soc { |
Ezequiel Garcia | 5e12a61 | 2013-07-26 10:17:57 -0300 | [diff] [blame] | 43 | #address-cells = <2>; |
Thomas Petazzoni | 9ae6f74 | 2012-06-13 19:01:28 +0200 | [diff] [blame] | 44 | #size-cells = <1>; |
Ezequiel Garcia | 5e12a61 | 2013-07-26 10:17:57 -0300 | [diff] [blame] | 45 | controller = <&mbusc>; |
Thomas Petazzoni | 9ae6f74 | 2012-06-13 19:01:28 +0200 | [diff] [blame] | 46 | interrupt-parent = <&mpic>; |
Thomas Petazzoni | 9ae6f74 | 2012-06-13 19:01:28 +0200 | [diff] [blame] | 47 | |
Ezequiel Garcia | de1af8d | 2013-07-26 10:17:59 -0300 | [diff] [blame^] | 48 | devbus-bootcs { |
| 49 | compatible = "marvell,mvebu-devbus"; |
| 50 | reg = <MBUS_ID(0xf0, 0x01) 0x10400 0x8>; |
| 51 | ranges = <0 MBUS_ID(0x01, 0x2f) 0 0xffffffff>; |
| 52 | #address-cells = <1>; |
| 53 | #size-cells = <1>; |
| 54 | clocks = <&coreclk 0>; |
| 55 | status = "disabled"; |
| 56 | }; |
| 57 | |
| 58 | devbus-cs0 { |
| 59 | compatible = "marvell,mvebu-devbus"; |
| 60 | reg = <MBUS_ID(0xf0, 0x01) 0x10408 0x8>; |
| 61 | ranges = <0 MBUS_ID(0x01, 0x3e) 0 0xffffffff>; |
| 62 | #address-cells = <1>; |
| 63 | #size-cells = <1>; |
| 64 | clocks = <&coreclk 0>; |
| 65 | status = "disabled"; |
| 66 | }; |
| 67 | |
| 68 | devbus-cs1 { |
| 69 | compatible = "marvell,mvebu-devbus"; |
| 70 | reg = <MBUS_ID(0xf0, 0x01) 0x10410 0x8>; |
| 71 | ranges = <0 MBUS_ID(0x01, 0x3d) 0 0xffffffff>; |
| 72 | #address-cells = <1>; |
| 73 | #size-cells = <1>; |
| 74 | clocks = <&coreclk 0>; |
| 75 | status = "disabled"; |
| 76 | }; |
| 77 | |
| 78 | devbus-cs2 { |
| 79 | compatible = "marvell,mvebu-devbus"; |
| 80 | reg = <MBUS_ID(0xf0, 0x01) 0x10418 0x8>; |
| 81 | ranges = <0 MBUS_ID(0x01, 0x3b) 0 0xffffffff>; |
| 82 | #address-cells = <1>; |
| 83 | #size-cells = <1>; |
| 84 | clocks = <&coreclk 0>; |
| 85 | status = "disabled"; |
| 86 | }; |
| 87 | |
| 88 | devbus-cs3 { |
| 89 | compatible = "marvell,mvebu-devbus"; |
| 90 | reg = <MBUS_ID(0xf0, 0x01) 0x10420 0x8>; |
| 91 | ranges = <0 MBUS_ID(0x01, 0x37) 0 0xffffffff>; |
| 92 | #address-cells = <1>; |
| 93 | #size-cells = <1>; |
| 94 | clocks = <&coreclk 0>; |
| 95 | status = "disabled"; |
| 96 | }; |
| 97 | |
Gregory CLEMENT | 467f54b | 2013-04-12 16:29:09 +0200 | [diff] [blame] | 98 | internal-regs { |
| 99 | compatible = "simple-bus"; |
| 100 | #address-cells = <1>; |
| 101 | #size-cells = <1>; |
Ezequiel Garcia | 5e12a61 | 2013-07-26 10:17:57 -0300 | [diff] [blame] | 102 | ranges = <0 MBUS_ID(0xf0, 0x01) 0 0x100000>; |
| 103 | |
| 104 | mbusc: mbus-controller@20000 { |
| 105 | compatible = "marvell,mbus-controller"; |
| 106 | reg = <0x20000 0x100>, <0x20180 0x20>; |
| 107 | }; |
Gregory CLEMENT | 467f54b | 2013-04-12 16:29:09 +0200 | [diff] [blame] | 108 | |
| 109 | mpic: interrupt-controller@20000 { |
Gregory CLEMENT | 82a6826 | 2013-04-12 16:29:08 +0200 | [diff] [blame] | 110 | compatible = "marvell,mpic"; |
| 111 | #interrupt-cells = <1>; |
| 112 | #size-cells = <1>; |
| 113 | interrupt-controller; |
Gregory CLEMENT | 467f54b | 2013-04-12 16:29:09 +0200 | [diff] [blame] | 114 | }; |
Thomas Petazzoni | b18ea4d | 2013-04-12 16:29:07 +0200 | [diff] [blame] | 115 | |
Gregory CLEMENT | 467f54b | 2013-04-12 16:29:09 +0200 | [diff] [blame] | 116 | coherency-fabric@20200 { |
Gregory CLEMENT | 82a6826 | 2013-04-12 16:29:08 +0200 | [diff] [blame] | 117 | compatible = "marvell,coherency-fabric"; |
Gregory CLEMENT | 467f54b | 2013-04-12 16:29:09 +0200 | [diff] [blame] | 118 | reg = <0x20200 0xb0>, <0x21810 0x1c>; |
| 119 | }; |
Thomas Petazzoni | b18ea4d | 2013-04-12 16:29:07 +0200 | [diff] [blame] | 120 | |
Gregory CLEMENT | 467f54b | 2013-04-12 16:29:09 +0200 | [diff] [blame] | 121 | serial@12000 { |
Gregory CLEMENT | b24212f | 2012-12-04 18:04:59 +0100 | [diff] [blame] | 122 | compatible = "snps,dw-apb-uart"; |
Gregory CLEMENT | 82a6826 | 2013-04-12 16:29:08 +0200 | [diff] [blame] | 123 | reg = <0x12000 0x100>; |
Thomas Petazzoni | 9ae6f74 | 2012-06-13 19:01:28 +0200 | [diff] [blame] | 124 | reg-shift = <2>; |
| 125 | interrupts = <41>; |
Heikki Krogerus | e366154 | 2013-03-06 11:23:33 +0100 | [diff] [blame] | 126 | reg-io-width = <1>; |
Thomas Petazzoni | 9ae6f74 | 2012-06-13 19:01:28 +0200 | [diff] [blame] | 127 | status = "disabled"; |
Gregory CLEMENT | 467f54b | 2013-04-12 16:29:09 +0200 | [diff] [blame] | 128 | }; |
| 129 | serial@12100 { |
Gregory CLEMENT | b24212f | 2012-12-04 18:04:59 +0100 | [diff] [blame] | 130 | compatible = "snps,dw-apb-uart"; |
Gregory CLEMENT | 82a6826 | 2013-04-12 16:29:08 +0200 | [diff] [blame] | 131 | reg = <0x12100 0x100>; |
Thomas Petazzoni | 9ae6f74 | 2012-06-13 19:01:28 +0200 | [diff] [blame] | 132 | reg-shift = <2>; |
| 133 | interrupts = <42>; |
Heikki Krogerus | e366154 | 2013-03-06 11:23:33 +0100 | [diff] [blame] | 134 | reg-io-width = <1>; |
Thomas Petazzoni | 9ae6f74 | 2012-06-13 19:01:28 +0200 | [diff] [blame] | 135 | status = "disabled"; |
Gregory CLEMENT | 467f54b | 2013-04-12 16:29:09 +0200 | [diff] [blame] | 136 | }; |
Thomas Petazzoni | 9ae6f74 | 2012-06-13 19:01:28 +0200 | [diff] [blame] | 137 | |
Gregory CLEMENT | 467f54b | 2013-04-12 16:29:09 +0200 | [diff] [blame] | 138 | timer@20300 { |
| 139 | compatible = "marvell,armada-370-xp-timer"; |
| 140 | reg = <0x20300 0x30>, <0x21040 0x30>; |
| 141 | interrupts = <37>, <38>, <39>, <40>, <5>, <6>; |
| 142 | clocks = <&coreclk 2>; |
| 143 | }; |
Thomas Petazzoni | 5b40bae | 2012-09-11 14:27:30 +0200 | [diff] [blame] | 144 | |
Gregory CLEMENT | 467f54b | 2013-04-12 16:29:09 +0200 | [diff] [blame] | 145 | sata@a0000 { |
| 146 | compatible = "marvell,orion-sata"; |
Thomas Petazzoni | 911492de | 2013-05-21 12:33:26 +0200 | [diff] [blame] | 147 | reg = <0xa0000 0x5000>; |
Gregory CLEMENT | 467f54b | 2013-04-12 16:29:09 +0200 | [diff] [blame] | 148 | interrupts = <55>; |
| 149 | clocks = <&gateclk 15>, <&gateclk 30>; |
| 150 | clock-names = "0", "1"; |
| 151 | status = "disabled"; |
| 152 | }; |
Gregory CLEMENT | a6a6de1 | 2012-10-26 14:30:47 +0200 | [diff] [blame] | 153 | |
Gregory CLEMENT | 467f54b | 2013-04-12 16:29:09 +0200 | [diff] [blame] | 154 | mdio { |
| 155 | #address-cells = <1>; |
| 156 | #size-cells = <0>; |
| 157 | compatible = "marvell,orion-mdio"; |
| 158 | reg = <0x72004 0x4>; |
| 159 | }; |
Thomas Petazzoni | 323c101 | 2012-09-04 15:06:43 +0200 | [diff] [blame] | 160 | |
Willy Tarreau | be5a938 | 2013-06-03 18:47:36 +0200 | [diff] [blame] | 161 | eth0: ethernet@70000 { |
Thomas Petazzoni | 323c101 | 2012-09-04 15:06:43 +0200 | [diff] [blame] | 162 | compatible = "marvell,armada-370-neta"; |
Thomas Petazzoni | cf8088c | 2013-05-21 12:33:27 +0200 | [diff] [blame] | 163 | reg = <0x70000 0x4000>; |
Thomas Petazzoni | 323c101 | 2012-09-04 15:06:43 +0200 | [diff] [blame] | 164 | interrupts = <8>; |
Thomas Petazzoni | 4aa935a | 2012-11-19 14:18:09 +0100 | [diff] [blame] | 165 | clocks = <&gateclk 4>; |
Thomas Petazzoni | 323c101 | 2012-09-04 15:06:43 +0200 | [diff] [blame] | 166 | status = "disabled"; |
Gregory CLEMENT | 467f54b | 2013-04-12 16:29:09 +0200 | [diff] [blame] | 167 | }; |
Thomas Petazzoni | 323c101 | 2012-09-04 15:06:43 +0200 | [diff] [blame] | 168 | |
Willy Tarreau | be5a938 | 2013-06-03 18:47:36 +0200 | [diff] [blame] | 169 | eth1: ethernet@74000 { |
Thomas Petazzoni | 323c101 | 2012-09-04 15:06:43 +0200 | [diff] [blame] | 170 | compatible = "marvell,armada-370-neta"; |
Thomas Petazzoni | cf8088c | 2013-05-21 12:33:27 +0200 | [diff] [blame] | 171 | reg = <0x74000 0x4000>; |
Thomas Petazzoni | 323c101 | 2012-09-04 15:06:43 +0200 | [diff] [blame] | 172 | interrupts = <10>; |
Thomas Petazzoni | 4aa935a | 2012-11-19 14:18:09 +0100 | [diff] [blame] | 173 | clocks = <&gateclk 3>; |
Thomas Petazzoni | 323c101 | 2012-09-04 15:06:43 +0200 | [diff] [blame] | 174 | status = "disabled"; |
Gregory CLEMENT | 467f54b | 2013-04-12 16:29:09 +0200 | [diff] [blame] | 175 | }; |
Nobuhiro Iwamatsu | 539eb5b | 2012-10-30 19:41:23 +0900 | [diff] [blame] | 176 | |
Gregory CLEMENT | 467f54b | 2013-04-12 16:29:09 +0200 | [diff] [blame] | 177 | i2c0: i2c@11000 { |
| 178 | compatible = "marvell,mv64xxx-i2c"; |
| 179 | reg = <0x11000 0x20>; |
| 180 | #address-cells = <1>; |
| 181 | #size-cells = <0>; |
| 182 | interrupts = <31>; |
| 183 | timeout-ms = <1000>; |
| 184 | clocks = <&coreclk 0>; |
| 185 | status = "disabled"; |
| 186 | }; |
Nobuhiro Iwamatsu | 539eb5b | 2012-10-30 19:41:23 +0900 | [diff] [blame] | 187 | |
Gregory CLEMENT | 467f54b | 2013-04-12 16:29:09 +0200 | [diff] [blame] | 188 | i2c1: i2c@11100 { |
| 189 | compatible = "marvell,mv64xxx-i2c"; |
| 190 | reg = <0x11100 0x20>; |
| 191 | #address-cells = <1>; |
| 192 | #size-cells = <0>; |
| 193 | interrupts = <32>; |
| 194 | timeout-ms = <1000>; |
| 195 | clocks = <&coreclk 0>; |
| 196 | status = "disabled"; |
| 197 | }; |
Gregory CLEMENT | 0db9854 | 2012-12-12 10:06:24 +0100 | [diff] [blame] | 198 | |
Gregory CLEMENT | 467f54b | 2013-04-12 16:29:09 +0200 | [diff] [blame] | 199 | rtc@10300 { |
| 200 | compatible = "marvell,orion-rtc"; |
| 201 | reg = <0x10300 0x20>; |
| 202 | interrupts = <50>; |
| 203 | }; |
Thomas Petazzoni | 42bb531 | 2012-12-21 15:49:04 +0100 | [diff] [blame] | 204 | |
Gregory CLEMENT | 467f54b | 2013-04-12 16:29:09 +0200 | [diff] [blame] | 205 | mvsdio@d4000 { |
| 206 | compatible = "marvell,orion-sdio"; |
| 207 | reg = <0xd4000 0x200>; |
| 208 | interrupts = <54>; |
| 209 | clocks = <&gateclk 17>; |
Simon Baatz | d87b5fb | 2013-05-13 23:18:58 +0200 | [diff] [blame] | 210 | bus-width = <4>; |
| 211 | cap-sdio-irq; |
| 212 | cap-sd-highspeed; |
| 213 | cap-mmc-highspeed; |
Gregory CLEMENT | 467f54b | 2013-04-12 16:29:09 +0200 | [diff] [blame] | 214 | status = "disabled"; |
| 215 | }; |
Ezequiel Garcia | b2bb806 | 2013-01-23 12:26:30 -0300 | [diff] [blame] | 216 | |
Gregory CLEMENT | 467f54b | 2013-04-12 16:29:09 +0200 | [diff] [blame] | 217 | usb@50000 { |
| 218 | compatible = "marvell,orion-ehci"; |
| 219 | reg = <0x50000 0x500>; |
| 220 | interrupts = <45>; |
| 221 | status = "disabled"; |
| 222 | }; |
Ezequiel Garcia | b2bb806 | 2013-01-23 12:26:30 -0300 | [diff] [blame] | 223 | |
Gregory CLEMENT | 467f54b | 2013-04-12 16:29:09 +0200 | [diff] [blame] | 224 | usb@51000 { |
| 225 | compatible = "marvell,orion-ehci"; |
| 226 | reg = <0x51000 0x500>; |
| 227 | interrupts = <46>; |
| 228 | status = "disabled"; |
| 229 | }; |
Ezequiel Garcia | b2bb806 | 2013-01-23 12:26:30 -0300 | [diff] [blame] | 230 | |
Gregory CLEMENT | 467f54b | 2013-04-12 16:29:09 +0200 | [diff] [blame] | 231 | spi0: spi@10600 { |
| 232 | compatible = "marvell,orion-spi"; |
| 233 | reg = <0x10600 0x28>; |
| 234 | #address-cells = <1>; |
| 235 | #size-cells = <0>; |
| 236 | cell-index = <0>; |
| 237 | interrupts = <30>; |
| 238 | clocks = <&coreclk 0>; |
| 239 | status = "disabled"; |
| 240 | }; |
Ezequiel Garcia | d5dc035 | 2013-02-06 10:06:21 -0300 | [diff] [blame] | 241 | |
Gregory CLEMENT | 467f54b | 2013-04-12 16:29:09 +0200 | [diff] [blame] | 242 | spi1: spi@10680 { |
| 243 | compatible = "marvell,orion-spi"; |
| 244 | reg = <0x10680 0x28>; |
| 245 | #address-cells = <1>; |
| 246 | #size-cells = <0>; |
| 247 | cell-index = <1>; |
| 248 | interrupts = <92>; |
| 249 | clocks = <&coreclk 0>; |
| 250 | status = "disabled"; |
| 251 | }; |
Ezequiel Garcia | 3d76e1f | 2013-04-10 16:04:01 -0300 | [diff] [blame] | 252 | |
Ezequiel Garcia | 3d76e1f | 2013-04-10 16:04:01 -0300 | [diff] [blame] | 253 | }; |
Thomas Petazzoni | 9ae6f74 | 2012-06-13 19:01:28 +0200 | [diff] [blame] | 254 | }; |
Gregory CLEMENT | 467f54b | 2013-04-12 16:29:09 +0200 | [diff] [blame] | 255 | }; |