1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Device Tree Include file for Marvell Armada 370 and Armada XP SoC
5 * Copyright (C) 2012 Marvell
7 * Lior Amsalem <alior@marvell.com>
8 * Gregory CLEMENT <gregory.clement@free-electrons.com>
9 * Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 * Ben Dooks <ben.dooks@codethink.co.uk>
12 * This file contains the definitions that are common to the Armada
13 * 370 and Armada XP SoC.
16 #define MBUS_ID(target,attributes) (((target) << 24) | ((attributes) << 16))
19 model = "Marvell Armada 370 and XP SoC";
20 compatible = "marvell,armada-370-xp";
31 compatible = "marvell,sheeva-v7";
38 compatible = "arm,cortex-a9-pmu";
39 interrupts-extended = <&mpic 3>;
45 controller = <&mbusc>;
46 interrupt-parent = <&mpic>;
47 pcie-mem-aperture = <0xf8000000 0x7e00000>;
48 pcie-io-aperture = <0xffe00000 0x100000>;
50 devbus_bootcs: devbus-bootcs {
51 compatible = "marvell,mvebu-devbus";
52 reg = <MBUS_ID(0xf0, 0x01) 0x10400 0x8>;
53 ranges = <0 MBUS_ID(0x01, 0x2f) 0 0xffffffff>;
56 clocks = <&coreclk 0>;
60 devbus_cs0: devbus-cs0 {
61 compatible = "marvell,mvebu-devbus";
62 reg = <MBUS_ID(0xf0, 0x01) 0x10408 0x8>;
63 ranges = <0 MBUS_ID(0x01, 0x3e) 0 0xffffffff>;
66 clocks = <&coreclk 0>;
70 devbus_cs1: devbus-cs1 {
71 compatible = "marvell,mvebu-devbus";
72 reg = <MBUS_ID(0xf0, 0x01) 0x10410 0x8>;
73 ranges = <0 MBUS_ID(0x01, 0x3d) 0 0xffffffff>;
76 clocks = <&coreclk 0>;
80 devbus_cs2: devbus-cs2 {
81 compatible = "marvell,mvebu-devbus";
82 reg = <MBUS_ID(0xf0, 0x01) 0x10418 0x8>;
83 ranges = <0 MBUS_ID(0x01, 0x3b) 0 0xffffffff>;
86 clocks = <&coreclk 0>;
90 devbus_cs3: devbus-cs3 {
91 compatible = "marvell,mvebu-devbus";
92 reg = <MBUS_ID(0xf0, 0x01) 0x10420 0x8>;
93 ranges = <0 MBUS_ID(0x01, 0x37) 0 0xffffffff>;
96 clocks = <&coreclk 0>;
101 compatible = "simple-bus";
102 #address-cells = <1>;
104 ranges = <0 MBUS_ID(0xf0, 0x01) 0 0x100000>;
107 compatible = "marvell,orion-rtc";
108 reg = <0x10300 0x20>;
113 compatible = "marvell,mv64xxx-i2c";
114 #address-cells = <1>;
117 clocks = <&coreclk 0>;
122 compatible = "marvell,mv64xxx-i2c";
123 #address-cells = <1>;
126 clocks = <&coreclk 0>;
130 uart0: serial@12000 {
131 compatible = "snps,dw-apb-uart";
132 reg = <0x12000 0x100>;
136 clocks = <&coreclk 0>;
140 uart1: serial@12100 {
141 compatible = "snps,dw-apb-uart";
142 reg = <0x12100 0x100>;
146 clocks = <&coreclk 0>;
150 pinctrl: pin-ctrl@18000 {
151 reg = <0x18000 0x38>;
154 coredivclk: corediv-clock@18740 {
155 compatible = "marvell,armada-370-corediv-clock";
159 clock-output-names = "nand";
162 mbusc: mbus-controller@20000 {
163 compatible = "marvell,mbus-controller";
164 reg = <0x20000 0x100>, <0x20180 0x20>,
168 mpic: interrupt-controller@20a00 {
169 compatible = "marvell,mpic";
170 #interrupt-cells = <1>;
172 interrupt-controller;
176 coherencyfab: coherency-fabric@20200 {
177 compatible = "marvell,coherency-fabric";
178 reg = <0x20200 0xb0>, <0x21010 0x1c>;
182 reg = <0x20300 0x30>, <0x21040 0x30>;
183 interrupts = <37>, <38>, <39>, <40>, <5>, <6>;
186 watchdog: watchdog@20300 {
187 reg = <0x20300 0x34>, <0x20704 0x4>;
190 cpurst: cpurst@20800 {
191 compatible = "marvell,armada-370-cpu-reset";
196 compatible = "marvell,armada-370-pmsu";
197 reg = <0x22000 0x1000>;
201 compatible = "marvell,orion-ehci";
202 reg = <0x50000 0x500>;
208 compatible = "marvell,orion-ehci";
209 reg = <0x51000 0x500>;
214 eth0: ethernet@70000 {
215 reg = <0x70000 0x4000>;
217 clocks = <&gateclk 4>;
222 #address-cells = <1>;
224 compatible = "marvell,orion-mdio";
226 clocks = <&gateclk 4>;
229 eth1: ethernet@74000 {
230 reg = <0x74000 0x4000>;
232 clocks = <&gateclk 3>;
237 compatible = "marvell,armada-370-sata";
238 reg = <0xa0000 0x5000>;
240 clocks = <&gateclk 15>, <&gateclk 30>;
241 clock-names = "0", "1";
245 nand_controller: nand-controller@d0000 {
246 compatible = "marvell,armada370-nand-controller";
247 reg = <0xd0000 0x54>;
248 #address-cells = <1>;
251 clocks = <&coredivclk 0>;
256 compatible = "marvell,orion-sdio";
257 reg = <0xd4000 0x200>;
259 clocks = <&gateclk 17>;
269 reg = <MBUS_ID(0xf0, 0x01) 0x10600 0x28>, /* control */
270 <MBUS_ID(0x01, 0x1e) 0 0xffffffff>, /* CS0 */
271 <MBUS_ID(0x01, 0x5e) 0 0xffffffff>, /* CS1 */
272 <MBUS_ID(0x01, 0x9e) 0 0xffffffff>, /* CS2 */
273 <MBUS_ID(0x01, 0xde) 0 0xffffffff>, /* CS3 */
274 <MBUS_ID(0x01, 0x1f) 0 0xffffffff>, /* CS4 */
275 <MBUS_ID(0x01, 0x5f) 0 0xffffffff>, /* CS5 */
276 <MBUS_ID(0x01, 0x9f) 0 0xffffffff>, /* CS6 */
277 <MBUS_ID(0x01, 0xdf) 0 0xffffffff>; /* CS7 */
278 #address-cells = <1>;
282 clocks = <&coreclk 0>;
287 reg = <MBUS_ID(0xf0, 0x01) 0x10680 0x28>, /* control */
288 <MBUS_ID(0x01, 0x1a) 0 0xffffffff>, /* CS0 */
289 <MBUS_ID(0x01, 0x5a) 0 0xffffffff>, /* CS1 */
290 <MBUS_ID(0x01, 0x9a) 0 0xffffffff>, /* CS2 */
291 <MBUS_ID(0x01, 0xda) 0 0xffffffff>, /* CS3 */
292 <MBUS_ID(0x01, 0x1b) 0 0xffffffff>, /* CS4 */
293 <MBUS_ID(0x01, 0x5b) 0 0xffffffff>, /* CS5 */
294 <MBUS_ID(0x01, 0x9b) 0 0xffffffff>, /* CS6 */
295 <MBUS_ID(0x01, 0xdb) 0 0xffffffff>; /* CS7 */
296 #address-cells = <1>;
300 clocks = <&coreclk 0>;
306 /* 2 GHz fixed main PLL */
308 compatible = "fixed-clock";
310 clock-frequency = <2000000000>;