2 * Device Tree Include file for Marvell Armada 38x family of SoCs.
4 * Copyright (C) 2014 Marvell
6 * Lior Amsalem <alior@marvell.com>
7 * Gregory CLEMENT <gregory.clement@free-electrons.com>
8 * Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 * This file is licensed under the terms of the GNU General Public
11 * License version 2. This program is licensed "as is" without any
12 * warranty of any kind, whether express or implied.
15 #include "skeleton.dtsi"
16 #include <dt-bindings/interrupt-controller/arm-gic.h>
17 #include <dt-bindings/interrupt-controller/irq.h>
19 #define MBUS_ID(target,attributes) (((target) << 24) | ((attributes) << 16))
22 model = "Marvell Armada 38x family SoC";
23 compatible = "marvell,armada38x";
34 compatible = "marvell,armada380-mbus", "marvell,armada370-mbus",
38 controller = <&mbusc>;
39 interrupt-parent = <&gic>;
40 pcie-mem-aperture = <0xe0000000 0x8000000>;
41 pcie-io-aperture = <0xe8000000 0x100000>;
44 compatible = "marvell,bootrom";
45 reg = <MBUS_ID(0x01, 0x1d) 0 0x200000>;
49 compatible = "marvell,mvebu-devbus";
50 reg = <MBUS_ID(0xf0, 0x01) 0x10400 0x8>;
51 ranges = <0 MBUS_ID(0x01, 0x2f) 0 0xffffffff>;
54 clocks = <&coreclk 0>;
59 compatible = "marvell,mvebu-devbus";
60 reg = <MBUS_ID(0xf0, 0x01) 0x10408 0x8>;
61 ranges = <0 MBUS_ID(0x01, 0x3e) 0 0xffffffff>;
64 clocks = <&coreclk 0>;
69 compatible = "marvell,mvebu-devbus";
70 reg = <MBUS_ID(0xf0, 0x01) 0x10410 0x8>;
71 ranges = <0 MBUS_ID(0x01, 0x3d) 0 0xffffffff>;
74 clocks = <&coreclk 0>;
79 compatible = "marvell,mvebu-devbus";
80 reg = <MBUS_ID(0xf0, 0x01) 0x10418 0x8>;
81 ranges = <0 MBUS_ID(0x01, 0x3b) 0 0xffffffff>;
84 clocks = <&coreclk 0>;
89 compatible = "marvell,mvebu-devbus";
90 reg = <MBUS_ID(0xf0, 0x01) 0x10420 0x8>;
91 ranges = <0 MBUS_ID(0x01, 0x37) 0 0xffffffff>;
94 clocks = <&coreclk 0>;
99 compatible = "simple-bus";
100 #address-cells = <1>;
102 ranges = <0 MBUS_ID(0xf0, 0x01) 0 0x100000>;
104 L2: cache-controller@8000 {
105 compatible = "arm,pl310-cache";
106 reg = <0x8000 0x1000>;
112 compatible = "arm,cortex-a9-scu";
117 compatible = "arm,cortex-a9-twd-timer";
119 interrupts = <GIC_PPI 13 (IRQ_TYPE_EDGE_RISING | GIC_CPU_MASK_SIMPLE(2))>;
120 clocks = <&coreclk 2>;
123 gic: interrupt-controller@d000 {
124 compatible = "arm,cortex-a9-gic";
125 #interrupt-cells = <3>;
127 interrupt-controller;
128 reg = <0xd000 0x1000>,
133 compatible = "marvell,orion-spi";
134 reg = <0x10600 0x50>;
135 #address-cells = <1>;
138 interrupts = <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>;
139 clocks = <&coreclk 0>;
144 compatible = "marvell,orion-spi";
145 reg = <0x10680 0x50>;
146 #address-cells = <1>;
149 interrupts = <GIC_SPI 63 IRQ_TYPE_LEVEL_HIGH>;
150 clocks = <&coreclk 0>;
155 compatible = "marvell,mv64xxx-i2c";
156 reg = <0x11000 0x20>;
157 #address-cells = <1>;
159 interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>;
161 clocks = <&coreclk 0>;
166 compatible = "marvell,mv64xxx-i2c";
167 reg = <0x11100 0x20>;
168 #address-cells = <1>;
170 interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>;
172 clocks = <&coreclk 0>;
177 compatible = "snps,dw-apb-uart";
178 reg = <0x12000 0x100>;
180 interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
186 compatible = "snps,dw-apb-uart";
187 reg = <0x12100 0x100>;
189 interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
195 compatible = "marvell,mv88f6820-pinctrl";
196 reg = <0x18000 0x20>;
200 compatible = "marvell,orion-gpio";
201 reg = <0x18100 0x40>;
205 interrupt-controller;
206 #interrupt-cells = <2>;
207 interrupts = <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>,
208 <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>,
209 <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>,
210 <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>;
214 compatible = "marvell,orion-gpio";
215 reg = <0x18140 0x40>;
219 interrupt-controller;
220 #interrupt-cells = <2>;
221 interrupts = <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>,
222 <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>,
223 <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>,
224 <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>;
227 system-controller@18200 {
228 compatible = "marvell,armada-380-system-controller",
229 "marvell,armada-370-xp-system-controller";
230 reg = <0x18200 0x100>;
233 gateclk: clock-gating-control@18220 {
234 compatible = "marvell,armada-380-gating-clock";
236 clocks = <&coreclk 0>;
240 coreclk: mvebu-sar@18600 {
241 compatible = "marvell,armada-380-core-clock";
242 reg = <0x18600 0x04>;
246 mbusc: mbus-controller@20000 {
247 compatible = "marvell,mbus-controller";
248 reg = <0x20000 0x100>, <0x20180 0x20>;
251 mpic: interrupt-controller@20000 {
252 compatible = "marvell,mpic";
253 reg = <0x20a00 0x2d0>, <0x21070 0x58>;
254 #interrupt-cells = <1>;
256 interrupt-controller;
258 interrupts = <GIC_PPI 15 IRQ_TYPE_LEVEL_HIGH>;
262 compatible = "marvell,armada-380-timer",
263 "marvell,armada-xp-timer";
264 reg = <0x20300 0x30>, <0x21040 0x30>;
265 interrupts-extended = <&gic GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>,
266 <&gic GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>,
267 <&gic GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>,
268 <&gic GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>,
271 clocks = <&coreclk 2>, <&refclk>;
272 clock-names = "nbclk", "fixed";
276 compatible = "marvell,armada-380-wdt";
277 reg = <0x20300 0x34>, <0x20704 0x4>, <0x18260 0x4>;
278 clocks = <&coreclk 2>, <&refclk>;
279 clock-names = "nbclk", "fixed";
283 compatible = "marvell,armada-370-cpu-reset";
284 reg = <0x20800 0x10>;
287 coherency-fabric@21010 {
288 compatible = "marvell,armada-380-coherency-fabric";
289 reg = <0x21010 0x1c>;
293 compatible = "marvell,armada-380-pmsu";
294 reg = <0x22000 0x1000>;
297 eth1: ethernet@30000 {
298 compatible = "marvell,armada-370-neta";
299 reg = <0x30000 0x4000>;
300 interrupts-extended = <&mpic 10>;
301 clocks = <&gateclk 3>;
305 eth2: ethernet@34000 {
306 compatible = "marvell,armada-370-neta";
307 reg = <0x34000 0x4000>;
308 interrupts-extended = <&mpic 12>;
309 clocks = <&gateclk 2>;
314 compatible = "marvell,orion-xor";
317 clocks = <&gateclk 22>;
321 interrupts = <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>;
326 interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
334 compatible = "marvell,orion-xor";
337 clocks = <&gateclk 28>;
341 interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>;
346 interrupts = <GIC_SPI 66 IRQ_TYPE_LEVEL_HIGH>;
353 eth0: ethernet@70000 {
354 compatible = "marvell,armada-370-neta";
355 reg = <0x70000 0x4000>;
356 interrupts-extended = <&mpic 8>;
357 clocks = <&gateclk 4>;
362 #address-cells = <1>;
364 compatible = "marvell,orion-mdio";
369 compatible = "marvell,armada-380-ahci";
370 reg = <0xa8000 0x2000>;
371 interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
372 clocks = <&gateclk 15>;
377 compatible = "marvell,armada-380-ahci";
378 reg = <0xe0000 0x2000>;
379 interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>;
380 clocks = <&gateclk 30>;
384 coredivclk: clock@e4250 {
385 compatible = "marvell,armada-380-corediv-clock";
389 clock-output-names = "nand";
393 compatible = "marvell,armada370-nand";
394 reg = <0xd0000 0x54>;
395 #address-cells = <1>;
397 interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>;
398 clocks = <&coredivclk 0>;
403 compatible = "marvell,armada-380-sdhci";
404 reg = <0xd8000 0x1000>, <0xdc000 0x100>;
405 interrupts = <0 25 0x4>;
406 clocks = <&gateclk 17>;
407 mrvl,clk-delay-cycles = <0x1F>;
414 /* 2 GHz fixed main PLL */
416 compatible = "fixed-clock";
418 clock-frequency = <2000000000>;
421 /* 25 MHz reference crystal */
423 compatible = "fixed-clock";
425 clock-frequency = <25000000>;