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