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