1 // SPDX-License-Identifier: GPL-2.0+ OR MIT
3 // Copyright 2015 Freescale Semiconductor, Inc.
4 // Copyright 2016 Toradex AG
6 #include <dt-bindings/clock/imx7d-clock.h>
7 #include <dt-bindings/power/imx7-power.h>
8 #include <dt-bindings/gpio/gpio.h>
9 #include <dt-bindings/input/input.h>
10 #include <dt-bindings/interrupt-controller/arm-gic.h>
11 #include <dt-bindings/reset/imx7-reset.h>
12 #include "imx7d-pinfunc.h"
18 * The decompressor and also some bootloaders rely on a
19 * pre-existing /chosen node to be available to insert the
20 * command line and merge other ATAGS info.
57 entry-method = "psci";
59 cpu_sleep_wait: cpu-sleep-wait {
60 compatible = "arm,idle-state";
61 arm,psci-suspend-param = <0x0010000>;
63 entry-latency-us = <100>;
64 exit-latency-us = <50>;
65 min-residency-us = <1000>;
70 compatible = "arm,cortex-a7";
73 clock-frequency = <792000000>;
74 clock-latency = <61036>; /* two CLK32 periods */
75 clocks = <&clks IMX7D_CLK_ARM>;
76 cpu-idle-states = <&cpu_sleep_wait>;
81 compatible = "fixed-clock";
83 clock-frequency = <32768>;
84 clock-output-names = "ckil";
88 compatible = "fixed-clock";
90 clock-frequency = <24000000>;
91 clock-output-names = "osc";
94 usbphynop1: usbphynop1 {
95 compatible = "usb-nop-xceiv";
96 clocks = <&clks IMX7D_USB_PHY1_CLK>;
97 clock-names = "main_clk";
101 usbphynop3: usbphynop3 {
102 compatible = "usb-nop-xceiv";
103 clocks = <&clks IMX7D_USB_HSIC_ROOT_CLK>;
104 clock-names = "main_clk";
109 compatible = "arm,cortex-a7-pmu";
110 interrupt-parent = <&gpc>;
111 interrupts = <GIC_SPI 92 IRQ_TYPE_LEVEL_HIGH>;
112 interrupt-affinity = <&cpu0>;
117 * non-configurable replicators don't show up on the
118 * AMBA bus. As such no need to add "arm,primecell"
120 compatible = "arm,coresight-replicator";
123 #address-cells = <1>;
125 /* replicator output ports */
128 replicator_out_port0: endpoint {
129 remote-endpoint = <&tpiu_in_port>;
135 replicator_out_port1: endpoint {
136 remote-endpoint = <&etr_in_port>;
143 replicator_in_port0: endpoint {
144 remote-endpoint = <&etf_out_port>;
151 compatible = "fsl,imx7d-tempmon";
152 interrupt-parent = <&gpc>;
153 interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>;
154 fsl,tempmon =<&anatop>;
155 nvmem-cells = <&tempmon_calib>,
156 <&tempmon_temp_grade>;
157 nvmem-cell-names = "calib", "temp_grade";
158 clocks = <&clks IMX7D_PLL_SYS_MAIN_CLK>;
162 compatible = "arm,armv7-timer";
163 interrupt-parent = <&intc>;
164 interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(1) | IRQ_TYPE_LEVEL_LOW)>,
165 <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(1) | IRQ_TYPE_LEVEL_LOW)>,
166 <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(1) | IRQ_TYPE_LEVEL_LOW)>,
167 <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(1) | IRQ_TYPE_LEVEL_LOW)>;
171 #address-cells = <1>;
173 compatible = "simple-bus";
174 interrupt-parent = <&gpc>;
178 compatible = "arm,coresight-funnel", "arm,primecell";
179 reg = <0x30041000 0x1000>;
180 clocks = <&clks IMX7D_MAIN_AXI_ROOT_CLK>;
181 clock-names = "apb_pclk";
183 ca_funnel_in_ports: in-ports {
185 ca_funnel_in_port0: endpoint {
186 remote-endpoint = <&etm0_out_port>;
190 /* the other input ports are not connect to anything */
195 ca_funnel_out_port0: endpoint {
196 remote-endpoint = <&hugo_funnel_in_port0>;
204 compatible = "arm,coresight-etm3x", "arm,primecell";
205 reg = <0x3007c000 0x1000>;
207 clocks = <&clks IMX7D_MAIN_AXI_ROOT_CLK>;
208 clock-names = "apb_pclk";
212 etm0_out_port: endpoint {
213 remote-endpoint = <&ca_funnel_in_port0>;
220 compatible = "arm,coresight-funnel", "arm,primecell";
221 reg = <0x30083000 0x1000>;
222 clocks = <&clks IMX7D_MAIN_AXI_ROOT_CLK>;
223 clock-names = "apb_pclk";
226 #address-cells = <1>;
231 hugo_funnel_in_port0: endpoint {
232 remote-endpoint = <&ca_funnel_out_port0>;
238 hugo_funnel_in_port1: endpoint {
242 /* the other input ports are not connect to anything */
247 hugo_funnel_out_port0: endpoint {
248 remote-endpoint = <&etf_in_port>;
255 compatible = "arm,coresight-tmc", "arm,primecell";
256 reg = <0x30084000 0x1000>;
257 clocks = <&clks IMX7D_MAIN_AXI_ROOT_CLK>;
258 clock-names = "apb_pclk";
262 etf_in_port: endpoint {
263 remote-endpoint = <&hugo_funnel_out_port0>;
270 etf_out_port: endpoint {
271 remote-endpoint = <&replicator_in_port0>;
278 compatible = "arm,coresight-tmc", "arm,primecell";
279 reg = <0x30086000 0x1000>;
280 clocks = <&clks IMX7D_MAIN_AXI_ROOT_CLK>;
281 clock-names = "apb_pclk";
285 etr_in_port: endpoint {
286 remote-endpoint = <&replicator_out_port1>;
293 compatible = "arm,coresight-tpiu", "arm,primecell";
294 reg = <0x30087000 0x1000>;
295 clocks = <&clks IMX7D_MAIN_AXI_ROOT_CLK>;
296 clock-names = "apb_pclk";
300 tpiu_in_port: endpoint {
301 remote-endpoint = <&replicator_out_port0>;
307 intc: interrupt-controller@31001000 {
308 compatible = "arm,cortex-a7-gic";
309 interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(1) | IRQ_TYPE_LEVEL_HIGH)>;
310 #interrupt-cells = <3>;
311 interrupt-controller;
312 interrupt-parent = <&intc>;
313 reg = <0x31001000 0x1000>,
319 aips1: aips-bus@30000000 {
320 compatible = "fsl,aips-bus", "simple-bus";
321 #address-cells = <1>;
323 reg = <0x30000000 0x400000>;
326 gpio1: gpio@30200000 {
327 compatible = "fsl,imx7d-gpio", "fsl,imx35-gpio";
328 reg = <0x30200000 0x10000>;
329 interrupts = <GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>, /* GPIO1_INT15_0 */
330 <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>; /* GPIO1_INT31_16 */
333 interrupt-controller;
334 #interrupt-cells = <2>;
335 gpio-ranges = <&iomuxc_lpsr 0 0 8>, <&iomuxc 8 5 8>;
338 gpio2: gpio@30210000 {
339 compatible = "fsl,imx7d-gpio", "fsl,imx35-gpio";
340 reg = <0x30210000 0x10000>;
341 interrupts = <GIC_SPI 66 IRQ_TYPE_LEVEL_HIGH>,
342 <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>;
345 interrupt-controller;
346 #interrupt-cells = <2>;
347 gpio-ranges = <&iomuxc 0 13 32>;
350 gpio3: gpio@30220000 {
351 compatible = "fsl,imx7d-gpio", "fsl,imx35-gpio";
352 reg = <0x30220000 0x10000>;
353 interrupts = <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>,
354 <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
357 interrupt-controller;
358 #interrupt-cells = <2>;
359 gpio-ranges = <&iomuxc 0 45 29>;
362 gpio4: gpio@30230000 {
363 compatible = "fsl,imx7d-gpio", "fsl,imx35-gpio";
364 reg = <0x30230000 0x10000>;
365 interrupts = <GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>,
366 <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>;
369 interrupt-controller;
370 #interrupt-cells = <2>;
371 gpio-ranges = <&iomuxc 0 74 24>;
374 gpio5: gpio@30240000 {
375 compatible = "fsl,imx7d-gpio", "fsl,imx35-gpio";
376 reg = <0x30240000 0x10000>;
377 interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>,
378 <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>;
381 interrupt-controller;
382 #interrupt-cells = <2>;
383 gpio-ranges = <&iomuxc 0 98 18>;
386 gpio6: gpio@30250000 {
387 compatible = "fsl,imx7d-gpio", "fsl,imx35-gpio";
388 reg = <0x30250000 0x10000>;
389 interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>,
390 <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>;
393 interrupt-controller;
394 #interrupt-cells = <2>;
395 gpio-ranges = <&iomuxc 0 116 23>;
398 gpio7: gpio@30260000 {
399 compatible = "fsl,imx7d-gpio", "fsl,imx35-gpio";
400 reg = <0x30260000 0x10000>;
401 interrupts = <GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>,
402 <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>;
405 interrupt-controller;
406 #interrupt-cells = <2>;
407 gpio-ranges = <&iomuxc 0 139 16>;
410 wdog1: wdog@30280000 {
411 compatible = "fsl,imx7d-wdt", "fsl,imx21-wdt";
412 reg = <0x30280000 0x10000>;
413 interrupts = <GIC_SPI 78 IRQ_TYPE_LEVEL_HIGH>;
414 clocks = <&clks IMX7D_WDOG1_ROOT_CLK>;
417 wdog2: wdog@30290000 {
418 compatible = "fsl,imx7d-wdt", "fsl,imx21-wdt";
419 reg = <0x30290000 0x10000>;
420 interrupts = <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>;
421 clocks = <&clks IMX7D_WDOG2_ROOT_CLK>;
425 wdog3: wdog@302a0000 {
426 compatible = "fsl,imx7d-wdt", "fsl,imx21-wdt";
427 reg = <0x302a0000 0x10000>;
428 interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
429 clocks = <&clks IMX7D_WDOG3_ROOT_CLK>;
433 wdog4: wdog@302b0000 {
434 compatible = "fsl,imx7d-wdt", "fsl,imx21-wdt";
435 reg = <0x302b0000 0x10000>;
436 interrupts = <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>;
437 clocks = <&clks IMX7D_WDOG4_ROOT_CLK>;
441 iomuxc_lpsr: iomuxc-lpsr@302c0000 {
442 compatible = "fsl,imx7d-iomuxc-lpsr";
443 reg = <0x302c0000 0x10000>;
444 fsl,input-sel = <&iomuxc>;
448 compatible = "fsl,imx7d-gpt", "fsl,imx6sx-gpt";
449 reg = <0x302d0000 0x10000>;
450 interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>;
451 clocks = <&clks IMX7D_CLK_DUMMY>,
452 <&clks IMX7D_GPT1_ROOT_CLK>;
453 clock-names = "ipg", "per";
457 compatible = "fsl,imx7d-gpt", "fsl,imx6sx-gpt";
458 reg = <0x302e0000 0x10000>;
459 interrupts = <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>;
460 clocks = <&clks IMX7D_CLK_DUMMY>,
461 <&clks IMX7D_GPT2_ROOT_CLK>;
462 clock-names = "ipg", "per";
467 compatible = "fsl,imx7d-gpt", "fsl,imx6sx-gpt";
468 reg = <0x302f0000 0x10000>;
469 interrupts = <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>;
470 clocks = <&clks IMX7D_CLK_DUMMY>,
471 <&clks IMX7D_GPT3_ROOT_CLK>;
472 clock-names = "ipg", "per";
477 compatible = "fsl,imx7d-gpt", "fsl,imx6sx-gpt";
478 reg = <0x30300000 0x10000>;
479 interrupts = <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>;
480 clocks = <&clks IMX7D_CLK_DUMMY>,
481 <&clks IMX7D_GPT4_ROOT_CLK>;
482 clock-names = "ipg", "per";
487 compatible = "fsl,imx7d-kpp", "fsl,imx21-kpp";
488 reg = <0x30320000 0x10000>;
489 interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>;
490 clocks = <&clks IMX7D_KPP_ROOT_CLK>;
494 iomuxc: iomuxc@30330000 {
495 compatible = "fsl,imx7d-iomuxc";
496 reg = <0x30330000 0x10000>;
499 gpr: iomuxc-gpr@30340000 {
500 compatible = "fsl,imx7d-iomuxc-gpr",
501 "fsl,imx6q-iomuxc-gpr", "syscon",
503 reg = <0x30340000 0x10000>;
505 mux: mux-controller {
506 compatible = "mmio-mux";
507 #mux-control-cells = <0>;
508 mux-reg-masks = <0x14 0x00000010>;
512 compatible = "video-mux";
513 mux-controls = <&mux 0>;
514 #address-cells = <1>;
525 csi_mux_from_mipi_vc0: endpoint {
526 remote-endpoint = <&mipi_vc0_to_csi_mux>;
533 csi_mux_to_csi: endpoint {
534 remote-endpoint = <&csi_from_csi_mux>;
540 ocotp: ocotp-ctrl@30350000 {
541 #address-cells = <1>;
543 compatible = "fsl,imx7d-ocotp", "syscon";
544 reg = <0x30350000 0x10000>;
545 clocks = <&clks IMX7D_OCOTP_CLK>;
547 tempmon_calib: calib@3c {
551 tempmon_temp_grade: temp-grade@10 {
556 anatop: anatop@30360000 {
557 compatible = "fsl,imx7d-anatop", "fsl,imx6q-anatop",
558 "syscon", "simple-bus";
559 reg = <0x30360000 0x10000>;
560 interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>,
561 <GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH>;
563 reg_1p0d: regulator-vdd1p0d {
564 compatible = "fsl,anatop-regulator";
565 regulator-name = "vdd1p0d";
566 regulator-min-microvolt = <800000>;
567 regulator-max-microvolt = <1200000>;
568 anatop-reg-offset = <0x210>;
569 anatop-vol-bit-shift = <8>;
570 anatop-vol-bit-width = <5>;
571 anatop-min-bit-val = <8>;
572 anatop-min-voltage = <800000>;
573 anatop-max-voltage = <1200000>;
574 anatop-enable-bit = <0>;
577 reg_1p2: regulator-vdd1p2 {
578 compatible = "fsl,anatop-regulator";
579 regulator-name = "vdd1p2";
580 regulator-min-microvolt = <1100000>;
581 regulator-max-microvolt = <1300000>;
582 anatop-reg-offset = <0x220>;
583 anatop-vol-bit-shift = <8>;
584 anatop-vol-bit-width = <5>;
585 anatop-min-bit-val = <0x14>;
586 anatop-min-voltage = <1100000>;
587 anatop-max-voltage = <1300000>;
588 anatop-enable-bit = <0>;
592 snvs: snvs@30370000 {
593 compatible = "fsl,sec-v4.0-mon", "syscon", "simple-mfd";
594 reg = <0x30370000 0x10000>;
596 snvs_rtc: snvs-rtc-lp {
597 compatible = "fsl,sec-v4.0-mon-rtc-lp";
600 interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>,
601 <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
602 clocks = <&clks IMX7D_SNVS_CLK>;
603 clock-names = "snvs-rtc";
606 snvs_pwrkey: snvs-powerkey {
607 compatible = "fsl,sec-v4.0-pwrkey";
609 interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
610 linux,keycode = <KEY_POWER>;
616 compatible = "fsl,imx7d-ccm";
617 reg = <0x30380000 0x10000>;
618 interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>,
619 <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
621 clocks = <&ckil>, <&osc>;
622 clock-names = "ckil", "osc";
626 compatible = "fsl,imx7d-src", "syscon";
627 reg = <0x30390000 0x10000>;
628 interrupts = <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>;
633 compatible = "fsl,imx7d-gpc";
634 reg = <0x303a0000 0x10000>;
635 interrupt-controller;
636 interrupts = <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>;
637 #interrupt-cells = <3>;
638 interrupt-parent = <&intc>;
639 #power-domain-cells = <1>;
642 #address-cells = <1>;
645 pgc_mipi_phy: power-domain@0 {
646 #power-domain-cells = <0>;
648 power-supply = <®_1p0d>;
651 pgc_pcie_phy: power-domain@1 {
652 #power-domain-cells = <0>;
654 power-supply = <®_1p0d>;
660 aips2: aips-bus@30400000 {
661 compatible = "fsl,aips-bus", "simple-bus";
662 #address-cells = <1>;
664 reg = <0x30400000 0x400000>;
668 compatible = "fsl,imx7d-adc";
669 reg = <0x30610000 0x10000>;
670 interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>;
671 clocks = <&clks IMX7D_ADC_ROOT_CLK>;
673 #io-channel-cells = <1>;
678 compatible = "fsl,imx7d-adc";
679 reg = <0x30620000 0x10000>;
680 interrupts = <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>;
681 clocks = <&clks IMX7D_ADC_ROOT_CLK>;
683 #io-channel-cells = <1>;
687 ecspi4: spi@30630000 {
688 #address-cells = <1>;
690 compatible = "fsl,imx7d-ecspi", "fsl,imx51-ecspi";
691 reg = <0x30630000 0x10000>;
692 interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>;
693 clocks = <&clks IMX7D_ECSPI4_ROOT_CLK>,
694 <&clks IMX7D_ECSPI4_ROOT_CLK>;
695 clock-names = "ipg", "per";
700 compatible = "fsl,imx7d-pwm", "fsl,imx27-pwm";
701 reg = <0x30660000 0x10000>;
702 interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>;
703 clocks = <&clks IMX7D_PWM1_ROOT_CLK>,
704 <&clks IMX7D_PWM1_ROOT_CLK>;
705 clock-names = "ipg", "per";
711 compatible = "fsl,imx7d-pwm", "fsl,imx27-pwm";
712 reg = <0x30670000 0x10000>;
713 interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>;
714 clocks = <&clks IMX7D_PWM2_ROOT_CLK>,
715 <&clks IMX7D_PWM2_ROOT_CLK>;
716 clock-names = "ipg", "per";
722 compatible = "fsl,imx7d-pwm", "fsl,imx27-pwm";
723 reg = <0x30680000 0x10000>;
724 interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
725 clocks = <&clks IMX7D_PWM3_ROOT_CLK>,
726 <&clks IMX7D_PWM3_ROOT_CLK>;
727 clock-names = "ipg", "per";
733 compatible = "fsl,imx7d-pwm", "fsl,imx27-pwm";
734 reg = <0x30690000 0x10000>;
735 interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>;
736 clocks = <&clks IMX7D_PWM4_ROOT_CLK>,
737 <&clks IMX7D_PWM4_ROOT_CLK>;
738 clock-names = "ipg", "per";
744 compatible = "fsl,imx7-csi";
745 reg = <0x30710000 0x10000>;
746 interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
747 clocks = <&clks IMX7D_CLK_DUMMY>,
748 <&clks IMX7D_CSI_MCLK_ROOT_CLK>,
749 <&clks IMX7D_CLK_DUMMY>;
750 clock-names = "axi", "mclk", "dcic";
754 csi_from_csi_mux: endpoint {
755 remote-endpoint = <&csi_mux_to_csi>;
760 lcdif: lcdif@30730000 {
761 compatible = "fsl,imx7d-lcdif", "fsl,imx28-lcdif";
762 reg = <0x30730000 0x10000>;
763 interrupts = <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
764 clocks = <&clks IMX7D_LCDIF_PIXEL_ROOT_CLK>,
765 <&clks IMX7D_LCDIF_PIXEL_ROOT_CLK>;
766 clock-names = "pix", "axi";
770 mipi_csi: mipi-csi@30750000 {
771 compatible = "fsl,imx7-mipi-csi2";
772 reg = <0x30750000 0x10000>;
773 #address-cells = <1>;
775 interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>;
776 clocks = <&clks IMX7D_IPG_ROOT_CLK>,
777 <&clks IMX7D_MIPI_CSI_ROOT_CLK>,
778 <&clks IMX7D_MIPI_DPHY_ROOT_CLK>;
779 clock-names = "pclk", "wrap", "phy";
780 power-domains = <&pgc_mipi_phy>;
781 phy-supply = <®_1p0d>;
782 resets = <&src IMX7_RESET_MIPI_PHY_MRST>;
783 reset-names = "mrst";
793 mipi_vc0_to_csi_mux: endpoint {
794 remote-endpoint = <&csi_mux_from_mipi_vc0>;
800 aips3: aips-bus@30800000 {
801 compatible = "fsl,aips-bus", "simple-bus";
802 #address-cells = <1>;
804 reg = <0x30800000 0x400000>;
808 compatible = "fsl,spba-bus", "simple-bus";
809 #address-cells = <1>;
811 reg = <0x30800000 0x100000>;
814 ecspi1: spi@30820000 {
815 #address-cells = <1>;
817 compatible = "fsl,imx7d-ecspi", "fsl,imx51-ecspi";
818 reg = <0x30820000 0x10000>;
819 interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>;
820 clocks = <&clks IMX7D_ECSPI1_ROOT_CLK>,
821 <&clks IMX7D_ECSPI1_ROOT_CLK>;
822 clock-names = "ipg", "per";
826 ecspi2: spi@30830000 {
827 #address-cells = <1>;
829 compatible = "fsl,imx7d-ecspi", "fsl,imx51-ecspi";
830 reg = <0x30830000 0x10000>;
831 interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
832 clocks = <&clks IMX7D_ECSPI2_ROOT_CLK>,
833 <&clks IMX7D_ECSPI2_ROOT_CLK>;
834 clock-names = "ipg", "per";
838 ecspi3: spi@30840000 {
839 #address-cells = <1>;
841 compatible = "fsl,imx7d-ecspi", "fsl,imx51-ecspi";
842 reg = <0x30840000 0x10000>;
843 interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>;
844 clocks = <&clks IMX7D_ECSPI3_ROOT_CLK>,
845 <&clks IMX7D_ECSPI3_ROOT_CLK>;
846 clock-names = "ipg", "per";
850 uart1: serial@30860000 {
851 compatible = "fsl,imx7d-uart",
853 reg = <0x30860000 0x10000>;
854 interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
855 clocks = <&clks IMX7D_UART1_ROOT_CLK>,
856 <&clks IMX7D_UART1_ROOT_CLK>;
857 clock-names = "ipg", "per";
861 uart2: serial@30890000 {
862 compatible = "fsl,imx7d-uart",
864 reg = <0x30890000 0x10000>;
865 interrupts = <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH>;
866 clocks = <&clks IMX7D_UART2_ROOT_CLK>,
867 <&clks IMX7D_UART2_ROOT_CLK>;
868 clock-names = "ipg", "per";
872 uart3: serial@30880000 {
873 compatible = "fsl,imx7d-uart",
875 reg = <0x30880000 0x10000>;
876 interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>;
877 clocks = <&clks IMX7D_UART3_ROOT_CLK>,
878 <&clks IMX7D_UART3_ROOT_CLK>;
879 clock-names = "ipg", "per";
884 #sound-dai-cells = <0>;
885 compatible = "fsl,imx7d-sai", "fsl,imx6sx-sai";
886 reg = <0x308a0000 0x10000>;
887 interrupts = <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>;
888 clocks = <&clks IMX7D_SAI1_IPG_CLK>,
889 <&clks IMX7D_SAI1_ROOT_CLK>,
890 <&clks IMX7D_CLK_DUMMY>,
891 <&clks IMX7D_CLK_DUMMY>;
892 clock-names = "bus", "mclk1", "mclk2", "mclk3";
893 dma-names = "rx", "tx";
894 dmas = <&sdma 8 24 0>, <&sdma 9 24 0>;
899 #sound-dai-cells = <0>;
900 compatible = "fsl,imx7d-sai", "fsl,imx6sx-sai";
901 reg = <0x308b0000 0x10000>;
902 interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
903 clocks = <&clks IMX7D_SAI2_IPG_CLK>,
904 <&clks IMX7D_SAI2_ROOT_CLK>,
905 <&clks IMX7D_CLK_DUMMY>,
906 <&clks IMX7D_CLK_DUMMY>;
907 clock-names = "bus", "mclk1", "mclk2", "mclk3";
908 dma-names = "rx", "tx";
909 dmas = <&sdma 10 24 0>, <&sdma 11 24 0>;
914 #sound-dai-cells = <0>;
915 compatible = "fsl,imx7d-sai", "fsl,imx6sx-sai";
916 reg = <0x308c0000 0x10000>;
917 interrupts = <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>;
918 clocks = <&clks IMX7D_SAI3_IPG_CLK>,
919 <&clks IMX7D_SAI3_ROOT_CLK>,
920 <&clks IMX7D_CLK_DUMMY>,
921 <&clks IMX7D_CLK_DUMMY>;
922 clock-names = "bus", "mclk1", "mclk2", "mclk3";
923 dma-names = "rx", "tx";
924 dmas = <&sdma 12 24 0>, <&sdma 13 24 0>;
929 crypto: caam@30900000 {
930 compatible = "fsl,sec-v4.0";
931 #address-cells = <1>;
933 reg = <0x30900000 0x40000>;
934 ranges = <0 0x30900000 0x40000>;
935 interrupts = <GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH>;
936 clocks = <&clks IMX7D_CAAM_CLK>,
937 <&clks IMX7D_AHB_CHANNEL_ROOT_CLK>;
938 clock-names = "ipg", "aclk";
941 compatible = "fsl,sec-v4.0-job-ring";
942 reg = <0x1000 0x1000>;
943 interrupts = <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>;
947 compatible = "fsl,sec-v4.0-job-ring";
948 reg = <0x2000 0x1000>;
949 interrupts = <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>;
953 compatible = "fsl,sec-v4.0-job-ring";
954 reg = <0x3000 0x1000>;
955 interrupts = <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>;
959 flexcan1: can@30a00000 {
960 compatible = "fsl,imx7d-flexcan", "fsl,imx6q-flexcan";
961 reg = <0x30a00000 0x10000>;
962 interrupts = <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>;
963 clocks = <&clks IMX7D_CLK_DUMMY>,
964 <&clks IMX7D_CAN1_ROOT_CLK>;
965 clock-names = "ipg", "per";
966 fsl,stop-mode = <&gpr 0x10 1 0x10 17>;
970 flexcan2: can@30a10000 {
971 compatible = "fsl,imx7d-flexcan", "fsl,imx6q-flexcan";
972 reg = <0x30a10000 0x10000>;
973 interrupts = <GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>;
974 clocks = <&clks IMX7D_CLK_DUMMY>,
975 <&clks IMX7D_CAN2_ROOT_CLK>;
976 clock-names = "ipg", "per";
977 fsl,stop-mode = <&gpr 0x10 2 0x10 18>;
982 #address-cells = <1>;
984 compatible = "fsl,imx7d-i2c", "fsl,imx21-i2c";
985 reg = <0x30a20000 0x10000>;
986 interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>;
987 clocks = <&clks IMX7D_I2C1_ROOT_CLK>;
992 #address-cells = <1>;
994 compatible = "fsl,imx7d-i2c", "fsl,imx21-i2c";
995 reg = <0x30a30000 0x10000>;
996 interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
997 clocks = <&clks IMX7D_I2C2_ROOT_CLK>;
1001 i2c3: i2c@30a40000 {
1002 #address-cells = <1>;
1004 compatible = "fsl,imx7d-i2c", "fsl,imx21-i2c";
1005 reg = <0x30a40000 0x10000>;
1006 interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
1007 clocks = <&clks IMX7D_I2C3_ROOT_CLK>;
1008 status = "disabled";
1011 i2c4: i2c@30a50000 {
1012 #address-cells = <1>;
1014 compatible = "fsl,imx7d-i2c", "fsl,imx21-i2c";
1015 reg = <0x30a50000 0x10000>;
1016 interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>;
1017 clocks = <&clks IMX7D_I2C4_ROOT_CLK>;
1018 status = "disabled";
1021 uart4: serial@30a60000 {
1022 compatible = "fsl,imx7d-uart",
1024 reg = <0x30a60000 0x10000>;
1025 interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>;
1026 clocks = <&clks IMX7D_UART4_ROOT_CLK>,
1027 <&clks IMX7D_UART4_ROOT_CLK>;
1028 clock-names = "ipg", "per";
1029 status = "disabled";
1032 uart5: serial@30a70000 {
1033 compatible = "fsl,imx7d-uart",
1035 reg = <0x30a70000 0x10000>;
1036 interrupts = <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>;
1037 clocks = <&clks IMX7D_UART5_ROOT_CLK>,
1038 <&clks IMX7D_UART5_ROOT_CLK>;
1039 clock-names = "ipg", "per";
1040 status = "disabled";
1043 uart6: serial@30a80000 {
1044 compatible = "fsl,imx7d-uart",
1046 reg = <0x30a80000 0x10000>;
1047 interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
1048 clocks = <&clks IMX7D_UART6_ROOT_CLK>,
1049 <&clks IMX7D_UART6_ROOT_CLK>;
1050 clock-names = "ipg", "per";
1051 status = "disabled";
1054 uart7: serial@30a90000 {
1055 compatible = "fsl,imx7d-uart",
1057 reg = <0x30a90000 0x10000>;
1058 interrupts = <GIC_SPI 126 IRQ_TYPE_LEVEL_HIGH>;
1059 clocks = <&clks IMX7D_UART7_ROOT_CLK>,
1060 <&clks IMX7D_UART7_ROOT_CLK>;
1061 clock-names = "ipg", "per";
1062 status = "disabled";
1065 mu0a: mailbox@30aa0000 {
1066 compatible = "fsl,imx7s-mu", "fsl,imx6sx-mu";
1067 reg = <0x30aa0000 0x10000>;
1068 interrupts = <GIC_SPI 88 IRQ_TYPE_LEVEL_HIGH>;
1069 clocks = <&clks IMX7D_MU_ROOT_CLK>;
1071 status = "disabled";
1074 mu0b: mailbox@30ab0000 {
1075 compatible = "fsl,imx7s-mu", "fsl,imx6sx-mu";
1076 reg = <0x30ab0000 0x10000>;
1077 interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>;
1078 clocks = <&clks IMX7D_MU_ROOT_CLK>;
1081 status = "disabled";
1084 usbotg1: usb@30b10000 {
1085 compatible = "fsl,imx7d-usb", "fsl,imx27-usb";
1086 reg = <0x30b10000 0x200>;
1087 interrupts = <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>;
1088 clocks = <&clks IMX7D_USB_CTRL_CLK>;
1089 fsl,usbphy = <&usbphynop1>;
1090 fsl,usbmisc = <&usbmisc1 0>;
1091 phy-clkgate-delay-us = <400>;
1092 status = "disabled";
1095 usbh: usb@30b30000 {
1096 compatible = "fsl,imx7d-usb", "fsl,imx27-usb";
1097 reg = <0x30b30000 0x200>;
1098 interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>;
1099 clocks = <&clks IMX7D_USB_CTRL_CLK>;
1100 fsl,usbphy = <&usbphynop3>;
1101 fsl,usbmisc = <&usbmisc3 0>;
1104 phy-clkgate-delay-us = <400>;
1105 status = "disabled";
1108 usbmisc1: usbmisc@30b10200 {
1110 compatible = "fsl,imx7d-usbmisc", "fsl,imx6q-usbmisc";
1111 reg = <0x30b10200 0x200>;
1114 usbmisc3: usbmisc@30b30200 {
1116 compatible = "fsl,imx7d-usbmisc", "fsl,imx6q-usbmisc";
1117 reg = <0x30b30200 0x200>;
1120 usdhc1: usdhc@30b40000 {
1121 compatible = "fsl,imx7d-usdhc", "fsl,imx6sl-usdhc";
1122 reg = <0x30b40000 0x10000>;
1123 interrupts = <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>;
1124 clocks = <&clks IMX7D_IPG_ROOT_CLK>,
1125 <&clks IMX7D_NAND_USDHC_BUS_ROOT_CLK>,
1126 <&clks IMX7D_USDHC1_ROOT_CLK>;
1127 clock-names = "ipg", "ahb", "per";
1129 status = "disabled";
1132 usdhc2: usdhc@30b50000 {
1133 compatible = "fsl,imx7d-usdhc", "fsl,imx6sl-usdhc";
1134 reg = <0x30b50000 0x10000>;
1135 interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
1136 clocks = <&clks IMX7D_IPG_ROOT_CLK>,
1137 <&clks IMX7D_NAND_USDHC_BUS_ROOT_CLK>,
1138 <&clks IMX7D_USDHC2_ROOT_CLK>;
1139 clock-names = "ipg", "ahb", "per";
1141 status = "disabled";
1144 usdhc3: usdhc@30b60000 {
1145 compatible = "fsl,imx7d-usdhc", "fsl,imx6sl-usdhc";
1146 reg = <0x30b60000 0x10000>;
1147 interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>;
1148 clocks = <&clks IMX7D_IPG_ROOT_CLK>,
1149 <&clks IMX7D_NAND_USDHC_BUS_ROOT_CLK>,
1150 <&clks IMX7D_USDHC3_ROOT_CLK>;
1151 clock-names = "ipg", "ahb", "per";
1153 status = "disabled";
1156 sdma: sdma@30bd0000 {
1157 compatible = "fsl,imx7d-sdma", "fsl,imx35-sdma";
1158 reg = <0x30bd0000 0x10000>;
1159 interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>;
1160 clocks = <&clks IMX7D_IPG_ROOT_CLK>,
1161 <&clks IMX7D_SDMA_CORE_CLK>;
1162 clock-names = "ipg", "ahb";
1164 fsl,sdma-ram-script-name = "imx/sdma/sdma-imx7d.bin";
1167 fec1: ethernet@30be0000 {
1168 compatible = "fsl,imx7d-fec", "fsl,imx6sx-fec";
1169 reg = <0x30be0000 0x10000>;
1170 interrupt-names = "int0", "int1", "int2", "pps";
1171 interrupts = <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>,
1172 <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>,
1173 <GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH>,
1174 <GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>;
1175 clocks = <&clks IMX7D_ENET1_IPG_ROOT_CLK>,
1176 <&clks IMX7D_ENET_AXI_ROOT_CLK>,
1177 <&clks IMX7D_ENET1_TIME_ROOT_CLK>,
1178 <&clks IMX7D_PLL_ENET_MAIN_125M_CLK>,
1179 <&clks IMX7D_ENET_PHY_REF_ROOT_CLK>;
1180 clock-names = "ipg", "ahb", "ptp",
1181 "enet_clk_ref", "enet_out";
1182 fsl,num-tx-queues=<3>;
1183 fsl,num-rx-queues=<3>;
1184 status = "disabled";
1188 dma_apbh: dma-apbh@33000000 {
1189 compatible = "fsl,imx7d-dma-apbh", "fsl,imx28-dma-apbh";
1190 reg = <0x33000000 0x2000>;
1191 interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>,
1192 <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>,
1193 <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>,
1194 <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
1195 interrupt-names = "gpmi0", "gpmi1", "gpmi2", "gpmi3";
1198 clocks = <&clks IMX7D_NAND_USDHC_BUS_RAWNAND_CLK>;
1201 gpmi: gpmi-nand@33002000{
1202 compatible = "fsl,imx7d-gpmi-nand";
1203 #address-cells = <1>;
1205 reg = <0x33002000 0x2000>, <0x33004000 0x4000>;
1206 reg-names = "gpmi-nand", "bch";
1207 interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
1208 interrupt-names = "bch";
1209 clocks = <&clks IMX7D_NAND_RAWNAND_CLK>,
1210 <&clks IMX7D_NAND_USDHC_BUS_RAWNAND_CLK>;
1211 clock-names = "gpmi_io", "gpmi_bch_apb";
1212 dmas = <&dma_apbh 0>;
1213 dma-names = "rx-tx";
1214 status = "disabled";
1215 assigned-clocks = <&clks IMX7D_NAND_ROOT_SRC>;
1216 assigned-clock-parents = <&clks IMX7D_PLL_ENET_MAIN_500M_CLK>;