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.
59 entry-method = "psci";
61 cpu_sleep_wait: cpu-sleep-wait {
62 compatible = "arm,idle-state";
63 arm,psci-suspend-param = <0x0010000>;
65 entry-latency-us = <100>;
66 exit-latency-us = <50>;
67 min-residency-us = <1000>;
72 compatible = "arm,cortex-a7";
75 clock-frequency = <792000000>;
76 clock-latency = <61036>; /* two CLK32 periods */
77 clocks = <&clks IMX7D_CLK_ARM>;
78 cpu-idle-states = <&cpu_sleep_wait>;
79 operating-points-v2 = <&cpu0_opp_table>;
81 nvmem-cells = <&fuse_grade>;
82 nvmem-cell-names = "speed_grade";
86 cpu0_opp_table: opp-table {
87 compatible = "operating-points-v2";
91 opp-hz = /bits/ 64 <792000000>;
92 opp-microvolt = <1000000>;
93 clock-latency-ns = <150000>;
94 opp-supported-hw = <0xf>, <0xf>;
99 compatible = "fixed-clock";
101 clock-frequency = <32768>;
102 clock-output-names = "ckil";
106 compatible = "fixed-clock";
108 clock-frequency = <24000000>;
109 clock-output-names = "osc";
112 usbphynop1: usbphynop1 {
113 compatible = "usb-nop-xceiv";
114 clocks = <&clks IMX7D_USB_PHY1_CLK>;
115 clock-names = "main_clk";
119 usbphynop3: usbphynop3 {
120 compatible = "usb-nop-xceiv";
121 clocks = <&clks IMX7D_USB_HSIC_ROOT_CLK>;
122 clock-names = "main_clk";
123 power-domains = <&pgc_hsic_phy>;
128 compatible = "arm,cortex-a7-pmu";
129 interrupt-parent = <&gpc>;
130 interrupts = <GIC_SPI 92 IRQ_TYPE_LEVEL_HIGH>;
131 interrupt-affinity = <&cpu0>;
136 * non-configurable replicators don't show up on the
137 * AMBA bus. As such no need to add "arm,primecell"
139 compatible = "arm,coresight-static-replicator";
142 #address-cells = <1>;
144 /* replicator output ports */
147 replicator_out_port0: endpoint {
148 remote-endpoint = <&tpiu_in_port>;
154 replicator_out_port1: endpoint {
155 remote-endpoint = <&etr_in_port>;
162 replicator_in_port0: endpoint {
163 remote-endpoint = <&etf_out_port>;
170 compatible = "arm,armv7-timer";
171 arm,cpu-registers-not-fw-configured;
172 interrupt-parent = <&intc>;
173 interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(1) | IRQ_TYPE_LEVEL_LOW)>,
174 <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(1) | IRQ_TYPE_LEVEL_LOW)>,
175 <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(1) | IRQ_TYPE_LEVEL_LOW)>,
176 <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(1) | IRQ_TYPE_LEVEL_LOW)>;
180 #address-cells = <1>;
182 compatible = "simple-bus";
183 interrupt-parent = <&gpc>;
187 compatible = "mmio-sram";
188 reg = <0x00900000 0x20000>;
189 ranges = <0 0x00900000 0x20000>;
190 #address-cells = <1>;
192 clocks = <&clks IMX7D_OCRAM_CLK>;
196 compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
197 reg = <0x30041000 0x1000>;
198 clocks = <&clks IMX7D_MAIN_AXI_ROOT_CLK>;
199 clock-names = "apb_pclk";
201 ca_funnel_in_ports: in-ports {
202 #address-cells = <1>;
207 ca_funnel_in_port0: endpoint {
208 remote-endpoint = <&etm0_out_port>;
212 /* the other input ports are not connect to anything */
217 ca_funnel_out_port0: endpoint {
218 remote-endpoint = <&hugo_funnel_in_port0>;
226 compatible = "arm,coresight-etm3x", "arm,primecell";
227 reg = <0x3007c000 0x1000>;
229 clocks = <&clks IMX7D_MAIN_AXI_ROOT_CLK>;
230 clock-names = "apb_pclk";
234 etm0_out_port: endpoint {
235 remote-endpoint = <&ca_funnel_in_port0>;
242 compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
243 reg = <0x30083000 0x1000>;
244 clocks = <&clks IMX7D_MAIN_AXI_ROOT_CLK>;
245 clock-names = "apb_pclk";
248 #address-cells = <1>;
253 hugo_funnel_in_port0: endpoint {
254 remote-endpoint = <&ca_funnel_out_port0>;
260 hugo_funnel_in_port1: endpoint {
264 /* the other input ports are not connect to anything */
269 hugo_funnel_out_port0: endpoint {
270 remote-endpoint = <&etf_in_port>;
277 compatible = "arm,coresight-tmc", "arm,primecell";
278 reg = <0x30084000 0x1000>;
279 clocks = <&clks IMX7D_MAIN_AXI_ROOT_CLK>;
280 clock-names = "apb_pclk";
284 etf_in_port: endpoint {
285 remote-endpoint = <&hugo_funnel_out_port0>;
292 etf_out_port: endpoint {
293 remote-endpoint = <&replicator_in_port0>;
300 compatible = "arm,coresight-tmc", "arm,primecell";
301 reg = <0x30086000 0x1000>;
302 clocks = <&clks IMX7D_MAIN_AXI_ROOT_CLK>;
303 clock-names = "apb_pclk";
307 etr_in_port: endpoint {
308 remote-endpoint = <&replicator_out_port1>;
315 compatible = "arm,coresight-tpiu", "arm,primecell";
316 reg = <0x30087000 0x1000>;
317 clocks = <&clks IMX7D_MAIN_AXI_ROOT_CLK>;
318 clock-names = "apb_pclk";
322 tpiu_in_port: endpoint {
323 remote-endpoint = <&replicator_out_port0>;
329 intc: interrupt-controller@31001000 {
330 compatible = "arm,cortex-a7-gic";
331 interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(1) | IRQ_TYPE_LEVEL_HIGH)>;
332 #interrupt-cells = <3>;
333 interrupt-controller;
334 interrupt-parent = <&intc>;
335 reg = <0x31001000 0x1000>,
341 aips1: bus@30000000 {
342 compatible = "fsl,aips-bus", "simple-bus";
343 #address-cells = <1>;
345 reg = <0x30000000 0x400000>;
348 gpio1: gpio@30200000 {
349 compatible = "fsl,imx7d-gpio", "fsl,imx35-gpio";
350 reg = <0x30200000 0x10000>;
351 interrupts = <GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>, /* GPIO1_INT15_0 */
352 <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>; /* GPIO1_INT31_16 */
355 interrupt-controller;
356 #interrupt-cells = <2>;
357 gpio-ranges = <&iomuxc_lpsr 0 0 8>, <&iomuxc 8 5 8>;
360 gpio2: gpio@30210000 {
361 compatible = "fsl,imx7d-gpio", "fsl,imx35-gpio";
362 reg = <0x30210000 0x10000>;
363 interrupts = <GIC_SPI 66 IRQ_TYPE_LEVEL_HIGH>,
364 <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>;
367 interrupt-controller;
368 #interrupt-cells = <2>;
369 gpio-ranges = <&iomuxc 0 13 32>;
372 gpio3: gpio@30220000 {
373 compatible = "fsl,imx7d-gpio", "fsl,imx35-gpio";
374 reg = <0x30220000 0x10000>;
375 interrupts = <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>,
376 <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
379 interrupt-controller;
380 #interrupt-cells = <2>;
381 gpio-ranges = <&iomuxc 0 45 29>;
384 gpio4: gpio@30230000 {
385 compatible = "fsl,imx7d-gpio", "fsl,imx35-gpio";
386 reg = <0x30230000 0x10000>;
387 interrupts = <GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>,
388 <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>;
391 interrupt-controller;
392 #interrupt-cells = <2>;
393 gpio-ranges = <&iomuxc 0 74 24>;
396 gpio5: gpio@30240000 {
397 compatible = "fsl,imx7d-gpio", "fsl,imx35-gpio";
398 reg = <0x30240000 0x10000>;
399 interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>,
400 <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>;
403 interrupt-controller;
404 #interrupt-cells = <2>;
405 gpio-ranges = <&iomuxc 0 98 18>;
408 gpio6: gpio@30250000 {
409 compatible = "fsl,imx7d-gpio", "fsl,imx35-gpio";
410 reg = <0x30250000 0x10000>;
411 interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>,
412 <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>;
415 interrupt-controller;
416 #interrupt-cells = <2>;
417 gpio-ranges = <&iomuxc 0 116 23>;
420 gpio7: gpio@30260000 {
421 compatible = "fsl,imx7d-gpio", "fsl,imx35-gpio";
422 reg = <0x30260000 0x10000>;
423 interrupts = <GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>,
424 <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>;
427 interrupt-controller;
428 #interrupt-cells = <2>;
429 gpio-ranges = <&iomuxc 0 139 16>;
432 wdog1: watchdog@30280000 {
433 compatible = "fsl,imx7d-wdt", "fsl,imx21-wdt";
434 reg = <0x30280000 0x10000>;
435 interrupts = <GIC_SPI 78 IRQ_TYPE_LEVEL_HIGH>;
436 clocks = <&clks IMX7D_WDOG1_ROOT_CLK>;
439 wdog2: watchdog@30290000 {
440 compatible = "fsl,imx7d-wdt", "fsl,imx21-wdt";
441 reg = <0x30290000 0x10000>;
442 interrupts = <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>;
443 clocks = <&clks IMX7D_WDOG2_ROOT_CLK>;
447 wdog3: watchdog@302a0000 {
448 compatible = "fsl,imx7d-wdt", "fsl,imx21-wdt";
449 reg = <0x302a0000 0x10000>;
450 interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
451 clocks = <&clks IMX7D_WDOG3_ROOT_CLK>;
455 wdog4: watchdog@302b0000 {
456 compatible = "fsl,imx7d-wdt", "fsl,imx21-wdt";
457 reg = <0x302b0000 0x10000>;
458 interrupts = <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>;
459 clocks = <&clks IMX7D_WDOG4_ROOT_CLK>;
463 iomuxc_lpsr: pinctrl@302c0000 {
464 compatible = "fsl,imx7d-iomuxc-lpsr";
465 reg = <0x302c0000 0x10000>;
466 fsl,input-sel = <&iomuxc>;
469 gpt1: timer@302d0000 {
470 compatible = "fsl,imx7d-gpt", "fsl,imx6dl-gpt";
471 reg = <0x302d0000 0x10000>;
472 interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>;
473 clocks = <&clks IMX7D_GPT1_ROOT_CLK>,
474 <&clks IMX7D_GPT1_ROOT_CLK>;
475 clock-names = "ipg", "per";
478 gpt2: timer@302e0000 {
479 compatible = "fsl,imx7d-gpt", "fsl,imx6dl-gpt";
480 reg = <0x302e0000 0x10000>;
481 interrupts = <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>;
482 clocks = <&clks IMX7D_GPT2_ROOT_CLK>,
483 <&clks IMX7D_GPT2_ROOT_CLK>;
484 clock-names = "ipg", "per";
488 gpt3: timer@302f0000 {
489 compatible = "fsl,imx7d-gpt", "fsl,imx6dl-gpt";
490 reg = <0x302f0000 0x10000>;
491 interrupts = <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>;
492 clocks = <&clks IMX7D_GPT3_ROOT_CLK>,
493 <&clks IMX7D_GPT3_ROOT_CLK>;
494 clock-names = "ipg", "per";
498 gpt4: timer@30300000 {
499 compatible = "fsl,imx7d-gpt", "fsl,imx6dl-gpt";
500 reg = <0x30300000 0x10000>;
501 interrupts = <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>;
502 clocks = <&clks IMX7D_GPT4_ROOT_CLK>,
503 <&clks IMX7D_GPT4_ROOT_CLK>;
504 clock-names = "ipg", "per";
508 kpp: keypad@30320000 {
509 compatible = "fsl,imx7d-kpp", "fsl,imx21-kpp";
510 reg = <0x30320000 0x10000>;
511 interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>;
512 clocks = <&clks IMX7D_KPP_ROOT_CLK>;
516 iomuxc: pinctrl@30330000 {
517 compatible = "fsl,imx7d-iomuxc";
518 reg = <0x30330000 0x10000>;
521 gpr: iomuxc-gpr@30340000 {
522 compatible = "fsl,imx7d-iomuxc-gpr",
523 "fsl,imx6q-iomuxc-gpr", "syscon",
525 reg = <0x30340000 0x10000>;
527 mux: mux-controller {
528 compatible = "mmio-mux";
529 #mux-control-cells = <1>;
530 mux-reg-masks = <0x14 0x00000010>;
534 compatible = "video-mux";
535 mux-controls = <&mux 0>;
536 #address-cells = <1>;
547 csi_mux_from_mipi_vc0: endpoint {
548 remote-endpoint = <&mipi_vc0_to_csi_mux>;
555 csi_mux_to_csi: endpoint {
556 remote-endpoint = <&csi_from_csi_mux>;
562 ocotp: efuse@30350000 {
563 #address-cells = <1>;
565 compatible = "fsl,imx7d-ocotp", "syscon";
566 reg = <0x30350000 0x10000>;
567 clocks = <&clks IMX7D_OCOTP_CLK>;
569 tempmon_calib: calib@3c {
573 fuse_grade: fuse-grade@10 {
578 anatop: anatop@30360000 {
579 compatible = "fsl,imx7d-anatop", "fsl,imx6q-anatop",
580 "syscon", "simple-mfd";
581 reg = <0x30360000 0x10000>;
582 interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>,
583 <GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH>;
585 reg_1p0d: regulator-vdd1p0d {
586 compatible = "fsl,anatop-regulator";
587 regulator-name = "vdd1p0d";
588 regulator-min-microvolt = <800000>;
589 regulator-max-microvolt = <1200000>;
590 anatop-reg-offset = <0x210>;
591 anatop-vol-bit-shift = <8>;
592 anatop-vol-bit-width = <5>;
593 anatop-min-bit-val = <8>;
594 anatop-min-voltage = <800000>;
595 anatop-max-voltage = <1200000>;
596 anatop-enable-bit = <0>;
599 reg_1p2: regulator-vdd1p2 {
600 compatible = "fsl,anatop-regulator";
601 regulator-name = "vdd1p2";
602 regulator-min-microvolt = <1100000>;
603 regulator-max-microvolt = <1300000>;
604 anatop-reg-offset = <0x220>;
605 anatop-vol-bit-shift = <8>;
606 anatop-vol-bit-width = <5>;
607 anatop-min-bit-val = <0x14>;
608 anatop-min-voltage = <1100000>;
609 anatop-max-voltage = <1300000>;
610 anatop-enable-bit = <0>;
614 compatible = "fsl,imx7d-tempmon";
615 interrupt-parent = <&gpc>;
616 interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>;
617 fsl,tempmon = <&anatop>;
618 nvmem-cells = <&tempmon_calib>, <&fuse_grade>;
619 nvmem-cell-names = "calib", "temp_grade";
620 clocks = <&clks IMX7D_PLL_SYS_MAIN_CLK>;
621 #thermal-sensor-cells = <0>;
625 snvs: snvs@30370000 {
626 compatible = "fsl,sec-v4.0-mon", "syscon", "simple-mfd";
627 reg = <0x30370000 0x10000>;
629 snvs_rtc: snvs-rtc-lp {
630 compatible = "fsl,sec-v4.0-mon-rtc-lp";
633 interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>,
634 <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
635 clocks = <&clks IMX7D_SNVS_CLK>;
636 clock-names = "snvs-rtc";
639 snvs_poweroff: snvs-poweroff {
640 compatible = "syscon-poweroff";
648 snvs_pwrkey: snvs-powerkey {
649 compatible = "fsl,sec-v4.0-pwrkey";
651 interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
652 clocks = <&clks IMX7D_SNVS_CLK>;
653 clock-names = "snvs-pwrkey";
654 linux,keycode = <KEY_POWER>;
660 clks: clock-controller@30380000 {
661 compatible = "fsl,imx7d-ccm";
662 reg = <0x30380000 0x10000>;
663 interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>,
664 <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
666 clocks = <&ckil>, <&osc>;
667 clock-names = "ckil", "osc";
670 src: reset-controller@30390000 {
671 compatible = "fsl,imx7d-src", "syscon";
672 reg = <0x30390000 0x10000>;
673 interrupts = <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>;
678 compatible = "fsl,imx7d-gpc";
679 reg = <0x303a0000 0x10000>;
680 interrupt-controller;
681 interrupts = <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>;
682 #interrupt-cells = <3>;
683 interrupt-parent = <&intc>;
686 #address-cells = <1>;
689 pgc_mipi_phy: power-domain@0 {
690 #power-domain-cells = <0>;
692 power-supply = <®_1p0d>;
695 pgc_pcie_phy: power-domain@1 {
696 #power-domain-cells = <0>;
698 power-supply = <®_1p0d>;
701 pgc_hsic_phy: power-domain@2 {
702 #power-domain-cells = <0>;
704 power-supply = <®_1p2>;
710 aips2: bus@30400000 {
711 compatible = "fsl,aips-bus", "simple-bus";
712 #address-cells = <1>;
714 reg = <0x30400000 0x400000>;
718 compatible = "fsl,imx7d-adc";
719 reg = <0x30610000 0x10000>;
720 interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>;
721 clocks = <&clks IMX7D_ADC_ROOT_CLK>;
723 #io-channel-cells = <1>;
728 compatible = "fsl,imx7d-adc";
729 reg = <0x30620000 0x10000>;
730 interrupts = <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>;
731 clocks = <&clks IMX7D_ADC_ROOT_CLK>;
733 #io-channel-cells = <1>;
737 ecspi4: spi@30630000 {
738 #address-cells = <1>;
740 compatible = "fsl,imx7d-ecspi", "fsl,imx51-ecspi";
741 reg = <0x30630000 0x10000>;
742 interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>;
743 clocks = <&clks IMX7D_ECSPI4_ROOT_CLK>,
744 <&clks IMX7D_ECSPI4_ROOT_CLK>;
745 clock-names = "ipg", "per";
746 dma-names = "rx", "tx";
747 dmas = <&sdma 6 7 1>, <&sdma 7 7 2>;
752 compatible = "fsl,vf610-ftm-pwm";
753 reg = <0x30640000 0x10000>;
755 interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>;
756 clock-names = "ftm_sys", "ftm_ext",
757 "ftm_fix", "ftm_cnt_clk_en";
758 clocks = <&clks IMX7D_FLEXTIMER1_ROOT_CLK>,
759 <&clks IMX7D_FLEXTIMER1_ROOT_CLK>,
760 <&clks IMX7D_FLEXTIMER1_ROOT_CLK>,
761 <&clks IMX7D_FLEXTIMER1_ROOT_CLK>;
766 compatible = "fsl,vf610-ftm-pwm";
767 reg = <0x30650000 0x10000>;
769 interrupts = <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>;
770 clock-names = "ftm_sys", "ftm_ext",
771 "ftm_fix", "ftm_cnt_clk_en";
772 clocks = <&clks IMX7D_FLEXTIMER2_ROOT_CLK>,
773 <&clks IMX7D_FLEXTIMER2_ROOT_CLK>,
774 <&clks IMX7D_FLEXTIMER2_ROOT_CLK>,
775 <&clks IMX7D_FLEXTIMER2_ROOT_CLK>;
780 compatible = "fsl,imx7d-pwm", "fsl,imx27-pwm";
781 reg = <0x30660000 0x10000>;
782 interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>;
783 clocks = <&clks IMX7D_PWM1_ROOT_CLK>,
784 <&clks IMX7D_PWM1_ROOT_CLK>;
785 clock-names = "ipg", "per";
791 compatible = "fsl,imx7d-pwm", "fsl,imx27-pwm";
792 reg = <0x30670000 0x10000>;
793 interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>;
794 clocks = <&clks IMX7D_PWM2_ROOT_CLK>,
795 <&clks IMX7D_PWM2_ROOT_CLK>;
796 clock-names = "ipg", "per";
802 compatible = "fsl,imx7d-pwm", "fsl,imx27-pwm";
803 reg = <0x30680000 0x10000>;
804 interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
805 clocks = <&clks IMX7D_PWM3_ROOT_CLK>,
806 <&clks IMX7D_PWM3_ROOT_CLK>;
807 clock-names = "ipg", "per";
813 compatible = "fsl,imx7d-pwm", "fsl,imx27-pwm";
814 reg = <0x30690000 0x10000>;
815 interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>;
816 clocks = <&clks IMX7D_PWM4_ROOT_CLK>,
817 <&clks IMX7D_PWM4_ROOT_CLK>;
818 clock-names = "ipg", "per";
824 compatible = "fsl,imx7-csi";
825 reg = <0x30710000 0x10000>;
826 interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
827 clocks = <&clks IMX7D_CSI_MCLK_ROOT_CLK>;
828 clock-names = "mclk";
832 csi_from_csi_mux: endpoint {
833 remote-endpoint = <&csi_mux_to_csi>;
838 lcdif: lcdif@30730000 {
839 compatible = "fsl,imx7d-lcdif", "fsl,imx6sx-lcdif";
840 reg = <0x30730000 0x10000>;
841 interrupts = <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
842 clocks = <&clks IMX7D_LCDIF_PIXEL_ROOT_CLK>,
843 <&clks IMX7D_LCDIF_PIXEL_ROOT_CLK>;
844 clock-names = "pix", "axi";
848 mipi_csi: mipi-csi@30750000 {
849 compatible = "fsl,imx7-mipi-csi2";
850 reg = <0x30750000 0x10000>;
851 interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>;
852 clocks = <&clks IMX7D_IPG_ROOT_CLK>,
853 <&clks IMX7D_MIPI_CSI_ROOT_CLK>,
854 <&clks IMX7D_MIPI_DPHY_ROOT_CLK>;
855 clock-names = "pclk", "wrap", "phy";
856 power-domains = <&pgc_mipi_phy>;
857 phy-supply = <®_1p0d>;
858 resets = <&src IMX7_RESET_MIPI_PHY_MRST>;
862 #address-cells = <1>;
872 mipi_vc0_to_csi_mux: endpoint {
873 remote-endpoint = <&csi_mux_from_mipi_vc0>;
879 mipi_dsi: dsi@30760000 {
880 compatible = "fsl,imx7d-mipi-dsim", "fsl,imx8mm-mipi-dsim";
881 #address-cells = <1>;
883 reg = <0x30760000 0x400>;
884 clocks = <&clks IMX7D_MIPI_DSI_ROOT_CLK>,
885 <&clks IMX7D_MIPI_DPHY_ROOT_CLK>;
886 clock-names = "bus_clk", "sclk_mipi";
887 assigned-clocks = <&clks IMX7D_MIPI_DSI_ROOT_SRC>,
888 <&clks IMX7D_PLL_SYS_PFD5_CLK>;
889 assigned-clock-parents = <&clks IMX7D_PLL_SYS_PFD5_CLK>;
890 assigned-clock-rates = <0>, <333000000>;
891 power-domains = <&pgc_mipi_phy>;
892 interrupts = <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>;
893 samsung,burst-clock-frequency = <891000000>;
894 samsung,esc-clock-frequency = <20000000>;
895 samsung,pll-clock-frequency = <24000000>;
900 aips3: bus@30800000 {
901 compatible = "fsl,aips-bus", "simple-bus";
902 #address-cells = <1>;
904 reg = <0x30800000 0x400000>;
908 compatible = "fsl,spba-bus", "simple-bus";
909 #address-cells = <1>;
911 reg = <0x30800000 0x100000>;
914 ecspi1: spi@30820000 {
915 #address-cells = <1>;
917 compatible = "fsl,imx7d-ecspi", "fsl,imx51-ecspi";
918 reg = <0x30820000 0x10000>;
919 interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>;
920 clocks = <&clks IMX7D_ECSPI1_ROOT_CLK>,
921 <&clks IMX7D_ECSPI1_ROOT_CLK>;
922 clock-names = "ipg", "per";
923 dma-names = "rx", "tx";
924 dmas = <&sdma 0 7 1>, <&sdma 1 7 2>;
928 ecspi2: spi@30830000 {
929 #address-cells = <1>;
931 compatible = "fsl,imx7d-ecspi", "fsl,imx51-ecspi";
932 reg = <0x30830000 0x10000>;
933 interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
934 clocks = <&clks IMX7D_ECSPI2_ROOT_CLK>,
935 <&clks IMX7D_ECSPI2_ROOT_CLK>;
936 clock-names = "ipg", "per";
937 dma-names = "rx", "tx";
938 dmas = <&sdma 2 7 1>, <&sdma 3 7 2>;
942 ecspi3: spi@30840000 {
943 #address-cells = <1>;
945 compatible = "fsl,imx7d-ecspi", "fsl,imx51-ecspi";
946 reg = <0x30840000 0x10000>;
947 interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>;
948 clocks = <&clks IMX7D_ECSPI3_ROOT_CLK>,
949 <&clks IMX7D_ECSPI3_ROOT_CLK>;
950 clock-names = "ipg", "per";
951 dma-names = "rx", "tx";
952 dmas = <&sdma 4 7 1>, <&sdma 5 7 2>;
956 uart1: serial@30860000 {
957 compatible = "fsl,imx7d-uart",
959 reg = <0x30860000 0x10000>;
960 interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
961 clocks = <&clks IMX7D_UART1_ROOT_CLK>,
962 <&clks IMX7D_UART1_ROOT_CLK>;
963 clock-names = "ipg", "per";
967 uart2: serial@30890000 {
968 compatible = "fsl,imx7d-uart",
970 reg = <0x30890000 0x10000>;
971 interrupts = <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH>;
972 clocks = <&clks IMX7D_UART2_ROOT_CLK>,
973 <&clks IMX7D_UART2_ROOT_CLK>;
974 clock-names = "ipg", "per";
978 uart3: serial@30880000 {
979 compatible = "fsl,imx7d-uart",
981 reg = <0x30880000 0x10000>;
982 interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>;
983 clocks = <&clks IMX7D_UART3_ROOT_CLK>,
984 <&clks IMX7D_UART3_ROOT_CLK>;
985 clock-names = "ipg", "per";
990 #sound-dai-cells = <0>;
991 compatible = "fsl,imx7d-sai", "fsl,imx6sx-sai";
992 reg = <0x308a0000 0x10000>;
993 interrupts = <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>;
994 clocks = <&clks IMX7D_SAI1_IPG_CLK>,
995 <&clks IMX7D_SAI1_ROOT_CLK>,
996 <&clks IMX7D_CLK_DUMMY>,
997 <&clks IMX7D_CLK_DUMMY>;
998 clock-names = "bus", "mclk1", "mclk2", "mclk3";
999 dma-names = "rx", "tx";
1000 dmas = <&sdma 8 24 0>, <&sdma 9 24 0>;
1001 status = "disabled";
1004 sai2: sai@308b0000 {
1005 #sound-dai-cells = <0>;
1006 compatible = "fsl,imx7d-sai", "fsl,imx6sx-sai";
1007 reg = <0x308b0000 0x10000>;
1008 interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
1009 clocks = <&clks IMX7D_SAI2_IPG_CLK>,
1010 <&clks IMX7D_SAI2_ROOT_CLK>,
1011 <&clks IMX7D_CLK_DUMMY>,
1012 <&clks IMX7D_CLK_DUMMY>;
1013 clock-names = "bus", "mclk1", "mclk2", "mclk3";
1014 dma-names = "rx", "tx";
1015 dmas = <&sdma 10 24 0>, <&sdma 11 24 0>;
1016 status = "disabled";
1019 sai3: sai@308c0000 {
1020 #sound-dai-cells = <0>;
1021 compatible = "fsl,imx7d-sai", "fsl,imx6sx-sai";
1022 reg = <0x308c0000 0x10000>;
1023 interrupts = <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>;
1024 clocks = <&clks IMX7D_SAI3_IPG_CLK>,
1025 <&clks IMX7D_SAI3_ROOT_CLK>,
1026 <&clks IMX7D_CLK_DUMMY>,
1027 <&clks IMX7D_CLK_DUMMY>;
1028 clock-names = "bus", "mclk1", "mclk2", "mclk3";
1029 dma-names = "rx", "tx";
1030 dmas = <&sdma 12 24 0>, <&sdma 13 24 0>;
1031 status = "disabled";
1035 crypto: crypto@30900000 {
1036 compatible = "fsl,sec-v4.0";
1037 #address-cells = <1>;
1039 reg = <0x30900000 0x40000>;
1040 ranges = <0 0x30900000 0x40000>;
1041 interrupts = <GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH>;
1042 clocks = <&clks IMX7D_CAAM_CLK>,
1043 <&clks IMX7D_AHB_CHANNEL_ROOT_CLK>;
1044 clock-names = "ipg", "aclk";
1047 compatible = "fsl,sec-v4.0-job-ring";
1048 reg = <0x1000 0x1000>;
1049 interrupts = <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>;
1053 compatible = "fsl,sec-v4.0-job-ring";
1054 reg = <0x2000 0x1000>;
1055 interrupts = <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>;
1059 compatible = "fsl,sec-v4.0-job-ring";
1060 reg = <0x3000 0x1000>;
1061 interrupts = <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>;
1065 flexcan1: can@30a00000 {
1066 compatible = "fsl,imx7d-flexcan", "fsl,imx6q-flexcan";
1067 reg = <0x30a00000 0x10000>;
1068 interrupts = <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>;
1069 clocks = <&clks IMX7D_CLK_DUMMY>,
1070 <&clks IMX7D_CAN1_ROOT_CLK>;
1071 clock-names = "ipg", "per";
1072 fsl,stop-mode = <&gpr 0x10 1>;
1073 status = "disabled";
1076 flexcan2: can@30a10000 {
1077 compatible = "fsl,imx7d-flexcan", "fsl,imx6q-flexcan";
1078 reg = <0x30a10000 0x10000>;
1079 interrupts = <GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>;
1080 clocks = <&clks IMX7D_CLK_DUMMY>,
1081 <&clks IMX7D_CAN2_ROOT_CLK>;
1082 clock-names = "ipg", "per";
1083 fsl,stop-mode = <&gpr 0x10 2>;
1084 status = "disabled";
1087 i2c1: i2c@30a20000 {
1088 #address-cells = <1>;
1090 compatible = "fsl,imx7d-i2c", "fsl,imx21-i2c";
1091 reg = <0x30a20000 0x10000>;
1092 interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>;
1093 clocks = <&clks IMX7D_I2C1_ROOT_CLK>;
1094 status = "disabled";
1097 i2c2: i2c@30a30000 {
1098 #address-cells = <1>;
1100 compatible = "fsl,imx7d-i2c", "fsl,imx21-i2c";
1101 reg = <0x30a30000 0x10000>;
1102 interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
1103 clocks = <&clks IMX7D_I2C2_ROOT_CLK>;
1104 status = "disabled";
1107 i2c3: i2c@30a40000 {
1108 #address-cells = <1>;
1110 compatible = "fsl,imx7d-i2c", "fsl,imx21-i2c";
1111 reg = <0x30a40000 0x10000>;
1112 interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
1113 clocks = <&clks IMX7D_I2C3_ROOT_CLK>;
1114 status = "disabled";
1117 i2c4: i2c@30a50000 {
1118 #address-cells = <1>;
1120 compatible = "fsl,imx7d-i2c", "fsl,imx21-i2c";
1121 reg = <0x30a50000 0x10000>;
1122 interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>;
1123 clocks = <&clks IMX7D_I2C4_ROOT_CLK>;
1124 status = "disabled";
1127 uart4: serial@30a60000 {
1128 compatible = "fsl,imx7d-uart",
1130 reg = <0x30a60000 0x10000>;
1131 interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>;
1132 clocks = <&clks IMX7D_UART4_ROOT_CLK>,
1133 <&clks IMX7D_UART4_ROOT_CLK>;
1134 clock-names = "ipg", "per";
1135 status = "disabled";
1138 uart5: serial@30a70000 {
1139 compatible = "fsl,imx7d-uart",
1141 reg = <0x30a70000 0x10000>;
1142 interrupts = <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>;
1143 clocks = <&clks IMX7D_UART5_ROOT_CLK>,
1144 <&clks IMX7D_UART5_ROOT_CLK>;
1145 clock-names = "ipg", "per";
1146 status = "disabled";
1149 uart6: serial@30a80000 {
1150 compatible = "fsl,imx7d-uart",
1152 reg = <0x30a80000 0x10000>;
1153 interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
1154 clocks = <&clks IMX7D_UART6_ROOT_CLK>,
1155 <&clks IMX7D_UART6_ROOT_CLK>;
1156 clock-names = "ipg", "per";
1157 status = "disabled";
1160 uart7: serial@30a90000 {
1161 compatible = "fsl,imx7d-uart",
1163 reg = <0x30a90000 0x10000>;
1164 interrupts = <GIC_SPI 126 IRQ_TYPE_LEVEL_HIGH>;
1165 clocks = <&clks IMX7D_UART7_ROOT_CLK>,
1166 <&clks IMX7D_UART7_ROOT_CLK>;
1167 clock-names = "ipg", "per";
1168 status = "disabled";
1171 mu0a: mailbox@30aa0000 {
1172 compatible = "fsl,imx7s-mu", "fsl,imx6sx-mu";
1173 reg = <0x30aa0000 0x10000>;
1174 interrupts = <GIC_SPI 88 IRQ_TYPE_LEVEL_HIGH>;
1175 clocks = <&clks IMX7D_MU_ROOT_CLK>;
1177 status = "disabled";
1180 mu0b: mailbox@30ab0000 {
1181 compatible = "fsl,imx7s-mu", "fsl,imx6sx-mu";
1182 reg = <0x30ab0000 0x10000>;
1183 interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>;
1184 clocks = <&clks IMX7D_MU_ROOT_CLK>;
1187 status = "disabled";
1190 usbotg1: usb@30b10000 {
1191 compatible = "fsl,imx7d-usb", "fsl,imx27-usb";
1192 reg = <0x30b10000 0x200>;
1193 interrupts = <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>;
1194 clocks = <&clks IMX7D_USB_CTRL_CLK>;
1195 fsl,usbphy = <&usbphynop1>;
1196 fsl,usbmisc = <&usbmisc1 0>;
1197 phy-clkgate-delay-us = <400>;
1198 status = "disabled";
1201 usbh: usb@30b30000 {
1202 compatible = "fsl,imx7d-usb", "fsl,imx27-usb";
1203 reg = <0x30b30000 0x200>;
1204 interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>;
1205 clocks = <&clks IMX7D_USB_CTRL_CLK>;
1206 fsl,usbphy = <&usbphynop3>;
1207 fsl,usbmisc = <&usbmisc3 0>;
1210 phy-clkgate-delay-us = <400>;
1211 status = "disabled";
1214 usbmisc1: usbmisc@30b10200 {
1216 compatible = "fsl,imx7d-usbmisc", "fsl,imx6q-usbmisc";
1217 reg = <0x30b10200 0x200>;
1220 usbmisc3: usbmisc@30b30200 {
1222 compatible = "fsl,imx7d-usbmisc", "fsl,imx6q-usbmisc";
1223 reg = <0x30b30200 0x200>;
1226 usdhc1: mmc@30b40000 {
1227 compatible = "fsl,imx7d-usdhc", "fsl,imx6sl-usdhc";
1228 reg = <0x30b40000 0x10000>;
1229 interrupts = <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>;
1230 clocks = <&clks IMX7D_IPG_ROOT_CLK>,
1231 <&clks IMX7D_NAND_USDHC_BUS_ROOT_CLK>,
1232 <&clks IMX7D_USDHC1_ROOT_CLK>;
1233 clock-names = "ipg", "ahb", "per";
1235 fsl,tuning-step = <2>;
1236 fsl,tuning-start-tap = <20>;
1237 status = "disabled";
1240 usdhc2: mmc@30b50000 {
1241 compatible = "fsl,imx7d-usdhc", "fsl,imx6sl-usdhc";
1242 reg = <0x30b50000 0x10000>;
1243 interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
1244 clocks = <&clks IMX7D_IPG_ROOT_CLK>,
1245 <&clks IMX7D_NAND_USDHC_BUS_ROOT_CLK>,
1246 <&clks IMX7D_USDHC2_ROOT_CLK>;
1247 clock-names = "ipg", "ahb", "per";
1249 fsl,tuning-step = <2>;
1250 fsl,tuning-start-tap = <20>;
1251 status = "disabled";
1254 usdhc3: mmc@30b60000 {
1255 compatible = "fsl,imx7d-usdhc", "fsl,imx6sl-usdhc";
1256 reg = <0x30b60000 0x10000>;
1257 interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>;
1258 clocks = <&clks IMX7D_IPG_ROOT_CLK>,
1259 <&clks IMX7D_NAND_USDHC_BUS_ROOT_CLK>,
1260 <&clks IMX7D_USDHC3_ROOT_CLK>;
1261 clock-names = "ipg", "ahb", "per";
1263 fsl,tuning-step = <2>;
1264 fsl,tuning-start-tap = <20>;
1265 status = "disabled";
1268 qspi: spi@30bb0000 {
1269 compatible = "fsl,imx7d-qspi";
1270 reg = <0x30bb0000 0x10000>, <0x60000000 0x10000000>;
1271 reg-names = "QuadSPI", "QuadSPI-memory";
1272 #address-cells = <1>;
1274 interrupts = <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>;
1275 clocks = <&clks IMX7D_QSPI_ROOT_CLK>,
1276 <&clks IMX7D_QSPI_ROOT_CLK>;
1277 clock-names = "qspi_en", "qspi";
1278 status = "disabled";
1281 sdma: dma-controller@30bd0000 {
1282 compatible = "fsl,imx7d-sdma", "fsl,imx35-sdma";
1283 reg = <0x30bd0000 0x10000>;
1284 interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>;
1285 clocks = <&clks IMX7D_IPG_ROOT_CLK>,
1286 <&clks IMX7D_SDMA_CORE_CLK>;
1287 clock-names = "ipg", "ahb";
1289 fsl,sdma-ram-script-name = "imx/sdma/sdma-imx7d.bin";
1292 fec1: ethernet@30be0000 {
1293 compatible = "fsl,imx7d-fec", "fsl,imx6sx-fec";
1294 reg = <0x30be0000 0x10000>;
1295 interrupt-names = "int0", "int1", "int2", "pps";
1296 interrupts = <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>,
1297 <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>,
1298 <GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH>,
1299 <GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>;
1300 clocks = <&clks IMX7D_ENET1_IPG_ROOT_CLK>,
1301 <&clks IMX7D_ENET_AXI_ROOT_CLK>,
1302 <&clks IMX7D_ENET1_TIME_ROOT_CLK>,
1303 <&clks IMX7D_PLL_ENET_MAIN_125M_CLK>,
1304 <&clks IMX7D_ENET_PHY_REF_ROOT_CLK>;
1305 clock-names = "ipg", "ahb", "ptp",
1306 "enet_clk_ref", "enet_out";
1307 fsl,num-tx-queues = <3>;
1308 fsl,num-rx-queues = <3>;
1309 fsl,stop-mode = <&gpr 0x10 3>;
1310 status = "disabled";
1314 dma_apbh: dma-controller@33000000 {
1315 compatible = "fsl,imx7d-dma-apbh", "fsl,imx28-dma-apbh";
1316 reg = <0x33000000 0x2000>;
1317 interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>,
1318 <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>,
1319 <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>,
1320 <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
1323 clocks = <&clks IMX7D_NAND_USDHC_BUS_RAWNAND_CLK>;
1326 gpmi: nand-controller@33002000 {
1327 compatible = "fsl,imx7d-gpmi-nand";
1328 #address-cells = <1>;
1330 reg = <0x33002000 0x2000>, <0x33004000 0x4000>;
1331 reg-names = "gpmi-nand", "bch";
1332 interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
1333 interrupt-names = "bch";
1334 clocks = <&clks IMX7D_NAND_RAWNAND_CLK>,
1335 <&clks IMX7D_NAND_USDHC_BUS_RAWNAND_CLK>;
1336 clock-names = "gpmi_io", "gpmi_bch_apb";
1337 dmas = <&dma_apbh 0>;
1338 dma-names = "rx-tx";
1339 status = "disabled";
1340 assigned-clocks = <&clks IMX7D_NAND_ROOT_SRC>;
1341 assigned-clock-parents = <&clks IMX7D_PLL_ENET_MAIN_500M_CLK>;