1 /include/ "skeleton.dtsi"
3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/interrupt-controller/irq.h>
6 #define MBUS_ID(target,attributes) (((target) << 24) | ((attributes) << 16))
9 compatible = "marvell,dove";
10 model = "Marvell Armada 88AP510 SoC";
11 interrupt-parent = <&intc>;
24 compatible = "marvell,pj4a", "marvell,sheeva-v7";
26 next-level-cache = <&l2>;
32 compatible = "marvell,tauros2-cache";
33 marvell,tauros2-cache-features = <0>;
37 compatible = "i2c-mux-pinctrl";
43 pinctrl-names = "i2c0", "i2c1", "i2c2";
44 pinctrl-0 = <&pmx_i2cmux_0>;
45 pinctrl-1 = <&pmx_i2cmux_1>;
46 pinctrl-2 = <&pmx_i2cmux_2>;
59 /* Requires pmx_i2c1 on i2c controller node */
67 /* Requires pmx_i2c2 on i2c controller node */
73 compatible = "marvell,dove-mbus", "marvell,mbus", "simple-bus";
76 controller = <&mbusc>;
77 pcie-mem-aperture = <0xe0000000 0x10000000>; /* 256M MEM space */
78 pcie-io-aperture = <0xf2000000 0x00200000>; /* 2M I/O space */
80 ranges = <MBUS_ID(0xf0, 0x01) 0 0xf1000000 0x0100000 /* MBUS regs 1M */
81 MBUS_ID(0xf0, 0x02) 0 0xf1800000 0x1000000 /* AXI regs 16M */
82 MBUS_ID(0x01, 0xfd) 0 0xf8000000 0x8000000 /* BootROM 128M */
83 MBUS_ID(0x03, 0x01) 0 0xc8000000 0x0100000 /* CESA SRAM 1M */
84 MBUS_ID(0x0d, 0x00) 0 0xf0000000 0x0100000>; /* PMU SRAM 1M */
86 pcie: pcie-controller {
87 compatible = "marvell,dove-pcie";
94 bus-range = <0x00 0xff>;
96 ranges = <0x82000000 0x0 0x40000 MBUS_ID(0xf0, 0x01) 0x40000 0 0x2000
97 0x82000000 0x0 0x80000 MBUS_ID(0xf0, 0x01) 0x80000 0 0x2000
98 0x82000000 0x1 0x0 MBUS_ID(0x04, 0xe8) 0 1 0 /* Port 0.0 Mem */
99 0x81000000 0x1 0x0 MBUS_ID(0x04, 0xe0) 0 1 0 /* Port 0.0 I/O */
100 0x82000000 0x2 0x0 MBUS_ID(0x08, 0xe8) 0 1 0 /* Port 1.0 Mem */
101 0x81000000 0x2 0x0 MBUS_ID(0x08, 0xe0) 0 1 0>; /* Port 1.0 I/O */
106 assigned-addresses = <0x82000800 0 0x40000 0 0x2000>;
107 reg = <0x0800 0 0 0 0>;
108 clocks = <&gate_clk 4>;
109 marvell,pcie-port = <0>;
111 #address-cells = <3>;
113 ranges = <0x82000000 0 0 0x82000000 0x1 0 1 0
114 0x81000000 0 0 0x81000000 0x1 0 1 0>;
116 #interrupt-cells = <1>;
117 interrupt-map-mask = <0 0 0 0>;
118 interrupt-map = <0 0 0 0 &intc 16>;
124 assigned-addresses = <0x82002800 0 0x80000 0 0x2000>;
125 reg = <0x1000 0 0 0 0>;
126 clocks = <&gate_clk 5>;
127 marvell,pcie-port = <1>;
129 #address-cells = <3>;
131 ranges = <0x82000000 0 0 0x82000000 0x2 0 1 0
132 0x81000000 0 0 0x81000000 0x2 0 1 0>;
134 #interrupt-cells = <1>;
135 interrupt-map-mask = <0 0 0 0>;
136 interrupt-map = <0 0 0 0 &intc 18>;
141 compatible = "simple-bus";
142 #address-cells = <1>;
144 ranges = <0x00000000 MBUS_ID(0xf0, 0x01) 0 0x0100000 /* MBUS regs 1M */
145 0x00800000 MBUS_ID(0xf0, 0x02) 0 0x1000000 /* AXI regs 16M */
146 0xffffe000 MBUS_ID(0x03, 0x01) 0 0x0000800 /* CESA SRAM 2k */
147 0xfffff000 MBUS_ID(0x0d, 0x00) 0 0x0000800>; /* PMU SRAM 2k */
149 spi0: spi-ctrl@10600 {
150 compatible = "marvell,orion-spi";
151 #address-cells = <1>;
155 reg = <0x10600 0x28>;
156 clocks = <&core_clk 0>;
157 pinctrl-0 = <&pmx_spi0>;
158 pinctrl-names = "default";
162 i2c: i2c-ctrl@11000 {
163 compatible = "marvell,mv64xxx-i2c";
164 reg = <0x11000 0x20>;
165 #address-cells = <1>;
168 clock-frequency = <400000>;
170 clocks = <&core_clk 0>;
174 uart0: serial@12000 {
175 compatible = "ns16550a";
176 reg = <0x12000 0x100>;
179 clocks = <&core_clk 0>;
183 uart1: serial@12100 {
184 compatible = "ns16550a";
185 reg = <0x12100 0x100>;
188 clocks = <&core_clk 0>;
189 pinctrl-0 = <&pmx_uart1>;
190 pinctrl-names = "default";
194 uart2: serial@12200 {
195 compatible = "ns16550a";
196 reg = <0x12200 0x100>;
199 clocks = <&core_clk 0>;
203 uart3: serial@12300 {
204 compatible = "ns16550a";
205 reg = <0x12300 0x100>;
208 clocks = <&core_clk 0>;
212 spi1: spi-ctrl@14600 {
213 compatible = "marvell,orion-spi";
214 #address-cells = <1>;
218 reg = <0x14600 0x28>;
219 clocks = <&core_clk 0>;
223 mbusc: mbus-ctrl@20000 {
224 compatible = "marvell,mbus-controller";
225 reg = <0x20000 0x80>, <0x800100 0x8>;
228 sysc: system-ctrl@20000 {
229 compatible = "marvell,orion-system-controller";
230 reg = <0x20000 0x110>;
233 bridge_intc: bridge-interrupt-ctrl@20110 {
234 compatible = "marvell,orion-bridge-intc";
235 interrupt-controller;
236 #interrupt-cells = <1>;
239 marvell,#interrupts = <5>;
242 intc: main-interrupt-ctrl@20200 {
243 compatible = "marvell,orion-intc";
244 interrupt-controller;
245 #interrupt-cells = <1>;
246 reg = <0x20200 0x10>, <0x20210 0x10>;
250 compatible = "marvell,orion-timer";
251 reg = <0x20300 0x20>;
252 interrupt-parent = <&bridge_intc>;
253 interrupts = <1>, <2>;
254 clocks = <&core_clk 0>;
258 compatible = "marvell,orion-wdt";
259 reg = <0x20300 0x28>, <0x20108 0x4>;
260 interrupt-parent = <&bridge_intc>;
262 clocks = <&core_clk 0>;
265 crypto: crypto-engine@30000 {
266 compatible = "marvell,dove-crypto";
267 reg = <0x30000 0x10000>;
270 clocks = <&gate_clk 15>;
271 marvell,crypto-srams = <&crypto_sram>;
272 marvell,crypto-sram-size = <0x800>;
276 ehci0: usb-host@50000 {
277 compatible = "marvell,orion-ehci";
278 reg = <0x50000 0x1000>;
280 clocks = <&gate_clk 0>;
284 ehci1: usb-host@51000 {
285 compatible = "marvell,orion-ehci";
286 reg = <0x51000 0x1000>;
288 clocks = <&gate_clk 1>;
292 xor0: dma-engine@60800 {
293 compatible = "marvell,orion-xor";
296 clocks = <&gate_clk 23>;
312 xor1: dma-engine@60900 {
313 compatible = "marvell,orion-xor";
316 clocks = <&gate_clk 24>;
332 sdio1: sdio-host@90000 {
333 compatible = "marvell,dove-sdhci";
334 reg = <0x90000 0x100>;
335 interrupts = <36>, <38>;
336 clocks = <&gate_clk 9>;
337 pinctrl-0 = <&pmx_sdio1>;
338 pinctrl-names = "default";
342 eth: ethernet-ctrl@72000 {
343 compatible = "marvell,orion-eth";
344 #address-cells = <1>;
346 reg = <0x72000 0x4000>;
347 clocks = <&gate_clk 2>;
348 marvell,tx-checksum-limit = <1600>;
352 compatible = "marvell,orion-eth-port";
355 /* overwrite MAC address in bootloader */
356 local-mac-address = [00 00 00 00 00 00];
357 phy-handle = <ðphy>;
361 mdio: mdio-bus@72004 {
362 compatible = "marvell,orion-mdio";
363 #address-cells = <1>;
365 reg = <0x72004 0x84>;
367 clocks = <&gate_clk 2>;
370 ethphy: ethernet-phy {
371 /* set phy address in board file */
375 sdio0: sdio-host@92000 {
376 compatible = "marvell,dove-sdhci";
377 reg = <0x92000 0x100>;
378 interrupts = <35>, <37>;
379 clocks = <&gate_clk 8>;
380 pinctrl-0 = <&pmx_sdio0>;
381 pinctrl-names = "default";
385 sata0: sata-host@a0000 {
386 compatible = "marvell,orion-sata";
387 reg = <0xa0000 0x2400>;
389 clocks = <&gate_clk 3>;
396 sata_phy0: sata-phy@a2000 {
397 compatible = "marvell,mvebu-sata-phy";
398 reg = <0xa2000 0x0334>;
399 clocks = <&gate_clk 3>;
400 clock-names = "sata";
405 audio0: audio-controller@b0000 {
406 compatible = "marvell,dove-audio";
407 reg = <0xb0000 0x2210>;
408 interrupts = <19>, <20>;
409 clocks = <&gate_clk 12>;
410 clock-names = "internal";
414 audio1: audio-controller@b4000 {
415 compatible = "marvell,dove-audio";
416 reg = <0xb4000 0x2210>;
417 interrupts = <21>, <22>;
418 clocks = <&gate_clk 13>;
419 clock-names = "internal";
423 pmu: power-management@d0000 {
424 compatible = "marvell,dove-pmu", "simple-bus";
425 reg = <0xd0000 0x8000>, <0xd8000 0x8000>;
426 ranges = <0x00000000 0x000d0000 0x8000
427 0x00008000 0x000d8000 0x8000>;
429 interrupt-controller;
430 #address-cells = <1>;
432 #interrupt-cells = <1>;
436 vpu_domain: vpu-domain {
437 #power-domain-cells = <0>;
438 marvell,pmu_pwr_mask = <0x00000008>;
439 marvell,pmu_iso_mask = <0x00000001>;
443 gpu_domain: gpu-domain {
444 #power-domain-cells = <0>;
445 marvell,pmu_pwr_mask = <0x00000004>;
446 marvell,pmu_iso_mask = <0x00000002>;
451 thermal: thermal-diode@001c {
452 compatible = "marvell,dove-thermal";
453 reg = <0x001c 0x0c>, <0x005c 0x08>;
456 gate_clk: clock-gating-ctrl@0038 {
457 compatible = "marvell,dove-gating-clock";
459 clocks = <&core_clk 0>;
463 pinctrl: pin-ctrl@0200 {
464 compatible = "marvell,dove-pinctrl";
467 clocks = <&gate_clk 22>;
469 pmx_gpio_0: pmx-gpio-0 {
470 marvell,pins = "mpp0";
471 marvell,function = "gpio";
474 pmx_gpio_1: pmx-gpio-1 {
475 marvell,pins = "mpp1";
476 marvell,function = "gpio";
479 pmx_gpio_2: pmx-gpio-2 {
480 marvell,pins = "mpp2";
481 marvell,function = "gpio";
484 pmx_gpio_3: pmx-gpio-3 {
485 marvell,pins = "mpp3";
486 marvell,function = "gpio";
489 pmx_gpio_4: pmx-gpio-4 {
490 marvell,pins = "mpp4";
491 marvell,function = "gpio";
494 pmx_gpio_5: pmx-gpio-5 {
495 marvell,pins = "mpp5";
496 marvell,function = "gpio";
499 pmx_gpio_6: pmx-gpio-6 {
500 marvell,pins = "mpp6";
501 marvell,function = "gpio";
504 pmx_gpio_7: pmx-gpio-7 {
505 marvell,pins = "mpp7";
506 marvell,function = "gpio";
509 pmx_gpio_8: pmx-gpio-8 {
510 marvell,pins = "mpp8";
511 marvell,function = "gpio";
514 pmx_gpio_9: pmx-gpio-9 {
515 marvell,pins = "mpp9";
516 marvell,function = "gpio";
519 pmx_pcie1_clkreq: pmx-pcie1-clkreq {
520 marvell,pins = "mpp9";
521 marvell,function = "pex1";
524 pmx_gpio_10: pmx-gpio-10 {
525 marvell,pins = "mpp10";
526 marvell,function = "gpio";
529 pmx_gpio_11: pmx-gpio-11 {
530 marvell,pins = "mpp11";
531 marvell,function = "gpio";
534 pmx_pcie0_clkreq: pmx-pcie0-clkreq {
535 marvell,pins = "mpp11";
536 marvell,function = "pex0";
539 pmx_gpio_12: pmx-gpio-12 {
540 marvell,pins = "mpp12";
541 marvell,function = "gpio";
544 pmx_gpio_13: pmx-gpio-13 {
545 marvell,pins = "mpp13";
546 marvell,function = "gpio";
549 pmx_audio1_extclk: pmx-audio1-extclk {
550 marvell,pins = "mpp13";
551 marvell,function = "audio1";
554 pmx_gpio_14: pmx-gpio-14 {
555 marvell,pins = "mpp14";
556 marvell,function = "gpio";
559 pmx_gpio_15: pmx-gpio-15 {
560 marvell,pins = "mpp15";
561 marvell,function = "gpio";
564 pmx_gpio_16: pmx-gpio-16 {
565 marvell,pins = "mpp16";
566 marvell,function = "gpio";
569 pmx_gpio_17: pmx-gpio-17 {
570 marvell,pins = "mpp17";
571 marvell,function = "gpio";
574 pmx_gpio_18: pmx-gpio-18 {
575 marvell,pins = "mpp18";
576 marvell,function = "gpio";
579 pmx_gpio_19: pmx-gpio-19 {
580 marvell,pins = "mpp19";
581 marvell,function = "gpio";
584 pmx_gpio_20: pmx-gpio-20 {
585 marvell,pins = "mpp20";
586 marvell,function = "gpio";
589 pmx_gpio_21: pmx-gpio-21 {
590 marvell,pins = "mpp21";
591 marvell,function = "gpio";
594 pmx_camera: pmx-camera {
595 marvell,pins = "mpp_camera";
596 marvell,function = "camera";
599 pmx_camera_gpio: pmx-camera-gpio {
600 marvell,pins = "mpp_camera";
601 marvell,function = "gpio";
604 pmx_sdio0: pmx-sdio0 {
605 marvell,pins = "mpp_sdio0";
606 marvell,function = "sdio0";
609 pmx_sdio0_gpio: pmx-sdio0-gpio {
610 marvell,pins = "mpp_sdio0";
611 marvell,function = "gpio";
614 pmx_sdio1: pmx-sdio1 {
615 marvell,pins = "mpp_sdio1";
616 marvell,function = "sdio1";
619 pmx_sdio1_gpio: pmx-sdio1-gpio {
620 marvell,pins = "mpp_sdio1";
621 marvell,function = "gpio";
624 pmx_audio1_gpio: pmx-audio1-gpio {
625 marvell,pins = "mpp_audio1";
626 marvell,function = "gpio";
629 pmx_audio1_i2s1_spdifo: pmx-audio1-i2s1-spdifo {
630 marvell,pins = "mpp_audio1";
631 marvell,function = "i2s1/spdifo";
635 marvell,pins = "mpp_spi0";
636 marvell,function = "spi0";
639 pmx_spi0_gpio: pmx-spi0-gpio {
640 marvell,pins = "mpp_spi0";
641 marvell,function = "gpio";
644 pmx_spi1_4_7: pmx-spi1-4-7 {
645 marvell,pins = "mpp4", "mpp5",
647 marvell,function = "spi1";
650 pmx_spi1_20_23: pmx-spi1-20-23 {
651 marvell,pins = "mpp20", "mpp21",
653 marvell,function = "spi1";
656 pmx_uart1: pmx-uart1 {
657 marvell,pins = "mpp_uart1";
658 marvell,function = "uart1";
661 pmx_uart1_gpio: pmx-uart1-gpio {
662 marvell,pins = "mpp_uart1";
663 marvell,function = "gpio";
667 marvell,pins = "mpp_nand";
668 marvell,function = "nand";
671 pmx_nand_gpo: pmx-nand-gpo {
672 marvell,pins = "mpp_nand";
673 marvell,function = "gpo";
677 marvell,pins = "mpp17", "mpp19";
678 marvell,function = "twsi";
682 marvell,pins = "mpp_audio1";
683 marvell,function = "twsi";
686 pmx_ssp_i2c2: pmx-ssp-i2c2 {
687 marvell,pins = "mpp_audio1";
688 marvell,function = "ssp/twsi";
691 pmx_i2cmux_0: pmx-i2cmux-0 {
692 marvell,pins = "twsi";
693 marvell,function = "twsi-opt1";
696 pmx_i2cmux_1: pmx-i2cmux-1 {
697 marvell,pins = "twsi";
698 marvell,function = "twsi-opt2";
701 pmx_i2cmux_2: pmx-i2cmux-2 {
702 marvell,pins = "twsi";
703 marvell,function = "twsi-opt3";
707 core_clk: core-clocks@0214 {
708 compatible = "marvell,dove-core-clock";
713 gpio0: gpio-ctrl@0400 {
714 compatible = "marvell,orion-gpio";
719 interrupt-controller;
720 #interrupt-cells = <2>;
721 interrupt-parent = <&intc>;
722 interrupts = <12>, <13>, <14>, <60>;
725 gpio1: gpio-ctrl@0420 {
726 compatible = "marvell,orion-gpio";
731 interrupt-controller;
732 #interrupt-cells = <2>;
733 interrupt-parent = <&intc>;
737 rtc: real-time-clock@8500 {
738 compatible = "marvell,orion-rtc";
744 gconf: global-config@e802c {
745 compatible = "marvell,dove-global-config",
747 reg = <0xe802c 0x14>;
750 gpio2: gpio-ctrl@e8400 {
751 compatible = "marvell,orion-gpio";
754 reg = <0xe8400 0x0c>;
758 lcd1: lcd-controller@810000 {
759 compatible = "marvell,dove-lcd";
760 reg = <0x810000 0x1000>;
765 lcd0: lcd-controller@820000 {
766 compatible = "marvell,dove-lcd";
767 reg = <0x820000 0x1000>;
772 crypto_sram: sa-sram@ffffe000 {
773 compatible = "mmio-sram";
774 reg = <0xffffe000 0x800>;
775 clocks = <&gate_clk 15>;
776 #address-cells = <1>;