xref: /openbmc/linux/arch/arm64/boot/dts/freescale/imx8mn.dtsi (revision c2a2f44649684489102de7a8a57d71992e293935)
16c3debcbSAnson Huang// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
26c3debcbSAnson Huang/*
36c3debcbSAnson Huang * Copyright 2019 NXP
46c3debcbSAnson Huang */
56c3debcbSAnson Huang
66c3debcbSAnson Huang#include <dt-bindings/clock/imx8mn-clock.h>
76c3debcbSAnson Huang#include <dt-bindings/gpio/gpio.h>
86c3debcbSAnson Huang#include <dt-bindings/input/input.h>
96c3debcbSAnson Huang#include <dt-bindings/interrupt-controller/arm-gic.h>
10819779a9SAnson Huang#include <dt-bindings/thermal/thermal.h>
116c3debcbSAnson Huang
126c3debcbSAnson Huang#include "imx8mn-pinfunc.h"
136c3debcbSAnson Huang
146c3debcbSAnson Huang/ {
156c3debcbSAnson Huang	interrupt-parent = <&gic>;
166c3debcbSAnson Huang	#address-cells = <2>;
176c3debcbSAnson Huang	#size-cells = <2>;
186c3debcbSAnson Huang
196c3debcbSAnson Huang	aliases {
206c3debcbSAnson Huang		ethernet0 = &fec1;
216c3debcbSAnson Huang		gpio0 = &gpio1;
226c3debcbSAnson Huang		gpio1 = &gpio2;
236c3debcbSAnson Huang		gpio2 = &gpio3;
246c3debcbSAnson Huang		gpio3 = &gpio4;
256c3debcbSAnson Huang		gpio4 = &gpio5;
266c3debcbSAnson Huang		i2c0 = &i2c1;
276c3debcbSAnson Huang		i2c1 = &i2c2;
286c3debcbSAnson Huang		i2c2 = &i2c3;
296c3debcbSAnson Huang		i2c3 = &i2c4;
306c3debcbSAnson Huang		mmc0 = &usdhc1;
316c3debcbSAnson Huang		mmc1 = &usdhc2;
326c3debcbSAnson Huang		mmc2 = &usdhc3;
336c3debcbSAnson Huang		serial0 = &uart1;
346c3debcbSAnson Huang		serial1 = &uart2;
356c3debcbSAnson Huang		serial2 = &uart3;
366c3debcbSAnson Huang		serial3 = &uart4;
376c3debcbSAnson Huang		spi0 = &ecspi1;
386c3debcbSAnson Huang		spi1 = &ecspi2;
396c3debcbSAnson Huang		spi2 = &ecspi3;
406c3debcbSAnson Huang	};
416c3debcbSAnson Huang
426c3debcbSAnson Huang	cpus {
436c3debcbSAnson Huang		#address-cells = <1>;
446c3debcbSAnson Huang		#size-cells = <0>;
456c3debcbSAnson Huang
46df844a9aSAnson Huang		idle-states {
47df844a9aSAnson Huang			entry-method = "psci";
48df844a9aSAnson Huang
49df844a9aSAnson Huang			cpu_pd_wait: cpu-pd-wait {
50df844a9aSAnson Huang				compatible = "arm,idle-state";
51df844a9aSAnson Huang				arm,psci-suspend-param = <0x0010033>;
52df844a9aSAnson Huang				local-timer-stop;
53df844a9aSAnson Huang				entry-latency-us = <1000>;
54df844a9aSAnson Huang				exit-latency-us = <700>;
55df844a9aSAnson Huang				min-residency-us = <2700>;
56df844a9aSAnson Huang			};
57df844a9aSAnson Huang		};
58df844a9aSAnson Huang
596c3debcbSAnson Huang		A53_0: cpu@0 {
606c3debcbSAnson Huang			device_type = "cpu";
616c3debcbSAnson Huang			compatible = "arm,cortex-a53";
626c3debcbSAnson Huang			reg = <0x0>;
636c3debcbSAnson Huang			clock-latency = <61036>;
646c3debcbSAnson Huang			clocks = <&clk IMX8MN_CLK_ARM>;
656c3debcbSAnson Huang			enable-method = "psci";
666c3debcbSAnson Huang			next-level-cache = <&A53_L2>;
6701c49314SAnson Huang			operating-points-v2 = <&a53_opp_table>;
6801c49314SAnson Huang			nvmem-cells = <&cpu_speed_grade>;
6901c49314SAnson Huang			nvmem-cell-names = "speed_grade";
70df844a9aSAnson Huang			cpu-idle-states = <&cpu_pd_wait>;
71819779a9SAnson Huang			#cooling-cells = <2>;
726c3debcbSAnson Huang		};
736c3debcbSAnson Huang
746c3debcbSAnson Huang		A53_1: cpu@1 {
756c3debcbSAnson Huang			device_type = "cpu";
766c3debcbSAnson Huang			compatible = "arm,cortex-a53";
776c3debcbSAnson Huang			reg = <0x1>;
786c3debcbSAnson Huang			clock-latency = <61036>;
796c3debcbSAnson Huang			clocks = <&clk IMX8MN_CLK_ARM>;
806c3debcbSAnson Huang			enable-method = "psci";
816c3debcbSAnson Huang			next-level-cache = <&A53_L2>;
8201c49314SAnson Huang			operating-points-v2 = <&a53_opp_table>;
83df844a9aSAnson Huang			cpu-idle-states = <&cpu_pd_wait>;
84819779a9SAnson Huang			#cooling-cells = <2>;
856c3debcbSAnson Huang		};
866c3debcbSAnson Huang
876c3debcbSAnson Huang		A53_2: cpu@2 {
886c3debcbSAnson Huang			device_type = "cpu";
896c3debcbSAnson Huang			compatible = "arm,cortex-a53";
906c3debcbSAnson Huang			reg = <0x2>;
916c3debcbSAnson Huang			clock-latency = <61036>;
926c3debcbSAnson Huang			clocks = <&clk IMX8MN_CLK_ARM>;
936c3debcbSAnson Huang			enable-method = "psci";
946c3debcbSAnson Huang			next-level-cache = <&A53_L2>;
9501c49314SAnson Huang			operating-points-v2 = <&a53_opp_table>;
96df844a9aSAnson Huang			cpu-idle-states = <&cpu_pd_wait>;
97819779a9SAnson Huang			#cooling-cells = <2>;
986c3debcbSAnson Huang		};
996c3debcbSAnson Huang
1006c3debcbSAnson Huang		A53_3: cpu@3 {
1016c3debcbSAnson Huang			device_type = "cpu";
1026c3debcbSAnson Huang			compatible = "arm,cortex-a53";
1036c3debcbSAnson Huang			reg = <0x3>;
1046c3debcbSAnson Huang			clock-latency = <61036>;
1056c3debcbSAnson Huang			clocks = <&clk IMX8MN_CLK_ARM>;
1066c3debcbSAnson Huang			enable-method = "psci";
1076c3debcbSAnson Huang			next-level-cache = <&A53_L2>;
10801c49314SAnson Huang			operating-points-v2 = <&a53_opp_table>;
109df844a9aSAnson Huang			cpu-idle-states = <&cpu_pd_wait>;
110819779a9SAnson Huang			#cooling-cells = <2>;
1116c3debcbSAnson Huang		};
1126c3debcbSAnson Huang
1136c3debcbSAnson Huang		A53_L2: l2-cache0 {
1146c3debcbSAnson Huang			compatible = "cache";
1156c3debcbSAnson Huang		};
1166c3debcbSAnson Huang	};
1176c3debcbSAnson Huang
11801c49314SAnson Huang	a53_opp_table: opp-table {
11901c49314SAnson Huang		compatible = "operating-points-v2";
12001c49314SAnson Huang		opp-shared;
12101c49314SAnson Huang
12201c49314SAnson Huang		opp-1200000000 {
12301c49314SAnson Huang			opp-hz = /bits/ 64 <1200000000>;
12480b06c5cSAnson Huang			opp-microvolt = <950000>;
12501c49314SAnson Huang			opp-supported-hw = <0xb00>, <0x7>;
12601c49314SAnson Huang			clock-latency-ns = <150000>;
12701c49314SAnson Huang			opp-suspend;
12801c49314SAnson Huang		};
12901c49314SAnson Huang
13001c49314SAnson Huang		opp-1400000000 {
13101c49314SAnson Huang			opp-hz = /bits/ 64 <1400000000>;
13201c49314SAnson Huang			opp-microvolt = <950000>;
13301c49314SAnson Huang			opp-supported-hw = <0x300>, <0x7>;
13401c49314SAnson Huang			clock-latency-ns = <150000>;
13501c49314SAnson Huang			opp-suspend;
13601c49314SAnson Huang		};
13701c49314SAnson Huang
13801c49314SAnson Huang		opp-1500000000 {
13901c49314SAnson Huang			opp-hz = /bits/ 64 <1500000000>;
14001c49314SAnson Huang			opp-microvolt = <1000000>;
14101c49314SAnson Huang			opp-supported-hw = <0x100>, <0x3>;
14201c49314SAnson Huang			clock-latency-ns = <150000>;
14301c49314SAnson Huang			opp-suspend;
14401c49314SAnson Huang		};
14501c49314SAnson Huang	};
14601c49314SAnson Huang
1476c3debcbSAnson Huang	osc_32k: clock-osc-32k {
1486c3debcbSAnson Huang		compatible = "fixed-clock";
1496c3debcbSAnson Huang		#clock-cells = <0>;
1506c3debcbSAnson Huang		clock-frequency = <32768>;
1516c3debcbSAnson Huang		clock-output-names = "osc_32k";
1526c3debcbSAnson Huang	};
1536c3debcbSAnson Huang
1546c3debcbSAnson Huang	osc_24m: clock-osc-24m {
1556c3debcbSAnson Huang		compatible = "fixed-clock";
1566c3debcbSAnson Huang		#clock-cells = <0>;
1576c3debcbSAnson Huang		clock-frequency = <24000000>;
1586c3debcbSAnson Huang		clock-output-names = "osc_24m";
1596c3debcbSAnson Huang	};
1606c3debcbSAnson Huang
1616c3debcbSAnson Huang	clk_ext1: clock-ext1 {
1626c3debcbSAnson Huang		compatible = "fixed-clock";
1636c3debcbSAnson Huang		#clock-cells = <0>;
1646c3debcbSAnson Huang		clock-frequency = <133000000>;
1656c3debcbSAnson Huang		clock-output-names = "clk_ext1";
1666c3debcbSAnson Huang	};
1676c3debcbSAnson Huang
1686c3debcbSAnson Huang	clk_ext2: clock-ext2 {
1696c3debcbSAnson Huang		compatible = "fixed-clock";
1706c3debcbSAnson Huang		#clock-cells = <0>;
1716c3debcbSAnson Huang		clock-frequency = <133000000>;
1726c3debcbSAnson Huang		clock-output-names = "clk_ext2";
1736c3debcbSAnson Huang	};
1746c3debcbSAnson Huang
1756c3debcbSAnson Huang	clk_ext3: clock-ext3 {
1766c3debcbSAnson Huang		compatible = "fixed-clock";
1776c3debcbSAnson Huang		#clock-cells = <0>;
1786c3debcbSAnson Huang		clock-frequency = <133000000>;
1796c3debcbSAnson Huang		clock-output-names = "clk_ext3";
1806c3debcbSAnson Huang	};
1816c3debcbSAnson Huang
1826c3debcbSAnson Huang	clk_ext4: clock-ext4 {
1836c3debcbSAnson Huang		compatible = "fixed-clock";
1846c3debcbSAnson Huang		#clock-cells = <0>;
1856c3debcbSAnson Huang		clock-frequency= <133000000>;
1866c3debcbSAnson Huang		clock-output-names = "clk_ext4";
1876c3debcbSAnson Huang	};
1886c3debcbSAnson Huang
1896c3debcbSAnson Huang	psci {
1906c3debcbSAnson Huang		compatible = "arm,psci-1.0";
1916c3debcbSAnson Huang		method = "smc";
1926c3debcbSAnson Huang	};
1936c3debcbSAnson Huang
194819779a9SAnson Huang	thermal-zones {
195819779a9SAnson Huang		cpu-thermal {
196819779a9SAnson Huang			polling-delay-passive = <250>;
197819779a9SAnson Huang			polling-delay = <2000>;
198819779a9SAnson Huang			thermal-sensors = <&tmu>;
199819779a9SAnson Huang			trips {
200819779a9SAnson Huang				cpu_alert0: trip0 {
201819779a9SAnson Huang					temperature = <85000>;
202819779a9SAnson Huang					hysteresis = <2000>;
203819779a9SAnson Huang					type = "passive";
204819779a9SAnson Huang				};
205819779a9SAnson Huang
206819779a9SAnson Huang				cpu_crit0: trip1 {
207819779a9SAnson Huang					temperature = <95000>;
208819779a9SAnson Huang					hysteresis = <2000>;
209819779a9SAnson Huang					type = "critical";
210819779a9SAnson Huang				};
211819779a9SAnson Huang			};
212819779a9SAnson Huang
213819779a9SAnson Huang			cooling-maps {
214819779a9SAnson Huang				map0 {
215819779a9SAnson Huang					trip = <&cpu_alert0>;
216819779a9SAnson Huang					cooling-device =
217819779a9SAnson Huang						<&A53_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
218819779a9SAnson Huang						<&A53_1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
219819779a9SAnson Huang						<&A53_2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
220819779a9SAnson Huang						<&A53_3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
221819779a9SAnson Huang				};
222819779a9SAnson Huang			};
223819779a9SAnson Huang		};
224819779a9SAnson Huang	};
225819779a9SAnson Huang
2266c3debcbSAnson Huang	timer {
2276c3debcbSAnson Huang		compatible = "arm,armv8-timer";
2286c3debcbSAnson Huang		interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(6) | IRQ_TYPE_LEVEL_LOW)>,
2296c3debcbSAnson Huang			     <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(6) | IRQ_TYPE_LEVEL_LOW)>,
2306c3debcbSAnson Huang			     <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(6) | IRQ_TYPE_LEVEL_LOW)>,
2316c3debcbSAnson Huang			     <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(6) | IRQ_TYPE_LEVEL_LOW)>;
2326c3debcbSAnson Huang		clock-frequency = <8000000>;
2336c3debcbSAnson Huang		arm,no-tick-in-suspend;
2346c3debcbSAnson Huang	};
2356c3debcbSAnson Huang
2366c3debcbSAnson Huang	soc@0 {
2376c3debcbSAnson Huang		compatible = "simple-bus";
2386c3debcbSAnson Huang		#address-cells = <1>;
2396c3debcbSAnson Huang		#size-cells = <1>;
2406c3debcbSAnson Huang		ranges = <0x0 0x0 0x0 0x3e000000>;
2416c3debcbSAnson Huang
2426c3debcbSAnson Huang		aips1: bus@30000000 {
243dc3efc6fSPeng Fan			compatible = "fsl,aips-bus", "simple-bus";
244dc3efc6fSPeng Fan			reg = <0x301f0000 0x10000>;
2456c3debcbSAnson Huang			#address-cells = <1>;
2466c3debcbSAnson Huang			#size-cells = <1>;
2476c3debcbSAnson Huang			ranges;
2486c3debcbSAnson Huang
2496c3debcbSAnson Huang			gpio1: gpio@30200000 {
2506c3debcbSAnson Huang				compatible = "fsl,imx8mn-gpio", "fsl,imx35-gpio";
2516c3debcbSAnson Huang				reg = <0x30200000 0x10000>;
2526c3debcbSAnson Huang				interrupts = <GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>,
2536c3debcbSAnson Huang					     <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>;
2546c3debcbSAnson Huang				clocks = <&clk IMX8MN_CLK_GPIO1_ROOT>;
2556c3debcbSAnson Huang				gpio-controller;
2566c3debcbSAnson Huang				#gpio-cells = <2>;
2576c3debcbSAnson Huang				interrupt-controller;
2586c3debcbSAnson Huang				#interrupt-cells = <2>;
259ee8696beSAnson Huang				gpio-ranges = <&iomuxc 0 10 30>;
2606c3debcbSAnson Huang			};
2616c3debcbSAnson Huang
2626c3debcbSAnson Huang			gpio2: gpio@30210000 {
2636c3debcbSAnson Huang				compatible = "fsl,imx8mn-gpio", "fsl,imx35-gpio";
2646c3debcbSAnson Huang				reg = <0x30210000 0x10000>;
2656c3debcbSAnson Huang				interrupts = <GIC_SPI 66 IRQ_TYPE_LEVEL_HIGH>,
2666c3debcbSAnson Huang					     <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>;
2676c3debcbSAnson Huang				clocks = <&clk IMX8MN_CLK_GPIO2_ROOT>;
2686c3debcbSAnson Huang				gpio-controller;
2696c3debcbSAnson Huang				#gpio-cells = <2>;
2706c3debcbSAnson Huang				interrupt-controller;
2716c3debcbSAnson Huang				#interrupt-cells = <2>;
272ee8696beSAnson Huang				gpio-ranges = <&iomuxc 0 40 21>;
2736c3debcbSAnson Huang			};
2746c3debcbSAnson Huang
2756c3debcbSAnson Huang			gpio3: gpio@30220000 {
2766c3debcbSAnson Huang				compatible = "fsl,imx8mn-gpio", "fsl,imx35-gpio";
2776c3debcbSAnson Huang				reg = <0x30220000 0x10000>;
2786c3debcbSAnson Huang				interrupts = <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>,
2796c3debcbSAnson Huang					     <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
2806c3debcbSAnson Huang				clocks = <&clk IMX8MN_CLK_GPIO3_ROOT>;
2816c3debcbSAnson Huang				gpio-controller;
2826c3debcbSAnson Huang				#gpio-cells = <2>;
2836c3debcbSAnson Huang				interrupt-controller;
2846c3debcbSAnson Huang				#interrupt-cells = <2>;
285ee8696beSAnson Huang				gpio-ranges = <&iomuxc 0 61 26>;
2866c3debcbSAnson Huang			};
2876c3debcbSAnson Huang
2886c3debcbSAnson Huang			gpio4: gpio@30230000 {
2896c3debcbSAnson Huang				compatible = "fsl,imx8mn-gpio", "fsl,imx35-gpio";
2906c3debcbSAnson Huang				reg = <0x30230000 0x10000>;
2916c3debcbSAnson Huang				interrupts = <GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>,
2926c3debcbSAnson Huang					     <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>;
2936c3debcbSAnson Huang				clocks = <&clk IMX8MN_CLK_GPIO4_ROOT>;
2946c3debcbSAnson Huang				gpio-controller;
2956c3debcbSAnson Huang				#gpio-cells = <2>;
2966c3debcbSAnson Huang				interrupt-controller;
2976c3debcbSAnson Huang				#interrupt-cells = <2>;
298ee8696beSAnson Huang				gpio-ranges = <&iomuxc 21 108 11>;
2996c3debcbSAnson Huang			};
3006c3debcbSAnson Huang
3016c3debcbSAnson Huang			gpio5: gpio@30240000 {
3026c3debcbSAnson Huang				compatible = "fsl,imx8mn-gpio", "fsl,imx35-gpio";
3036c3debcbSAnson Huang				reg = <0x30240000 0x10000>;
3046c3debcbSAnson Huang				interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>,
3056c3debcbSAnson Huang					     <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>;
3066c3debcbSAnson Huang				clocks = <&clk IMX8MN_CLK_GPIO5_ROOT>;
3076c3debcbSAnson Huang				gpio-controller;
3086c3debcbSAnson Huang				#gpio-cells = <2>;
3096c3debcbSAnson Huang				interrupt-controller;
3106c3debcbSAnson Huang				#interrupt-cells = <2>;
311ee8696beSAnson Huang				gpio-ranges = <&iomuxc 0 119 30>;
3126c3debcbSAnson Huang			};
3136c3debcbSAnson Huang
314819779a9SAnson Huang			tmu: tmu@30260000 {
315819779a9SAnson Huang				compatible = "fsl,imx8mn-tmu", "fsl,imx8mm-tmu";
316819779a9SAnson Huang				reg = <0x30260000 0x10000>;
317819779a9SAnson Huang				clocks = <&clk IMX8MN_CLK_TMU_ROOT>;
318819779a9SAnson Huang				#thermal-sensor-cells = <0>;
319819779a9SAnson Huang			};
320819779a9SAnson Huang
3216c3debcbSAnson Huang			wdog1: watchdog@30280000 {
3226c3debcbSAnson Huang				compatible = "fsl,imx8mn-wdt", "fsl,imx21-wdt";
3236c3debcbSAnson Huang				reg = <0x30280000 0x10000>;
3246c3debcbSAnson Huang				interrupts = <GIC_SPI 78 IRQ_TYPE_LEVEL_HIGH>;
3256c3debcbSAnson Huang				clocks = <&clk IMX8MN_CLK_WDOG1_ROOT>;
3266c3debcbSAnson Huang				status = "disabled";
3276c3debcbSAnson Huang			};
3286c3debcbSAnson Huang
3296c3debcbSAnson Huang			wdog2: watchdog@30290000 {
3306c3debcbSAnson Huang				compatible = "fsl,imx8mn-wdt", "fsl,imx21-wdt";
3316c3debcbSAnson Huang				reg = <0x30290000 0x10000>;
3326c3debcbSAnson Huang				interrupts = <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>;
3336c3debcbSAnson Huang				clocks = <&clk IMX8MN_CLK_WDOG2_ROOT>;
3346c3debcbSAnson Huang				status = "disabled";
3356c3debcbSAnson Huang			};
3366c3debcbSAnson Huang
3376c3debcbSAnson Huang			wdog3: watchdog@302a0000 {
3386c3debcbSAnson Huang				compatible = "fsl,imx8mn-wdt", "fsl,imx21-wdt";
3396c3debcbSAnson Huang				reg = <0x302a0000 0x10000>;
3406c3debcbSAnson Huang				interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
3416c3debcbSAnson Huang				clocks = <&clk IMX8MN_CLK_WDOG3_ROOT>;
3426c3debcbSAnson Huang				status = "disabled";
3436c3debcbSAnson Huang			};
3446c3debcbSAnson Huang
3456c3debcbSAnson Huang			sdma3: dma-controller@302b0000 {
346958c6014SShengjiu Wang				compatible = "fsl,imx8mn-sdma", "fsl,imx8mq-sdma";
3476c3debcbSAnson Huang				reg = <0x302b0000 0x10000>;
3486c3debcbSAnson Huang				interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>;
3496c3debcbSAnson Huang				clocks = <&clk IMX8MN_CLK_SDMA3_ROOT>,
3506c3debcbSAnson Huang				 <&clk IMX8MN_CLK_SDMA3_ROOT>;
3516c3debcbSAnson Huang				clock-names = "ipg", "ahb";
3526c3debcbSAnson Huang				#dma-cells = <3>;
3536c3debcbSAnson Huang				fsl,sdma-ram-script-name = "imx/sdma/sdma-imx7d.bin";
3546c3debcbSAnson Huang			};
3556c3debcbSAnson Huang
3566c3debcbSAnson Huang			sdma2: dma-controller@302c0000 {
357958c6014SShengjiu Wang				compatible = "fsl,imx8mn-sdma", "fsl,imx8mq-sdma";
3586c3debcbSAnson Huang				reg = <0x302c0000 0x10000>;
3596c3debcbSAnson Huang				interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>;
3606c3debcbSAnson Huang				clocks = <&clk IMX8MN_CLK_SDMA2_ROOT>,
3616c3debcbSAnson Huang					 <&clk IMX8MN_CLK_SDMA2_ROOT>;
3626c3debcbSAnson Huang				clock-names = "ipg", "ahb";
3636c3debcbSAnson Huang				#dma-cells = <3>;
3646c3debcbSAnson Huang				fsl,sdma-ram-script-name = "imx/sdma/sdma-imx7d.bin";
3656c3debcbSAnson Huang			};
3666c3debcbSAnson Huang
3676c3debcbSAnson Huang			iomuxc: pinctrl@30330000 {
3686c3debcbSAnson Huang				compatible = "fsl,imx8mn-iomuxc";
3696c3debcbSAnson Huang				reg = <0x30330000 0x10000>;
3706c3debcbSAnson Huang			};
3716c3debcbSAnson Huang
3726c3debcbSAnson Huang			gpr: iomuxc-gpr@30340000 {
3736c3debcbSAnson Huang				compatible = "fsl,imx8mn-iomuxc-gpr", "syscon";
3746c3debcbSAnson Huang				reg = <0x30340000 0x10000>;
3756c3debcbSAnson Huang			};
3766c3debcbSAnson Huang
3776c3debcbSAnson Huang			ocotp: ocotp-ctrl@30350000 {
3782bad8c48SAnson Huang				compatible = "fsl,imx8mn-ocotp", "fsl,imx8mm-ocotp", "syscon";
3796c3debcbSAnson Huang				reg = <0x30350000 0x10000>;
3806c3debcbSAnson Huang				clocks = <&clk IMX8MN_CLK_OCOTP_ROOT>;
38101c49314SAnson Huang				#address-cells = <1>;
38201c49314SAnson Huang				#size-cells = <1>;
38301c49314SAnson Huang
38401c49314SAnson Huang				cpu_speed_grade: speed-grade@10 {
38501c49314SAnson Huang					reg = <0x10 4>;
38601c49314SAnson Huang				};
3876c3debcbSAnson Huang			};
3886c3debcbSAnson Huang
3896c3debcbSAnson Huang			anatop: anatop@30360000 {
3906c3debcbSAnson Huang				compatible = "fsl,imx8mn-anatop", "fsl,imx8mm-anatop",
3910f93eb28SFancy Fang					     "syscon";
3926c3debcbSAnson Huang				reg = <0x30360000 0x10000>;
3936c3debcbSAnson Huang			};
3946c3debcbSAnson Huang
3956c3debcbSAnson Huang			snvs: snvs@30370000 {
3966c3debcbSAnson Huang				compatible = "fsl,sec-v4.0-mon","syscon", "simple-mfd";
3976c3debcbSAnson Huang				reg = <0x30370000 0x10000>;
3986c3debcbSAnson Huang
3996c3debcbSAnson Huang				snvs_rtc: snvs-rtc-lp {
4006c3debcbSAnson Huang					compatible = "fsl,sec-v4.0-mon-rtc-lp";
4016c3debcbSAnson Huang					regmap = <&snvs>;
4026c3debcbSAnson Huang					offset = <0x34>;
4036c3debcbSAnson Huang					interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>,
4046c3debcbSAnson Huang						     <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
40542ef961bSHoria Geantă					clocks = <&clk IMX8MN_CLK_SNVS_ROOT>;
4066c3debcbSAnson Huang					clock-names = "snvs-rtc";
4076c3debcbSAnson Huang				};
4086c3debcbSAnson Huang
4096c3debcbSAnson Huang				snvs_pwrkey: snvs-powerkey {
4106c3debcbSAnson Huang					compatible = "fsl,sec-v4.0-pwrkey";
4116c3debcbSAnson Huang					regmap = <&snvs>;
4126c3debcbSAnson Huang					interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
413*c2a2f446SAnson Huang					clocks = <&clk IMX8MN_CLK_SNVS_ROOT>;
414*c2a2f446SAnson Huang					clock-names = "snvs-pwrkey";
4156c3debcbSAnson Huang					linux,keycode = <KEY_POWER>;
4166c3debcbSAnson Huang					wakeup-source;
4176c3debcbSAnson Huang					status = "disabled";
4186c3debcbSAnson Huang				};
4196c3debcbSAnson Huang			};
4206c3debcbSAnson Huang
4216c3debcbSAnson Huang			clk: clock-controller@30380000 {
4226c3debcbSAnson Huang				compatible = "fsl,imx8mn-ccm";
4236c3debcbSAnson Huang				reg = <0x30380000 0x10000>;
4246c3debcbSAnson Huang				#clock-cells = <1>;
4256c3debcbSAnson Huang				clocks = <&osc_32k>, <&osc_24m>, <&clk_ext1>, <&clk_ext2>,
4266c3debcbSAnson Huang					 <&clk_ext3>, <&clk_ext4>;
4276c3debcbSAnson Huang				clock-names = "osc_32k", "osc_24m", "clk_ext1", "clk_ext2",
4286c3debcbSAnson Huang					      "clk_ext3", "clk_ext4";
42953458f86SPeng Fan				assigned-clocks = <&clk IMX8MN_CLK_NOC>,
43053458f86SPeng Fan						<&clk IMX8MN_CLK_AUDIO_AHB>,
43153458f86SPeng Fan						<&clk IMX8MN_CLK_IPG_AUDIO_ROOT>,
43253458f86SPeng Fan						<&clk IMX8MN_SYS_PLL3>;
43353458f86SPeng Fan				assigned-clock-parents = <&clk IMX8MN_SYS_PLL3_OUT>,
43453458f86SPeng Fan							 <&clk IMX8MN_SYS_PLL1_800M>;
43553458f86SPeng Fan				assigned-clock-rates = <0>,
43653458f86SPeng Fan							<400000000>,
43753458f86SPeng Fan							<400000000>,
43853458f86SPeng Fan							<600000000>;
4396c3debcbSAnson Huang			};
4406c3debcbSAnson Huang
4416c3debcbSAnson Huang			src: reset-controller@30390000 {
44223b80c20SAnson Huang				compatible = "fsl,imx8mn-src", "fsl,imx8mq-src", "syscon";
4436c3debcbSAnson Huang				reg = <0x30390000 0x10000>;
4446c3debcbSAnson Huang				interrupts = <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>;
4456c3debcbSAnson Huang				#reset-cells = <1>;
4466c3debcbSAnson Huang			};
4476c3debcbSAnson Huang		};
4486c3debcbSAnson Huang
4496c3debcbSAnson Huang		aips2: bus@30400000 {
450dc3efc6fSPeng Fan			compatible = "fsl,aips-bus", "simple-bus";
451dc3efc6fSPeng Fan			reg = <0x305f0000 0x10000>;
4526c3debcbSAnson Huang			#address-cells = <1>;
4536c3debcbSAnson Huang			#size-cells = <1>;
4546c3debcbSAnson Huang			ranges;
4556c3debcbSAnson Huang
4566c3debcbSAnson Huang			pwm1: pwm@30660000 {
4576c3debcbSAnson Huang				compatible = "fsl,imx8mn-pwm", "fsl,imx27-pwm";
4586c3debcbSAnson Huang				reg = <0x30660000 0x10000>;
4596c3debcbSAnson Huang				interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>;
4606c3debcbSAnson Huang				clocks = <&clk IMX8MN_CLK_PWM1_ROOT>,
4616c3debcbSAnson Huang					<&clk IMX8MN_CLK_PWM1_ROOT>;
4626c3debcbSAnson Huang				clock-names = "ipg", "per";
4636c3debcbSAnson Huang				#pwm-cells = <2>;
4646c3debcbSAnson Huang				status = "disabled";
4656c3debcbSAnson Huang			};
4666c3debcbSAnson Huang
4676c3debcbSAnson Huang			pwm2: pwm@30670000 {
4686c3debcbSAnson Huang				compatible = "fsl,imx8mn-pwm", "fsl,imx27-pwm";
4696c3debcbSAnson Huang				reg = <0x30670000 0x10000>;
4706c3debcbSAnson Huang				interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>;
4716c3debcbSAnson Huang				clocks = <&clk IMX8MN_CLK_PWM2_ROOT>,
4726c3debcbSAnson Huang					 <&clk IMX8MN_CLK_PWM2_ROOT>;
4736c3debcbSAnson Huang				clock-names = "ipg", "per";
4746c3debcbSAnson Huang				#pwm-cells = <2>;
4756c3debcbSAnson Huang				status = "disabled";
4766c3debcbSAnson Huang			};
4776c3debcbSAnson Huang
4786c3debcbSAnson Huang			pwm3: pwm@30680000 {
4796c3debcbSAnson Huang				compatible = "fsl,imx8mn-pwm", "fsl,imx27-pwm";
4806c3debcbSAnson Huang				reg = <0x30680000 0x10000>;
4816c3debcbSAnson Huang				interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
4826c3debcbSAnson Huang				clocks = <&clk IMX8MN_CLK_PWM3_ROOT>,
4836c3debcbSAnson Huang					 <&clk IMX8MN_CLK_PWM3_ROOT>;
4846c3debcbSAnson Huang				clock-names = "ipg", "per";
4856c3debcbSAnson Huang				#pwm-cells = <2>;
4866c3debcbSAnson Huang				status = "disabled";
4876c3debcbSAnson Huang			};
4886c3debcbSAnson Huang
4896c3debcbSAnson Huang			pwm4: pwm@30690000 {
4906c3debcbSAnson Huang				compatible = "fsl,imx8mn-pwm", "fsl,imx27-pwm";
4916c3debcbSAnson Huang				reg = <0x30690000 0x10000>;
4926c3debcbSAnson Huang				interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>;
4936c3debcbSAnson Huang				clocks = <&clk IMX8MN_CLK_PWM4_ROOT>,
4946c3debcbSAnson Huang					 <&clk IMX8MN_CLK_PWM4_ROOT>;
4956c3debcbSAnson Huang				clock-names = "ipg", "per";
4966c3debcbSAnson Huang				#pwm-cells = <2>;
4976c3debcbSAnson Huang				status = "disabled";
4986c3debcbSAnson Huang			};
499c4a21269SAnson Huang
500c4a21269SAnson Huang			system_counter: timer@306a0000 {
501c4a21269SAnson Huang				compatible = "nxp,sysctr-timer";
502c4a21269SAnson Huang				reg = <0x306a0000 0x20000>;
503c4a21269SAnson Huang				interrupts = <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>;
504c4a21269SAnson Huang				clocks = <&osc_24m>;
505c4a21269SAnson Huang				clock-names = "per";
506c4a21269SAnson Huang			};
5076c3debcbSAnson Huang		};
5086c3debcbSAnson Huang
5096c3debcbSAnson Huang		aips3: bus@30800000 {
510dc3efc6fSPeng Fan			compatible = "fsl,aips-bus", "simple-bus";
511dc3efc6fSPeng Fan			reg = <0x309f0000 0x10000>;
5126c3debcbSAnson Huang			#address-cells = <1>;
5136c3debcbSAnson Huang			#size-cells = <1>;
5146c3debcbSAnson Huang			ranges;
5156c3debcbSAnson Huang
5166c3debcbSAnson Huang			ecspi1: spi@30820000 {
5176c3debcbSAnson Huang				compatible = "fsl,imx8mn-ecspi", "fsl,imx51-ecspi";
5186c3debcbSAnson Huang				#address-cells = <1>;
5196c3debcbSAnson Huang				#size-cells = <0>;
5206c3debcbSAnson Huang				reg = <0x30820000 0x10000>;
5216c3debcbSAnson Huang				interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>;
5226c3debcbSAnson Huang				clocks = <&clk IMX8MN_CLK_ECSPI1_ROOT>,
5236c3debcbSAnson Huang					 <&clk IMX8MN_CLK_ECSPI1_ROOT>;
5246c3debcbSAnson Huang				clock-names = "ipg", "per";
5256c3debcbSAnson Huang				dmas = <&sdma1 0 7 1>, <&sdma1 1 7 2>;
5266c3debcbSAnson Huang				dma-names = "rx", "tx";
5276c3debcbSAnson Huang				status = "disabled";
5286c3debcbSAnson Huang			};
5296c3debcbSAnson Huang
5306c3debcbSAnson Huang			ecspi2: spi@30830000 {
5316c3debcbSAnson Huang				compatible = "fsl,imx8mn-ecspi", "fsl,imx51-ecspi";
5326c3debcbSAnson Huang				#address-cells = <1>;
5336c3debcbSAnson Huang				#size-cells = <0>;
5346c3debcbSAnson Huang				reg = <0x30830000 0x10000>;
5356c3debcbSAnson Huang				interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
5366c3debcbSAnson Huang				clocks = <&clk IMX8MN_CLK_ECSPI2_ROOT>,
5376c3debcbSAnson Huang					 <&clk IMX8MN_CLK_ECSPI2_ROOT>;
5386c3debcbSAnson Huang				clock-names = "ipg", "per";
5396c3debcbSAnson Huang				dmas = <&sdma1 2 7 1>, <&sdma1 3 7 2>;
5406c3debcbSAnson Huang				dma-names = "rx", "tx";
5416c3debcbSAnson Huang				status = "disabled";
5426c3debcbSAnson Huang			};
5436c3debcbSAnson Huang
5446c3debcbSAnson Huang			ecspi3: spi@30840000 {
5456c3debcbSAnson Huang				compatible = "fsl,imx8mn-ecspi", "fsl,imx51-ecspi";
5466c3debcbSAnson Huang				#address-cells = <1>;
5476c3debcbSAnson Huang				#size-cells = <0>;
5486c3debcbSAnson Huang				reg = <0x30840000 0x10000>;
5496c3debcbSAnson Huang				interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>;
5506c3debcbSAnson Huang				clocks = <&clk IMX8MN_CLK_ECSPI3_ROOT>,
5516c3debcbSAnson Huang					 <&clk IMX8MN_CLK_ECSPI3_ROOT>;
5526c3debcbSAnson Huang				clock-names = "ipg", "per";
5536c3debcbSAnson Huang				dmas = <&sdma1 4 7 1>, <&sdma1 5 7 2>;
5546c3debcbSAnson Huang				dma-names = "rx", "tx";
5556c3debcbSAnson Huang				status = "disabled";
5566c3debcbSAnson Huang			};
5576c3debcbSAnson Huang
5586c3debcbSAnson Huang			uart1: serial@30860000 {
5596c3debcbSAnson Huang				compatible = "fsl,imx8mn-uart", "fsl,imx6q-uart";
5606c3debcbSAnson Huang				reg = <0x30860000 0x10000>;
5616c3debcbSAnson Huang				interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
5626c3debcbSAnson Huang				clocks = <&clk IMX8MN_CLK_UART1_ROOT>,
5636c3debcbSAnson Huang					 <&clk IMX8MN_CLK_UART1_ROOT>;
5646c3debcbSAnson Huang				clock-names = "ipg", "per";
5656c3debcbSAnson Huang				dmas = <&sdma1 22 4 0>, <&sdma1 23 4 0>;
5666c3debcbSAnson Huang				dma-names = "rx", "tx";
5676c3debcbSAnson Huang				status = "disabled";
5686c3debcbSAnson Huang			};
5696c3debcbSAnson Huang
5706c3debcbSAnson Huang			uart3: serial@30880000 {
5716c3debcbSAnson Huang				compatible = "fsl,imx8mn-uart", "fsl,imx6q-uart";
5726c3debcbSAnson Huang				reg = <0x30880000 0x10000>;
5736c3debcbSAnson Huang				interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>;
5746c3debcbSAnson Huang				clocks = <&clk IMX8MN_CLK_UART3_ROOT>,
5756c3debcbSAnson Huang					 <&clk IMX8MN_CLK_UART3_ROOT>;
5766c3debcbSAnson Huang				clock-names = "ipg", "per";
5776c3debcbSAnson Huang				dmas = <&sdma1 26 4 0>, <&sdma1 27 4 0>;
5786c3debcbSAnson Huang				dma-names = "rx", "tx";
5796c3debcbSAnson Huang				status = "disabled";
5806c3debcbSAnson Huang			};
5816c3debcbSAnson Huang
5826c3debcbSAnson Huang			uart2: serial@30890000 {
5836c3debcbSAnson Huang				compatible = "fsl,imx8mn-uart", "fsl,imx6q-uart";
5846c3debcbSAnson Huang				reg = <0x30890000 0x10000>;
5856c3debcbSAnson Huang				interrupts = <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH>;
5866c3debcbSAnson Huang				clocks = <&clk IMX8MN_CLK_UART2_ROOT>,
5876c3debcbSAnson Huang					 <&clk IMX8MN_CLK_UART2_ROOT>;
5886c3debcbSAnson Huang				clock-names = "ipg", "per";
5896c3debcbSAnson Huang				status = "disabled";
5906c3debcbSAnson Huang			};
5916c3debcbSAnson Huang
592aad24175SHoria Geantă			crypto: crypto@30900000 {
593aad24175SHoria Geantă				compatible = "fsl,sec-v4.0";
594aad24175SHoria Geantă				#address-cells = <1>;
595aad24175SHoria Geantă				#size-cells = <1>;
596aad24175SHoria Geantă				reg = <0x30900000 0x40000>;
597aad24175SHoria Geantă				ranges = <0 0x30900000 0x40000>;
598aad24175SHoria Geantă				interrupts = <GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH>;
599aad24175SHoria Geantă				clocks = <&clk IMX8MN_CLK_AHB>,
600aad24175SHoria Geantă					 <&clk IMX8MN_CLK_IPG_ROOT>;
601aad24175SHoria Geantă				clock-names = "aclk", "ipg";
602aad24175SHoria Geantă
603f5ff5a21SSilvano di Ninno				sec_jr0: jr@1000 {
604aad24175SHoria Geantă					 compatible = "fsl,sec-v4.0-job-ring";
605aad24175SHoria Geantă					 reg = <0x1000 0x1000>;
606aad24175SHoria Geantă					 interrupts = <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>;
607aad24175SHoria Geantă				};
608aad24175SHoria Geantă
609f5ff5a21SSilvano di Ninno				sec_jr1: jr@2000 {
610aad24175SHoria Geantă					 compatible = "fsl,sec-v4.0-job-ring";
611aad24175SHoria Geantă					 reg = <0x2000 0x1000>;
612aad24175SHoria Geantă					 interrupts = <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>;
613aad24175SHoria Geantă				};
614aad24175SHoria Geantă
615f5ff5a21SSilvano di Ninno				sec_jr2: jr@3000 {
616aad24175SHoria Geantă					 compatible = "fsl,sec-v4.0-job-ring";
617aad24175SHoria Geantă					 reg = <0x3000 0x1000>;
618aad24175SHoria Geantă					 interrupts = <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>;
619aad24175SHoria Geantă				};
620aad24175SHoria Geantă			};
621aad24175SHoria Geantă
6226c3debcbSAnson Huang			i2c1: i2c@30a20000 {
6236c3debcbSAnson Huang				compatible = "fsl,imx8mn-i2c", "fsl,imx21-i2c";
6246c3debcbSAnson Huang				#address-cells = <1>;
6256c3debcbSAnson Huang				#size-cells = <0>;
6266c3debcbSAnson Huang				reg = <0x30a20000 0x10000>;
6276c3debcbSAnson Huang				interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>;
6286c3debcbSAnson Huang				clocks = <&clk IMX8MN_CLK_I2C1_ROOT>;
6296c3debcbSAnson Huang				status = "disabled";
6306c3debcbSAnson Huang			};
6316c3debcbSAnson Huang
6326c3debcbSAnson Huang			i2c2: i2c@30a30000 {
6336c3debcbSAnson Huang				compatible = "fsl,imx8mn-i2c", "fsl,imx21-i2c";
6346c3debcbSAnson Huang				#address-cells = <1>;
6356c3debcbSAnson Huang				#size-cells = <0>;
6366c3debcbSAnson Huang				reg = <0x30a30000 0x10000>;
6376c3debcbSAnson Huang				interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
6386c3debcbSAnson Huang				clocks = <&clk IMX8MN_CLK_I2C2_ROOT>;
6396c3debcbSAnson Huang				status = "disabled";
6406c3debcbSAnson Huang			};
6416c3debcbSAnson Huang
6426c3debcbSAnson Huang			i2c3: i2c@30a40000 {
6436c3debcbSAnson Huang				#address-cells = <1>;
6446c3debcbSAnson Huang				#size-cells = <0>;
6456c3debcbSAnson Huang				compatible = "fsl,imx8mn-i2c", "fsl,imx21-i2c";
6466c3debcbSAnson Huang				reg = <0x30a40000 0x10000>;
6476c3debcbSAnson Huang				interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
6486c3debcbSAnson Huang				clocks = <&clk IMX8MN_CLK_I2C3_ROOT>;
6496c3debcbSAnson Huang				status = "disabled";
6506c3debcbSAnson Huang			};
6516c3debcbSAnson Huang
6526c3debcbSAnson Huang			i2c4: i2c@30a50000 {
6536c3debcbSAnson Huang				compatible = "fsl,imx8mn-i2c", "fsl,imx21-i2c";
6546c3debcbSAnson Huang				#address-cells = <1>;
6556c3debcbSAnson Huang				#size-cells = <0>;
6566c3debcbSAnson Huang				reg = <0x30a50000 0x10000>;
6576c3debcbSAnson Huang				interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>;
6586c3debcbSAnson Huang				clocks = <&clk IMX8MN_CLK_I2C4_ROOT>;
6596c3debcbSAnson Huang				status = "disabled";
6606c3debcbSAnson Huang			};
6616c3debcbSAnson Huang
6626c3debcbSAnson Huang			uart4: serial@30a60000 {
6636c3debcbSAnson Huang				compatible = "fsl,imx8mn-uart", "fsl,imx6q-uart";
6646c3debcbSAnson Huang				reg = <0x30a60000 0x10000>;
6656c3debcbSAnson Huang				interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>;
6666c3debcbSAnson Huang				clocks = <&clk IMX8MN_CLK_UART4_ROOT>,
6676c3debcbSAnson Huang					 <&clk IMX8MN_CLK_UART4_ROOT>;
6686c3debcbSAnson Huang				clock-names = "ipg", "per";
6696c3debcbSAnson Huang				dmas = <&sdma1 28 4 0>, <&sdma1 29 4 0>;
6706c3debcbSAnson Huang				dma-names = "rx", "tx";
6716c3debcbSAnson Huang				status = "disabled";
6726c3debcbSAnson Huang			};
6736c3debcbSAnson Huang
6746c3debcbSAnson Huang			usdhc1: mmc@30b40000 {
6756c3debcbSAnson Huang				compatible = "fsl,imx8mn-usdhc", "fsl,imx7d-usdhc";
6766c3debcbSAnson Huang				reg = <0x30b40000 0x10000>;
6776c3debcbSAnson Huang				interrupts = <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>;
678ea65aba8SAnson Huang				clocks = <&clk IMX8MN_CLK_IPG_ROOT>,
6796c3debcbSAnson Huang					 <&clk IMX8MN_CLK_NAND_USDHC_BUS>,
6806c3debcbSAnson Huang					 <&clk IMX8MN_CLK_USDHC1_ROOT>;
6816c3debcbSAnson Huang				clock-names = "ipg", "ahb", "per";
6826c3debcbSAnson Huang				fsl,tuning-start-tap = <20>;
6836c3debcbSAnson Huang				fsl,tuning-step= <2>;
6846c3debcbSAnson Huang				bus-width = <4>;
6856c3debcbSAnson Huang				status = "disabled";
6866c3debcbSAnson Huang			};
6876c3debcbSAnson Huang
6886c3debcbSAnson Huang			usdhc2: mmc@30b50000 {
6896c3debcbSAnson Huang				compatible = "fsl,imx8mn-usdhc", "fsl,imx7d-usdhc";
6906c3debcbSAnson Huang				reg = <0x30b50000 0x10000>;
6916c3debcbSAnson Huang				interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
692ea65aba8SAnson Huang				clocks = <&clk IMX8MN_CLK_IPG_ROOT>,
6936c3debcbSAnson Huang					 <&clk IMX8MN_CLK_NAND_USDHC_BUS>,
6946c3debcbSAnson Huang					 <&clk IMX8MN_CLK_USDHC2_ROOT>;
6956c3debcbSAnson Huang				clock-names = "ipg", "ahb", "per";
6966c3debcbSAnson Huang				fsl,tuning-start-tap = <20>;
6976c3debcbSAnson Huang				fsl,tuning-step= <2>;
6986c3debcbSAnson Huang				bus-width = <4>;
6996c3debcbSAnson Huang				status = "disabled";
7006c3debcbSAnson Huang			};
7016c3debcbSAnson Huang
7026c3debcbSAnson Huang			usdhc3: mmc@30b60000 {
7036c3debcbSAnson Huang				compatible = "fsl,imx8mn-usdhc", "fsl,imx7d-usdhc";
7046c3debcbSAnson Huang				reg = <0x30b60000 0x10000>;
7056c3debcbSAnson Huang				interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>;
706ea65aba8SAnson Huang				clocks = <&clk IMX8MN_CLK_IPG_ROOT>,
7076c3debcbSAnson Huang					 <&clk IMX8MN_CLK_NAND_USDHC_BUS>,
7086c3debcbSAnson Huang					 <&clk IMX8MN_CLK_USDHC3_ROOT>;
7096c3debcbSAnson Huang				clock-names = "ipg", "ahb", "per";
7106c3debcbSAnson Huang				fsl,tuning-start-tap = <20>;
7116c3debcbSAnson Huang				fsl,tuning-step= <2>;
7126c3debcbSAnson Huang				bus-width = <4>;
7136c3debcbSAnson Huang				status = "disabled";
7146c3debcbSAnson Huang			};
7156c3debcbSAnson Huang
7166c3debcbSAnson Huang			sdma1: dma-controller@30bd0000 {
717958c6014SShengjiu Wang				compatible = "fsl,imx8mn-sdma", "fsl,imx8mq-sdma";
7186c3debcbSAnson Huang				reg = <0x30bd0000 0x10000>;
7196c3debcbSAnson Huang				interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>;
7206c3debcbSAnson Huang				clocks = <&clk IMX8MN_CLK_SDMA1_ROOT>,
7216c3debcbSAnson Huang					 <&clk IMX8MN_CLK_SDMA1_ROOT>;
7226c3debcbSAnson Huang				clock-names = "ipg", "ahb";
7236c3debcbSAnson Huang				#dma-cells = <3>;
7246c3debcbSAnson Huang				fsl,sdma-ram-script-name = "imx/sdma/sdma-imx7d.bin";
7256c3debcbSAnson Huang			};
7266c3debcbSAnson Huang
7276c3debcbSAnson Huang			fec1: ethernet@30be0000 {
7286c3debcbSAnson Huang				compatible = "fsl,imx8mn-fec", "fsl,imx6sx-fec";
7296c3debcbSAnson Huang				reg = <0x30be0000 0x10000>;
7306c3debcbSAnson Huang				interrupts = <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>,
7316c3debcbSAnson Huang					     <GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH>,
7326c3debcbSAnson Huang					     <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>;
7336c3debcbSAnson Huang				clocks = <&clk IMX8MN_CLK_ENET1_ROOT>,
7346c3debcbSAnson Huang					 <&clk IMX8MN_CLK_ENET1_ROOT>,
7356c3debcbSAnson Huang					 <&clk IMX8MN_CLK_ENET_TIMER>,
7366c3debcbSAnson Huang					 <&clk IMX8MN_CLK_ENET_REF>,
7376c3debcbSAnson Huang					 <&clk IMX8MN_CLK_ENET_PHY_REF>;
7386c3debcbSAnson Huang				clock-names = "ipg", "ahb", "ptp",
7396c3debcbSAnson Huang					      "enet_clk_ref", "enet_out";
7406c3debcbSAnson Huang				assigned-clocks = <&clk IMX8MN_CLK_ENET_AXI>,
7416c3debcbSAnson Huang						  <&clk IMX8MN_CLK_ENET_TIMER>,
7426c3debcbSAnson Huang						  <&clk IMX8MN_CLK_ENET_REF>,
7436c3debcbSAnson Huang						  <&clk IMX8MN_CLK_ENET_TIMER>;
7446c3debcbSAnson Huang				assigned-clock-parents = <&clk IMX8MN_SYS_PLL1_266M>,
7456c3debcbSAnson Huang							 <&clk IMX8MN_SYS_PLL2_100M>,
7466c3debcbSAnson Huang							 <&clk IMX8MN_SYS_PLL2_125M>;
7476c3debcbSAnson Huang				assigned-clock-rates = <0>, <0>, <125000000>, <100000000>;
7486c3debcbSAnson Huang				fsl,num-tx-queues = <3>;
7496c3debcbSAnson Huang				fsl,num-rx-queues = <3>;
7506c3debcbSAnson Huang				status = "disabled";
7516c3debcbSAnson Huang			};
7526c3debcbSAnson Huang
7536c3debcbSAnson Huang		};
7546c3debcbSAnson Huang
7556c3debcbSAnson Huang		aips4: bus@32c00000 {
756dc3efc6fSPeng Fan			compatible = "fsl,aips-bus", "simple-bus";
757dc3efc6fSPeng Fan			reg = <0x32df0000 0x10000>;
7586c3debcbSAnson Huang			#address-cells = <1>;
7596c3debcbSAnson Huang			#size-cells = <1>;
7606c3debcbSAnson Huang			ranges;
7616c3debcbSAnson Huang
7626c3debcbSAnson Huang			usbotg1: usb@32e40000 {
7636c3debcbSAnson Huang				compatible = "fsl,imx8mn-usb", "fsl,imx7d-usb";
7646c3debcbSAnson Huang				reg = <0x32e40000 0x200>;
7656c3debcbSAnson Huang				interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>;
7666c3debcbSAnson Huang				clocks = <&clk IMX8MN_CLK_USB1_CTRL_ROOT>;
7676c3debcbSAnson Huang				clock-names = "usb1_ctrl_root_clk";
768d51cb99cSLi Jun				assigned-clocks = <&clk IMX8MN_CLK_USB_BUS>;
769d51cb99cSLi Jun				assigned-clock-parents = <&clk IMX8MN_SYS_PLL2_500M>;
7706c3debcbSAnson Huang				fsl,usbphy = <&usbphynop1>;
7716c3debcbSAnson Huang				fsl,usbmisc = <&usbmisc1 0>;
7726c3debcbSAnson Huang				status = "disabled";
7736c3debcbSAnson Huang			};
7746c3debcbSAnson Huang
7756c3debcbSAnson Huang			usbmisc1: usbmisc@32e40200 {
7766c3debcbSAnson Huang				compatible = "fsl,imx8mn-usbmisc", "fsl,imx7d-usbmisc";
7776c3debcbSAnson Huang				#index-cells = <1>;
7786c3debcbSAnson Huang				reg = <0x32e40200 0x200>;
7796c3debcbSAnson Huang			};
7806c3debcbSAnson Huang
7816c3debcbSAnson Huang			usbotg2: usb@32e50000 {
7826c3debcbSAnson Huang				compatible = "fsl,imx8mn-usb", "fsl,imx7d-usb";
7836c3debcbSAnson Huang				reg = <0x32e50000 0x200>;
7846c3debcbSAnson Huang				interrupts = <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>;
7856c3debcbSAnson Huang				clocks = <&clk IMX8MN_CLK_USB1_CTRL_ROOT>;
7866c3debcbSAnson Huang				clock-names = "usb1_ctrl_root_clk";
7876c3debcbSAnson Huang				assigned-clocks = <&clk IMX8MN_CLK_USB_BUS>,
7886c3debcbSAnson Huang						  <&clk IMX8MN_CLK_USB_CORE_REF>;
7896c3debcbSAnson Huang				assigned-clock-parents = <&clk IMX8MN_SYS_PLL2_500M>,
7906c3debcbSAnson Huang							 <&clk IMX8MN_SYS_PLL1_100M>;
7916c3debcbSAnson Huang				fsl,usbphy = <&usbphynop2>;
7926c3debcbSAnson Huang				fsl,usbmisc = <&usbmisc2 0>;
7936c3debcbSAnson Huang				status = "disabled";
7946c3debcbSAnson Huang			};
7956c3debcbSAnson Huang
7966c3debcbSAnson Huang			usbmisc2: usbmisc@32e50200 {
7976c3debcbSAnson Huang				compatible = "fsl,imx8mn-usbmisc", "fsl,imx7d-usbmisc";
7986c3debcbSAnson Huang				#index-cells = <1>;
7996c3debcbSAnson Huang				reg = <0x32e50200 0x200>;
8006c3debcbSAnson Huang			};
8016c3debcbSAnson Huang
8026c3debcbSAnson Huang		};
8036c3debcbSAnson Huang
8046c3debcbSAnson Huang		dma_apbh: dma-controller@33000000 {
8056c3debcbSAnson Huang			compatible = "fsl,imx7d-dma-apbh", "fsl,imx28-dma-apbh";
8066c3debcbSAnson Huang			reg = <0x33000000 0x2000>;
8076c3debcbSAnson Huang			interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>,
8086c3debcbSAnson Huang				     <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>,
8096c3debcbSAnson Huang				     <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>,
8106c3debcbSAnson Huang				     <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
8116c3debcbSAnson Huang			interrupt-names = "gpmi0", "gpmi1", "gpmi2", "gpmi3";
8126c3debcbSAnson Huang			#dma-cells = <1>;
8136c3debcbSAnson Huang			dma-channels = <4>;
8146c3debcbSAnson Huang			clocks = <&clk IMX8MN_CLK_NAND_USDHC_BUS_RAWNAND_CLK>;
8156c3debcbSAnson Huang		};
8166c3debcbSAnson Huang
8176c3debcbSAnson Huang		gpmi: nand-controller@33002000 {
8186c3debcbSAnson Huang			compatible = "fsl,imx8mn-gpmi-nand", "fsl,imx7d-gpmi-nand";
8196c3debcbSAnson Huang			#address-cells = <1>;
8206c3debcbSAnson Huang			#size-cells = <1>;
8216c3debcbSAnson Huang			reg = <0x33002000 0x2000>, <0x33004000 0x4000>;
8226c3debcbSAnson Huang			reg-names = "gpmi-nand", "bch";
8236c3debcbSAnson Huang			interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
8246c3debcbSAnson Huang			interrupt-names = "bch";
8256c3debcbSAnson Huang			clocks = <&clk IMX8MN_CLK_NAND_ROOT>,
8266c3debcbSAnson Huang				 <&clk IMX8MN_CLK_NAND_USDHC_BUS_RAWNAND_CLK>;
8276c3debcbSAnson Huang			clock-names = "gpmi_io", "gpmi_bch_apb";
8286c3debcbSAnson Huang			dmas = <&dma_apbh 0>;
8296c3debcbSAnson Huang			dma-names = "rx-tx";
8306c3debcbSAnson Huang			status = "disabled";
8316c3debcbSAnson Huang		};
8326c3debcbSAnson Huang
8336c3debcbSAnson Huang		gic: interrupt-controller@38800000 {
8346c3debcbSAnson Huang			compatible = "arm,gic-v3";
8356c3debcbSAnson Huang			reg = <0x38800000 0x10000>,
8366c3debcbSAnson Huang			      <0x38880000 0xc0000>;
8376c3debcbSAnson Huang			#interrupt-cells = <3>;
8386c3debcbSAnson Huang			interrupt-controller;
8396c3debcbSAnson Huang			interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>;
8406c3debcbSAnson Huang		};
8412d8e0747SJoakim Zhang
8420376f6ecSLeonard Crestez		ddrc: memory-controller@3d400000 {
8430376f6ecSLeonard Crestez			compatible = "fsl,imx8mn-ddrc", "fsl,imx8m-ddrc";
8440376f6ecSLeonard Crestez			reg = <0x3d400000 0x400000>;
8450376f6ecSLeonard Crestez			clock-names = "core", "pll", "alt", "apb";
8460376f6ecSLeonard Crestez			clocks = <&clk IMX8MN_CLK_DRAM_CORE>,
8470376f6ecSLeonard Crestez				 <&clk IMX8MN_DRAM_PLL>,
8480376f6ecSLeonard Crestez				 <&clk IMX8MN_CLK_DRAM_ALT>,
8490376f6ecSLeonard Crestez				 <&clk IMX8MN_CLK_DRAM_APB>;
8500376f6ecSLeonard Crestez		};
8510376f6ecSLeonard Crestez
8522d8e0747SJoakim Zhang		ddr-pmu@3d800000 {
8532d8e0747SJoakim Zhang			compatible = "fsl,imx8mn-ddr-pmu", "fsl,imx8m-ddr-pmu";
8542d8e0747SJoakim Zhang			reg = <0x3d800000 0x400000>;
8552d8e0747SJoakim Zhang			interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>;
8562d8e0747SJoakim Zhang		};
8576c3debcbSAnson Huang	};
8586c3debcbSAnson Huang
8596c3debcbSAnson Huang	usbphynop1: usbphynop1 {
8606c3debcbSAnson Huang		compatible = "usb-nop-xceiv";
8616c3debcbSAnson Huang		clocks = <&clk IMX8MN_CLK_USB_PHY_REF>;
8626c3debcbSAnson Huang		assigned-clocks = <&clk IMX8MN_CLK_USB_PHY_REF>;
8636c3debcbSAnson Huang		assigned-clock-parents = <&clk IMX8MN_SYS_PLL1_100M>;
8646c3debcbSAnson Huang		clock-names = "main_clk";
8656c3debcbSAnson Huang	};
8666c3debcbSAnson Huang
8676c3debcbSAnson Huang	usbphynop2: usbphynop2 {
8686c3debcbSAnson Huang		compatible = "usb-nop-xceiv";
8696c3debcbSAnson Huang		clocks = <&clk IMX8MN_CLK_USB_PHY_REF>;
8706c3debcbSAnson Huang		assigned-clocks = <&clk IMX8MN_CLK_USB_PHY_REF>;
8716c3debcbSAnson Huang		assigned-clock-parents = <&clk IMX8MN_SYS_PLL1_100M>;
8726c3debcbSAnson Huang		clock-names = "main_clk";
8736c3debcbSAnson Huang	};
8746c3debcbSAnson Huang};
875