1 // SPDX-License-Identifier: GPL-2.0
2 #include <dt-bindings/gpio/gpio.h>
3 #include <dt-bindings/interrupt-controller/irq.h>
5 #define MBUS_ID(target,attributes) (((target) << 24) | ((attributes) << 16))
10 compatible = "marvell,dove";
11 model = "Marvell Armada 88AP510 SoC";
12 interrupt-parent = <&intc>;
25 compatible = "marvell,pj4a", "marvell,sheeva-v7";
27 next-level-cache = <&l2>;
33 compatible = "marvell,tauros2-cache";
34 marvell,tauros2-cache-features = <0>;
38 compatible = "marvell,dove-gpu-subsystem";
44 compatible = "i2c-mux-pinctrl";
50 pinctrl-names = "i2c0", "i2c1", "i2c2";
51 pinctrl-0 = <&pmx_i2cmux_0>;
52 pinctrl-1 = <&pmx_i2cmux_1>;
53 pinctrl-2 = <&pmx_i2cmux_2>;
66 /* Requires pmx_i2c1 on i2c controller node */
74 /* Requires pmx_i2c2 on i2c controller node */
80 compatible = "marvell,dove-mbus", "marvell,mbus", "simple-bus";
83 controller = <&mbusc>;
84 pcie-mem-aperture = <0xe0000000 0x10000000>; /* 256M MEM space */
85 pcie-io-aperture = <0xf2000000 0x00200000>; /* 2M I/O space */
87 ranges = <MBUS_ID(0xf0, 0x01) 0 0xf1000000 0x0100000 /* MBUS regs 1M */
88 MBUS_ID(0xf0, 0x02) 0 0xf1800000 0x1000000 /* AXI regs 16M */
89 MBUS_ID(0x01, 0xfd) 0 0xf8000000 0x8000000 /* BootROM 128M */
90 MBUS_ID(0x03, 0x01) 0 0xc8000000 0x0100000 /* CESA SRAM 1M */
91 MBUS_ID(0x0d, 0x00) 0 0xf0000000 0x0100000>; /* PMU SRAM 1M */
94 compatible = "marvell,dove-pcie";
100 msi-parent = <&intc>;
101 bus-range = <0x00 0xff>;
103 ranges = <0x82000000 0x0 0x40000 MBUS_ID(0xf0, 0x01) 0x40000 0 0x2000
104 0x82000000 0x0 0x80000 MBUS_ID(0xf0, 0x01) 0x80000 0 0x2000
105 0x82000000 0x1 0x0 MBUS_ID(0x04, 0xe8) 0 1 0 /* Port 0.0 Mem */
106 0x81000000 0x1 0x0 MBUS_ID(0x04, 0xe0) 0 1 0 /* Port 0.0 I/O */
107 0x82000000 0x2 0x0 MBUS_ID(0x08, 0xe8) 0 1 0 /* Port 1.0 Mem */
108 0x81000000 0x2 0x0 MBUS_ID(0x08, 0xe0) 0 1 0>; /* Port 1.0 I/O */
113 assigned-addresses = <0x82000800 0 0x40000 0 0x2000>;
114 reg = <0x0800 0 0 0 0>;
115 clocks = <&gate_clk 4>;
116 marvell,pcie-port = <0>;
118 #address-cells = <3>;
120 ranges = <0x82000000 0 0 0x82000000 0x1 0 1 0
121 0x81000000 0 0 0x81000000 0x1 0 1 0>;
122 bus-range = <0x00 0xff>;
124 #interrupt-cells = <1>;
125 interrupt-names = "intx", "error";
126 interrupts = <16>, <15>;
127 interrupt-map-mask = <0 0 0 7>;
128 interrupt-map = <0 0 0 1 &pcie0_intc 0>,
129 <0 0 0 2 &pcie0_intc 1>,
130 <0 0 0 3 &pcie0_intc 2>,
131 <0 0 0 4 &pcie0_intc 3>;
133 pcie0_intc: interrupt-controller {
134 interrupt-controller;
135 #interrupt-cells = <1>;
142 assigned-addresses = <0x82001000 0 0x80000 0 0x2000>;
143 reg = <0x1000 0 0 0 0>;
144 clocks = <&gate_clk 5>;
145 marvell,pcie-port = <1>;
147 #address-cells = <3>;
149 ranges = <0x82000000 0 0 0x82000000 0x2 0 1 0
150 0x81000000 0 0 0x81000000 0x2 0 1 0>;
151 bus-range = <0x00 0xff>;
153 #interrupt-cells = <1>;
154 interrupt-names = "intx", "error";
155 interrupts = <18>, <17>;
156 interrupt-map-mask = <0 0 0 7>;
157 interrupt-map = <0 0 0 1 &pcie1_intc 0>,
158 <0 0 0 2 &pcie1_intc 1>,
159 <0 0 0 3 &pcie1_intc 2>,
160 <0 0 0 4 &pcie1_intc 3>;
162 pcie1_intc: interrupt-controller {
163 interrupt-controller;
164 #interrupt-cells = <1>;
170 compatible = "simple-bus";
171 #address-cells = <1>;
173 ranges = <0x00000000 MBUS_ID(0xf0, 0x01) 0 0x0100000 /* MBUS regs 1M */
174 0x00800000 MBUS_ID(0xf0, 0x02) 0 0x1000000 /* AXI regs 16M */
175 0xffffe000 MBUS_ID(0x03, 0x01) 0 0x0000800 /* CESA SRAM 2k */
176 0xfffff000 MBUS_ID(0x0d, 0x00) 0 0x0000800>; /* PMU SRAM 2k */
179 compatible = "marvell,orion-spi";
180 #address-cells = <1>;
184 reg = <0x10600 0x28>;
185 clocks = <&core_clk 0>;
186 pinctrl-0 = <&pmx_spi0>;
187 pinctrl-names = "default";
192 compatible = "marvell,mv64xxx-i2c";
193 reg = <0x11000 0x20>;
194 #address-cells = <1>;
197 clock-frequency = <400000>;
198 clocks = <&core_clk 0>;
202 uart0: serial@12000 {
203 compatible = "ns16550a";
204 reg = <0x12000 0x100>;
207 clocks = <&core_clk 0>;
211 uart1: serial@12100 {
212 compatible = "ns16550a";
213 reg = <0x12100 0x100>;
216 clocks = <&core_clk 0>;
217 pinctrl-0 = <&pmx_uart1>;
218 pinctrl-names = "default";
222 uart2: serial@12200 {
223 compatible = "ns16550a";
224 reg = <0x12200 0x100>;
227 clocks = <&core_clk 0>;
231 uart3: serial@12300 {
232 compatible = "ns16550a";
233 reg = <0x12300 0x100>;
236 clocks = <&core_clk 0>;
241 compatible = "marvell,orion-spi";
242 #address-cells = <1>;
246 reg = <0x14600 0x28>;
247 clocks = <&core_clk 0>;
251 mbusc: mbus-ctrl@20000 {
252 compatible = "marvell,mbus-controller";
253 reg = <0x20000 0x80>, <0x800100 0x8>;
256 sysc: system-ctrl@20000 {
257 compatible = "marvell,orion-system-controller";
258 reg = <0x20000 0x110>;
261 bridge_intc: bridge-interrupt-ctrl@20110 {
262 compatible = "marvell,orion-bridge-intc";
263 interrupt-controller;
264 #interrupt-cells = <1>;
267 marvell,#interrupts = <5>;
270 intc: interrupt-controller@20200 {
271 compatible = "marvell,orion-intc";
272 interrupt-controller;
273 #interrupt-cells = <1>;
274 reg = <0x20200 0x10>, <0x20210 0x10>;
278 compatible = "marvell,orion-timer";
279 reg = <0x20300 0x20>;
280 interrupt-parent = <&bridge_intc>;
281 interrupts = <1>, <2>;
282 clocks = <&core_clk 0>;
286 compatible = "marvell,orion-wdt";
287 reg = <0x20300 0x28>, <0x20108 0x4>;
288 interrupt-parent = <&bridge_intc>;
290 clocks = <&core_clk 0>;
293 crypto: crypto-engine@30000 {
294 compatible = "marvell,dove-crypto";
295 reg = <0x30000 0x10000>;
298 clocks = <&gate_clk 15>;
299 marvell,crypto-srams = <&crypto_sram>;
300 marvell,crypto-sram-size = <0x800>;
304 ehci0: usb-host@50000 {
305 compatible = "marvell,orion-ehci";
306 reg = <0x50000 0x1000>;
308 clocks = <&gate_clk 0>;
312 ehci1: usb-host@51000 {
313 compatible = "marvell,orion-ehci";
314 reg = <0x51000 0x1000>;
316 clocks = <&gate_clk 1>;
320 xor0: dma-engine@60800 {
321 compatible = "marvell,orion-xor";
324 clocks = <&gate_clk 23>;
340 xor1: dma-engine@60900 {
341 compatible = "marvell,orion-xor";
344 clocks = <&gate_clk 24>;
360 sdio1: sdio-host@90000 {
361 compatible = "marvell,dove-sdhci";
362 reg = <0x90000 0x100>;
363 interrupts = <36>, <38>;
364 clocks = <&gate_clk 9>;
365 pinctrl-0 = <&pmx_sdio1>;
366 pinctrl-names = "default";
370 eth: ethernet-ctrl@72000 {
371 compatible = "marvell,orion-eth";
372 #address-cells = <1>;
374 reg = <0x72000 0x4000>;
375 clocks = <&gate_clk 2>;
376 marvell,tx-checksum-limit = <1600>;
380 compatible = "marvell,orion-eth-port";
383 /* overwrite MAC address in bootloader */
384 local-mac-address = [00 00 00 00 00 00];
388 mdio: mdio-bus@72004 {
389 compatible = "marvell,orion-mdio";
390 #address-cells = <1>;
392 reg = <0x72004 0x84>;
394 clocks = <&gate_clk 2>;
398 sdio0: sdio-host@92000 {
399 compatible = "marvell,dove-sdhci";
400 reg = <0x92000 0x100>;
401 interrupts = <35>, <37>;
402 clocks = <&gate_clk 8>;
403 pinctrl-0 = <&pmx_sdio0>;
404 pinctrl-names = "default";
408 sata0: sata-host@a0000 {
409 compatible = "marvell,orion-sata";
410 reg = <0xa0000 0x2400>;
412 clocks = <&gate_clk 3>;
419 sata_phy0: sata-phy@a2000 {
420 compatible = "marvell,mvebu-sata-phy";
421 reg = <0xa2000 0x0334>;
422 clocks = <&gate_clk 3>;
423 clock-names = "sata";
428 audio0: audio-controller@b0000 {
429 compatible = "marvell,dove-audio";
430 reg = <0xb0000 0x2210>;
431 interrupts = <19>, <20>;
432 clocks = <&gate_clk 12>;
433 clock-names = "internal";
437 audio1: audio-controller@b4000 {
438 compatible = "marvell,dove-audio";
439 reg = <0xb4000 0x2210>;
440 interrupts = <21>, <22>;
441 clocks = <&gate_clk 13>;
442 clock-names = "internal";
446 pmu: power-management@d0000 {
447 compatible = "marvell,dove-pmu", "simple-bus";
448 reg = <0xd0000 0x8000>, <0xd8000 0x8000>;
449 ranges = <0x00000000 0x000d0000 0x8000
450 0x00008000 0x000d8000 0x8000>;
452 interrupt-controller;
453 #address-cells = <1>;
455 #interrupt-cells = <1>;
459 vpu_domain: vpu-domain {
460 #power-domain-cells = <0>;
461 marvell,pmu_pwr_mask = <0x00000008>;
462 marvell,pmu_iso_mask = <0x00000001>;
466 gpu_domain: gpu-domain {
467 #power-domain-cells = <0>;
468 marvell,pmu_pwr_mask = <0x00000004>;
469 marvell,pmu_iso_mask = <0x00000002>;
474 thermal: thermal-diode@1c {
475 compatible = "marvell,dove-thermal";
476 reg = <0x001c 0x0c>, <0x005c 0x08>;
479 gate_clk: clock-gating-ctrl@38 {
480 compatible = "marvell,dove-gating-clock";
482 clocks = <&core_clk 0>;
486 divider_clk: core-clock@64 {
487 compatible = "marvell,dove-divider-clock";
492 pinctrl: pin-ctrl@200 {
493 compatible = "marvell,dove-pinctrl";
496 clocks = <&gate_clk 22>;
498 pmx_gpio_0: pmx-gpio-0 {
499 marvell,pins = "mpp0";
500 marvell,function = "gpio";
503 pmx_gpio_1: pmx-gpio-1 {
504 marvell,pins = "mpp1";
505 marvell,function = "gpio";
508 pmx_gpio_2: pmx-gpio-2 {
509 marvell,pins = "mpp2";
510 marvell,function = "gpio";
513 pmx_gpio_3: pmx-gpio-3 {
514 marvell,pins = "mpp3";
515 marvell,function = "gpio";
518 pmx_gpio_4: pmx-gpio-4 {
519 marvell,pins = "mpp4";
520 marvell,function = "gpio";
523 pmx_gpio_5: pmx-gpio-5 {
524 marvell,pins = "mpp5";
525 marvell,function = "gpio";
528 pmx_gpio_6: pmx-gpio-6 {
529 marvell,pins = "mpp6";
530 marvell,function = "gpio";
533 pmx_gpio_7: pmx-gpio-7 {
534 marvell,pins = "mpp7";
535 marvell,function = "gpio";
538 pmx_gpio_8: pmx-gpio-8 {
539 marvell,pins = "mpp8";
540 marvell,function = "gpio";
543 pmx_gpio_9: pmx-gpio-9 {
544 marvell,pins = "mpp9";
545 marvell,function = "gpio";
548 pmx_pcie1_clkreq: pmx-pcie1-clkreq {
549 marvell,pins = "mpp9";
550 marvell,function = "pex1";
553 pmx_gpio_10: pmx-gpio-10 {
554 marvell,pins = "mpp10";
555 marvell,function = "gpio";
558 pmx_gpio_11: pmx-gpio-11 {
559 marvell,pins = "mpp11";
560 marvell,function = "gpio";
563 pmx_pcie0_clkreq: pmx-pcie0-clkreq {
564 marvell,pins = "mpp11";
565 marvell,function = "pex0";
568 pmx_gpio_12: pmx-gpio-12 {
569 marvell,pins = "mpp12";
570 marvell,function = "gpio";
573 pmx_gpio_13: pmx-gpio-13 {
574 marvell,pins = "mpp13";
575 marvell,function = "gpio";
578 pmx_audio1_extclk: pmx-audio1-extclk {
579 marvell,pins = "mpp13";
580 marvell,function = "audio1";
583 pmx_gpio_14: pmx-gpio-14 {
584 marvell,pins = "mpp14";
585 marvell,function = "gpio";
588 pmx_gpio_15: pmx-gpio-15 {
589 marvell,pins = "mpp15";
590 marvell,function = "gpio";
593 pmx_gpio_16: pmx-gpio-16 {
594 marvell,pins = "mpp16";
595 marvell,function = "gpio";
598 pmx_gpio_17: pmx-gpio-17 {
599 marvell,pins = "mpp17";
600 marvell,function = "gpio";
603 pmx_gpio_18: pmx-gpio-18 {
604 marvell,pins = "mpp18";
605 marvell,function = "gpio";
608 pmx_gpio_19: pmx-gpio-19 {
609 marvell,pins = "mpp19";
610 marvell,function = "gpio";
613 pmx_gpio_20: pmx-gpio-20 {
614 marvell,pins = "mpp20";
615 marvell,function = "gpio";
618 pmx_gpio_21: pmx-gpio-21 {
619 marvell,pins = "mpp21";
620 marvell,function = "gpio";
623 pmx_camera: pmx-camera {
624 marvell,pins = "mpp_camera";
625 marvell,function = "camera";
628 pmx_camera_gpio: pmx-camera-gpio {
629 marvell,pins = "mpp_camera";
630 marvell,function = "gpio";
633 pmx_sdio0: pmx-sdio0 {
634 marvell,pins = "mpp_sdio0";
635 marvell,function = "sdio0";
638 pmx_sdio0_gpio: pmx-sdio0-gpio {
639 marvell,pins = "mpp_sdio0";
640 marvell,function = "gpio";
643 pmx_sdio1: pmx-sdio1 {
644 marvell,pins = "mpp_sdio1";
645 marvell,function = "sdio1";
648 pmx_sdio1_gpio: pmx-sdio1-gpio {
649 marvell,pins = "mpp_sdio1";
650 marvell,function = "gpio";
653 pmx_audio1_gpio: pmx-audio1-gpio {
654 marvell,pins = "mpp_audio1";
655 marvell,function = "gpio";
658 pmx_audio1_i2s1_spdifo: pmx-audio1-i2s1-spdifo {
659 marvell,pins = "mpp_audio1";
660 marvell,function = "i2s1/spdifo";
664 marvell,pins = "mpp_spi0";
665 marvell,function = "spi0";
668 pmx_spi0_gpio: pmx-spi0-gpio {
669 marvell,pins = "mpp_spi0";
670 marvell,function = "gpio";
673 pmx_spi1_4_7: pmx-spi1-4-7 {
674 marvell,pins = "mpp4", "mpp5",
676 marvell,function = "spi1";
679 pmx_spi1_20_23: pmx-spi1-20-23 {
680 marvell,pins = "mpp20", "mpp21",
682 marvell,function = "spi1";
685 pmx_uart1: pmx-uart1 {
686 marvell,pins = "mpp_uart1";
687 marvell,function = "uart1";
690 pmx_uart1_gpio: pmx-uart1-gpio {
691 marvell,pins = "mpp_uart1";
692 marvell,function = "gpio";
696 marvell,pins = "mpp_nand";
697 marvell,function = "nand";
700 pmx_nand_gpo: pmx-nand-gpo {
701 marvell,pins = "mpp_nand";
702 marvell,function = "gpo";
706 marvell,pins = "mpp17", "mpp19";
707 marvell,function = "twsi";
711 marvell,pins = "mpp_audio1";
712 marvell,function = "twsi";
715 pmx_ssp_i2c2: pmx-ssp-i2c2 {
716 marvell,pins = "mpp_audio1";
717 marvell,function = "ssp/twsi";
720 pmx_i2cmux_0: pmx-i2cmux-0 {
721 marvell,pins = "twsi";
722 marvell,function = "twsi-opt1";
725 pmx_i2cmux_1: pmx-i2cmux-1 {
726 marvell,pins = "twsi";
727 marvell,function = "twsi-opt2";
730 pmx_i2cmux_2: pmx-i2cmux-2 {
731 marvell,pins = "twsi";
732 marvell,function = "twsi-opt3";
736 core_clk: core-clocks@214 {
737 compatible = "marvell,dove-core-clock";
742 gpio0: gpio-ctrl@400 {
743 compatible = "marvell,orion-gpio";
748 interrupt-controller;
749 #interrupt-cells = <2>;
750 interrupt-parent = <&intc>;
751 interrupts = <12>, <13>, <14>, <60>;
754 gpio1: gpio-ctrl@420 {
755 compatible = "marvell,orion-gpio";
760 interrupt-controller;
761 #interrupt-cells = <2>;
762 interrupt-parent = <&intc>;
766 rtc: real-time-clock@8500 {
767 compatible = "marvell,orion-rtc";
773 gconf: global-config@e802c {
774 compatible = "marvell,dove-global-config",
776 reg = <0xe802c 0x14>;
779 gpio2: gpio-ctrl@e8400 {
780 compatible = "marvell,orion-gpio";
783 reg = <0xe8400 0x0c>;
787 lcd1: lcd-controller@810000 {
788 compatible = "marvell,dove-lcd";
789 reg = <0x810000 0x1000>;
794 lcd0: lcd-controller@820000 {
795 compatible = "marvell,dove-lcd";
796 reg = <0x820000 0x1000>;
801 crypto_sram: sram@ffffe000 {
802 compatible = "mmio-sram";
803 reg = <0xffffe000 0x800>;
804 clocks = <&gate_clk 15>;
805 #address-cells = <1>;
810 clocks = <÷r_clk 1>;
811 clock-names = "core";
812 compatible = "vivante,gc";
814 power-domains = <&gpu_domain>;
815 reg = <0x840000 0x4000>;