xref: /openbmc/linux/arch/arm64/boot/dts/freescale/imx8mn.dtsi (revision dc3efc6ff0d51a500abc97074c170cfb26050bae)
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 {
243*dc3efc6fSPeng Fan			compatible = "fsl,aips-bus", "simple-bus";
244*dc3efc6fSPeng 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>;
4136c3debcbSAnson Huang					linux,keycode = <KEY_POWER>;
4146c3debcbSAnson Huang					wakeup-source;
4156c3debcbSAnson Huang					status = "disabled";
4166c3debcbSAnson Huang				};
4176c3debcbSAnson Huang			};
4186c3debcbSAnson Huang
4196c3debcbSAnson Huang			clk: clock-controller@30380000 {
4206c3debcbSAnson Huang				compatible = "fsl,imx8mn-ccm";
4216c3debcbSAnson Huang				reg = <0x30380000 0x10000>;
4226c3debcbSAnson Huang				#clock-cells = <1>;
4236c3debcbSAnson Huang				clocks = <&osc_32k>, <&osc_24m>, <&clk_ext1>, <&clk_ext2>,
4246c3debcbSAnson Huang					 <&clk_ext3>, <&clk_ext4>;
4256c3debcbSAnson Huang				clock-names = "osc_32k", "osc_24m", "clk_ext1", "clk_ext2",
4266c3debcbSAnson Huang					      "clk_ext3", "clk_ext4";
42753458f86SPeng Fan				assigned-clocks = <&clk IMX8MN_CLK_NOC>,
42853458f86SPeng Fan						<&clk IMX8MN_CLK_AUDIO_AHB>,
42953458f86SPeng Fan						<&clk IMX8MN_CLK_IPG_AUDIO_ROOT>,
43053458f86SPeng Fan						<&clk IMX8MN_SYS_PLL3>;
43153458f86SPeng Fan				assigned-clock-parents = <&clk IMX8MN_SYS_PLL3_OUT>,
43253458f86SPeng Fan							 <&clk IMX8MN_SYS_PLL1_800M>;
43353458f86SPeng Fan				assigned-clock-rates = <0>,
43453458f86SPeng Fan							<400000000>,
43553458f86SPeng Fan							<400000000>,
43653458f86SPeng Fan							<600000000>;
4376c3debcbSAnson Huang			};
4386c3debcbSAnson Huang
4396c3debcbSAnson Huang			src: reset-controller@30390000 {
44023b80c20SAnson Huang				compatible = "fsl,imx8mn-src", "fsl,imx8mq-src", "syscon";
4416c3debcbSAnson Huang				reg = <0x30390000 0x10000>;
4426c3debcbSAnson Huang				interrupts = <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>;
4436c3debcbSAnson Huang				#reset-cells = <1>;
4446c3debcbSAnson Huang			};
4456c3debcbSAnson Huang		};
4466c3debcbSAnson Huang
4476c3debcbSAnson Huang		aips2: bus@30400000 {
448*dc3efc6fSPeng Fan			compatible = "fsl,aips-bus", "simple-bus";
449*dc3efc6fSPeng Fan			reg = <0x305f0000 0x10000>;
4506c3debcbSAnson Huang			#address-cells = <1>;
4516c3debcbSAnson Huang			#size-cells = <1>;
4526c3debcbSAnson Huang			ranges;
4536c3debcbSAnson Huang
4546c3debcbSAnson Huang			pwm1: pwm@30660000 {
4556c3debcbSAnson Huang				compatible = "fsl,imx8mn-pwm", "fsl,imx27-pwm";
4566c3debcbSAnson Huang				reg = <0x30660000 0x10000>;
4576c3debcbSAnson Huang				interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>;
4586c3debcbSAnson Huang				clocks = <&clk IMX8MN_CLK_PWM1_ROOT>,
4596c3debcbSAnson Huang					<&clk IMX8MN_CLK_PWM1_ROOT>;
4606c3debcbSAnson Huang				clock-names = "ipg", "per";
4616c3debcbSAnson Huang				#pwm-cells = <2>;
4626c3debcbSAnson Huang				status = "disabled";
4636c3debcbSAnson Huang			};
4646c3debcbSAnson Huang
4656c3debcbSAnson Huang			pwm2: pwm@30670000 {
4666c3debcbSAnson Huang				compatible = "fsl,imx8mn-pwm", "fsl,imx27-pwm";
4676c3debcbSAnson Huang				reg = <0x30670000 0x10000>;
4686c3debcbSAnson Huang				interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>;
4696c3debcbSAnson Huang				clocks = <&clk IMX8MN_CLK_PWM2_ROOT>,
4706c3debcbSAnson Huang					 <&clk IMX8MN_CLK_PWM2_ROOT>;
4716c3debcbSAnson Huang				clock-names = "ipg", "per";
4726c3debcbSAnson Huang				#pwm-cells = <2>;
4736c3debcbSAnson Huang				status = "disabled";
4746c3debcbSAnson Huang			};
4756c3debcbSAnson Huang
4766c3debcbSAnson Huang			pwm3: pwm@30680000 {
4776c3debcbSAnson Huang				compatible = "fsl,imx8mn-pwm", "fsl,imx27-pwm";
4786c3debcbSAnson Huang				reg = <0x30680000 0x10000>;
4796c3debcbSAnson Huang				interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
4806c3debcbSAnson Huang				clocks = <&clk IMX8MN_CLK_PWM3_ROOT>,
4816c3debcbSAnson Huang					 <&clk IMX8MN_CLK_PWM3_ROOT>;
4826c3debcbSAnson Huang				clock-names = "ipg", "per";
4836c3debcbSAnson Huang				#pwm-cells = <2>;
4846c3debcbSAnson Huang				status = "disabled";
4856c3debcbSAnson Huang			};
4866c3debcbSAnson Huang
4876c3debcbSAnson Huang			pwm4: pwm@30690000 {
4886c3debcbSAnson Huang				compatible = "fsl,imx8mn-pwm", "fsl,imx27-pwm";
4896c3debcbSAnson Huang				reg = <0x30690000 0x10000>;
4906c3debcbSAnson Huang				interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>;
4916c3debcbSAnson Huang				clocks = <&clk IMX8MN_CLK_PWM4_ROOT>,
4926c3debcbSAnson Huang					 <&clk IMX8MN_CLK_PWM4_ROOT>;
4936c3debcbSAnson Huang				clock-names = "ipg", "per";
4946c3debcbSAnson Huang				#pwm-cells = <2>;
4956c3debcbSAnson Huang				status = "disabled";
4966c3debcbSAnson Huang			};
497c4a21269SAnson Huang
498c4a21269SAnson Huang			system_counter: timer@306a0000 {
499c4a21269SAnson Huang				compatible = "nxp,sysctr-timer";
500c4a21269SAnson Huang				reg = <0x306a0000 0x20000>;
501c4a21269SAnson Huang				interrupts = <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>;
502c4a21269SAnson Huang				clocks = <&osc_24m>;
503c4a21269SAnson Huang				clock-names = "per";
504c4a21269SAnson Huang			};
5056c3debcbSAnson Huang		};
5066c3debcbSAnson Huang
5076c3debcbSAnson Huang		aips3: bus@30800000 {
508*dc3efc6fSPeng Fan			compatible = "fsl,aips-bus", "simple-bus";
509*dc3efc6fSPeng Fan			reg = <0x309f0000 0x10000>;
5106c3debcbSAnson Huang			#address-cells = <1>;
5116c3debcbSAnson Huang			#size-cells = <1>;
5126c3debcbSAnson Huang			ranges;
5136c3debcbSAnson Huang
5146c3debcbSAnson Huang			ecspi1: spi@30820000 {
5156c3debcbSAnson Huang				compatible = "fsl,imx8mn-ecspi", "fsl,imx51-ecspi";
5166c3debcbSAnson Huang				#address-cells = <1>;
5176c3debcbSAnson Huang				#size-cells = <0>;
5186c3debcbSAnson Huang				reg = <0x30820000 0x10000>;
5196c3debcbSAnson Huang				interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>;
5206c3debcbSAnson Huang				clocks = <&clk IMX8MN_CLK_ECSPI1_ROOT>,
5216c3debcbSAnson Huang					 <&clk IMX8MN_CLK_ECSPI1_ROOT>;
5226c3debcbSAnson Huang				clock-names = "ipg", "per";
5236c3debcbSAnson Huang				dmas = <&sdma1 0 7 1>, <&sdma1 1 7 2>;
5246c3debcbSAnson Huang				dma-names = "rx", "tx";
5256c3debcbSAnson Huang				status = "disabled";
5266c3debcbSAnson Huang			};
5276c3debcbSAnson Huang
5286c3debcbSAnson Huang			ecspi2: spi@30830000 {
5296c3debcbSAnson Huang				compatible = "fsl,imx8mn-ecspi", "fsl,imx51-ecspi";
5306c3debcbSAnson Huang				#address-cells = <1>;
5316c3debcbSAnson Huang				#size-cells = <0>;
5326c3debcbSAnson Huang				reg = <0x30830000 0x10000>;
5336c3debcbSAnson Huang				interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
5346c3debcbSAnson Huang				clocks = <&clk IMX8MN_CLK_ECSPI2_ROOT>,
5356c3debcbSAnson Huang					 <&clk IMX8MN_CLK_ECSPI2_ROOT>;
5366c3debcbSAnson Huang				clock-names = "ipg", "per";
5376c3debcbSAnson Huang				dmas = <&sdma1 2 7 1>, <&sdma1 3 7 2>;
5386c3debcbSAnson Huang				dma-names = "rx", "tx";
5396c3debcbSAnson Huang				status = "disabled";
5406c3debcbSAnson Huang			};
5416c3debcbSAnson Huang
5426c3debcbSAnson Huang			ecspi3: spi@30840000 {
5436c3debcbSAnson Huang				compatible = "fsl,imx8mn-ecspi", "fsl,imx51-ecspi";
5446c3debcbSAnson Huang				#address-cells = <1>;
5456c3debcbSAnson Huang				#size-cells = <0>;
5466c3debcbSAnson Huang				reg = <0x30840000 0x10000>;
5476c3debcbSAnson Huang				interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>;
5486c3debcbSAnson Huang				clocks = <&clk IMX8MN_CLK_ECSPI3_ROOT>,
5496c3debcbSAnson Huang					 <&clk IMX8MN_CLK_ECSPI3_ROOT>;
5506c3debcbSAnson Huang				clock-names = "ipg", "per";
5516c3debcbSAnson Huang				dmas = <&sdma1 4 7 1>, <&sdma1 5 7 2>;
5526c3debcbSAnson Huang				dma-names = "rx", "tx";
5536c3debcbSAnson Huang				status = "disabled";
5546c3debcbSAnson Huang			};
5556c3debcbSAnson Huang
5566c3debcbSAnson Huang			uart1: serial@30860000 {
5576c3debcbSAnson Huang				compatible = "fsl,imx8mn-uart", "fsl,imx6q-uart";
5586c3debcbSAnson Huang				reg = <0x30860000 0x10000>;
5596c3debcbSAnson Huang				interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
5606c3debcbSAnson Huang				clocks = <&clk IMX8MN_CLK_UART1_ROOT>,
5616c3debcbSAnson Huang					 <&clk IMX8MN_CLK_UART1_ROOT>;
5626c3debcbSAnson Huang				clock-names = "ipg", "per";
5636c3debcbSAnson Huang				dmas = <&sdma1 22 4 0>, <&sdma1 23 4 0>;
5646c3debcbSAnson Huang				dma-names = "rx", "tx";
5656c3debcbSAnson Huang				status = "disabled";
5666c3debcbSAnson Huang			};
5676c3debcbSAnson Huang
5686c3debcbSAnson Huang			uart3: serial@30880000 {
5696c3debcbSAnson Huang				compatible = "fsl,imx8mn-uart", "fsl,imx6q-uart";
5706c3debcbSAnson Huang				reg = <0x30880000 0x10000>;
5716c3debcbSAnson Huang				interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>;
5726c3debcbSAnson Huang				clocks = <&clk IMX8MN_CLK_UART3_ROOT>,
5736c3debcbSAnson Huang					 <&clk IMX8MN_CLK_UART3_ROOT>;
5746c3debcbSAnson Huang				clock-names = "ipg", "per";
5756c3debcbSAnson Huang				dmas = <&sdma1 26 4 0>, <&sdma1 27 4 0>;
5766c3debcbSAnson Huang				dma-names = "rx", "tx";
5776c3debcbSAnson Huang				status = "disabled";
5786c3debcbSAnson Huang			};
5796c3debcbSAnson Huang
5806c3debcbSAnson Huang			uart2: serial@30890000 {
5816c3debcbSAnson Huang				compatible = "fsl,imx8mn-uart", "fsl,imx6q-uart";
5826c3debcbSAnson Huang				reg = <0x30890000 0x10000>;
5836c3debcbSAnson Huang				interrupts = <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH>;
5846c3debcbSAnson Huang				clocks = <&clk IMX8MN_CLK_UART2_ROOT>,
5856c3debcbSAnson Huang					 <&clk IMX8MN_CLK_UART2_ROOT>;
5866c3debcbSAnson Huang				clock-names = "ipg", "per";
5876c3debcbSAnson Huang				status = "disabled";
5886c3debcbSAnson Huang			};
5896c3debcbSAnson Huang
590aad24175SHoria Geantă			crypto: crypto@30900000 {
591aad24175SHoria Geantă				compatible = "fsl,sec-v4.0";
592aad24175SHoria Geantă				#address-cells = <1>;
593aad24175SHoria Geantă				#size-cells = <1>;
594aad24175SHoria Geantă				reg = <0x30900000 0x40000>;
595aad24175SHoria Geantă				ranges = <0 0x30900000 0x40000>;
596aad24175SHoria Geantă				interrupts = <GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH>;
597aad24175SHoria Geantă				clocks = <&clk IMX8MN_CLK_AHB>,
598aad24175SHoria Geantă					 <&clk IMX8MN_CLK_IPG_ROOT>;
599aad24175SHoria Geantă				clock-names = "aclk", "ipg";
600aad24175SHoria Geantă
601f5ff5a21SSilvano di Ninno				sec_jr0: jr@1000 {
602aad24175SHoria Geantă					 compatible = "fsl,sec-v4.0-job-ring";
603aad24175SHoria Geantă					 reg = <0x1000 0x1000>;
604aad24175SHoria Geantă					 interrupts = <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>;
605aad24175SHoria Geantă				};
606aad24175SHoria Geantă
607f5ff5a21SSilvano di Ninno				sec_jr1: jr@2000 {
608aad24175SHoria Geantă					 compatible = "fsl,sec-v4.0-job-ring";
609aad24175SHoria Geantă					 reg = <0x2000 0x1000>;
610aad24175SHoria Geantă					 interrupts = <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>;
611aad24175SHoria Geantă				};
612aad24175SHoria Geantă
613f5ff5a21SSilvano di Ninno				sec_jr2: jr@3000 {
614aad24175SHoria Geantă					 compatible = "fsl,sec-v4.0-job-ring";
615aad24175SHoria Geantă					 reg = <0x3000 0x1000>;
616aad24175SHoria Geantă					 interrupts = <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>;
617aad24175SHoria Geantă				};
618aad24175SHoria Geantă			};
619aad24175SHoria Geantă
6206c3debcbSAnson Huang			i2c1: i2c@30a20000 {
6216c3debcbSAnson Huang				compatible = "fsl,imx8mn-i2c", "fsl,imx21-i2c";
6226c3debcbSAnson Huang				#address-cells = <1>;
6236c3debcbSAnson Huang				#size-cells = <0>;
6246c3debcbSAnson Huang				reg = <0x30a20000 0x10000>;
6256c3debcbSAnson Huang				interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>;
6266c3debcbSAnson Huang				clocks = <&clk IMX8MN_CLK_I2C1_ROOT>;
6276c3debcbSAnson Huang				status = "disabled";
6286c3debcbSAnson Huang			};
6296c3debcbSAnson Huang
6306c3debcbSAnson Huang			i2c2: i2c@30a30000 {
6316c3debcbSAnson Huang				compatible = "fsl,imx8mn-i2c", "fsl,imx21-i2c";
6326c3debcbSAnson Huang				#address-cells = <1>;
6336c3debcbSAnson Huang				#size-cells = <0>;
6346c3debcbSAnson Huang				reg = <0x30a30000 0x10000>;
6356c3debcbSAnson Huang				interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
6366c3debcbSAnson Huang				clocks = <&clk IMX8MN_CLK_I2C2_ROOT>;
6376c3debcbSAnson Huang				status = "disabled";
6386c3debcbSAnson Huang			};
6396c3debcbSAnson Huang
6406c3debcbSAnson Huang			i2c3: i2c@30a40000 {
6416c3debcbSAnson Huang				#address-cells = <1>;
6426c3debcbSAnson Huang				#size-cells = <0>;
6436c3debcbSAnson Huang				compatible = "fsl,imx8mn-i2c", "fsl,imx21-i2c";
6446c3debcbSAnson Huang				reg = <0x30a40000 0x10000>;
6456c3debcbSAnson Huang				interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
6466c3debcbSAnson Huang				clocks = <&clk IMX8MN_CLK_I2C3_ROOT>;
6476c3debcbSAnson Huang				status = "disabled";
6486c3debcbSAnson Huang			};
6496c3debcbSAnson Huang
6506c3debcbSAnson Huang			i2c4: i2c@30a50000 {
6516c3debcbSAnson Huang				compatible = "fsl,imx8mn-i2c", "fsl,imx21-i2c";
6526c3debcbSAnson Huang				#address-cells = <1>;
6536c3debcbSAnson Huang				#size-cells = <0>;
6546c3debcbSAnson Huang				reg = <0x30a50000 0x10000>;
6556c3debcbSAnson Huang				interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>;
6566c3debcbSAnson Huang				clocks = <&clk IMX8MN_CLK_I2C4_ROOT>;
6576c3debcbSAnson Huang				status = "disabled";
6586c3debcbSAnson Huang			};
6596c3debcbSAnson Huang
6606c3debcbSAnson Huang			uart4: serial@30a60000 {
6616c3debcbSAnson Huang				compatible = "fsl,imx8mn-uart", "fsl,imx6q-uart";
6626c3debcbSAnson Huang				reg = <0x30a60000 0x10000>;
6636c3debcbSAnson Huang				interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>;
6646c3debcbSAnson Huang				clocks = <&clk IMX8MN_CLK_UART4_ROOT>,
6656c3debcbSAnson Huang					 <&clk IMX8MN_CLK_UART4_ROOT>;
6666c3debcbSAnson Huang				clock-names = "ipg", "per";
6676c3debcbSAnson Huang				dmas = <&sdma1 28 4 0>, <&sdma1 29 4 0>;
6686c3debcbSAnson Huang				dma-names = "rx", "tx";
6696c3debcbSAnson Huang				status = "disabled";
6706c3debcbSAnson Huang			};
6716c3debcbSAnson Huang
6726c3debcbSAnson Huang			usdhc1: mmc@30b40000 {
6736c3debcbSAnson Huang				compatible = "fsl,imx8mn-usdhc", "fsl,imx7d-usdhc";
6746c3debcbSAnson Huang				reg = <0x30b40000 0x10000>;
6756c3debcbSAnson Huang				interrupts = <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>;
676ea65aba8SAnson Huang				clocks = <&clk IMX8MN_CLK_IPG_ROOT>,
6776c3debcbSAnson Huang					 <&clk IMX8MN_CLK_NAND_USDHC_BUS>,
6786c3debcbSAnson Huang					 <&clk IMX8MN_CLK_USDHC1_ROOT>;
6796c3debcbSAnson Huang				clock-names = "ipg", "ahb", "per";
6806c3debcbSAnson Huang				fsl,tuning-start-tap = <20>;
6816c3debcbSAnson Huang				fsl,tuning-step= <2>;
6826c3debcbSAnson Huang				bus-width = <4>;
6836c3debcbSAnson Huang				status = "disabled";
6846c3debcbSAnson Huang			};
6856c3debcbSAnson Huang
6866c3debcbSAnson Huang			usdhc2: mmc@30b50000 {
6876c3debcbSAnson Huang				compatible = "fsl,imx8mn-usdhc", "fsl,imx7d-usdhc";
6886c3debcbSAnson Huang				reg = <0x30b50000 0x10000>;
6896c3debcbSAnson Huang				interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
690ea65aba8SAnson Huang				clocks = <&clk IMX8MN_CLK_IPG_ROOT>,
6916c3debcbSAnson Huang					 <&clk IMX8MN_CLK_NAND_USDHC_BUS>,
6926c3debcbSAnson Huang					 <&clk IMX8MN_CLK_USDHC2_ROOT>;
6936c3debcbSAnson Huang				clock-names = "ipg", "ahb", "per";
6946c3debcbSAnson Huang				fsl,tuning-start-tap = <20>;
6956c3debcbSAnson Huang				fsl,tuning-step= <2>;
6966c3debcbSAnson Huang				bus-width = <4>;
6976c3debcbSAnson Huang				status = "disabled";
6986c3debcbSAnson Huang			};
6996c3debcbSAnson Huang
7006c3debcbSAnson Huang			usdhc3: mmc@30b60000 {
7016c3debcbSAnson Huang				compatible = "fsl,imx8mn-usdhc", "fsl,imx7d-usdhc";
7026c3debcbSAnson Huang				reg = <0x30b60000 0x10000>;
7036c3debcbSAnson Huang				interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>;
704ea65aba8SAnson Huang				clocks = <&clk IMX8MN_CLK_IPG_ROOT>,
7056c3debcbSAnson Huang					 <&clk IMX8MN_CLK_NAND_USDHC_BUS>,
7066c3debcbSAnson Huang					 <&clk IMX8MN_CLK_USDHC3_ROOT>;
7076c3debcbSAnson Huang				clock-names = "ipg", "ahb", "per";
7086c3debcbSAnson Huang				fsl,tuning-start-tap = <20>;
7096c3debcbSAnson Huang				fsl,tuning-step= <2>;
7106c3debcbSAnson Huang				bus-width = <4>;
7116c3debcbSAnson Huang				status = "disabled";
7126c3debcbSAnson Huang			};
7136c3debcbSAnson Huang
7146c3debcbSAnson Huang			sdma1: dma-controller@30bd0000 {
715958c6014SShengjiu Wang				compatible = "fsl,imx8mn-sdma", "fsl,imx8mq-sdma";
7166c3debcbSAnson Huang				reg = <0x30bd0000 0x10000>;
7176c3debcbSAnson Huang				interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>;
7186c3debcbSAnson Huang				clocks = <&clk IMX8MN_CLK_SDMA1_ROOT>,
7196c3debcbSAnson Huang					 <&clk IMX8MN_CLK_SDMA1_ROOT>;
7206c3debcbSAnson Huang				clock-names = "ipg", "ahb";
7216c3debcbSAnson Huang				#dma-cells = <3>;
7226c3debcbSAnson Huang				fsl,sdma-ram-script-name = "imx/sdma/sdma-imx7d.bin";
7236c3debcbSAnson Huang			};
7246c3debcbSAnson Huang
7256c3debcbSAnson Huang			fec1: ethernet@30be0000 {
7266c3debcbSAnson Huang				compatible = "fsl,imx8mn-fec", "fsl,imx6sx-fec";
7276c3debcbSAnson Huang				reg = <0x30be0000 0x10000>;
7286c3debcbSAnson Huang				interrupts = <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>,
7296c3debcbSAnson Huang					     <GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH>,
7306c3debcbSAnson Huang					     <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>;
7316c3debcbSAnson Huang				clocks = <&clk IMX8MN_CLK_ENET1_ROOT>,
7326c3debcbSAnson Huang					 <&clk IMX8MN_CLK_ENET1_ROOT>,
7336c3debcbSAnson Huang					 <&clk IMX8MN_CLK_ENET_TIMER>,
7346c3debcbSAnson Huang					 <&clk IMX8MN_CLK_ENET_REF>,
7356c3debcbSAnson Huang					 <&clk IMX8MN_CLK_ENET_PHY_REF>;
7366c3debcbSAnson Huang				clock-names = "ipg", "ahb", "ptp",
7376c3debcbSAnson Huang					      "enet_clk_ref", "enet_out";
7386c3debcbSAnson Huang				assigned-clocks = <&clk IMX8MN_CLK_ENET_AXI>,
7396c3debcbSAnson Huang						  <&clk IMX8MN_CLK_ENET_TIMER>,
7406c3debcbSAnson Huang						  <&clk IMX8MN_CLK_ENET_REF>,
7416c3debcbSAnson Huang						  <&clk IMX8MN_CLK_ENET_TIMER>;
7426c3debcbSAnson Huang				assigned-clock-parents = <&clk IMX8MN_SYS_PLL1_266M>,
7436c3debcbSAnson Huang							 <&clk IMX8MN_SYS_PLL2_100M>,
7446c3debcbSAnson Huang							 <&clk IMX8MN_SYS_PLL2_125M>;
7456c3debcbSAnson Huang				assigned-clock-rates = <0>, <0>, <125000000>, <100000000>;
7466c3debcbSAnson Huang				fsl,num-tx-queues = <3>;
7476c3debcbSAnson Huang				fsl,num-rx-queues = <3>;
7486c3debcbSAnson Huang				status = "disabled";
7496c3debcbSAnson Huang			};
7506c3debcbSAnson Huang
7516c3debcbSAnson Huang		};
7526c3debcbSAnson Huang
7536c3debcbSAnson Huang		aips4: bus@32c00000 {
754*dc3efc6fSPeng Fan			compatible = "fsl,aips-bus", "simple-bus";
755*dc3efc6fSPeng Fan			reg = <0x32df0000 0x10000>;
7566c3debcbSAnson Huang			#address-cells = <1>;
7576c3debcbSAnson Huang			#size-cells = <1>;
7586c3debcbSAnson Huang			ranges;
7596c3debcbSAnson Huang
7606c3debcbSAnson Huang			usbotg1: usb@32e40000 {
7616c3debcbSAnson Huang				compatible = "fsl,imx8mn-usb", "fsl,imx7d-usb";
7626c3debcbSAnson Huang				reg = <0x32e40000 0x200>;
7636c3debcbSAnson Huang				interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>;
7646c3debcbSAnson Huang				clocks = <&clk IMX8MN_CLK_USB1_CTRL_ROOT>;
7656c3debcbSAnson Huang				clock-names = "usb1_ctrl_root_clk";
766d51cb99cSLi Jun				assigned-clocks = <&clk IMX8MN_CLK_USB_BUS>;
767d51cb99cSLi Jun				assigned-clock-parents = <&clk IMX8MN_SYS_PLL2_500M>;
7686c3debcbSAnson Huang				fsl,usbphy = <&usbphynop1>;
7696c3debcbSAnson Huang				fsl,usbmisc = <&usbmisc1 0>;
7706c3debcbSAnson Huang				status = "disabled";
7716c3debcbSAnson Huang			};
7726c3debcbSAnson Huang
7736c3debcbSAnson Huang			usbmisc1: usbmisc@32e40200 {
7746c3debcbSAnson Huang				compatible = "fsl,imx8mn-usbmisc", "fsl,imx7d-usbmisc";
7756c3debcbSAnson Huang				#index-cells = <1>;
7766c3debcbSAnson Huang				reg = <0x32e40200 0x200>;
7776c3debcbSAnson Huang			};
7786c3debcbSAnson Huang
7796c3debcbSAnson Huang			usbotg2: usb@32e50000 {
7806c3debcbSAnson Huang				compatible = "fsl,imx8mn-usb", "fsl,imx7d-usb";
7816c3debcbSAnson Huang				reg = <0x32e50000 0x200>;
7826c3debcbSAnson Huang				interrupts = <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>;
7836c3debcbSAnson Huang				clocks = <&clk IMX8MN_CLK_USB1_CTRL_ROOT>;
7846c3debcbSAnson Huang				clock-names = "usb1_ctrl_root_clk";
7856c3debcbSAnson Huang				assigned-clocks = <&clk IMX8MN_CLK_USB_BUS>,
7866c3debcbSAnson Huang						  <&clk IMX8MN_CLK_USB_CORE_REF>;
7876c3debcbSAnson Huang				assigned-clock-parents = <&clk IMX8MN_SYS_PLL2_500M>,
7886c3debcbSAnson Huang							 <&clk IMX8MN_SYS_PLL1_100M>;
7896c3debcbSAnson Huang				fsl,usbphy = <&usbphynop2>;
7906c3debcbSAnson Huang				fsl,usbmisc = <&usbmisc2 0>;
7916c3debcbSAnson Huang				status = "disabled";
7926c3debcbSAnson Huang			};
7936c3debcbSAnson Huang
7946c3debcbSAnson Huang			usbmisc2: usbmisc@32e50200 {
7956c3debcbSAnson Huang				compatible = "fsl,imx8mn-usbmisc", "fsl,imx7d-usbmisc";
7966c3debcbSAnson Huang				#index-cells = <1>;
7976c3debcbSAnson Huang				reg = <0x32e50200 0x200>;
7986c3debcbSAnson Huang			};
7996c3debcbSAnson Huang
8006c3debcbSAnson Huang		};
8016c3debcbSAnson Huang
8026c3debcbSAnson Huang		dma_apbh: dma-controller@33000000 {
8036c3debcbSAnson Huang			compatible = "fsl,imx7d-dma-apbh", "fsl,imx28-dma-apbh";
8046c3debcbSAnson Huang			reg = <0x33000000 0x2000>;
8056c3debcbSAnson Huang			interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>,
8066c3debcbSAnson Huang				     <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>,
8076c3debcbSAnson Huang				     <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>,
8086c3debcbSAnson Huang				     <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
8096c3debcbSAnson Huang			interrupt-names = "gpmi0", "gpmi1", "gpmi2", "gpmi3";
8106c3debcbSAnson Huang			#dma-cells = <1>;
8116c3debcbSAnson Huang			dma-channels = <4>;
8126c3debcbSAnson Huang			clocks = <&clk IMX8MN_CLK_NAND_USDHC_BUS_RAWNAND_CLK>;
8136c3debcbSAnson Huang		};
8146c3debcbSAnson Huang
8156c3debcbSAnson Huang		gpmi: nand-controller@33002000 {
8166c3debcbSAnson Huang			compatible = "fsl,imx8mn-gpmi-nand", "fsl,imx7d-gpmi-nand";
8176c3debcbSAnson Huang			#address-cells = <1>;
8186c3debcbSAnson Huang			#size-cells = <1>;
8196c3debcbSAnson Huang			reg = <0x33002000 0x2000>, <0x33004000 0x4000>;
8206c3debcbSAnson Huang			reg-names = "gpmi-nand", "bch";
8216c3debcbSAnson Huang			interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
8226c3debcbSAnson Huang			interrupt-names = "bch";
8236c3debcbSAnson Huang			clocks = <&clk IMX8MN_CLK_NAND_ROOT>,
8246c3debcbSAnson Huang				 <&clk IMX8MN_CLK_NAND_USDHC_BUS_RAWNAND_CLK>;
8256c3debcbSAnson Huang			clock-names = "gpmi_io", "gpmi_bch_apb";
8266c3debcbSAnson Huang			dmas = <&dma_apbh 0>;
8276c3debcbSAnson Huang			dma-names = "rx-tx";
8286c3debcbSAnson Huang			status = "disabled";
8296c3debcbSAnson Huang		};
8306c3debcbSAnson Huang
8316c3debcbSAnson Huang		gic: interrupt-controller@38800000 {
8326c3debcbSAnson Huang			compatible = "arm,gic-v3";
8336c3debcbSAnson Huang			reg = <0x38800000 0x10000>,
8346c3debcbSAnson Huang			      <0x38880000 0xc0000>;
8356c3debcbSAnson Huang			#interrupt-cells = <3>;
8366c3debcbSAnson Huang			interrupt-controller;
8376c3debcbSAnson Huang			interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>;
8386c3debcbSAnson Huang		};
8392d8e0747SJoakim Zhang
8400376f6ecSLeonard Crestez		ddrc: memory-controller@3d400000 {
8410376f6ecSLeonard Crestez			compatible = "fsl,imx8mn-ddrc", "fsl,imx8m-ddrc";
8420376f6ecSLeonard Crestez			reg = <0x3d400000 0x400000>;
8430376f6ecSLeonard Crestez			clock-names = "core", "pll", "alt", "apb";
8440376f6ecSLeonard Crestez			clocks = <&clk IMX8MN_CLK_DRAM_CORE>,
8450376f6ecSLeonard Crestez				 <&clk IMX8MN_DRAM_PLL>,
8460376f6ecSLeonard Crestez				 <&clk IMX8MN_CLK_DRAM_ALT>,
8470376f6ecSLeonard Crestez				 <&clk IMX8MN_CLK_DRAM_APB>;
8480376f6ecSLeonard Crestez		};
8490376f6ecSLeonard Crestez
8502d8e0747SJoakim Zhang		ddr-pmu@3d800000 {
8512d8e0747SJoakim Zhang			compatible = "fsl,imx8mn-ddr-pmu", "fsl,imx8m-ddr-pmu";
8522d8e0747SJoakim Zhang			reg = <0x3d800000 0x400000>;
8532d8e0747SJoakim Zhang			interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>;
8542d8e0747SJoakim Zhang		};
8556c3debcbSAnson Huang	};
8566c3debcbSAnson Huang
8576c3debcbSAnson Huang	usbphynop1: usbphynop1 {
8586c3debcbSAnson Huang		compatible = "usb-nop-xceiv";
8596c3debcbSAnson Huang		clocks = <&clk IMX8MN_CLK_USB_PHY_REF>;
8606c3debcbSAnson Huang		assigned-clocks = <&clk IMX8MN_CLK_USB_PHY_REF>;
8616c3debcbSAnson Huang		assigned-clock-parents = <&clk IMX8MN_SYS_PLL1_100M>;
8626c3debcbSAnson Huang		clock-names = "main_clk";
8636c3debcbSAnson Huang	};
8646c3debcbSAnson Huang
8656c3debcbSAnson Huang	usbphynop2: usbphynop2 {
8666c3debcbSAnson Huang		compatible = "usb-nop-xceiv";
8676c3debcbSAnson Huang		clocks = <&clk IMX8MN_CLK_USB_PHY_REF>;
8686c3debcbSAnson Huang		assigned-clocks = <&clk IMX8MN_CLK_USB_PHY_REF>;
8696c3debcbSAnson Huang		assigned-clock-parents = <&clk IMX8MN_SYS_PLL1_100M>;
8706c3debcbSAnson Huang		clock-names = "main_clk";
8716c3debcbSAnson Huang	};
8726c3debcbSAnson Huang};
873