2 * Device Tree Include file for Marvell Armada 375 family SoC
4 * Copyright (C) 2014 Marvell
6 * Gregory CLEMENT <gregory.clement@free-electrons.com>
7 * Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 * This file is licensed under the terms of the GNU General Public
10 * License version 2. This program is licensed "as is" without any
11 * warranty of any kind, whether express or implied.
14 #include "skeleton.dtsi"
15 #include <dt-bindings/interrupt-controller/arm-gic.h>
16 #include <dt-bindings/interrupt-controller/irq.h>
18 #define MBUS_ID(target,attributes) (((target) << 24) | ((attributes) << 16))
21 model = "Marvell Armada 375 family SoC";
22 compatible = "marvell,armada375";
31 /* 2 GHz fixed main PLL */
33 compatible = "fixed-clock";
35 clock-frequency = <2000000000>;
42 enable-method = "marvell,armada-375-smp";
46 compatible = "arm,cortex-a9";
51 compatible = "arm,cortex-a9";
57 compatible = "marvell,armada375-mbus", "marvell,armada370-mbus", "simple-bus";
60 controller = <&mbusc>;
61 interrupt-parent = <&gic>;
62 pcie-mem-aperture = <0xe0000000 0x8000000>;
63 pcie-io-aperture = <0xe8000000 0x100000>;
66 compatible = "marvell,bootrom";
67 reg = <MBUS_ID(0x01, 0x1d) 0 0x100000>;
71 compatible = "marvell,mvebu-devbus";
72 reg = <MBUS_ID(0xf0, 0x01) 0x10400 0x8>;
73 ranges = <0 MBUS_ID(0x01, 0x2f) 0 0xffffffff>;
76 clocks = <&coreclk 0>;
81 compatible = "marvell,mvebu-devbus";
82 reg = <MBUS_ID(0xf0, 0x01) 0x10408 0x8>;
83 ranges = <0 MBUS_ID(0x01, 0x3e) 0 0xffffffff>;
86 clocks = <&coreclk 0>;
91 compatible = "marvell,mvebu-devbus";
92 reg = <MBUS_ID(0xf0, 0x01) 0x10410 0x8>;
93 ranges = <0 MBUS_ID(0x01, 0x3d) 0 0xffffffff>;
96 clocks = <&coreclk 0>;
101 compatible = "marvell,mvebu-devbus";
102 reg = <MBUS_ID(0xf0, 0x01) 0x10418 0x8>;
103 ranges = <0 MBUS_ID(0x01, 0x3b) 0 0xffffffff>;
104 #address-cells = <1>;
106 clocks = <&coreclk 0>;
111 compatible = "marvell,mvebu-devbus";
112 reg = <MBUS_ID(0xf0, 0x01) 0x10420 0x8>;
113 ranges = <0 MBUS_ID(0x01, 0x37) 0 0xffffffff>;
114 #address-cells = <1>;
116 clocks = <&coreclk 0>;
121 compatible = "simple-bus";
122 #address-cells = <1>;
124 ranges = <0 MBUS_ID(0xf0, 0x01) 0 0x100000>;
126 L2: cache-controller@8000 {
127 compatible = "arm,pl310-cache";
128 reg = <0x8000 0x1000>;
134 compatible = "arm,cortex-a9-scu";
139 compatible = "arm,cortex-a9-twd-timer";
141 interrupts = <GIC_PPI 13 (IRQ_TYPE_EDGE_RISING | GIC_CPU_MASK_SIMPLE(2))>;
142 clocks = <&coreclk 2>;
145 gic: interrupt-controller@d000 {
146 compatible = "arm,cortex-a9-gic";
147 #interrupt-cells = <3>;
149 interrupt-controller;
150 reg = <0xd000 0x1000>,
155 compatible = "marvell,orion-spi";
156 reg = <0x10600 0x50>;
157 #address-cells = <1>;
160 interrupts = <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>;
161 clocks = <&coreclk 0>;
166 compatible = "marvell,orion-spi";
167 reg = <0x10680 0x50>;
168 #address-cells = <1>;
171 interrupts = <GIC_SPI 63 IRQ_TYPE_LEVEL_HIGH>;
172 clocks = <&coreclk 0>;
177 compatible = "marvell,mv64xxx-i2c";
178 reg = <0x11000 0x20>;
179 #address-cells = <1>;
181 interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>;
183 clocks = <&coreclk 0>;
188 compatible = "marvell,mv64xxx-i2c";
189 reg = <0x11100 0x20>;
190 #address-cells = <1>;
192 interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>;
194 clocks = <&coreclk 0>;
199 compatible = "snps,dw-apb-uart";
200 reg = <0x12000 0x100>;
202 interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
204 clocks = <&coreclk 0>;
209 compatible = "snps,dw-apb-uart";
210 reg = <0x12100 0x100>;
212 interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
214 clocks = <&coreclk 0>;
219 compatible = "marvell,mv88f6720-pinctrl";
220 reg = <0x18000 0x24>;
222 i2c0_pins: i2c0-pins {
223 marvell,pins = "mpp14", "mpp15";
224 marvell,function = "i2c0";
227 i2c1_pins: i2c1-pins {
228 marvell,pins = "mpp61", "mpp62";
229 marvell,function = "i2c1";
232 nand_pins: nand-pins {
233 marvell,pins = "mpp0", "mpp1", "mpp2",
234 "mpp3", "mpp4", "mpp5",
235 "mpp6", "mpp7", "mpp8",
236 "mpp9", "mpp10", "mpp11",
238 marvell,function = "nand";
241 sdio_pins: sdio-pins {
242 marvell,pins = "mpp24", "mpp25", "mpp26",
243 "mpp27", "mpp28", "mpp29";
244 marvell,function = "sd";
247 spi0_pins: spi0-pins {
248 marvell,pins = "mpp0", "mpp1", "mpp4",
249 "mpp5", "mpp8", "mpp9";
250 marvell,function = "spi0";
255 compatible = "marvell,orion-gpio";
256 reg = <0x18100 0x40>;
260 interrupt-controller;
261 #interrupt-cells = <2>;
262 interrupts = <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>,
263 <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>,
264 <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>,
265 <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>;
269 compatible = "marvell,orion-gpio";
270 reg = <0x18140 0x40>;
274 interrupt-controller;
275 #interrupt-cells = <2>;
276 interrupts = <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>,
277 <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>,
278 <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>,
279 <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>;
283 compatible = "marvell,orion-gpio";
284 reg = <0x18180 0x40>;
288 interrupt-controller;
289 #interrupt-cells = <2>;
290 interrupts = <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>;
293 system-controller@18200 {
294 compatible = "marvell,armada-375-system-controller";
295 reg = <0x18200 0x100>;
298 gateclk: clock-gating-control@18220 {
299 compatible = "marvell,armada-375-gating-clock";
301 clocks = <&coreclk 0>;
305 mbusc: mbus-controller@20000 {
306 compatible = "marvell,mbus-controller";
307 reg = <0x20000 0x100>, <0x20180 0x20>;
310 mpic: interrupt-controller@20000 {
311 compatible = "marvell,mpic";
312 reg = <0x20a00 0x2d0>, <0x21070 0x58>;
313 #interrupt-cells = <1>;
315 interrupt-controller;
317 interrupts = <GIC_PPI 15 IRQ_TYPE_LEVEL_HIGH>;
321 compatible = "marvell,armada-375-timer", "marvell,armada-370-timer";
322 reg = <0x20300 0x30>, <0x21040 0x30>;
323 interrupts-extended = <&gic GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>,
324 <&gic GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>,
325 <&gic GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>,
326 <&gic GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>,
329 clocks = <&coreclk 0>;
333 compatible = "marvell,armada-375-wdt";
334 reg = <0x20300 0x34>, <0x20704 0x4>, <0x18254 0x4>;
335 clocks = <&coreclk 0>;
339 compatible = "marvell,armada-370-cpu-reset";
340 reg = <0x20800 0x10>;
343 coherency-fabric@21010 {
344 compatible = "marvell,armada-375-coherency-fabric";
345 reg = <0x21010 0x1c>;
349 compatible = "marvell,orion-ehci";
350 reg = <0x50000 0x500>;
351 interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>;
352 clocks = <&gateclk 18>;
357 compatible = "marvell,orion-ehci";
358 reg = <0x54000 0x500>;
359 interrupts = <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>;
360 clocks = <&gateclk 26>;
365 compatible = "marvell,armada-375-xhci";
366 reg = <0x58000 0x20000>,<0x5b880 0x80>;
367 interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
368 clocks = <&gateclk 16>;
373 compatible = "marvell,orion-xor";
376 clocks = <&gateclk 22>;
380 interrupts = <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>;
385 interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
393 compatible = "marvell,orion-xor";
396 clocks = <&gateclk 23>;
400 interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>;
405 interrupts = <GIC_SPI 66 IRQ_TYPE_LEVEL_HIGH>;
413 compatible = "marvell,orion-sata";
414 reg = <0xa0000 0x5000>;
415 interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
416 clocks = <&gateclk 14>, <&gateclk 20>;
417 clock-names = "0", "1";
422 compatible = "marvell,armada370-nand";
423 reg = <0xd0000 0x54>;
424 #address-cells = <1>;
426 interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>;
427 clocks = <&gateclk 11>;
432 compatible = "marvell,orion-sdio";
433 reg = <0xd4000 0x200>;
434 interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>;
435 clocks = <&gateclk 17>;
444 compatible = "marvell,armada375-thermal";
445 reg = <0xe8078 0x4>, <0xe807c 0x8>;
449 coreclk: mvebu-sar@e8204 {
450 compatible = "marvell,armada-375-core-clock";
451 reg = <0xe8204 0x04>;
455 coredivclk: corediv-clock@e8250 {
456 compatible = "marvell,armada-375-corediv-clock";
460 clock-output-names = "nand";
465 compatible = "marvell,armada-370-pcie";
469 #address-cells = <3>;
472 msi-parent = <&mpic>;
473 bus-range = <0x00 0xff>;
476 <0x82000000 0 0x40000 MBUS_ID(0xf0, 0x01) 0x40000 0 0x00002000
477 0x82000000 0 0x44000 MBUS_ID(0xf0, 0x01) 0x44000 0 0x00002000
478 0x82000000 0x1 0 MBUS_ID(0x04, 0xe8) 0 1 0 /* Port 0 MEM */
479 0x81000000 0x1 0 MBUS_ID(0x04, 0xe0) 0 1 0 /* Port 0 IO */
480 0x82000000 0x2 0 MBUS_ID(0x04, 0xd8) 0 1 0 /* Port 1 MEM */
481 0x81000000 0x2 0 MBUS_ID(0x04, 0xd0) 0 1 0 /* Port 1 IO */>;
485 assigned-addresses = <0x82000800 0 0x40000 0 0x2000>;
486 reg = <0x0800 0 0 0 0>;
487 #address-cells = <3>;
489 #interrupt-cells = <1>;
490 ranges = <0x82000000 0 0 0x82000000 0x1 0 1 0
491 0x81000000 0 0 0x81000000 0x1 0 1 0>;
492 interrupt-map-mask = <0 0 0 0>;
493 interrupt-map = <0 0 0 0 &gic GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>;
494 marvell,pcie-port = <0>;
495 marvell,pcie-lane = <0>;
496 clocks = <&gateclk 5>;
502 assigned-addresses = <0x82000800 0 0x44000 0 0x2000>;
503 reg = <0x1000 0 0 0 0>;
504 #address-cells = <3>;
506 #interrupt-cells = <1>;
507 ranges = <0x82000000 0 0 0x82000000 0x2 0 1 0
508 0x81000000 0 0 0x81000000 0x2 0 1 0>;
509 interrupt-map-mask = <0 0 0 0>;
510 interrupt-map = <0 0 0 0 &gic GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>;
511 marvell,pcie-port = <0>;
512 marvell,pcie-lane = <1>;
513 clocks = <&gateclk 6>;