1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Device Tree Include file for Marvell Armada 375 family SoC
5 * Copyright (C) 2014 Marvell
7 * Gregory CLEMENT <gregory.clement@free-electrons.com>
8 * Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
11 #include <dt-bindings/interrupt-controller/arm-gic.h>
12 #include <dt-bindings/interrupt-controller/irq.h>
13 #include <dt-bindings/phy/phy.h>
15 #define MBUS_ID(target,attributes) (((target) << 24) | ((attributes) << 16))
21 model = "Marvell Armada 375 family SoC";
22 compatible = "marvell,armada375";
33 /* 1 GHz fixed main PLL */
35 compatible = "fixed-clock";
37 clock-frequency = <1000000000>;
39 /* 25 MHz reference crystal */
41 compatible = "fixed-clock";
43 clock-frequency = <25000000>;
50 enable-method = "marvell,armada-375-smp";
54 compatible = "arm,cortex-a9";
59 compatible = "arm,cortex-a9";
65 compatible = "arm,cortex-a9-pmu";
66 interrupts-extended = <&mpic 3>;
70 compatible = "marvell,armada375-mbus", "simple-bus";
73 controller = <&mbusc>;
74 interrupt-parent = <&gic>;
75 pcie-mem-aperture = <0xe0000000 0x8000000>;
76 pcie-io-aperture = <0xe8000000 0x100000>;
79 compatible = "marvell,bootrom";
80 reg = <MBUS_ID(0x01, 0x1d) 0 0x100000>;
83 devbus_bootcs: devbus-bootcs {
84 compatible = "marvell,mvebu-devbus";
85 reg = <MBUS_ID(0xf0, 0x01) 0x10400 0x8>;
86 ranges = <0 MBUS_ID(0x01, 0x2f) 0 0xffffffff>;
89 clocks = <&coreclk 0>;
93 devbus_cs0: devbus-cs0 {
94 compatible = "marvell,mvebu-devbus";
95 reg = <MBUS_ID(0xf0, 0x01) 0x10408 0x8>;
96 ranges = <0 MBUS_ID(0x01, 0x3e) 0 0xffffffff>;
99 clocks = <&coreclk 0>;
103 devbus_cs1: devbus-cs1 {
104 compatible = "marvell,mvebu-devbus";
105 reg = <MBUS_ID(0xf0, 0x01) 0x10410 0x8>;
106 ranges = <0 MBUS_ID(0x01, 0x3d) 0 0xffffffff>;
107 #address-cells = <1>;
109 clocks = <&coreclk 0>;
113 devbus_cs2: devbus-cs2 {
114 compatible = "marvell,mvebu-devbus";
115 reg = <MBUS_ID(0xf0, 0x01) 0x10418 0x8>;
116 ranges = <0 MBUS_ID(0x01, 0x3b) 0 0xffffffff>;
117 #address-cells = <1>;
119 clocks = <&coreclk 0>;
123 devbus_cs3: devbus-cs3 {
124 compatible = "marvell,mvebu-devbus";
125 reg = <MBUS_ID(0xf0, 0x01) 0x10420 0x8>;
126 ranges = <0 MBUS_ID(0x01, 0x37) 0 0xffffffff>;
127 #address-cells = <1>;
129 clocks = <&coreclk 0>;
134 compatible = "simple-bus";
135 #address-cells = <1>;
137 ranges = <0 MBUS_ID(0xf0, 0x01) 0 0x100000>;
139 L2: cache-controller@8000 {
140 compatible = "arm,pl310-cache";
141 reg = <0x8000 0x1000>;
144 arm,double-linefill-incr = <0>;
145 arm,double-linefill-wrap = <0>;
146 arm,double-linefill = <0>;
151 compatible = "arm,cortex-a9-scu";
156 compatible = "arm,cortex-a9-twd-timer";
158 interrupts = <GIC_PPI 13 (IRQ_TYPE_EDGE_RISING | GIC_CPU_MASK_SIMPLE(2))>;
159 clocks = <&coreclk 2>;
162 gic: interrupt-controller@d000 {
163 compatible = "arm,cortex-a9-gic";
164 #interrupt-cells = <3>;
166 interrupt-controller;
167 reg = <0xd000 0x1000>,
172 #address-cells = <1>;
174 compatible = "marvell,orion-mdio";
176 clocks = <&gateclk 19>;
179 /* Network controller */
180 ethernet: ethernet@f0000 {
181 compatible = "marvell,armada-375-pp2";
182 reg = <0xf0000 0xa000>, /* Packet Processor regs */
183 <0xc0000 0x3060>, /* LMS regs */
184 <0xc4000 0x100>, /* eth0 regs */
185 <0xc5000 0x100>; /* eth1 regs */
186 clocks = <&gateclk 3>, <&gateclk 19>;
187 clock-names = "pp_clk", "gop_clk";
191 interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
197 interrupts = <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>;
204 compatible = "marvell,orion-rtc";
205 reg = <0x10300 0x20>;
206 interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>;
210 compatible = "marvell,armada-375-spi",
212 reg = <0x10600 0x50>;
213 #address-cells = <1>;
216 interrupts = <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>;
217 clocks = <&coreclk 0>;
222 compatible = "marvell,armada-375-spi",
224 reg = <0x10680 0x50>;
225 #address-cells = <1>;
228 interrupts = <GIC_SPI 63 IRQ_TYPE_LEVEL_HIGH>;
229 clocks = <&coreclk 0>;
234 compatible = "marvell,mv64xxx-i2c";
235 reg = <0x11000 0x20>;
236 #address-cells = <1>;
238 interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>;
240 clocks = <&coreclk 0>;
245 compatible = "marvell,mv64xxx-i2c";
246 reg = <0x11100 0x20>;
247 #address-cells = <1>;
249 interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>;
251 clocks = <&coreclk 0>;
255 uart0: serial@12000 {
256 compatible = "snps,dw-apb-uart";
257 reg = <0x12000 0x100>;
259 interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
261 clocks = <&coreclk 0>;
265 uart1: serial@12100 {
266 compatible = "snps,dw-apb-uart";
267 reg = <0x12100 0x100>;
269 interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
271 clocks = <&coreclk 0>;
275 pinctrl: pinctrl@18000 {
276 compatible = "marvell,mv88f6720-pinctrl";
277 reg = <0x18000 0x24>;
279 i2c0_pins: i2c0-pins {
280 marvell,pins = "mpp14", "mpp15";
281 marvell,function = "i2c0";
284 i2c1_pins: i2c1-pins {
285 marvell,pins = "mpp61", "mpp62";
286 marvell,function = "i2c1";
289 nand_pins: nand-pins {
290 marvell,pins = "mpp0", "mpp1", "mpp2",
291 "mpp3", "mpp4", "mpp5",
292 "mpp6", "mpp7", "mpp8",
293 "mpp9", "mpp10", "mpp11",
295 marvell,function = "nand";
298 sdio_pins: sdio-pins {
299 marvell,pins = "mpp24", "mpp25", "mpp26",
300 "mpp27", "mpp28", "mpp29";
301 marvell,function = "sd";
304 spi0_pins: spi0-pins {
305 marvell,pins = "mpp0", "mpp1", "mpp4",
306 "mpp5", "mpp8", "mpp9";
307 marvell,function = "spi0";
312 compatible = "marvell,orion-gpio";
313 reg = <0x18100 0x40>;
317 interrupt-controller;
318 #interrupt-cells = <2>;
319 interrupts = <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>,
320 <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>,
321 <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>,
322 <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>;
326 compatible = "marvell,orion-gpio";
327 reg = <0x18140 0x40>;
331 interrupt-controller;
332 #interrupt-cells = <2>;
333 interrupts = <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>,
334 <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>,
335 <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>,
336 <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>;
340 compatible = "marvell,orion-gpio";
341 reg = <0x18180 0x40>;
345 interrupt-controller;
346 #interrupt-cells = <2>;
347 interrupts = <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>;
350 systemc: system-controller@18200 {
351 compatible = "marvell,armada-375-system-controller";
352 reg = <0x18200 0x100>;
355 gateclk: clock-gating-control@18220 {
356 compatible = "marvell,armada-375-gating-clock";
358 clocks = <&coreclk 0>;
362 usbcluster: usb-cluster@18400 {
363 compatible = "marvell,armada-375-usb-cluster";
368 mbusc: mbus-controller@20000 {
369 compatible = "marvell,mbus-controller";
370 reg = <0x20000 0x100>, <0x20180 0x20>;
373 mpic: interrupt-controller@20a00 {
374 compatible = "marvell,mpic";
375 reg = <0x20a00 0x2d0>, <0x21070 0x58>;
376 #interrupt-cells = <1>;
378 interrupt-controller;
380 interrupts = <GIC_PPI 15 IRQ_TYPE_LEVEL_HIGH>;
383 timer1: timer@20300 {
384 compatible = "marvell,armada-375-timer", "marvell,armada-370-timer";
385 reg = <0x20300 0x30>, <0x21040 0x30>;
386 interrupts-extended = <&gic GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>,
387 <&gic GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>,
388 <&gic GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>,
389 <&gic GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>,
392 clocks = <&coreclk 0>, <&refclk>;
393 clock-names = "nbclk", "fixed";
396 watchdog: watchdog@20300 {
397 compatible = "marvell,armada-375-wdt";
398 reg = <0x20300 0x34>, <0x20704 0x4>, <0x18254 0x4>;
399 clocks = <&coreclk 0>, <&refclk>;
400 clock-names = "nbclk", "fixed";
403 cpurst: cpurst@20800 {
404 compatible = "marvell,armada-370-cpu-reset";
405 reg = <0x20800 0x10>;
408 coherencyfab: coherency-fabric@21010 {
409 compatible = "marvell,armada-375-coherency-fabric";
410 reg = <0x21010 0x1c>;
414 compatible = "marvell,orion-ehci";
415 reg = <0x50000 0x500>;
416 interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>;
417 clocks = <&gateclk 18>;
418 phys = <&usbcluster PHY_TYPE_USB2>;
424 compatible = "marvell,orion-ehci";
425 reg = <0x54000 0x500>;
426 interrupts = <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>;
427 clocks = <&gateclk 26>;
432 compatible = "marvell,armada-375-xhci";
433 reg = <0x58000 0x20000>,<0x5b880 0x80>;
434 interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
435 clocks = <&gateclk 16>;
436 phys = <&usbcluster PHY_TYPE_USB3>;
442 compatible = "marvell,orion-xor";
445 clocks = <&gateclk 22>;
449 interrupts = <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>;
454 interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
462 compatible = "marvell,orion-xor";
465 clocks = <&gateclk 23>;
469 interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>;
474 interrupts = <GIC_SPI 66 IRQ_TYPE_LEVEL_HIGH>;
482 compatible = "marvell,armada-375-crypto";
483 reg = <0x90000 0x10000>;
485 interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>,
486 <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
487 clocks = <&gateclk 30>, <&gateclk 31>,
488 <&gateclk 28>, <&gateclk 29>;
489 clock-names = "cesa0", "cesa1",
491 marvell,crypto-srams = <&crypto_sram0>,
493 marvell,crypto-sram-size = <0x800>;
497 compatible = "marvell,armada-370-sata";
498 reg = <0xa0000 0x5000>;
499 interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
500 clocks = <&gateclk 14>, <&gateclk 20>;
501 clock-names = "0", "1";
505 nand_controller: nand-controller@d0000 {
506 compatible = "marvell,armada370-nand-controller";
507 reg = <0xd0000 0x54>;
508 #address-cells = <1>;
510 interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>;
511 clocks = <&gateclk 11>;
516 compatible = "marvell,orion-sdio";
517 reg = <0xd4000 0x200>;
518 interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>;
519 clocks = <&gateclk 17>;
527 thermal: thermal@e8078 {
528 compatible = "marvell,armada375-thermal";
529 reg = <0xe8078 0x4>, <0xe807c 0x8>;
533 coreclk: mvebu-sar@e8204 {
534 compatible = "marvell,armada-375-core-clock";
535 reg = <0xe8204 0x04>;
539 coredivclk: corediv-clock@e8250 {
540 compatible = "marvell,armada-375-corediv-clock";
544 clock-output-names = "nand";
548 pciec: pcie@82000000 {
549 compatible = "marvell,armada-370-pcie";
553 #address-cells = <3>;
556 msi-parent = <&mpic>;
557 bus-range = <0x00 0xff>;
560 <0x82000000 0 0x40000 MBUS_ID(0xf0, 0x01) 0x40000 0 0x00002000
561 0x82000000 0 0x44000 MBUS_ID(0xf0, 0x01) 0x44000 0 0x00002000
562 0x82000000 0x1 0 MBUS_ID(0x04, 0xe8) 0 1 0 /* Port 0 MEM */
563 0x81000000 0x1 0 MBUS_ID(0x04, 0xe0) 0 1 0 /* Port 0 IO */
564 0x82000000 0x2 0 MBUS_ID(0x04, 0xd8) 0 1 0 /* Port 1 MEM */
565 0x81000000 0x2 0 MBUS_ID(0x04, 0xd0) 0 1 0 /* Port 1 IO */>;
569 assigned-addresses = <0x82000800 0 0x40000 0 0x2000>;
570 reg = <0x0800 0 0 0 0>;
571 #address-cells = <3>;
573 #interrupt-cells = <1>;
574 ranges = <0x82000000 0 0 0x82000000 0x1 0 1 0
575 0x81000000 0 0 0x81000000 0x1 0 1 0>;
576 bus-range = <0x00 0xff>;
577 interrupt-map-mask = <0 0 0 0>;
578 interrupt-map = <0 0 0 0 &gic GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>;
579 marvell,pcie-port = <0>;
580 marvell,pcie-lane = <0>;
581 clocks = <&gateclk 5>;
587 assigned-addresses = <0x82000800 0 0x44000 0 0x2000>;
588 reg = <0x1000 0 0 0 0>;
589 #address-cells = <3>;
591 #interrupt-cells = <1>;
592 ranges = <0x82000000 0 0 0x82000000 0x2 0 1 0
593 0x81000000 0 0 0x81000000 0x2 0 1 0>;
594 bus-range = <0x00 0xff>;
595 interrupt-map-mask = <0 0 0 0>;
596 interrupt-map = <0 0 0 0 &gic GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>;
597 marvell,pcie-port = <0>;
598 marvell,pcie-lane = <1>;
599 clocks = <&gateclk 6>;
605 crypto_sram0: sa-sram0 {
606 compatible = "mmio-sram";
607 reg = <MBUS_ID(0x09, 0x09) 0 0x800>;
608 clocks = <&gateclk 30>;
609 #address-cells = <1>;
611 ranges = <0 MBUS_ID(0x09, 0x09) 0 0x800>;
614 crypto_sram1: sa-sram1 {
615 compatible = "mmio-sram";
616 reg = <MBUS_ID(0x09, 0x05) 0 0x800>;
617 clocks = <&gateclk 31>;
618 #address-cells = <1>;
620 ranges = <0 MBUS_ID(0x09, 0x05) 0 0x800>;