1 // SPDX-License-Identifier: GPL-2.0+
3 // Copyright 2011 Freescale Semiconductor, Inc.
4 // Copyright 2011 Linaro Ltd.
6 #include "imx53-pinfunc.h"
7 #include <dt-bindings/clock/imx5-clock.h>
8 #include <dt-bindings/gpio/gpio.h>
9 #include <dt-bindings/input/input.h>
10 #include <dt-bindings/interrupt-controller/irq.h>
16 * The decompressor and also some bootloaders rely on a
17 * pre-existing /chosen node to be available to insert the
18 * command line and merge other ATAGS info.
54 compatible = "arm,cortex-a8";
56 clocks = <&clks IMX5_CLK_ARM>;
57 clock-latency = <61036>;
58 voltage-tolerance = <5>;
71 compatible = "fsl,imx-display-subsystem";
72 ports = <&ipu_di0>, <&ipu_di1>;
76 compatible = "fsl,imx-capture-subsystem";
77 ports = <&ipu_csi0>, <&ipu_csi1>;
80 tzic: tz-interrupt-controller@fffc000 {
81 compatible = "fsl,imx53-tzic", "fsl,tzic";
83 #interrupt-cells = <1>;
84 reg = <0x0fffc000 0x4000>;
89 compatible = "fsl,imx-ckil", "fixed-clock";
91 clock-frequency = <32768>;
95 compatible = "fsl,imx-ckih1", "fixed-clock";
97 clock-frequency = <22579200>;
101 compatible = "fsl,imx-ckih2", "fixed-clock";
103 clock-frequency = <0>;
107 compatible = "fsl,imx-osc", "fixed-clock";
109 clock-frequency = <24000000>;
114 compatible = "arm,cortex-a8-pmu";
115 interrupt-parent = <&tzic>;
120 compatible = "usb-nop-xceiv";
121 clocks = <&clks IMX5_CLK_USB_PHY1_GATE>;
122 clock-names = "main_clk";
128 compatible = "usb-nop-xceiv";
129 clocks = <&clks IMX5_CLK_USB_PHY2_GATE>;
130 clock-names = "main_clk";
136 #address-cells = <1>;
138 compatible = "simple-bus";
139 interrupt-parent = <&tzic>;
142 sata: sata@10000000 {
143 compatible = "fsl,imx53-ahci";
144 reg = <0x10000000 0x1000>;
146 clocks = <&clks IMX5_CLK_SATA_GATE>,
147 <&clks IMX5_CLK_SATA_REF>,
148 <&clks IMX5_CLK_AHB>;
149 clock-names = "sata", "sata_ref", "ahb";
154 #address-cells = <1>;
156 compatible = "fsl,imx53-ipu";
157 reg = <0x18000000 0x08000000>;
158 interrupts = <11 10>;
159 clocks = <&clks IMX5_CLK_IPU_GATE>,
160 <&clks IMX5_CLK_IPU_DI0_GATE>,
161 <&clks IMX5_CLK_IPU_DI1_GATE>;
162 clock-names = "bus", "di0", "di1";
168 ipu_csi0_from_parallel_sensor: endpoint {
175 ipu_csi1_from_parallel_sensor: endpoint {
180 #address-cells = <1>;
184 ipu_di0_disp0: endpoint@0 {
188 ipu_di0_lvds0: endpoint@1 {
190 remote-endpoint = <&lvds0_in>;
195 #address-cells = <1>;
199 ipu_di1_disp1: endpoint@0 {
203 ipu_di1_lvds1: endpoint@1 {
205 remote-endpoint = <&lvds1_in>;
208 ipu_di1_tve: endpoint@2 {
210 remote-endpoint = <&tve_in>;
216 compatible = "amd,imageon-200.0", "amd,imageon";
217 reg = <0x30000000 0x20000>;
218 reg-names = "kgsl_3d0_reg_memory";
220 interrupt-names = "kgsl_3d0_irq";
221 clocks = <&clks IMX5_CLK_GPU3D_GATE>, <&clks IMX5_CLK_GARB_GATE>;
222 clock-names = "core_clk", "mem_iface_clk";
225 aips@50000000 { /* AIPS1 */
226 compatible = "fsl,aips-bus", "simple-bus";
227 #address-cells = <1>;
229 reg = <0x50000000 0x10000000>;
233 compatible = "fsl,spba-bus", "simple-bus";
234 #address-cells = <1>;
236 reg = <0x50000000 0x40000>;
239 esdhc1: esdhc@50004000 {
240 compatible = "fsl,imx53-esdhc";
241 reg = <0x50004000 0x4000>;
243 clocks = <&clks IMX5_CLK_ESDHC1_IPG_GATE>,
244 <&clks IMX5_CLK_DUMMY>,
245 <&clks IMX5_CLK_ESDHC1_PER_GATE>;
246 clock-names = "ipg", "ahb", "per";
251 esdhc2: esdhc@50008000 {
252 compatible = "fsl,imx53-esdhc";
253 reg = <0x50008000 0x4000>;
255 clocks = <&clks IMX5_CLK_ESDHC2_IPG_GATE>,
256 <&clks IMX5_CLK_DUMMY>,
257 <&clks IMX5_CLK_ESDHC2_PER_GATE>;
258 clock-names = "ipg", "ahb", "per";
263 uart3: serial@5000c000 {
264 compatible = "fsl,imx53-uart", "fsl,imx21-uart";
265 reg = <0x5000c000 0x4000>;
267 clocks = <&clks IMX5_CLK_UART3_IPG_GATE>,
268 <&clks IMX5_CLK_UART3_PER_GATE>;
269 clock-names = "ipg", "per";
270 dmas = <&sdma 42 4 0>, <&sdma 43 4 0>;
271 dma-names = "rx", "tx";
275 ecspi1: spi@50010000 {
276 #address-cells = <1>;
278 compatible = "fsl,imx53-ecspi", "fsl,imx51-ecspi";
279 reg = <0x50010000 0x4000>;
281 clocks = <&clks IMX5_CLK_ECSPI1_IPG_GATE>,
282 <&clks IMX5_CLK_ECSPI1_PER_GATE>;
283 clock-names = "ipg", "per";
288 #sound-dai-cells = <0>;
289 compatible = "fsl,imx53-ssi",
292 reg = <0x50014000 0x4000>;
294 clocks = <&clks IMX5_CLK_SSI2_IPG_GATE>,
295 <&clks IMX5_CLK_SSI2_ROOT_GATE>;
296 clock-names = "ipg", "baud";
297 dmas = <&sdma 24 1 0>,
299 dma-names = "rx", "tx";
300 fsl,fifo-depth = <15>;
304 esdhc3: esdhc@50020000 {
305 compatible = "fsl,imx53-esdhc";
306 reg = <0x50020000 0x4000>;
308 clocks = <&clks IMX5_CLK_ESDHC3_IPG_GATE>,
309 <&clks IMX5_CLK_DUMMY>,
310 <&clks IMX5_CLK_ESDHC3_PER_GATE>;
311 clock-names = "ipg", "ahb", "per";
316 esdhc4: esdhc@50024000 {
317 compatible = "fsl,imx53-esdhc";
318 reg = <0x50024000 0x4000>;
320 clocks = <&clks IMX5_CLK_ESDHC4_IPG_GATE>,
321 <&clks IMX5_CLK_DUMMY>,
322 <&clks IMX5_CLK_ESDHC4_PER_GATE>;
323 clock-names = "ipg", "ahb", "per";
329 aipstz1: bridge@53f00000 {
330 compatible = "fsl,imx53-aipstz";
331 reg = <0x53f00000 0x60>;
334 usbotg: usb@53f80000 {
335 compatible = "fsl,imx53-usb", "fsl,imx27-usb";
336 reg = <0x53f80000 0x0200>;
338 clocks = <&clks IMX5_CLK_USBOH3_GATE>;
339 fsl,usbmisc = <&usbmisc 0>;
340 fsl,usbphy = <&usbphy0>;
344 usbh1: usb@53f80200 {
345 compatible = "fsl,imx53-usb", "fsl,imx27-usb";
346 reg = <0x53f80200 0x0200>;
348 clocks = <&clks IMX5_CLK_USBOH3_GATE>;
349 fsl,usbmisc = <&usbmisc 1>;
350 fsl,usbphy = <&usbphy1>;
355 usbh2: usb@53f80400 {
356 compatible = "fsl,imx53-usb", "fsl,imx27-usb";
357 reg = <0x53f80400 0x0200>;
359 clocks = <&clks IMX5_CLK_USBOH3_GATE>;
360 fsl,usbmisc = <&usbmisc 2>;
365 usbh3: usb@53f80600 {
366 compatible = "fsl,imx53-usb", "fsl,imx27-usb";
367 reg = <0x53f80600 0x0200>;
369 clocks = <&clks IMX5_CLK_USBOH3_GATE>;
370 fsl,usbmisc = <&usbmisc 3>;
375 usbmisc: usbmisc@53f80800 {
377 compatible = "fsl,imx53-usbmisc";
378 reg = <0x53f80800 0x200>;
379 clocks = <&clks IMX5_CLK_USBOH3_GATE>;
382 gpio1: gpio@53f84000 {
383 compatible = "fsl,imx53-gpio", "fsl,imx35-gpio";
384 reg = <0x53f84000 0x4000>;
385 interrupts = <50 51>;
388 interrupt-controller;
389 #interrupt-cells = <2>;
392 gpio2: gpio@53f88000 {
393 compatible = "fsl,imx53-gpio", "fsl,imx35-gpio";
394 reg = <0x53f88000 0x4000>;
395 interrupts = <52 53>;
398 interrupt-controller;
399 #interrupt-cells = <2>;
402 gpio3: gpio@53f8c000 {
403 compatible = "fsl,imx53-gpio", "fsl,imx35-gpio";
404 reg = <0x53f8c000 0x4000>;
405 interrupts = <54 55>;
408 interrupt-controller;
409 #interrupt-cells = <2>;
412 gpio4: gpio@53f90000 {
413 compatible = "fsl,imx53-gpio", "fsl,imx35-gpio";
414 reg = <0x53f90000 0x4000>;
415 interrupts = <56 57>;
418 interrupt-controller;
419 #interrupt-cells = <2>;
423 compatible = "fsl,imx53-kpp", "fsl,imx21-kpp";
424 reg = <0x53f94000 0x4000>;
426 clocks = <&clks IMX5_CLK_DUMMY>;
430 wdog1: wdog@53f98000 {
431 compatible = "fsl,imx53-wdt", "fsl,imx21-wdt";
432 reg = <0x53f98000 0x4000>;
434 clocks = <&clks IMX5_CLK_DUMMY>;
437 wdog2: wdog@53f9c000 {
438 compatible = "fsl,imx53-wdt", "fsl,imx21-wdt";
439 reg = <0x53f9c000 0x4000>;
441 clocks = <&clks IMX5_CLK_DUMMY>;
445 gpt: timer@53fa0000 {
446 compatible = "fsl,imx53-gpt", "fsl,imx31-gpt";
447 reg = <0x53fa0000 0x4000>;
449 clocks = <&clks IMX5_CLK_GPT_IPG_GATE>,
450 <&clks IMX5_CLK_GPT_HF_GATE>;
451 clock-names = "ipg", "per";
455 compatible = "fsl,imx53-rtc";
456 reg = <0x53fa4000 0x4000>;
458 clocks = <&clks IMX5_CLK_SRTC_GATE>;
461 iomuxc: iomuxc@53fa8000 {
462 compatible = "fsl,imx53-iomuxc";
463 reg = <0x53fa8000 0x4000>;
466 gpr: iomuxc-gpr@53fa8000 {
467 compatible = "fsl,imx53-iomuxc-gpr", "syscon";
468 reg = <0x53fa8000 0xc>;
472 #address-cells = <1>;
474 compatible = "fsl,imx53-ldb";
475 reg = <0x53fa8008 0x4>;
477 clocks = <&clks IMX5_CLK_LDB_DI0_SEL>,
478 <&clks IMX5_CLK_LDB_DI1_SEL>,
479 <&clks IMX5_CLK_IPU_DI0_SEL>,
480 <&clks IMX5_CLK_IPU_DI1_SEL>,
481 <&clks IMX5_CLK_LDB_DI0_GATE>,
482 <&clks IMX5_CLK_LDB_DI1_GATE>;
483 clock-names = "di0_pll", "di1_pll",
484 "di0_sel", "di1_sel",
489 #address-cells = <1>;
498 remote-endpoint = <&ipu_di0_lvds0>;
508 #address-cells = <1>;
517 remote-endpoint = <&ipu_di1_lvds1>;
529 compatible = "fsl,imx53-pwm", "fsl,imx27-pwm";
530 reg = <0x53fb4000 0x4000>;
531 clocks = <&clks IMX5_CLK_PWM1_IPG_GATE>,
532 <&clks IMX5_CLK_PWM1_HF_GATE>;
533 clock-names = "ipg", "per";
539 compatible = "fsl,imx53-pwm", "fsl,imx27-pwm";
540 reg = <0x53fb8000 0x4000>;
541 clocks = <&clks IMX5_CLK_PWM2_IPG_GATE>,
542 <&clks IMX5_CLK_PWM2_HF_GATE>;
543 clock-names = "ipg", "per";
547 uart1: serial@53fbc000 {
548 compatible = "fsl,imx53-uart", "fsl,imx21-uart";
549 reg = <0x53fbc000 0x4000>;
551 clocks = <&clks IMX5_CLK_UART1_IPG_GATE>,
552 <&clks IMX5_CLK_UART1_PER_GATE>;
553 clock-names = "ipg", "per";
554 dmas = <&sdma 18 4 0>, <&sdma 19 4 0>;
555 dma-names = "rx", "tx";
559 uart2: serial@53fc0000 {
560 compatible = "fsl,imx53-uart", "fsl,imx21-uart";
561 reg = <0x53fc0000 0x4000>;
563 clocks = <&clks IMX5_CLK_UART2_IPG_GATE>,
564 <&clks IMX5_CLK_UART2_PER_GATE>;
565 clock-names = "ipg", "per";
566 dmas = <&sdma 12 4 0>, <&sdma 13 4 0>;
567 dma-names = "rx", "tx";
572 compatible = "fsl,imx53-flexcan", "fsl,imx25-flexcan";
573 reg = <0x53fc8000 0x4000>;
575 clocks = <&clks IMX5_CLK_CAN1_IPG_GATE>,
576 <&clks IMX5_CLK_CAN1_SERIAL_GATE>;
577 clock-names = "ipg", "per";
582 compatible = "fsl,imx53-flexcan", "fsl,imx25-flexcan";
583 reg = <0x53fcc000 0x4000>;
585 clocks = <&clks IMX5_CLK_CAN2_IPG_GATE>,
586 <&clks IMX5_CLK_CAN2_SERIAL_GATE>;
587 clock-names = "ipg", "per";
592 compatible = "fsl,imx53-src", "fsl,imx51-src";
593 reg = <0x53fd0000 0x4000>;
598 compatible = "fsl,imx53-ccm";
599 reg = <0x53fd4000 0x4000>;
600 interrupts = <0 71 0x04 0 72 0x04>;
604 gpio5: gpio@53fdc000 {
605 compatible = "fsl,imx53-gpio", "fsl,imx35-gpio";
606 reg = <0x53fdc000 0x4000>;
607 interrupts = <103 104>;
610 interrupt-controller;
611 #interrupt-cells = <2>;
614 gpio6: gpio@53fe0000 {
615 compatible = "fsl,imx53-gpio", "fsl,imx35-gpio";
616 reg = <0x53fe0000 0x4000>;
617 interrupts = <105 106>;
620 interrupt-controller;
621 #interrupt-cells = <2>;
624 gpio7: gpio@53fe4000 {
625 compatible = "fsl,imx53-gpio", "fsl,imx35-gpio";
626 reg = <0x53fe4000 0x4000>;
627 interrupts = <107 108>;
630 interrupt-controller;
631 #interrupt-cells = <2>;
635 #address-cells = <1>;
637 compatible = "fsl,imx53-i2c", "fsl,imx21-i2c";
638 reg = <0x53fec000 0x4000>;
640 clocks = <&clks IMX5_CLK_I2C3_GATE>;
644 uart4: serial@53ff0000 {
645 compatible = "fsl,imx53-uart", "fsl,imx21-uart";
646 reg = <0x53ff0000 0x4000>;
648 clocks = <&clks IMX5_CLK_UART4_IPG_GATE>,
649 <&clks IMX5_CLK_UART4_PER_GATE>;
650 clock-names = "ipg", "per";
651 dmas = <&sdma 2 4 0>, <&sdma 3 4 0>;
652 dma-names = "rx", "tx";
657 aips@60000000 { /* AIPS2 */
658 compatible = "fsl,aips-bus", "simple-bus";
659 #address-cells = <1>;
661 reg = <0x60000000 0x10000000>;
664 aipstz2: bridge@63f00000 {
665 compatible = "fsl,imx53-aipstz";
666 reg = <0x63f00000 0x60>;
670 compatible = "fsl,imx53-iim", "fsl,imx27-iim";
671 reg = <0x63f98000 0x4000>;
673 clocks = <&clks IMX5_CLK_IIM_GATE>;
676 uart5: serial@63f90000 {
677 compatible = "fsl,imx53-uart", "fsl,imx21-uart";
678 reg = <0x63f90000 0x4000>;
680 clocks = <&clks IMX5_CLK_UART5_IPG_GATE>,
681 <&clks IMX5_CLK_UART5_PER_GATE>;
682 clock-names = "ipg", "per";
683 dmas = <&sdma 16 4 0>, <&sdma 17 4 0>;
684 dma-names = "rx", "tx";
688 tigerp: tigerp@63fa0000 {
689 compatible = "fsl,imx53-tigerp", "fsl,imx51-tigerp";
690 reg = <0x63fa0000 0x28>;
693 owire: owire@63fa4000 {
694 compatible = "fsl,imx53-owire", "fsl,imx21-owire";
695 reg = <0x63fa4000 0x4000>;
696 clocks = <&clks IMX5_CLK_OWIRE_GATE>;
700 ecspi2: spi@63fac000 {
701 #address-cells = <1>;
703 compatible = "fsl,imx53-ecspi", "fsl,imx51-ecspi";
704 reg = <0x63fac000 0x4000>;
706 clocks = <&clks IMX5_CLK_ECSPI2_IPG_GATE>,
707 <&clks IMX5_CLK_ECSPI2_PER_GATE>;
708 clock-names = "ipg", "per";
712 sdma: sdma@63fb0000 {
713 compatible = "fsl,imx53-sdma", "fsl,imx35-sdma";
714 reg = <0x63fb0000 0x4000>;
716 clocks = <&clks IMX5_CLK_SDMA_GATE>,
717 <&clks IMX5_CLK_AHB>;
718 clock-names = "ipg", "ahb";
720 fsl,sdma-ram-script-name = "imx/sdma/sdma-imx53.bin";
724 #address-cells = <1>;
726 compatible = "fsl,imx53-cspi", "fsl,imx35-cspi";
727 reg = <0x63fc0000 0x4000>;
729 clocks = <&clks IMX5_CLK_CSPI_IPG_GATE>,
730 <&clks IMX5_CLK_CSPI_IPG_GATE>;
731 clock-names = "ipg", "per";
736 #address-cells = <1>;
738 compatible = "fsl,imx53-i2c", "fsl,imx21-i2c";
739 reg = <0x63fc4000 0x4000>;
741 clocks = <&clks IMX5_CLK_I2C2_GATE>;
746 #address-cells = <1>;
748 compatible = "fsl,imx53-i2c", "fsl,imx21-i2c";
749 reg = <0x63fc8000 0x4000>;
751 clocks = <&clks IMX5_CLK_I2C1_GATE>;
756 #sound-dai-cells = <0>;
757 compatible = "fsl,imx53-ssi", "fsl,imx51-ssi",
759 reg = <0x63fcc000 0x4000>;
761 clocks = <&clks IMX5_CLK_SSI1_IPG_GATE>,
762 <&clks IMX5_CLK_SSI1_ROOT_GATE>;
763 clock-names = "ipg", "baud";
764 dmas = <&sdma 28 0 0>,
766 dma-names = "rx", "tx";
767 fsl,fifo-depth = <15>;
771 audmux: audmux@63fd0000 {
772 compatible = "fsl,imx53-audmux", "fsl,imx31-audmux";
773 reg = <0x63fd0000 0x4000>;
778 compatible = "fsl,imx53-nand";
779 reg = <0x63fdb000 0x1000 0xf7ff0000 0x10000>;
781 clocks = <&clks IMX5_CLK_NFC_GATE>;
786 #sound-dai-cells = <0>;
787 compatible = "fsl,imx53-ssi", "fsl,imx51-ssi",
789 reg = <0x63fe8000 0x4000>;
791 clocks = <&clks IMX5_CLK_SSI3_IPG_GATE>,
792 <&clks IMX5_CLK_SSI3_ROOT_GATE>;
793 clock-names = "ipg", "baud";
794 dmas = <&sdma 46 0 0>,
796 dma-names = "rx", "tx";
797 fsl,fifo-depth = <15>;
801 fec: ethernet@63fec000 {
802 compatible = "fsl,imx53-fec", "fsl,imx25-fec";
803 reg = <0x63fec000 0x4000>;
805 clocks = <&clks IMX5_CLK_FEC_GATE>,
806 <&clks IMX5_CLK_FEC_GATE>,
807 <&clks IMX5_CLK_FEC_GATE>;
808 clock-names = "ipg", "ahb", "ptp";
813 compatible = "fsl,imx53-tve";
814 reg = <0x63ff0000 0x1000>;
816 clocks = <&clks IMX5_CLK_TVE_GATE>,
817 <&clks IMX5_CLK_IPU_DI1_SEL>;
818 clock-names = "tve", "di_sel";
823 remote-endpoint = <&ipu_di1_tve>;
829 compatible = "fsl,imx53-vpu", "cnm,coda7541";
830 reg = <0x63ff4000 0x1000>;
832 clocks = <&clks IMX5_CLK_VPU_REFERENCE_GATE>,
833 <&clks IMX5_CLK_VPU_GATE>;
834 clock-names = "per", "ahb";
839 sahara: crypto@63ff8000 {
840 compatible = "fsl,imx53-sahara";
841 reg = <0x63ff8000 0x4000>;
842 interrupts = <19 20>;
843 clocks = <&clks IMX5_CLK_SAHARA_IPG_GATE>,
844 <&clks IMX5_CLK_SAHARA_IPG_GATE>;
845 clock-names = "ipg", "ahb";
849 ocram: sram@f8000000 {
850 compatible = "mmio-sram";
851 reg = <0xf8000000 0x20000>;
852 clocks = <&clks IMX5_CLK_OCRAM>;