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 "imx7d-pinfunc.h"
17 * The decompressor and also some bootloaders rely on a
18 * pre-existing /chosen node to be available to insert the
19 * command line and merge other ATAGS info.
20 * Also for U-Boot there must be a pre-existing /memory node.
23 memory { device_type = "memory"; };
58 compatible = "arm,cortex-a7";
61 clock-frequency = <792000000>;
62 clock-latency = <61036>; /* two CLK32 periods */
63 clocks = <&clks IMX7D_CLK_ARM>;
68 compatible = "fixed-clock";
70 clock-frequency = <32768>;
71 clock-output-names = "ckil";
75 compatible = "fixed-clock";
77 clock-frequency = <24000000>;
78 clock-output-names = "osc";
81 usbphynop1: usbphynop1 {
82 compatible = "usb-nop-xceiv";
83 clocks = <&clks IMX7D_USB_PHY1_CLK>;
84 clock-names = "main_clk";
88 usbphynop3: usbphynop3 {
89 compatible = "usb-nop-xceiv";
90 clocks = <&clks IMX7D_USB_HSIC_ROOT_CLK>;
91 clock-names = "main_clk";
96 compatible = "arm,cortex-a7-pmu";
97 interrupt-parent = <&gpc>;
98 interrupts = <GIC_SPI 92 IRQ_TYPE_LEVEL_HIGH>;
99 interrupt-affinity = <&cpu0>;
104 * non-configurable replicators don't show up on the
105 * AMBA bus. As such no need to add "arm,primecell"
107 compatible = "arm,coresight-replicator";
110 #address-cells = <1>;
112 /* replicator output ports */
115 replicator_out_port0: endpoint {
116 remote-endpoint = <&tpiu_in_port>;
122 replicator_out_port1: endpoint {
123 remote-endpoint = <&etr_in_port>;
127 /* replicator input port */
130 replicator_in_port0: endpoint {
132 remote-endpoint = <&etf_out_port>;
139 compatible = "fsl,imx7d-tempmon";
140 interrupt-parent = <&gpc>;
141 interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>;
142 fsl,tempmon =<&anatop>;
143 nvmem-cells = <&tempmon_calib>,
144 <&tempmon_temp_grade>;
145 nvmem-cell-names = "calib", "temp_grade";
146 clocks = <&clks IMX7D_PLL_SYS_MAIN_CLK>;
150 compatible = "arm,armv7-timer";
151 interrupt-parent = <&intc>;
152 interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
153 <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
154 <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
155 <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>;
159 #address-cells = <1>;
161 compatible = "simple-bus";
162 interrupt-parent = <&gpc>;
166 compatible = "arm,coresight-funnel", "arm,primecell";
167 reg = <0x30041000 0x1000>;
168 clocks = <&clks IMX7D_MAIN_AXI_ROOT_CLK>;
169 clock-names = "apb_pclk";
171 ca_funnel_ports: ports {
172 #address-cells = <1>;
175 /* funnel input ports */
178 ca_funnel_in_port0: endpoint {
180 remote-endpoint = <&etm0_out_port>;
184 /* funnel output port */
187 ca_funnel_out_port0: endpoint {
188 remote-endpoint = <&hugo_funnel_in_port0>;
192 /* the other input ports are not connect to anything */
197 compatible = "arm,coresight-etm3x", "arm,primecell";
198 reg = <0x3007c000 0x1000>;
200 clocks = <&clks IMX7D_MAIN_AXI_ROOT_CLK>;
201 clock-names = "apb_pclk";
204 etm0_out_port: endpoint {
205 remote-endpoint = <&ca_funnel_in_port0>;
211 compatible = "arm,coresight-funnel", "arm,primecell";
212 reg = <0x30083000 0x1000>;
213 clocks = <&clks IMX7D_MAIN_AXI_ROOT_CLK>;
214 clock-names = "apb_pclk";
217 #address-cells = <1>;
220 /* funnel input ports */
223 hugo_funnel_in_port0: endpoint {
225 remote-endpoint = <&ca_funnel_out_port0>;
231 hugo_funnel_in_port1: endpoint {
232 slave-mode; /* M4 input */
238 hugo_funnel_out_port0: endpoint {
239 remote-endpoint = <&etf_in_port>;
243 /* the other input ports are not connect to anything */
248 compatible = "arm,coresight-tmc", "arm,primecell";
249 reg = <0x30084000 0x1000>;
250 clocks = <&clks IMX7D_MAIN_AXI_ROOT_CLK>;
251 clock-names = "apb_pclk";
254 #address-cells = <1>;
259 etf_in_port: endpoint {
261 remote-endpoint = <&hugo_funnel_out_port0>;
267 etf_out_port: endpoint {
268 remote-endpoint = <&replicator_in_port0>;
275 compatible = "arm,coresight-tmc", "arm,primecell";
276 reg = <0x30086000 0x1000>;
277 clocks = <&clks IMX7D_MAIN_AXI_ROOT_CLK>;
278 clock-names = "apb_pclk";
281 etr_in_port: endpoint {
283 remote-endpoint = <&replicator_out_port1>;
289 compatible = "arm,coresight-tpiu", "arm,primecell";
290 reg = <0x30087000 0x1000>;
291 clocks = <&clks IMX7D_MAIN_AXI_ROOT_CLK>;
292 clock-names = "apb_pclk";
295 tpiu_in_port: endpoint {
297 remote-endpoint = <&replicator_out_port0>;
302 intc: interrupt-controller@31001000 {
303 compatible = "arm,cortex-a7-gic";
304 interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
305 #interrupt-cells = <3>;
306 interrupt-controller;
307 interrupt-parent = <&intc>;
308 reg = <0x31001000 0x1000>,
314 aips1: aips-bus@30000000 {
315 compatible = "fsl,aips-bus", "simple-bus";
316 #address-cells = <1>;
318 reg = <0x30000000 0x400000>;
321 gpio1: gpio@30200000 {
322 compatible = "fsl,imx7d-gpio", "fsl,imx35-gpio";
323 reg = <0x30200000 0x10000>;
324 interrupts = <GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>, /* GPIO1_INT15_0 */
325 <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>; /* GPIO1_INT31_16 */
328 interrupt-controller;
329 #interrupt-cells = <2>;
330 gpio-ranges = <&iomuxc_lpsr 0 0 8>, <&iomuxc 8 5 8>;
333 gpio2: gpio@30210000 {
334 compatible = "fsl,imx7d-gpio", "fsl,imx35-gpio";
335 reg = <0x30210000 0x10000>;
336 interrupts = <GIC_SPI 66 IRQ_TYPE_LEVEL_HIGH>,
337 <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>;
340 interrupt-controller;
341 #interrupt-cells = <2>;
342 gpio-ranges = <&iomuxc 0 13 32>;
345 gpio3: gpio@30220000 {
346 compatible = "fsl,imx7d-gpio", "fsl,imx35-gpio";
347 reg = <0x30220000 0x10000>;
348 interrupts = <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>,
349 <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
352 interrupt-controller;
353 #interrupt-cells = <2>;
354 gpio-ranges = <&iomuxc 0 45 29>;
357 gpio4: gpio@30230000 {
358 compatible = "fsl,imx7d-gpio", "fsl,imx35-gpio";
359 reg = <0x30230000 0x10000>;
360 interrupts = <GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>,
361 <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>;
364 interrupt-controller;
365 #interrupt-cells = <2>;
366 gpio-ranges = <&iomuxc 0 74 24>;
369 gpio5: gpio@30240000 {
370 compatible = "fsl,imx7d-gpio", "fsl,imx35-gpio";
371 reg = <0x30240000 0x10000>;
372 interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>,
373 <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>;
376 interrupt-controller;
377 #interrupt-cells = <2>;
378 gpio-ranges = <&iomuxc 0 98 18>;
381 gpio6: gpio@30250000 {
382 compatible = "fsl,imx7d-gpio", "fsl,imx35-gpio";
383 reg = <0x30250000 0x10000>;
384 interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>,
385 <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>;
388 interrupt-controller;
389 #interrupt-cells = <2>;
390 gpio-ranges = <&iomuxc 0 116 23>;
393 gpio7: gpio@30260000 {
394 compatible = "fsl,imx7d-gpio", "fsl,imx35-gpio";
395 reg = <0x30260000 0x10000>;
396 interrupts = <GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>,
397 <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>;
400 interrupt-controller;
401 #interrupt-cells = <2>;
402 gpio-ranges = <&iomuxc 0 139 16>;
405 wdog1: wdog@30280000 {
406 compatible = "fsl,imx7d-wdt", "fsl,imx21-wdt";
407 reg = <0x30280000 0x10000>;
408 interrupts = <GIC_SPI 78 IRQ_TYPE_LEVEL_HIGH>;
409 clocks = <&clks IMX7D_WDOG1_ROOT_CLK>;
412 wdog2: wdog@30290000 {
413 compatible = "fsl,imx7d-wdt", "fsl,imx21-wdt";
414 reg = <0x30290000 0x10000>;
415 interrupts = <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>;
416 clocks = <&clks IMX7D_WDOG2_ROOT_CLK>;
420 wdog3: wdog@302a0000 {
421 compatible = "fsl,imx7d-wdt", "fsl,imx21-wdt";
422 reg = <0x302a0000 0x10000>;
423 interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
424 clocks = <&clks IMX7D_WDOG3_ROOT_CLK>;
428 wdog4: wdog@302b0000 {
429 compatible = "fsl,imx7d-wdt", "fsl,imx21-wdt";
430 reg = <0x302b0000 0x10000>;
431 interrupts = <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>;
432 clocks = <&clks IMX7D_WDOG4_ROOT_CLK>;
436 iomuxc_lpsr: iomuxc-lpsr@302c0000 {
437 compatible = "fsl,imx7d-iomuxc-lpsr";
438 reg = <0x302c0000 0x10000>;
439 fsl,input-sel = <&iomuxc>;
443 compatible = "fsl,imx7d-gpt", "fsl,imx6sx-gpt";
444 reg = <0x302d0000 0x10000>;
445 interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>;
446 clocks = <&clks IMX7D_CLK_DUMMY>,
447 <&clks IMX7D_GPT1_ROOT_CLK>;
448 clock-names = "ipg", "per";
452 compatible = "fsl,imx7d-gpt", "fsl,imx6sx-gpt";
453 reg = <0x302e0000 0x10000>;
454 interrupts = <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>;
455 clocks = <&clks IMX7D_CLK_DUMMY>,
456 <&clks IMX7D_GPT2_ROOT_CLK>;
457 clock-names = "ipg", "per";
462 compatible = "fsl,imx7d-gpt", "fsl,imx6sx-gpt";
463 reg = <0x302f0000 0x10000>;
464 interrupts = <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>;
465 clocks = <&clks IMX7D_CLK_DUMMY>,
466 <&clks IMX7D_GPT3_ROOT_CLK>;
467 clock-names = "ipg", "per";
472 compatible = "fsl,imx7d-gpt", "fsl,imx6sx-gpt";
473 reg = <0x30300000 0x10000>;
474 interrupts = <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>;
475 clocks = <&clks IMX7D_CLK_DUMMY>,
476 <&clks IMX7D_GPT4_ROOT_CLK>;
477 clock-names = "ipg", "per";
482 compatible = "fsl,imx7d-kpp", "fsl,imx21-kpp";
483 reg = <0x30320000 0x10000>;
484 interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>;
485 clocks = <&clks IMX7D_KPP_ROOT_CLK>;
489 iomuxc: iomuxc@30330000 {
490 compatible = "fsl,imx7d-iomuxc";
491 reg = <0x30330000 0x10000>;
494 gpr: iomuxc-gpr@30340000 {
495 compatible = "fsl,imx7d-iomuxc-gpr",
496 "fsl,imx6q-iomuxc-gpr", "syscon";
497 reg = <0x30340000 0x10000>;
500 ocotp: ocotp-ctrl@30350000 {
501 #address-cells = <1>;
503 compatible = "fsl,imx7d-ocotp", "syscon";
504 reg = <0x30350000 0x10000>;
505 clocks = <&clks IMX7D_OCOTP_CLK>;
507 tempmon_calib: calib@3c {
511 tempmon_temp_grade: temp-grade@10 {
516 anatop: anatop@30360000 {
517 compatible = "fsl,imx7d-anatop", "fsl,imx6q-anatop",
518 "syscon", "simple-bus";
519 reg = <0x30360000 0x10000>;
520 interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>,
521 <GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH>;
523 reg_1p0d: regulator-vdd1p0d {
524 compatible = "fsl,anatop-regulator";
525 regulator-name = "vdd1p0d";
526 regulator-min-microvolt = <800000>;
527 regulator-max-microvolt = <1200000>;
528 anatop-reg-offset = <0x210>;
529 anatop-vol-bit-shift = <8>;
530 anatop-vol-bit-width = <5>;
531 anatop-min-bit-val = <8>;
532 anatop-min-voltage = <800000>;
533 anatop-max-voltage = <1200000>;
534 anatop-enable-bit = <0>;
537 reg_1p2: regulator-vdd1p2 {
538 compatible = "fsl,anatop-regulator";
539 regulator-name = "vdd1p2";
540 regulator-min-microvolt = <1100000>;
541 regulator-max-microvolt = <1300000>;
542 anatop-reg-offset = <0x220>;
543 anatop-vol-bit-shift = <8>;
544 anatop-vol-bit-width = <5>;
545 anatop-min-bit-val = <0x14>;
546 anatop-min-voltage = <1100000>;
547 anatop-max-voltage = <1300000>;
548 anatop-enable-bit = <0>;
552 snvs: snvs@30370000 {
553 compatible = "fsl,sec-v4.0-mon", "syscon", "simple-mfd";
554 reg = <0x30370000 0x10000>;
556 snvs_rtc: snvs-rtc-lp {
557 compatible = "fsl,sec-v4.0-mon-rtc-lp";
560 interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>,
561 <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
562 clocks = <&clks IMX7D_SNVS_CLK>;
563 clock-names = "snvs-rtc";
566 snvs_poweroff: snvs-poweroff {
567 compatible = "syscon-poweroff";
574 snvs_pwrkey: snvs-powerkey {
575 compatible = "fsl,sec-v4.0-pwrkey";
577 interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
578 linux,keycode = <KEY_POWER>;
584 compatible = "fsl,imx7d-ccm";
585 reg = <0x30380000 0x10000>;
586 interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>,
587 <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
589 clocks = <&ckil>, <&osc>;
590 clock-names = "ckil", "osc";
594 compatible = "fsl,imx7d-src", "syscon";
595 reg = <0x30390000 0x10000>;
596 interrupts = <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>;
601 compatible = "fsl,imx7d-gpc";
602 reg = <0x303a0000 0x10000>;
603 interrupt-controller;
604 interrupts = <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>;
605 #interrupt-cells = <3>;
606 interrupt-parent = <&intc>;
607 #power-domain-cells = <1>;
610 #address-cells = <1>;
613 pgc_pcie_phy: pgc-power-domain@1 {
614 #power-domain-cells = <0>;
616 power-supply = <®_1p0d>;
622 aips2: aips-bus@30400000 {
623 compatible = "fsl,aips-bus", "simple-bus";
624 #address-cells = <1>;
626 reg = <0x30400000 0x400000>;
630 compatible = "fsl,imx7d-adc";
631 reg = <0x30610000 0x10000>;
632 interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>;
633 clocks = <&clks IMX7D_ADC_ROOT_CLK>;
639 compatible = "fsl,imx7d-adc";
640 reg = <0x30620000 0x10000>;
641 interrupts = <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>;
642 clocks = <&clks IMX7D_ADC_ROOT_CLK>;
647 ecspi4: ecspi@30630000 {
648 #address-cells = <1>;
650 compatible = "fsl,imx7d-ecspi", "fsl,imx51-ecspi";
651 reg = <0x30630000 0x10000>;
652 interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>;
653 clocks = <&clks IMX7D_ECSPI4_ROOT_CLK>,
654 <&clks IMX7D_ECSPI4_ROOT_CLK>;
655 clock-names = "ipg", "per";
660 compatible = "fsl,imx7d-pwm", "fsl,imx27-pwm";
661 reg = <0x30660000 0x10000>;
662 interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>;
663 clocks = <&clks IMX7D_PWM1_ROOT_CLK>,
664 <&clks IMX7D_PWM1_ROOT_CLK>;
665 clock-names = "ipg", "per";
671 compatible = "fsl,imx7d-pwm", "fsl,imx27-pwm";
672 reg = <0x30670000 0x10000>;
673 interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>;
674 clocks = <&clks IMX7D_PWM2_ROOT_CLK>,
675 <&clks IMX7D_PWM2_ROOT_CLK>;
676 clock-names = "ipg", "per";
682 compatible = "fsl,imx7d-pwm", "fsl,imx27-pwm";
683 reg = <0x30680000 0x10000>;
684 interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
685 clocks = <&clks IMX7D_PWM3_ROOT_CLK>,
686 <&clks IMX7D_PWM3_ROOT_CLK>;
687 clock-names = "ipg", "per";
693 compatible = "fsl,imx7d-pwm", "fsl,imx27-pwm";
694 reg = <0x30690000 0x10000>;
695 interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>;
696 clocks = <&clks IMX7D_PWM4_ROOT_CLK>,
697 <&clks IMX7D_PWM4_ROOT_CLK>;
698 clock-names = "ipg", "per";
703 lcdif: lcdif@30730000 {
704 compatible = "fsl,imx7d-lcdif", "fsl,imx28-lcdif";
705 reg = <0x30730000 0x10000>;
706 interrupts = <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
707 clocks = <&clks IMX7D_LCDIF_PIXEL_ROOT_CLK>,
708 <&clks IMX7D_LCDIF_PIXEL_ROOT_CLK>;
709 clock-names = "pix", "axi";
714 aips3: aips-bus@30800000 {
715 compatible = "fsl,aips-bus", "simple-bus";
716 #address-cells = <1>;
718 reg = <0x30800000 0x400000>;
722 compatible = "fsl,spba-bus", "simple-bus";
723 #address-cells = <1>;
725 reg = <0x30800000 0x100000>;
728 ecspi1: ecspi@30820000 {
729 #address-cells = <1>;
731 compatible = "fsl,imx7d-ecspi", "fsl,imx51-ecspi";
732 reg = <0x30820000 0x10000>;
733 interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>;
734 clocks = <&clks IMX7D_ECSPI1_ROOT_CLK>,
735 <&clks IMX7D_ECSPI1_ROOT_CLK>;
736 clock-names = "ipg", "per";
740 ecspi2: ecspi@30830000 {
741 #address-cells = <1>;
743 compatible = "fsl,imx7d-ecspi", "fsl,imx51-ecspi";
744 reg = <0x30830000 0x10000>;
745 interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
746 clocks = <&clks IMX7D_ECSPI2_ROOT_CLK>,
747 <&clks IMX7D_ECSPI2_ROOT_CLK>;
748 clock-names = "ipg", "per";
752 ecspi3: ecspi@30840000 {
753 #address-cells = <1>;
755 compatible = "fsl,imx7d-ecspi", "fsl,imx51-ecspi";
756 reg = <0x30840000 0x10000>;
757 interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>;
758 clocks = <&clks IMX7D_ECSPI3_ROOT_CLK>,
759 <&clks IMX7D_ECSPI3_ROOT_CLK>;
760 clock-names = "ipg", "per";
764 uart1: serial@30860000 {
765 compatible = "fsl,imx7d-uart",
767 reg = <0x30860000 0x10000>;
768 interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
769 clocks = <&clks IMX7D_UART1_ROOT_CLK>,
770 <&clks IMX7D_UART1_ROOT_CLK>;
771 clock-names = "ipg", "per";
775 uart2: serial@30890000 {
776 compatible = "fsl,imx7d-uart",
778 reg = <0x30890000 0x10000>;
779 interrupts = <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH>;
780 clocks = <&clks IMX7D_UART2_ROOT_CLK>,
781 <&clks IMX7D_UART2_ROOT_CLK>;
782 clock-names = "ipg", "per";
786 uart3: serial@30880000 {
787 compatible = "fsl,imx7d-uart",
789 reg = <0x30880000 0x10000>;
790 interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>;
791 clocks = <&clks IMX7D_UART3_ROOT_CLK>,
792 <&clks IMX7D_UART3_ROOT_CLK>;
793 clock-names = "ipg", "per";
798 #sound-dai-cells = <0>;
799 compatible = "fsl,imx7d-sai", "fsl,imx6sx-sai";
800 reg = <0x308a0000 0x10000>;
801 interrupts = <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>;
802 clocks = <&clks IMX7D_SAI1_IPG_CLK>,
803 <&clks IMX7D_SAI1_ROOT_CLK>,
804 <&clks IMX7D_CLK_DUMMY>,
805 <&clks IMX7D_CLK_DUMMY>;
806 clock-names = "bus", "mclk1", "mclk2", "mclk3";
807 dma-names = "rx", "tx";
808 dmas = <&sdma 8 24 0>, <&sdma 9 24 0>;
813 #sound-dai-cells = <0>;
814 compatible = "fsl,imx7d-sai", "fsl,imx6sx-sai";
815 reg = <0x308b0000 0x10000>;
816 interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
817 clocks = <&clks IMX7D_SAI2_IPG_CLK>,
818 <&clks IMX7D_SAI2_ROOT_CLK>,
819 <&clks IMX7D_CLK_DUMMY>,
820 <&clks IMX7D_CLK_DUMMY>;
821 clock-names = "bus", "mclk1", "mclk2", "mclk3";
822 dma-names = "rx", "tx";
823 dmas = <&sdma 10 24 0>, <&sdma 11 24 0>;
828 #sound-dai-cells = <0>;
829 compatible = "fsl,imx7d-sai", "fsl,imx6sx-sai";
830 reg = <0x308c0000 0x10000>;
831 interrupts = <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>;
832 clocks = <&clks IMX7D_SAI3_IPG_CLK>,
833 <&clks IMX7D_SAI3_ROOT_CLK>,
834 <&clks IMX7D_CLK_DUMMY>,
835 <&clks IMX7D_CLK_DUMMY>;
836 clock-names = "bus", "mclk1", "mclk2", "mclk3";
837 dma-names = "rx", "tx";
838 dmas = <&sdma 12 24 0>, <&sdma 13 24 0>;
843 crypto: caam@30900000 {
844 compatible = "fsl,sec-v4.0";
846 #address-cells = <1>;
848 reg = <0x30900000 0x40000>;
849 ranges = <0 0x30900000 0x40000>;
850 interrupts = <GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH>;
851 clocks = <&clks IMX7D_CAAM_CLK>,
852 <&clks IMX7D_AHB_CHANNEL_ROOT_CLK>;
853 clock-names = "ipg", "aclk";
856 compatible = "fsl,sec-v4.0-job-ring";
857 reg = <0x1000 0x1000>;
858 interrupts = <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>;
862 compatible = "fsl,sec-v4.0-job-ring";
863 reg = <0x2000 0x1000>;
864 interrupts = <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>;
868 compatible = "fsl,sec-v4.0-job-ring";
869 reg = <0x3000 0x1000>;
870 interrupts = <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>;
874 flexcan1: can@30a00000 {
875 compatible = "fsl,imx7d-flexcan", "fsl,imx6q-flexcan";
876 reg = <0x30a00000 0x10000>;
877 interrupts = <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>;
878 clocks = <&clks IMX7D_CLK_DUMMY>,
879 <&clks IMX7D_CAN1_ROOT_CLK>;
880 clock-names = "ipg", "per";
884 flexcan2: can@30a10000 {
885 compatible = "fsl,imx7d-flexcan", "fsl,imx6q-flexcan";
886 reg = <0x30a10000 0x10000>;
887 interrupts = <GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>;
888 clocks = <&clks IMX7D_CLK_DUMMY>,
889 <&clks IMX7D_CAN2_ROOT_CLK>;
890 clock-names = "ipg", "per";
895 #address-cells = <1>;
897 compatible = "fsl,imx7d-i2c", "fsl,imx21-i2c";
898 reg = <0x30a20000 0x10000>;
899 interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>;
900 clocks = <&clks IMX7D_I2C1_ROOT_CLK>;
905 #address-cells = <1>;
907 compatible = "fsl,imx7d-i2c", "fsl,imx21-i2c";
908 reg = <0x30a30000 0x10000>;
909 interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
910 clocks = <&clks IMX7D_I2C2_ROOT_CLK>;
915 #address-cells = <1>;
917 compatible = "fsl,imx7d-i2c", "fsl,imx21-i2c";
918 reg = <0x30a40000 0x10000>;
919 interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
920 clocks = <&clks IMX7D_I2C3_ROOT_CLK>;
925 #address-cells = <1>;
927 compatible = "fsl,imx7d-i2c", "fsl,imx21-i2c";
928 reg = <0x30a50000 0x10000>;
929 interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>;
930 clocks = <&clks IMX7D_I2C4_ROOT_CLK>;
934 uart4: serial@30a60000 {
935 compatible = "fsl,imx7d-uart",
937 reg = <0x30a60000 0x10000>;
938 interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>;
939 clocks = <&clks IMX7D_UART4_ROOT_CLK>,
940 <&clks IMX7D_UART4_ROOT_CLK>;
941 clock-names = "ipg", "per";
945 uart5: serial@30a70000 {
946 compatible = "fsl,imx7d-uart",
948 reg = <0x30a70000 0x10000>;
949 interrupts = <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>;
950 clocks = <&clks IMX7D_UART5_ROOT_CLK>,
951 <&clks IMX7D_UART5_ROOT_CLK>;
952 clock-names = "ipg", "per";
956 uart6: serial@30a80000 {
957 compatible = "fsl,imx7d-uart",
959 reg = <0x30a80000 0x10000>;
960 interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
961 clocks = <&clks IMX7D_UART6_ROOT_CLK>,
962 <&clks IMX7D_UART6_ROOT_CLK>;
963 clock-names = "ipg", "per";
967 uart7: serial@30a90000 {
968 compatible = "fsl,imx7d-uart",
970 reg = <0x30a90000 0x10000>;
971 interrupts = <GIC_SPI 126 IRQ_TYPE_LEVEL_HIGH>;
972 clocks = <&clks IMX7D_UART7_ROOT_CLK>,
973 <&clks IMX7D_UART7_ROOT_CLK>;
974 clock-names = "ipg", "per";
978 usbotg1: usb@30b10000 {
979 compatible = "fsl,imx7d-usb", "fsl,imx27-usb";
980 reg = <0x30b10000 0x200>;
981 interrupts = <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>;
982 clocks = <&clks IMX7D_USB_CTRL_CLK>;
983 fsl,usbphy = <&usbphynop1>;
984 fsl,usbmisc = <&usbmisc1 0>;
985 phy-clkgate-delay-us = <400>;
990 compatible = "fsl,imx7d-usb", "fsl,imx27-usb";
991 reg = <0x30b30000 0x200>;
992 interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>;
993 clocks = <&clks IMX7D_USB_CTRL_CLK>;
994 fsl,usbphy = <&usbphynop3>;
995 fsl,usbmisc = <&usbmisc3 0>;
998 phy-clkgate-delay-us = <400>;
1002 usbmisc1: usbmisc@30b10200 {
1004 compatible = "fsl,imx7d-usbmisc", "fsl,imx6q-usbmisc";
1005 reg = <0x30b10200 0x200>;
1008 usbmisc3: usbmisc@30b30200 {
1010 compatible = "fsl,imx7d-usbmisc", "fsl,imx6q-usbmisc";
1011 reg = <0x30b30200 0x200>;
1014 usdhc1: usdhc@30b40000 {
1015 compatible = "fsl,imx7d-usdhc", "fsl,imx6sl-usdhc";
1016 reg = <0x30b40000 0x10000>;
1017 interrupts = <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>;
1018 clocks = <&clks IMX7D_IPG_ROOT_CLK>,
1019 <&clks IMX7D_NAND_USDHC_BUS_ROOT_CLK>,
1020 <&clks IMX7D_USDHC1_ROOT_CLK>;
1021 clock-names = "ipg", "ahb", "per";
1023 status = "disabled";
1026 usdhc2: usdhc@30b50000 {
1027 compatible = "fsl,imx7d-usdhc", "fsl,imx6sl-usdhc";
1028 reg = <0x30b50000 0x10000>;
1029 interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
1030 clocks = <&clks IMX7D_IPG_ROOT_CLK>,
1031 <&clks IMX7D_NAND_USDHC_BUS_ROOT_CLK>,
1032 <&clks IMX7D_USDHC2_ROOT_CLK>;
1033 clock-names = "ipg", "ahb", "per";
1035 status = "disabled";
1038 usdhc3: usdhc@30b60000 {
1039 compatible = "fsl,imx7d-usdhc", "fsl,imx6sl-usdhc";
1040 reg = <0x30b60000 0x10000>;
1041 interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>;
1042 clocks = <&clks IMX7D_IPG_ROOT_CLK>,
1043 <&clks IMX7D_NAND_USDHC_BUS_ROOT_CLK>,
1044 <&clks IMX7D_USDHC3_ROOT_CLK>;
1045 clock-names = "ipg", "ahb", "per";
1047 status = "disabled";
1050 sdma: sdma@30bd0000 {
1051 compatible = "fsl,imx7d-sdma", "fsl,imx35-sdma";
1052 reg = <0x30bd0000 0x10000>;
1053 interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>;
1054 clocks = <&clks IMX7D_SDMA_CORE_CLK>,
1055 <&clks IMX7D_AHB_CHANNEL_ROOT_CLK>;
1056 clock-names = "ipg", "ahb";
1058 fsl,sdma-ram-script-name = "imx/sdma/sdma-imx7d.bin";
1061 fec1: ethernet@30be0000 {
1062 compatible = "fsl,imx7d-fec", "fsl,imx6sx-fec";
1063 reg = <0x30be0000 0x10000>;
1064 interrupt-names = "int0", "int1", "int2", "pps";
1065 interrupts = <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>,
1066 <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>,
1067 <GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH>,
1068 <GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>;
1069 clocks = <&clks IMX7D_ENET1_IPG_ROOT_CLK>,
1070 <&clks IMX7D_ENET_AXI_ROOT_CLK>,
1071 <&clks IMX7D_ENET1_TIME_ROOT_CLK>,
1072 <&clks IMX7D_PLL_ENET_MAIN_125M_CLK>,
1073 <&clks IMX7D_ENET_PHY_REF_ROOT_CLK>;
1074 clock-names = "ipg", "ahb", "ptp",
1075 "enet_clk_ref", "enet_out";
1076 fsl,num-tx-queues=<3>;
1077 fsl,num-rx-queues=<3>;
1078 status = "disabled";
1082 dma_apbh: dma-apbh@33000000 {
1083 compatible = "fsl,imx7d-dma-apbh", "fsl,imx28-dma-apbh";
1084 reg = <0x33000000 0x2000>;
1085 interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>,
1086 <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>,
1087 <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>,
1088 <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
1089 interrupt-names = "gpmi0", "gpmi1", "gpmi2", "gpmi3";
1092 clocks = <&clks IMX7D_NAND_USDHC_BUS_RAWNAND_CLK>;
1095 gpmi: gpmi-nand@33002000{
1096 compatible = "fsl,imx7d-gpmi-nand";
1097 #address-cells = <1>;
1099 reg = <0x33002000 0x2000>, <0x33004000 0x4000>;
1100 reg-names = "gpmi-nand", "bch";
1101 interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
1102 interrupt-names = "bch";
1103 clocks = <&clks IMX7D_NAND_RAWNAND_CLK>,
1104 <&clks IMX7D_NAND_USDHC_BUS_RAWNAND_CLK>;
1105 clock-names = "gpmi_io", "gpmi_bch_apb";
1106 dmas = <&dma_apbh 0>;
1107 dma-names = "rx-tx";
1108 status = "disabled";
1109 assigned-clocks = <&clks IMX7D_NAND_ROOT_SRC>;
1110 assigned-clock-parents = <&clks IMX7D_PLL_ENET_MAIN_500M_CLK>;