1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 #include <dt-bindings/clock/imx8mm-clock.h>
7 #include <dt-bindings/gpio/gpio.h>
8 #include <dt-bindings/input/input.h>
9 #include <dt-bindings/interrupt-controller/arm-gic.h>
10 #include <dt-bindings/power/imx8mm-power.h>
11 #include <dt-bindings/reset/imx8mq-reset.h>
12 #include <dt-bindings/thermal/thermal.h>
14 #include "imx8mm-pinfunc.h"
17 interrupt-parent = <&gic>;
49 entry-method = "psci";
51 cpu_pd_wait: cpu-pd-wait {
52 compatible = "arm,idle-state";
53 arm,psci-suspend-param = <0x0010033>;
55 entry-latency-us = <1000>;
56 exit-latency-us = <700>;
57 min-residency-us = <2700>;
63 compatible = "arm,cortex-a53";
65 clock-latency = <61036>; /* two CLK32 periods */
66 clocks = <&clk IMX8MM_CLK_ARM>;
67 enable-method = "psci";
68 i-cache-size = <0x8000>;
69 i-cache-line-size = <64>;
71 d-cache-size = <0x8000>;
72 d-cache-line-size = <64>;
74 next-level-cache = <&A53_L2>;
75 operating-points-v2 = <&a53_opp_table>;
76 nvmem-cells = <&cpu_speed_grade>;
77 nvmem-cell-names = "speed_grade";
78 cpu-idle-states = <&cpu_pd_wait>;
84 compatible = "arm,cortex-a53";
86 clock-latency = <61036>; /* two CLK32 periods */
87 clocks = <&clk IMX8MM_CLK_ARM>;
88 enable-method = "psci";
89 i-cache-size = <0x8000>;
90 i-cache-line-size = <64>;
92 d-cache-size = <0x8000>;
93 d-cache-line-size = <64>;
95 next-level-cache = <&A53_L2>;
96 operating-points-v2 = <&a53_opp_table>;
97 cpu-idle-states = <&cpu_pd_wait>;
103 compatible = "arm,cortex-a53";
105 clock-latency = <61036>; /* two CLK32 periods */
106 clocks = <&clk IMX8MM_CLK_ARM>;
107 enable-method = "psci";
108 i-cache-size = <0x8000>;
109 i-cache-line-size = <64>;
110 i-cache-sets = <256>;
111 d-cache-size = <0x8000>;
112 d-cache-line-size = <64>;
113 d-cache-sets = <128>;
114 next-level-cache = <&A53_L2>;
115 operating-points-v2 = <&a53_opp_table>;
116 cpu-idle-states = <&cpu_pd_wait>;
117 #cooling-cells = <2>;
122 compatible = "arm,cortex-a53";
124 clock-latency = <61036>; /* two CLK32 periods */
125 clocks = <&clk IMX8MM_CLK_ARM>;
126 enable-method = "psci";
127 i-cache-size = <0x8000>;
128 i-cache-line-size = <64>;
129 i-cache-sets = <256>;
130 d-cache-size = <0x8000>;
131 d-cache-line-size = <64>;
132 d-cache-sets = <128>;
133 next-level-cache = <&A53_L2>;
134 operating-points-v2 = <&a53_opp_table>;
135 cpu-idle-states = <&cpu_pd_wait>;
136 #cooling-cells = <2>;
140 compatible = "cache";
143 cache-size = <0x80000>;
144 cache-line-size = <64>;
149 a53_opp_table: opp-table {
150 compatible = "operating-points-v2";
154 opp-hz = /bits/ 64 <1200000000>;
155 opp-microvolt = <850000>;
156 opp-supported-hw = <0xe>, <0x7>;
157 clock-latency-ns = <150000>;
162 opp-hz = /bits/ 64 <1600000000>;
163 opp-microvolt = <950000>;
164 opp-supported-hw = <0xc>, <0x7>;
165 clock-latency-ns = <150000>;
170 opp-hz = /bits/ 64 <1800000000>;
171 opp-microvolt = <1000000>;
172 opp-supported-hw = <0x8>, <0x3>;
173 clock-latency-ns = <150000>;
178 osc_32k: clock-osc-32k {
179 compatible = "fixed-clock";
181 clock-frequency = <32768>;
182 clock-output-names = "osc_32k";
185 osc_24m: clock-osc-24m {
186 compatible = "fixed-clock";
188 clock-frequency = <24000000>;
189 clock-output-names = "osc_24m";
192 clk_ext1: clock-ext1 {
193 compatible = "fixed-clock";
195 clock-frequency = <133000000>;
196 clock-output-names = "clk_ext1";
199 clk_ext2: clock-ext2 {
200 compatible = "fixed-clock";
202 clock-frequency = <133000000>;
203 clock-output-names = "clk_ext2";
206 clk_ext3: clock-ext3 {
207 compatible = "fixed-clock";
209 clock-frequency = <133000000>;
210 clock-output-names = "clk_ext3";
213 clk_ext4: clock-ext4 {
214 compatible = "fixed-clock";
216 clock-frequency = <133000000>;
217 clock-output-names = "clk_ext4";
221 compatible = "arm,psci-1.0";
226 compatible = "arm,cortex-a53-pmu";
227 interrupts = <GIC_PPI 7
228 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
232 compatible = "arm,armv8-timer";
233 interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>, /* Physical Secure */
234 <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>, /* Physical Non-Secure */
235 <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>, /* Virtual */
236 <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>; /* Hypervisor */
237 clock-frequency = <8000000>;
238 arm,no-tick-in-suspend;
243 polling-delay-passive = <250>;
244 polling-delay = <2000>;
245 thermal-sensors = <&tmu>;
248 temperature = <85000>;
254 temperature = <95000>;
262 trip = <&cpu_alert0>;
264 <&A53_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
265 <&A53_1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
266 <&A53_2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
267 <&A53_3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
273 usbphynop1: usbphynop1 {
275 compatible = "usb-nop-xceiv";
276 clocks = <&clk IMX8MM_CLK_USB_PHY_REF>;
277 assigned-clocks = <&clk IMX8MM_CLK_USB_PHY_REF>;
278 assigned-clock-parents = <&clk IMX8MM_SYS_PLL1_100M>;
279 clock-names = "main_clk";
280 power-domains = <&pgc_otg1>;
283 usbphynop2: usbphynop2 {
285 compatible = "usb-nop-xceiv";
286 clocks = <&clk IMX8MM_CLK_USB_PHY_REF>;
287 assigned-clocks = <&clk IMX8MM_CLK_USB_PHY_REF>;
288 assigned-clock-parents = <&clk IMX8MM_SYS_PLL1_100M>;
289 clock-names = "main_clk";
290 power-domains = <&pgc_otg2>;
294 compatible = "fsl,imx8mm-soc", "simple-bus";
295 #address-cells = <1>;
297 ranges = <0x0 0x0 0x0 0x3e000000>;
298 dma-ranges = <0x40000000 0x0 0x40000000 0xc0000000>;
299 nvmem-cells = <&imx8mm_uid>;
300 nvmem-cell-names = "soc_unique_id";
302 aips1: bus@30000000 {
303 compatible = "fsl,aips-bus", "simple-bus";
304 reg = <0x30000000 0x400000>;
305 #address-cells = <1>;
307 ranges = <0x30000000 0x30000000 0x400000>;
309 spba2: spba-bus@30000000 {
310 compatible = "fsl,spba-bus", "simple-bus";
311 #address-cells = <1>;
313 reg = <0x30000000 0x100000>;
317 #sound-dai-cells = <0>;
318 compatible = "fsl,imx8mm-sai", "fsl,imx8mq-sai";
319 reg = <0x30010000 0x10000>;
320 interrupts = <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>;
321 clocks = <&clk IMX8MM_CLK_SAI1_IPG>,
322 <&clk IMX8MM_CLK_SAI1_ROOT>,
323 <&clk IMX8MM_CLK_DUMMY>, <&clk IMX8MM_CLK_DUMMY>;
324 clock-names = "bus", "mclk1", "mclk2", "mclk3";
325 dmas = <&sdma2 0 2 0>, <&sdma2 1 2 0>;
326 dma-names = "rx", "tx";
331 #sound-dai-cells = <0>;
332 compatible = "fsl,imx8mm-sai", "fsl,imx8mq-sai";
333 reg = <0x30020000 0x10000>;
334 interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
335 clocks = <&clk IMX8MM_CLK_SAI2_IPG>,
336 <&clk IMX8MM_CLK_SAI2_ROOT>,
337 <&clk IMX8MM_CLK_DUMMY>, <&clk IMX8MM_CLK_DUMMY>;
338 clock-names = "bus", "mclk1", "mclk2", "mclk3";
339 dmas = <&sdma2 2 2 0>, <&sdma2 3 2 0>;
340 dma-names = "rx", "tx";
345 #sound-dai-cells = <0>;
346 compatible = "fsl,imx8mm-sai", "fsl,imx8mq-sai";
347 reg = <0x30030000 0x10000>;
348 interrupts = <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>;
349 clocks = <&clk IMX8MM_CLK_SAI3_IPG>,
350 <&clk IMX8MM_CLK_SAI3_ROOT>,
351 <&clk IMX8MM_CLK_DUMMY>, <&clk IMX8MM_CLK_DUMMY>;
352 clock-names = "bus", "mclk1", "mclk2", "mclk3";
353 dmas = <&sdma2 4 2 0>, <&sdma2 5 2 0>;
354 dma-names = "rx", "tx";
359 #sound-dai-cells = <0>;
360 compatible = "fsl,imx8mm-sai", "fsl,imx8mq-sai";
361 reg = <0x30050000 0x10000>;
362 interrupts = <GIC_SPI 90 IRQ_TYPE_LEVEL_HIGH>;
363 clocks = <&clk IMX8MM_CLK_SAI5_IPG>,
364 <&clk IMX8MM_CLK_SAI5_ROOT>,
365 <&clk IMX8MM_CLK_DUMMY>, <&clk IMX8MM_CLK_DUMMY>;
366 clock-names = "bus", "mclk1", "mclk2", "mclk3";
367 dmas = <&sdma2 8 2 0>, <&sdma2 9 2 0>;
368 dma-names = "rx", "tx";
373 #sound-dai-cells = <0>;
374 compatible = "fsl,imx8mm-sai", "fsl,imx8mq-sai";
375 reg = <0x30060000 0x10000>;
376 interrupts = <GIC_SPI 90 IRQ_TYPE_LEVEL_HIGH>;
377 clocks = <&clk IMX8MM_CLK_SAI6_IPG>,
378 <&clk IMX8MM_CLK_SAI6_ROOT>,
379 <&clk IMX8MM_CLK_DUMMY>, <&clk IMX8MM_CLK_DUMMY>;
380 clock-names = "bus", "mclk1", "mclk2", "mclk3";
381 dmas = <&sdma2 10 2 0>, <&sdma2 11 2 0>;
382 dma-names = "rx", "tx";
386 micfil: audio-controller@30080000 {
387 compatible = "fsl,imx8mm-micfil";
388 reg = <0x30080000 0x10000>;
389 interrupts = <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>,
390 <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>,
391 <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>,
392 <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>;
393 clocks = <&clk IMX8MM_CLK_PDM_IPG>,
394 <&clk IMX8MM_CLK_PDM_ROOT>,
395 <&clk IMX8MM_AUDIO_PLL1_OUT>,
396 <&clk IMX8MM_AUDIO_PLL2_OUT>,
397 <&clk IMX8MM_CLK_EXT3>;
398 clock-names = "ipg_clk", "ipg_clk_app",
399 "pll8k", "pll11k", "clkext3";
400 dmas = <&sdma2 24 25 0x80000000>;
405 spdif1: spdif@30090000 {
406 compatible = "fsl,imx35-spdif";
407 reg = <0x30090000 0x10000>;
408 interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
409 clocks = <&clk IMX8MM_CLK_AUDIO_AHB>, /* core */
410 <&clk IMX8MM_CLK_24M>, /* rxtx0 */
411 <&clk IMX8MM_CLK_SPDIF1>, /* rxtx1 */
412 <&clk IMX8MM_CLK_DUMMY>, /* rxtx2 */
413 <&clk IMX8MM_CLK_DUMMY>, /* rxtx3 */
414 <&clk IMX8MM_CLK_DUMMY>, /* rxtx4 */
415 <&clk IMX8MM_CLK_AUDIO_AHB>, /* rxtx5 */
416 <&clk IMX8MM_CLK_DUMMY>, /* rxtx6 */
417 <&clk IMX8MM_CLK_DUMMY>, /* rxtx7 */
418 <&clk IMX8MM_CLK_DUMMY>; /* spba */
419 clock-names = "core", "rxtx0",
424 dmas = <&sdma2 28 18 0>, <&sdma2 29 18 0>;
425 dma-names = "rx", "tx";
430 gpio1: gpio@30200000 {
431 compatible = "fsl,imx8mm-gpio", "fsl,imx35-gpio";
432 reg = <0x30200000 0x10000>;
433 interrupts = <GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>,
434 <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>;
435 clocks = <&clk IMX8MM_CLK_GPIO1_ROOT>;
438 interrupt-controller;
439 #interrupt-cells = <2>;
440 gpio-ranges = <&iomuxc 0 10 30>;
443 gpio2: gpio@30210000 {
444 compatible = "fsl,imx8mm-gpio", "fsl,imx35-gpio";
445 reg = <0x30210000 0x10000>;
446 interrupts = <GIC_SPI 66 IRQ_TYPE_LEVEL_HIGH>,
447 <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>;
448 clocks = <&clk IMX8MM_CLK_GPIO2_ROOT>;
451 interrupt-controller;
452 #interrupt-cells = <2>;
453 gpio-ranges = <&iomuxc 0 40 21>;
456 gpio3: gpio@30220000 {
457 compatible = "fsl,imx8mm-gpio", "fsl,imx35-gpio";
458 reg = <0x30220000 0x10000>;
459 interrupts = <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>,
460 <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
461 clocks = <&clk IMX8MM_CLK_GPIO3_ROOT>;
464 interrupt-controller;
465 #interrupt-cells = <2>;
466 gpio-ranges = <&iomuxc 0 61 26>;
469 gpio4: gpio@30230000 {
470 compatible = "fsl,imx8mm-gpio", "fsl,imx35-gpio";
471 reg = <0x30230000 0x10000>;
472 interrupts = <GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>,
473 <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>;
474 clocks = <&clk IMX8MM_CLK_GPIO4_ROOT>;
477 interrupt-controller;
478 #interrupt-cells = <2>;
479 gpio-ranges = <&iomuxc 0 87 32>;
482 gpio5: gpio@30240000 {
483 compatible = "fsl,imx8mm-gpio", "fsl,imx35-gpio";
484 reg = <0x30240000 0x10000>;
485 interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>,
486 <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>;
487 clocks = <&clk IMX8MM_CLK_GPIO5_ROOT>;
490 interrupt-controller;
491 #interrupt-cells = <2>;
492 gpio-ranges = <&iomuxc 0 119 30>;
496 compatible = "fsl,imx8mm-tmu";
497 reg = <0x30260000 0x10000>;
498 clocks = <&clk IMX8MM_CLK_TMU_ROOT>;
499 nvmem-cells = <&tmu_calib>;
500 nvmem-cell-names = "calib";
501 #thermal-sensor-cells = <0>;
504 wdog1: watchdog@30280000 {
505 compatible = "fsl,imx8mm-wdt", "fsl,imx21-wdt";
506 reg = <0x30280000 0x10000>;
507 interrupts = <GIC_SPI 78 IRQ_TYPE_LEVEL_HIGH>;
508 clocks = <&clk IMX8MM_CLK_WDOG1_ROOT>;
512 wdog2: watchdog@30290000 {
513 compatible = "fsl,imx8mm-wdt", "fsl,imx21-wdt";
514 reg = <0x30290000 0x10000>;
515 interrupts = <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>;
516 clocks = <&clk IMX8MM_CLK_WDOG2_ROOT>;
520 wdog3: watchdog@302a0000 {
521 compatible = "fsl,imx8mm-wdt", "fsl,imx21-wdt";
522 reg = <0x302a0000 0x10000>;
523 interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
524 clocks = <&clk IMX8MM_CLK_WDOG3_ROOT>;
528 sdma2: dma-controller@302c0000 {
529 compatible = "fsl,imx8mm-sdma", "fsl,imx8mq-sdma";
530 reg = <0x302c0000 0x10000>;
531 interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>;
532 clocks = <&clk IMX8MM_CLK_SDMA2_ROOT>,
533 <&clk IMX8MM_CLK_SDMA2_ROOT>;
534 clock-names = "ipg", "ahb";
536 fsl,sdma-ram-script-name = "imx/sdma/sdma-imx7d.bin";
539 sdma3: dma-controller@302b0000 {
540 compatible = "fsl,imx8mm-sdma", "fsl,imx8mq-sdma";
541 reg = <0x302b0000 0x10000>;
542 interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>;
543 clocks = <&clk IMX8MM_CLK_SDMA3_ROOT>,
544 <&clk IMX8MM_CLK_SDMA3_ROOT>;
545 clock-names = "ipg", "ahb";
547 fsl,sdma-ram-script-name = "imx/sdma/sdma-imx7d.bin";
550 iomuxc: pinctrl@30330000 {
551 compatible = "fsl,imx8mm-iomuxc";
552 reg = <0x30330000 0x10000>;
555 gpr: syscon@30340000 {
556 compatible = "fsl,imx8mm-iomuxc-gpr", "syscon";
557 reg = <0x30340000 0x10000>;
560 ocotp: efuse@30350000 {
561 compatible = "fsl,imx8mm-ocotp", "syscon";
562 reg = <0x30350000 0x10000>;
563 clocks = <&clk IMX8MM_CLK_OCOTP_ROOT>;
564 /* For nvmem subnodes */
565 #address-cells = <1>;
569 * The register address below maps to the MX8M
570 * Fusemap Description Table entries this way.
574 * Fuse Address = (ADDR * 4) + 0x400
575 * Note that if SIZE is greater than 4, then
576 * each subsequent fuse is located at offset
577 * +0x10 in Fusemap Description Table (e.g.
578 * reg = <0x4 0x8> describes fuses 0x410 and
581 imx8mm_uid: unique-id@4 { /* 0x410-0x420 */
585 cpu_speed_grade: speed-grade@10 { /* 0x440 */
589 tmu_calib: calib@3c { /* 0x4f0 */
593 fec_mac_address: mac-address@90 { /* 0x640 */
598 anatop: clock-controller@30360000 {
599 compatible = "fsl,imx8mm-anatop";
600 reg = <0x30360000 0x10000>;
604 snvs: snvs@30370000 {
605 compatible = "fsl,sec-v4.0-mon","syscon", "simple-mfd";
606 reg = <0x30370000 0x10000>;
608 snvs_rtc: snvs-rtc-lp {
609 compatible = "fsl,sec-v4.0-mon-rtc-lp";
612 interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>,
613 <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
614 clocks = <&clk IMX8MM_CLK_SNVS_ROOT>;
615 clock-names = "snvs-rtc";
618 snvs_pwrkey: snvs-powerkey {
619 compatible = "fsl,sec-v4.0-pwrkey";
621 interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
622 clocks = <&clk IMX8MM_CLK_SNVS_ROOT>;
623 clock-names = "snvs-pwrkey";
624 linux,keycode = <KEY_POWER>;
629 snvs_lpgpr: snvs-lpgpr {
630 compatible = "fsl,imx8mm-snvs-lpgpr",
631 "fsl,imx7d-snvs-lpgpr";
635 clk: clock-controller@30380000 {
636 compatible = "fsl,imx8mm-ccm";
637 reg = <0x30380000 0x10000>;
639 clocks = <&osc_32k>, <&osc_24m>, <&clk_ext1>, <&clk_ext2>,
640 <&clk_ext3>, <&clk_ext4>;
641 clock-names = "osc_32k", "osc_24m", "clk_ext1", "clk_ext2",
642 "clk_ext3", "clk_ext4";
643 assigned-clocks = <&clk IMX8MM_CLK_A53_SRC>,
644 <&clk IMX8MM_CLK_A53_CORE>,
645 <&clk IMX8MM_CLK_NOC>,
646 <&clk IMX8MM_CLK_AUDIO_AHB>,
647 <&clk IMX8MM_CLK_IPG_AUDIO_ROOT>,
648 <&clk IMX8MM_SYS_PLL3>,
649 <&clk IMX8MM_VIDEO_PLL1>,
650 <&clk IMX8MM_AUDIO_PLL1>;
651 assigned-clock-parents = <&clk IMX8MM_SYS_PLL1_800M>,
652 <&clk IMX8MM_ARM_PLL_OUT>,
653 <&clk IMX8MM_SYS_PLL3_OUT>,
654 <&clk IMX8MM_SYS_PLL1_800M>;
655 assigned-clock-rates = <0>, <0>, <0>,
663 src: reset-controller@30390000 {
664 compatible = "fsl,imx8mm-src", "fsl,imx8mq-src", "syscon";
665 reg = <0x30390000 0x10000>;
666 interrupts = <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>;
671 compatible = "fsl,imx8mm-gpc";
672 reg = <0x303a0000 0x10000>;
673 interrupts = <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>;
674 interrupt-parent = <&gic>;
675 interrupt-controller;
676 #interrupt-cells = <3>;
679 #address-cells = <1>;
682 pgc_hsiomix: power-domain@0 {
683 #power-domain-cells = <0>;
684 reg = <IMX8MM_POWER_DOMAIN_HSIOMIX>;
685 clocks = <&clk IMX8MM_CLK_USB_BUS>;
686 assigned-clocks = <&clk IMX8MM_CLK_USB_BUS>;
687 assigned-clock-parents = <&clk IMX8MM_SYS_PLL2_500M>;
690 pgc_pcie: power-domain@1 {
691 #power-domain-cells = <0>;
692 reg = <IMX8MM_POWER_DOMAIN_PCIE>;
693 power-domains = <&pgc_hsiomix>;
694 clocks = <&clk IMX8MM_CLK_PCIE1_ROOT>;
697 pgc_otg1: power-domain@2 {
698 #power-domain-cells = <0>;
699 reg = <IMX8MM_POWER_DOMAIN_OTG1>;
702 pgc_otg2: power-domain@3 {
703 #power-domain-cells = <0>;
704 reg = <IMX8MM_POWER_DOMAIN_OTG2>;
707 pgc_gpumix: power-domain@4 {
708 #power-domain-cells = <0>;
709 reg = <IMX8MM_POWER_DOMAIN_GPUMIX>;
710 clocks = <&clk IMX8MM_CLK_GPU_BUS_ROOT>,
711 <&clk IMX8MM_CLK_GPU_AHB>;
712 assigned-clocks = <&clk IMX8MM_CLK_GPU_AXI>,
713 <&clk IMX8MM_CLK_GPU_AHB>;
714 assigned-clock-parents = <&clk IMX8MM_SYS_PLL1_800M>,
715 <&clk IMX8MM_SYS_PLL1_800M>;
716 assigned-clock-rates = <800000000>, <400000000>;
719 pgc_gpu: power-domain@5 {
720 #power-domain-cells = <0>;
721 reg = <IMX8MM_POWER_DOMAIN_GPU>;
722 clocks = <&clk IMX8MM_CLK_GPU_AHB>,
723 <&clk IMX8MM_CLK_GPU_BUS_ROOT>,
724 <&clk IMX8MM_CLK_GPU2D_ROOT>,
725 <&clk IMX8MM_CLK_GPU3D_ROOT>;
726 resets = <&src IMX8MQ_RESET_GPU_RESET>;
727 power-domains = <&pgc_gpumix>;
730 pgc_vpumix: power-domain@6 {
731 #power-domain-cells = <0>;
732 reg = <IMX8MM_POWER_DOMAIN_VPUMIX>;
733 clocks = <&clk IMX8MM_CLK_VPU_DEC_ROOT>;
734 assigned-clocks = <&clk IMX8MM_CLK_VPU_BUS>;
735 assigned-clock-parents = <&clk IMX8MM_SYS_PLL1_800M>;
738 pgc_vpu_g1: power-domain@7 {
739 #power-domain-cells = <0>;
740 reg = <IMX8MM_POWER_DOMAIN_VPUG1>;
743 pgc_vpu_g2: power-domain@8 {
744 #power-domain-cells = <0>;
745 reg = <IMX8MM_POWER_DOMAIN_VPUG2>;
748 pgc_vpu_h1: power-domain@9 {
749 #power-domain-cells = <0>;
750 reg = <IMX8MM_POWER_DOMAIN_VPUH1>;
753 pgc_dispmix: power-domain@10 {
754 #power-domain-cells = <0>;
755 reg = <IMX8MM_POWER_DOMAIN_DISPMIX>;
756 clocks = <&clk IMX8MM_CLK_DISP_APB_ROOT>,
757 <&clk IMX8MM_CLK_DISP_AXI_ROOT>;
758 assigned-clocks = <&clk IMX8MM_CLK_DISP_AXI>,
759 <&clk IMX8MM_CLK_DISP_APB>;
760 assigned-clock-parents = <&clk IMX8MM_SYS_PLL2_1000M>,
761 <&clk IMX8MM_SYS_PLL1_800M>;
762 assigned-clock-rates = <500000000>, <200000000>;
765 pgc_mipi: power-domain@11 {
766 #power-domain-cells = <0>;
767 reg = <IMX8MM_POWER_DOMAIN_MIPI>;
773 aips2: bus@30400000 {
774 compatible = "fsl,aips-bus", "simple-bus";
775 reg = <0x30400000 0x400000>;
776 #address-cells = <1>;
778 ranges = <0x30400000 0x30400000 0x400000>;
781 compatible = "fsl,imx8mm-pwm", "fsl,imx27-pwm";
782 reg = <0x30660000 0x10000>;
783 interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>;
784 clocks = <&clk IMX8MM_CLK_PWM1_ROOT>,
785 <&clk IMX8MM_CLK_PWM1_ROOT>;
786 clock-names = "ipg", "per";
792 compatible = "fsl,imx8mm-pwm", "fsl,imx27-pwm";
793 reg = <0x30670000 0x10000>;
794 interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>;
795 clocks = <&clk IMX8MM_CLK_PWM2_ROOT>,
796 <&clk IMX8MM_CLK_PWM2_ROOT>;
797 clock-names = "ipg", "per";
803 compatible = "fsl,imx8mm-pwm", "fsl,imx27-pwm";
804 reg = <0x30680000 0x10000>;
805 interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
806 clocks = <&clk IMX8MM_CLK_PWM3_ROOT>,
807 <&clk IMX8MM_CLK_PWM3_ROOT>;
808 clock-names = "ipg", "per";
814 compatible = "fsl,imx8mm-pwm", "fsl,imx27-pwm";
815 reg = <0x30690000 0x10000>;
816 interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>;
817 clocks = <&clk IMX8MM_CLK_PWM4_ROOT>,
818 <&clk IMX8MM_CLK_PWM4_ROOT>;
819 clock-names = "ipg", "per";
824 system_counter: timer@306a0000 {
825 compatible = "nxp,sysctr-timer";
826 reg = <0x306a0000 0x20000>;
827 interrupts = <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>;
833 aips3: bus@30800000 {
834 compatible = "fsl,aips-bus", "simple-bus";
835 reg = <0x30800000 0x400000>;
836 #address-cells = <1>;
838 ranges = <0x30800000 0x30800000 0x400000>,
839 <0x8000000 0x8000000 0x10000000>;
841 spba1: spba-bus@30800000 {
842 compatible = "fsl,spba-bus", "simple-bus";
843 #address-cells = <1>;
845 reg = <0x30800000 0x100000>;
848 ecspi1: spi@30820000 {
849 compatible = "fsl,imx8mm-ecspi", "fsl,imx51-ecspi";
850 #address-cells = <1>;
852 reg = <0x30820000 0x10000>;
853 interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>;
854 clocks = <&clk IMX8MM_CLK_ECSPI1_ROOT>,
855 <&clk IMX8MM_CLK_ECSPI1_ROOT>;
856 clock-names = "ipg", "per";
857 dmas = <&sdma1 0 7 1>, <&sdma1 1 7 2>;
858 dma-names = "rx", "tx";
862 ecspi2: spi@30830000 {
863 compatible = "fsl,imx8mm-ecspi", "fsl,imx51-ecspi";
864 #address-cells = <1>;
866 reg = <0x30830000 0x10000>;
867 interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
868 clocks = <&clk IMX8MM_CLK_ECSPI2_ROOT>,
869 <&clk IMX8MM_CLK_ECSPI2_ROOT>;
870 clock-names = "ipg", "per";
871 dmas = <&sdma1 2 7 1>, <&sdma1 3 7 2>;
872 dma-names = "rx", "tx";
876 ecspi3: spi@30840000 {
877 compatible = "fsl,imx8mm-ecspi", "fsl,imx51-ecspi";
878 #address-cells = <1>;
880 reg = <0x30840000 0x10000>;
881 interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>;
882 clocks = <&clk IMX8MM_CLK_ECSPI3_ROOT>,
883 <&clk IMX8MM_CLK_ECSPI3_ROOT>;
884 clock-names = "ipg", "per";
885 dmas = <&sdma1 4 7 1>, <&sdma1 5 7 2>;
886 dma-names = "rx", "tx";
890 uart1: serial@30860000 {
891 compatible = "fsl,imx8mm-uart", "fsl,imx6q-uart";
892 reg = <0x30860000 0x10000>;
893 interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
894 clocks = <&clk IMX8MM_CLK_UART1_ROOT>,
895 <&clk IMX8MM_CLK_UART1_ROOT>;
896 clock-names = "ipg", "per";
897 dmas = <&sdma1 22 4 0>, <&sdma1 23 4 0>;
898 dma-names = "rx", "tx";
902 uart3: serial@30880000 {
903 compatible = "fsl,imx8mm-uart", "fsl,imx6q-uart";
904 reg = <0x30880000 0x10000>;
905 interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>;
906 clocks = <&clk IMX8MM_CLK_UART3_ROOT>,
907 <&clk IMX8MM_CLK_UART3_ROOT>;
908 clock-names = "ipg", "per";
909 dmas = <&sdma1 26 4 0>, <&sdma1 27 4 0>;
910 dma-names = "rx", "tx";
914 uart2: serial@30890000 {
915 compatible = "fsl,imx8mm-uart", "fsl,imx6q-uart";
916 reg = <0x30890000 0x10000>;
917 interrupts = <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH>;
918 clocks = <&clk IMX8MM_CLK_UART2_ROOT>,
919 <&clk IMX8MM_CLK_UART2_ROOT>;
920 clock-names = "ipg", "per";
925 crypto: crypto@30900000 {
926 compatible = "fsl,sec-v4.0";
927 #address-cells = <1>;
929 reg = <0x30900000 0x40000>;
930 ranges = <0 0x30900000 0x40000>;
931 interrupts = <GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH>;
932 clocks = <&clk IMX8MM_CLK_AHB>,
933 <&clk IMX8MM_CLK_IPG_ROOT>;
934 clock-names = "aclk", "ipg";
937 compatible = "fsl,sec-v4.0-job-ring";
938 reg = <0x1000 0x1000>;
939 interrupts = <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>;
944 compatible = "fsl,sec-v4.0-job-ring";
945 reg = <0x2000 0x1000>;
946 interrupts = <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>;
950 compatible = "fsl,sec-v4.0-job-ring";
951 reg = <0x3000 0x1000>;
952 interrupts = <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>;
957 compatible = "fsl,imx8mm-i2c", "fsl,imx21-i2c";
958 #address-cells = <1>;
960 reg = <0x30a20000 0x10000>;
961 interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>;
962 clocks = <&clk IMX8MM_CLK_I2C1_ROOT>;
967 compatible = "fsl,imx8mm-i2c", "fsl,imx21-i2c";
968 #address-cells = <1>;
970 reg = <0x30a30000 0x10000>;
971 interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
972 clocks = <&clk IMX8MM_CLK_I2C2_ROOT>;
977 #address-cells = <1>;
979 compatible = "fsl,imx8mm-i2c", "fsl,imx21-i2c";
980 reg = <0x30a40000 0x10000>;
981 interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
982 clocks = <&clk IMX8MM_CLK_I2C3_ROOT>;
987 compatible = "fsl,imx8mm-i2c", "fsl,imx21-i2c";
988 #address-cells = <1>;
990 reg = <0x30a50000 0x10000>;
991 interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>;
992 clocks = <&clk IMX8MM_CLK_I2C4_ROOT>;
996 uart4: serial@30a60000 {
997 compatible = "fsl,imx8mm-uart", "fsl,imx6q-uart";
998 reg = <0x30a60000 0x10000>;
999 interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>;
1000 clocks = <&clk IMX8MM_CLK_UART4_ROOT>,
1001 <&clk IMX8MM_CLK_UART4_ROOT>;
1002 clock-names = "ipg", "per";
1003 dmas = <&sdma1 28 4 0>, <&sdma1 29 4 0>;
1004 dma-names = "rx", "tx";
1005 status = "disabled";
1008 mu: mailbox@30aa0000 {
1009 compatible = "fsl,imx8mm-mu", "fsl,imx6sx-mu";
1010 reg = <0x30aa0000 0x10000>;
1011 interrupts = <GIC_SPI 88 IRQ_TYPE_LEVEL_HIGH>;
1012 clocks = <&clk IMX8MM_CLK_MU_ROOT>;
1016 usdhc1: mmc@30b40000 {
1017 compatible = "fsl,imx8mm-usdhc", "fsl,imx7d-usdhc";
1018 reg = <0x30b40000 0x10000>;
1019 interrupts = <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>;
1020 clocks = <&clk IMX8MM_CLK_IPG_ROOT>,
1021 <&clk IMX8MM_CLK_NAND_USDHC_BUS>,
1022 <&clk IMX8MM_CLK_USDHC1_ROOT>;
1023 clock-names = "ipg", "ahb", "per";
1024 fsl,tuning-start-tap = <20>;
1025 fsl,tuning-step = <2>;
1027 status = "disabled";
1030 usdhc2: mmc@30b50000 {
1031 compatible = "fsl,imx8mm-usdhc", "fsl,imx7d-usdhc";
1032 reg = <0x30b50000 0x10000>;
1033 interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
1034 clocks = <&clk IMX8MM_CLK_IPG_ROOT>,
1035 <&clk IMX8MM_CLK_NAND_USDHC_BUS>,
1036 <&clk IMX8MM_CLK_USDHC2_ROOT>;
1037 clock-names = "ipg", "ahb", "per";
1038 fsl,tuning-start-tap = <20>;
1039 fsl,tuning-step = <2>;
1041 status = "disabled";
1044 usdhc3: mmc@30b60000 {
1045 compatible = "fsl,imx8mm-usdhc", "fsl,imx7d-usdhc";
1046 reg = <0x30b60000 0x10000>;
1047 interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>;
1048 clocks = <&clk IMX8MM_CLK_IPG_ROOT>,
1049 <&clk IMX8MM_CLK_NAND_USDHC_BUS>,
1050 <&clk IMX8MM_CLK_USDHC3_ROOT>;
1051 clock-names = "ipg", "ahb", "per";
1052 fsl,tuning-start-tap = <20>;
1053 fsl,tuning-step = <2>;
1055 status = "disabled";
1058 flexspi: spi@30bb0000 {
1059 #address-cells = <1>;
1061 compatible = "nxp,imx8mm-fspi";
1062 reg = <0x30bb0000 0x10000>, <0x8000000 0x10000000>;
1063 reg-names = "fspi_base", "fspi_mmap";
1064 interrupts = <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>;
1065 clocks = <&clk IMX8MM_CLK_QSPI_ROOT>,
1066 <&clk IMX8MM_CLK_QSPI_ROOT>;
1067 clock-names = "fspi_en", "fspi";
1068 status = "disabled";
1071 sdma1: dma-controller@30bd0000 {
1072 compatible = "fsl,imx8mm-sdma", "fsl,imx8mq-sdma";
1073 reg = <0x30bd0000 0x10000>;
1074 interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>;
1075 clocks = <&clk IMX8MM_CLK_SDMA1_ROOT>,
1076 <&clk IMX8MM_CLK_AHB>;
1077 clock-names = "ipg", "ahb";
1079 fsl,sdma-ram-script-name = "imx/sdma/sdma-imx7d.bin";
1082 fec1: ethernet@30be0000 {
1083 compatible = "fsl,imx8mm-fec", "fsl,imx8mq-fec", "fsl,imx6sx-fec";
1084 reg = <0x30be0000 0x10000>;
1085 interrupts = <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>,
1086 <GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH>,
1087 <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>,
1088 <GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>;
1089 clocks = <&clk IMX8MM_CLK_ENET1_ROOT>,
1090 <&clk IMX8MM_CLK_ENET1_ROOT>,
1091 <&clk IMX8MM_CLK_ENET_TIMER>,
1092 <&clk IMX8MM_CLK_ENET_REF>,
1093 <&clk IMX8MM_CLK_ENET_PHY_REF>;
1094 clock-names = "ipg", "ahb", "ptp",
1095 "enet_clk_ref", "enet_out";
1096 assigned-clocks = <&clk IMX8MM_CLK_ENET_AXI>,
1097 <&clk IMX8MM_CLK_ENET_TIMER>,
1098 <&clk IMX8MM_CLK_ENET_REF>,
1099 <&clk IMX8MM_CLK_ENET_PHY_REF>;
1100 assigned-clock-parents = <&clk IMX8MM_SYS_PLL1_266M>,
1101 <&clk IMX8MM_SYS_PLL2_100M>,
1102 <&clk IMX8MM_SYS_PLL2_125M>,
1103 <&clk IMX8MM_SYS_PLL2_50M>;
1104 assigned-clock-rates = <0>, <100000000>, <125000000>, <0>;
1105 fsl,num-tx-queues = <3>;
1106 fsl,num-rx-queues = <3>;
1107 nvmem-cells = <&fec_mac_address>;
1108 nvmem-cell-names = "mac-address";
1109 fsl,stop-mode = <&gpr 0x10 3>;
1110 status = "disabled";
1115 aips4: bus@32c00000 {
1116 compatible = "fsl,aips-bus", "simple-bus";
1117 reg = <0x32c00000 0x400000>;
1118 #address-cells = <1>;
1120 ranges = <0x32c00000 0x32c00000 0x400000>;
1122 lcdif: lcdif@32e00000 {
1123 compatible = "fsl,imx8mm-lcdif", "fsl,imx6sx-lcdif";
1124 reg = <0x32e00000 0x10000>;
1125 clocks = <&clk IMX8MM_CLK_LCDIF_PIXEL>,
1126 <&clk IMX8MM_CLK_DISP_APB_ROOT>,
1127 <&clk IMX8MM_CLK_DISP_AXI_ROOT>;
1128 clock-names = "pix", "axi", "disp_axi";
1129 assigned-clocks = <&clk IMX8MM_CLK_LCDIF_PIXEL>,
1130 <&clk IMX8MM_CLK_DISP_AXI>,
1131 <&clk IMX8MM_CLK_DISP_APB>;
1132 assigned-clock-parents = <&clk IMX8MM_VIDEO_PLL1_OUT>,
1133 <&clk IMX8MM_SYS_PLL2_1000M>,
1134 <&clk IMX8MM_SYS_PLL1_800M>;
1135 assigned-clock-rates = <594000000>, <500000000>, <200000000>;
1136 interrupts = <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
1137 power-domains = <&disp_blk_ctrl IMX8MM_DISPBLK_PD_LCDIF>;
1138 status = "disabled";
1141 lcdif_to_dsim: endpoint {
1142 remote-endpoint = <&dsim_from_lcdif>;
1147 mipi_dsi: dsi@32e10000 {
1148 compatible = "fsl,imx8mm-mipi-dsim";
1149 reg = <0x32e10000 0x400>;
1150 clocks = <&clk IMX8MM_CLK_DSI_CORE>,
1151 <&clk IMX8MM_CLK_DSI_PHY_REF>;
1152 clock-names = "bus_clk", "sclk_mipi";
1153 assigned-clocks = <&clk IMX8MM_CLK_DSI_CORE>,
1154 <&clk IMX8MM_CLK_DSI_PHY_REF>;
1155 assigned-clock-parents = <&clk IMX8MM_SYS_PLL1_266M>,
1156 <&clk IMX8MM_CLK_24M>;
1157 assigned-clock-rates = <266000000>, <24000000>;
1158 samsung,pll-clock-frequency = <24000000>;
1159 interrupts = <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>;
1160 power-domains = <&disp_blk_ctrl IMX8MM_DISPBLK_PD_MIPI_DSI>;
1161 status = "disabled";
1164 #address-cells = <1>;
1170 dsim_from_lcdif: endpoint {
1171 remote-endpoint = <&lcdif_to_dsim>;
1178 compatible = "fsl,imx8mm-csi", "fsl,imx7-csi";
1179 reg = <0x32e20000 0x1000>;
1180 interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
1181 clocks = <&clk IMX8MM_CLK_CSI1_ROOT>;
1182 clock-names = "mclk";
1183 power-domains = <&disp_blk_ctrl IMX8MM_DISPBLK_PD_CSI_BRIDGE>;
1184 status = "disabled";
1188 remote-endpoint = <&imx8mm_mipi_csi_out>;
1193 disp_blk_ctrl: blk-ctrl@32e28000 {
1194 compatible = "fsl,imx8mm-disp-blk-ctrl", "syscon";
1195 reg = <0x32e28000 0x100>;
1196 power-domains = <&pgc_dispmix>, <&pgc_dispmix>,
1197 <&pgc_dispmix>, <&pgc_mipi>,
1199 power-domain-names = "bus", "csi-bridge",
1200 "lcdif", "mipi-dsi",
1202 clocks = <&clk IMX8MM_CLK_DISP_AXI_ROOT>,
1203 <&clk IMX8MM_CLK_DISP_APB_ROOT>,
1204 <&clk IMX8MM_CLK_CSI1_ROOT>,
1205 <&clk IMX8MM_CLK_DISP_AXI_ROOT>,
1206 <&clk IMX8MM_CLK_DISP_APB_ROOT>,
1207 <&clk IMX8MM_CLK_DISP_ROOT>,
1208 <&clk IMX8MM_CLK_DSI_CORE>,
1209 <&clk IMX8MM_CLK_DSI_PHY_REF>,
1210 <&clk IMX8MM_CLK_CSI1_CORE>,
1211 <&clk IMX8MM_CLK_CSI1_PHY_REF>;
1212 clock-names = "csi-bridge-axi","csi-bridge-apb",
1213 "csi-bridge-core", "lcdif-axi",
1214 "lcdif-apb", "lcdif-pix",
1215 "dsi-pclk", "dsi-ref",
1216 "csi-aclk", "csi-pclk";
1217 #power-domain-cells = <1>;
1220 mipi_csi: mipi-csi@32e30000 {
1221 compatible = "fsl,imx8mm-mipi-csi2";
1222 reg = <0x32e30000 0x1000>;
1223 interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>;
1224 assigned-clocks = <&clk IMX8MM_CLK_CSI1_CORE>;
1225 assigned-clock-parents = <&clk IMX8MM_SYS_PLL2_1000M>;
1227 clock-frequency = <333000000>;
1228 clocks = <&clk IMX8MM_CLK_DISP_APB_ROOT>,
1229 <&clk IMX8MM_CLK_CSI1_ROOT>,
1230 <&clk IMX8MM_CLK_CSI1_PHY_REF>,
1231 <&clk IMX8MM_CLK_DISP_AXI_ROOT>;
1232 clock-names = "pclk", "wrap", "phy", "axi";
1233 power-domains = <&disp_blk_ctrl IMX8MM_DISPBLK_PD_MIPI_CSI>;
1234 status = "disabled";
1237 #address-cells = <1>;
1247 imx8mm_mipi_csi_out: endpoint {
1248 remote-endpoint = <&csi_in>;
1254 usbotg1: usb@32e40000 {
1255 compatible = "fsl,imx8mm-usb", "fsl,imx7d-usb", "fsl,imx27-usb";
1256 reg = <0x32e40000 0x200>;
1257 interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>;
1258 clocks = <&clk IMX8MM_CLK_USB1_CTRL_ROOT>;
1259 clock-names = "usb1_ctrl_root_clk";
1260 assigned-clocks = <&clk IMX8MM_CLK_USB_BUS>;
1261 assigned-clock-parents = <&clk IMX8MM_SYS_PLL2_500M>;
1262 phys = <&usbphynop1>;
1263 fsl,usbmisc = <&usbmisc1 0>;
1264 power-domains = <&pgc_hsiomix>;
1265 status = "disabled";
1268 usbmisc1: usbmisc@32e40200 {
1269 compatible = "fsl,imx8mm-usbmisc", "fsl,imx7d-usbmisc",
1270 "fsl,imx6q-usbmisc";
1272 reg = <0x32e40200 0x200>;
1275 usbotg2: usb@32e50000 {
1276 compatible = "fsl,imx8mm-usb", "fsl,imx7d-usb", "fsl,imx27-usb";
1277 reg = <0x32e50000 0x200>;
1278 interrupts = <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>;
1279 clocks = <&clk IMX8MM_CLK_USB1_CTRL_ROOT>;
1280 clock-names = "usb1_ctrl_root_clk";
1281 assigned-clocks = <&clk IMX8MM_CLK_USB_BUS>;
1282 assigned-clock-parents = <&clk IMX8MM_SYS_PLL2_500M>;
1283 phys = <&usbphynop2>;
1284 fsl,usbmisc = <&usbmisc2 0>;
1285 power-domains = <&pgc_hsiomix>;
1286 status = "disabled";
1289 usbmisc2: usbmisc@32e50200 {
1290 compatible = "fsl,imx8mm-usbmisc", "fsl,imx7d-usbmisc",
1291 "fsl,imx6q-usbmisc";
1293 reg = <0x32e50200 0x200>;
1296 pcie_phy: pcie-phy@32f00000 {
1297 compatible = "fsl,imx8mm-pcie-phy";
1298 reg = <0x32f00000 0x10000>;
1299 clocks = <&clk IMX8MM_CLK_PCIE1_PHY>;
1300 clock-names = "ref";
1301 assigned-clocks = <&clk IMX8MM_CLK_PCIE1_PHY>;
1302 assigned-clock-rates = <100000000>;
1303 assigned-clock-parents = <&clk IMX8MM_SYS_PLL2_100M>;
1304 resets = <&src IMX8MQ_RESET_PCIEPHY>;
1305 reset-names = "pciephy";
1307 status = "disabled";
1311 dma_apbh: dma-controller@33000000 {
1312 compatible = "fsl,imx7d-dma-apbh", "fsl,imx28-dma-apbh";
1313 reg = <0x33000000 0x2000>;
1314 interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>,
1315 <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>,
1316 <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>,
1317 <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
1320 clocks = <&clk IMX8MM_CLK_NAND_USDHC_BUS_RAWNAND_CLK>;
1323 gpmi: nand-controller@33002000 {
1324 compatible = "fsl,imx8mm-gpmi-nand", "fsl,imx7d-gpmi-nand";
1325 #address-cells = <1>;
1327 reg = <0x33002000 0x2000>, <0x33004000 0x4000>;
1328 reg-names = "gpmi-nand", "bch";
1329 interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
1330 interrupt-names = "bch";
1331 clocks = <&clk IMX8MM_CLK_NAND_ROOT>,
1332 <&clk IMX8MM_CLK_NAND_USDHC_BUS_RAWNAND_CLK>;
1333 clock-names = "gpmi_io", "gpmi_bch_apb";
1334 dmas = <&dma_apbh 0>;
1335 dma-names = "rx-tx";
1336 status = "disabled";
1339 pcie0: pcie@33800000 {
1340 compatible = "fsl,imx8mm-pcie";
1341 reg = <0x33800000 0x400000>, <0x1ff00000 0x80000>;
1342 reg-names = "dbi", "config";
1343 #address-cells = <3>;
1345 device_type = "pci";
1346 bus-range = <0x00 0xff>;
1347 ranges = <0x81000000 0 0x00000000 0x1ff80000 0 0x00010000 /* downstream I/O 64KB */
1348 0x82000000 0 0x18000000 0x18000000 0 0x07f00000>; /* non-prefetchable memory */
1351 interrupts = <GIC_SPI 122 IRQ_TYPE_LEVEL_HIGH>;
1352 interrupt-names = "msi";
1353 #interrupt-cells = <1>;
1354 interrupt-map-mask = <0 0 0 0x7>;
1355 interrupt-map = <0 0 0 1 &gic GIC_SPI 125 IRQ_TYPE_LEVEL_HIGH>,
1356 <0 0 0 2 &gic GIC_SPI 124 IRQ_TYPE_LEVEL_HIGH>,
1357 <0 0 0 3 &gic GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>,
1358 <0 0 0 4 &gic GIC_SPI 122 IRQ_TYPE_LEVEL_HIGH>;
1359 fsl,max-link-speed = <2>;
1360 linux,pci-domain = <0>;
1361 clocks = <&clk IMX8MM_CLK_PCIE1_ROOT>,
1362 <&clk IMX8MM_CLK_PCIE1_PHY>,
1363 <&clk IMX8MM_CLK_PCIE1_AUX>;
1364 clock-names = "pcie", "pcie_bus", "pcie_aux";
1365 power-domains = <&pgc_pcie>;
1366 resets = <&src IMX8MQ_RESET_PCIE_CTRL_APPS_EN>,
1367 <&src IMX8MQ_RESET_PCIE_CTRL_APPS_TURNOFF>;
1368 reset-names = "apps", "turnoff";
1370 phy-names = "pcie-phy";
1371 status = "disabled";
1374 pcie0_ep: pcie-ep@33800000 {
1375 compatible = "fsl,imx8mm-pcie-ep";
1376 reg = <0x33800000 0x400000>,
1377 <0x18000000 0x8000000>;
1378 reg-names = "dbi", "addr_space";
1380 interrupts = <GIC_SPI 127 IRQ_TYPE_LEVEL_HIGH>;
1381 interrupt-names = "dma";
1382 fsl,max-link-speed = <2>;
1383 clocks = <&clk IMX8MM_CLK_PCIE1_ROOT>,
1384 <&clk IMX8MM_CLK_PCIE1_PHY>,
1385 <&clk IMX8MM_CLK_PCIE1_AUX>;
1386 clock-names = "pcie", "pcie_bus", "pcie_aux";
1387 power-domains = <&pgc_pcie>;
1388 resets = <&src IMX8MQ_RESET_PCIE_CTRL_APPS_EN>,
1389 <&src IMX8MQ_RESET_PCIE_CTRL_APPS_TURNOFF>;
1390 reset-names = "apps", "turnoff";
1392 phy-names = "pcie-phy";
1393 num-ib-windows = <4>;
1394 num-ob-windows = <4>;
1395 status = "disabled";
1398 gpu_3d: gpu@38000000 {
1399 compatible = "vivante,gc";
1400 reg = <0x38000000 0x8000>;
1401 interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>;
1402 clocks = <&clk IMX8MM_CLK_GPU_AHB>,
1403 <&clk IMX8MM_CLK_GPU_BUS_ROOT>,
1404 <&clk IMX8MM_CLK_GPU3D_ROOT>,
1405 <&clk IMX8MM_CLK_GPU3D_ROOT>;
1406 clock-names = "reg", "bus", "core", "shader";
1407 assigned-clocks = <&clk IMX8MM_CLK_GPU3D_CORE>,
1408 <&clk IMX8MM_GPU_PLL_OUT>;
1409 assigned-clock-parents = <&clk IMX8MM_GPU_PLL_OUT>;
1410 assigned-clock-rates = <0>, <1000000000>;
1411 power-domains = <&pgc_gpu>;
1414 gpu_2d: gpu@38008000 {
1415 compatible = "vivante,gc";
1416 reg = <0x38008000 0x8000>;
1417 interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>;
1418 clocks = <&clk IMX8MM_CLK_GPU_AHB>,
1419 <&clk IMX8MM_CLK_GPU_BUS_ROOT>,
1420 <&clk IMX8MM_CLK_GPU2D_ROOT>;
1421 clock-names = "reg", "bus", "core";
1422 assigned-clocks = <&clk IMX8MM_CLK_GPU2D_CORE>,
1423 <&clk IMX8MM_GPU_PLL_OUT>;
1424 assigned-clock-parents = <&clk IMX8MM_GPU_PLL_OUT>;
1425 assigned-clock-rates = <0>, <1000000000>;
1426 power-domains = <&pgc_gpu>;
1429 vpu_g1: video-codec@38300000 {
1430 compatible = "nxp,imx8mm-vpu-g1";
1431 reg = <0x38300000 0x10000>;
1432 interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
1433 clocks = <&clk IMX8MM_CLK_VPU_G1_ROOT>;
1434 power-domains = <&vpu_blk_ctrl IMX8MM_VPUBLK_PD_G1>;
1437 vpu_g2: video-codec@38310000 {
1438 compatible = "nxp,imx8mq-vpu-g2";
1439 reg = <0x38310000 0x10000>;
1440 interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
1441 clocks = <&clk IMX8MM_CLK_VPU_G2_ROOT>;
1442 power-domains = <&vpu_blk_ctrl IMX8MM_VPUBLK_PD_G2>;
1445 vpu_blk_ctrl: blk-ctrl@38330000 {
1446 compatible = "fsl,imx8mm-vpu-blk-ctrl", "syscon";
1447 reg = <0x38330000 0x100>;
1448 power-domains = <&pgc_vpumix>, <&pgc_vpu_g1>,
1449 <&pgc_vpu_g2>, <&pgc_vpu_h1>;
1450 power-domain-names = "bus", "g1", "g2", "h1";
1451 clocks = <&clk IMX8MM_CLK_VPU_G1_ROOT>,
1452 <&clk IMX8MM_CLK_VPU_G2_ROOT>,
1453 <&clk IMX8MM_CLK_VPU_H1_ROOT>;
1454 clock-names = "g1", "g2", "h1";
1455 assigned-clocks = <&clk IMX8MM_CLK_VPU_G1>,
1456 <&clk IMX8MM_CLK_VPU_G2>;
1457 assigned-clock-parents = <&clk IMX8MM_VPU_PLL_OUT>,
1458 <&clk IMX8MM_VPU_PLL_OUT>;
1459 assigned-clock-rates = <600000000>,
1461 #power-domain-cells = <1>;
1464 gic: interrupt-controller@38800000 {
1465 compatible = "arm,gic-v3";
1466 reg = <0x38800000 0x10000>, /* GIC Dist */
1467 <0x38880000 0xc0000>; /* GICR (RD_base + SGI_base) */
1468 #interrupt-cells = <3>;
1469 interrupt-controller;
1470 interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>;
1473 ddrc: memory-controller@3d400000 {
1474 compatible = "fsl,imx8mm-ddrc", "fsl,imx8m-ddrc";
1475 reg = <0x3d400000 0x400000>;
1476 clock-names = "core", "pll", "alt", "apb";
1477 clocks = <&clk IMX8MM_CLK_DRAM_CORE>,
1478 <&clk IMX8MM_DRAM_PLL>,
1479 <&clk IMX8MM_CLK_DRAM_ALT>,
1480 <&clk IMX8MM_CLK_DRAM_APB>;
1484 compatible = "fsl,imx8mm-ddr-pmu", "fsl,imx8m-ddr-pmu";
1485 reg = <0x3d800000 0x400000>;
1486 interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>;