xref: /openbmc/linux/arch/arm64/boot/dts/freescale/imx8mn.dtsi (revision 0656e37a8fa87fca12ef255de018a9d80ba23eb8)
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>;
1248c30e7caSAnson Huang			opp-microvolt = <850000>;
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";
228*0656e37aSKrzysztof Kozlowski		interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
229*0656e37aSKrzysztof Kozlowski			     <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
230*0656e37aSKrzysztof Kozlowski			     <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
231*0656e37aSKrzysztof Kozlowski			     <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(4) | 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";
244921a6845SFabio Estevam			reg = <0x30000000 0x400000>;
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
37712fa1078SAnson Huang			ocotp: efuse@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>;
413c2a2f446SAnson Huang					clocks = <&clk IMX8MN_CLK_SNVS_ROOT>;
414c2a2f446SAnson 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";
4299e6337e6SPeng Fan				assigned-clocks = <&clk IMX8MN_CLK_A53_SRC>,
4309e6337e6SPeng Fan						<&clk IMX8MN_CLK_A53_CORE>,
4319e6337e6SPeng Fan						<&clk IMX8MN_CLK_NOC>,
43253458f86SPeng Fan						<&clk IMX8MN_CLK_AUDIO_AHB>,
43353458f86SPeng Fan						<&clk IMX8MN_CLK_IPG_AUDIO_ROOT>,
43453458f86SPeng Fan						<&clk IMX8MN_SYS_PLL3>;
4359e6337e6SPeng Fan				assigned-clock-parents = <&clk IMX8MN_SYS_PLL1_800M>,
4369e6337e6SPeng Fan							 <&clk IMX8MN_ARM_PLL_OUT>,
4379e6337e6SPeng Fan							 <&clk IMX8MN_SYS_PLL3_OUT>,
43853458f86SPeng Fan							 <&clk IMX8MN_SYS_PLL1_800M>;
4399e6337e6SPeng Fan				assigned-clock-rates = <0>, <0>, <0>,
44053458f86SPeng Fan							<400000000>,
44153458f86SPeng Fan							<400000000>,
44253458f86SPeng Fan							<600000000>;
4436c3debcbSAnson Huang			};
4446c3debcbSAnson Huang
4456c3debcbSAnson Huang			src: reset-controller@30390000 {
44623b80c20SAnson Huang				compatible = "fsl,imx8mn-src", "fsl,imx8mq-src", "syscon";
4476c3debcbSAnson Huang				reg = <0x30390000 0x10000>;
4486c3debcbSAnson Huang				interrupts = <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>;
4496c3debcbSAnson Huang				#reset-cells = <1>;
4506c3debcbSAnson Huang			};
4516c3debcbSAnson Huang		};
4526c3debcbSAnson Huang
4536c3debcbSAnson Huang		aips2: bus@30400000 {
454dc3efc6fSPeng Fan			compatible = "fsl,aips-bus", "simple-bus";
455921a6845SFabio Estevam			reg = <0x30400000 0x400000>;
4566c3debcbSAnson Huang			#address-cells = <1>;
4576c3debcbSAnson Huang			#size-cells = <1>;
4586c3debcbSAnson Huang			ranges;
4596c3debcbSAnson Huang
4606c3debcbSAnson Huang			pwm1: pwm@30660000 {
4616c3debcbSAnson Huang				compatible = "fsl,imx8mn-pwm", "fsl,imx27-pwm";
4626c3debcbSAnson Huang				reg = <0x30660000 0x10000>;
4636c3debcbSAnson Huang				interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>;
4646c3debcbSAnson Huang				clocks = <&clk IMX8MN_CLK_PWM1_ROOT>,
4656c3debcbSAnson Huang					<&clk IMX8MN_CLK_PWM1_ROOT>;
4666c3debcbSAnson Huang				clock-names = "ipg", "per";
4676c3debcbSAnson Huang				#pwm-cells = <2>;
4686c3debcbSAnson Huang				status = "disabled";
4696c3debcbSAnson Huang			};
4706c3debcbSAnson Huang
4716c3debcbSAnson Huang			pwm2: pwm@30670000 {
4726c3debcbSAnson Huang				compatible = "fsl,imx8mn-pwm", "fsl,imx27-pwm";
4736c3debcbSAnson Huang				reg = <0x30670000 0x10000>;
4746c3debcbSAnson Huang				interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>;
4756c3debcbSAnson Huang				clocks = <&clk IMX8MN_CLK_PWM2_ROOT>,
4766c3debcbSAnson Huang					 <&clk IMX8MN_CLK_PWM2_ROOT>;
4776c3debcbSAnson Huang				clock-names = "ipg", "per";
4786c3debcbSAnson Huang				#pwm-cells = <2>;
4796c3debcbSAnson Huang				status = "disabled";
4806c3debcbSAnson Huang			};
4816c3debcbSAnson Huang
4826c3debcbSAnson Huang			pwm3: pwm@30680000 {
4836c3debcbSAnson Huang				compatible = "fsl,imx8mn-pwm", "fsl,imx27-pwm";
4846c3debcbSAnson Huang				reg = <0x30680000 0x10000>;
4856c3debcbSAnson Huang				interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
4866c3debcbSAnson Huang				clocks = <&clk IMX8MN_CLK_PWM3_ROOT>,
4876c3debcbSAnson Huang					 <&clk IMX8MN_CLK_PWM3_ROOT>;
4886c3debcbSAnson Huang				clock-names = "ipg", "per";
4896c3debcbSAnson Huang				#pwm-cells = <2>;
4906c3debcbSAnson Huang				status = "disabled";
4916c3debcbSAnson Huang			};
4926c3debcbSAnson Huang
4936c3debcbSAnson Huang			pwm4: pwm@30690000 {
4946c3debcbSAnson Huang				compatible = "fsl,imx8mn-pwm", "fsl,imx27-pwm";
4956c3debcbSAnson Huang				reg = <0x30690000 0x10000>;
4966c3debcbSAnson Huang				interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>;
4976c3debcbSAnson Huang				clocks = <&clk IMX8MN_CLK_PWM4_ROOT>,
4986c3debcbSAnson Huang					 <&clk IMX8MN_CLK_PWM4_ROOT>;
4996c3debcbSAnson Huang				clock-names = "ipg", "per";
5006c3debcbSAnson Huang				#pwm-cells = <2>;
5016c3debcbSAnson Huang				status = "disabled";
5026c3debcbSAnson Huang			};
503c4a21269SAnson Huang
504c4a21269SAnson Huang			system_counter: timer@306a0000 {
505c4a21269SAnson Huang				compatible = "nxp,sysctr-timer";
506c4a21269SAnson Huang				reg = <0x306a0000 0x20000>;
507c4a21269SAnson Huang				interrupts = <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>;
508c4a21269SAnson Huang				clocks = <&osc_24m>;
509c4a21269SAnson Huang				clock-names = "per";
510c4a21269SAnson Huang			};
5116c3debcbSAnson Huang		};
5126c3debcbSAnson Huang
5136c3debcbSAnson Huang		aips3: bus@30800000 {
514dc3efc6fSPeng Fan			compatible = "fsl,aips-bus", "simple-bus";
515921a6845SFabio Estevam			reg = <0x30800000 0x400000>;
5166c3debcbSAnson Huang			#address-cells = <1>;
5176c3debcbSAnson Huang			#size-cells = <1>;
5186c3debcbSAnson Huang			ranges;
5196c3debcbSAnson Huang
5206c3debcbSAnson Huang			ecspi1: spi@30820000 {
5216c3debcbSAnson Huang				compatible = "fsl,imx8mn-ecspi", "fsl,imx51-ecspi";
5226c3debcbSAnson Huang				#address-cells = <1>;
5236c3debcbSAnson Huang				#size-cells = <0>;
5246c3debcbSAnson Huang				reg = <0x30820000 0x10000>;
5256c3debcbSAnson Huang				interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>;
5266c3debcbSAnson Huang				clocks = <&clk IMX8MN_CLK_ECSPI1_ROOT>,
5276c3debcbSAnson Huang					 <&clk IMX8MN_CLK_ECSPI1_ROOT>;
5286c3debcbSAnson Huang				clock-names = "ipg", "per";
5296c3debcbSAnson Huang				dmas = <&sdma1 0 7 1>, <&sdma1 1 7 2>;
5306c3debcbSAnson Huang				dma-names = "rx", "tx";
5316c3debcbSAnson Huang				status = "disabled";
5326c3debcbSAnson Huang			};
5336c3debcbSAnson Huang
5346c3debcbSAnson Huang			ecspi2: spi@30830000 {
5356c3debcbSAnson Huang				compatible = "fsl,imx8mn-ecspi", "fsl,imx51-ecspi";
5366c3debcbSAnson Huang				#address-cells = <1>;
5376c3debcbSAnson Huang				#size-cells = <0>;
5386c3debcbSAnson Huang				reg = <0x30830000 0x10000>;
5396c3debcbSAnson Huang				interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
5406c3debcbSAnson Huang				clocks = <&clk IMX8MN_CLK_ECSPI2_ROOT>,
5416c3debcbSAnson Huang					 <&clk IMX8MN_CLK_ECSPI2_ROOT>;
5426c3debcbSAnson Huang				clock-names = "ipg", "per";
5436c3debcbSAnson Huang				dmas = <&sdma1 2 7 1>, <&sdma1 3 7 2>;
5446c3debcbSAnson Huang				dma-names = "rx", "tx";
5456c3debcbSAnson Huang				status = "disabled";
5466c3debcbSAnson Huang			};
5476c3debcbSAnson Huang
5486c3debcbSAnson Huang			ecspi3: spi@30840000 {
5496c3debcbSAnson Huang				compatible = "fsl,imx8mn-ecspi", "fsl,imx51-ecspi";
5506c3debcbSAnson Huang				#address-cells = <1>;
5516c3debcbSAnson Huang				#size-cells = <0>;
5526c3debcbSAnson Huang				reg = <0x30840000 0x10000>;
5536c3debcbSAnson Huang				interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>;
5546c3debcbSAnson Huang				clocks = <&clk IMX8MN_CLK_ECSPI3_ROOT>,
5556c3debcbSAnson Huang					 <&clk IMX8MN_CLK_ECSPI3_ROOT>;
5566c3debcbSAnson Huang				clock-names = "ipg", "per";
5576c3debcbSAnson Huang				dmas = <&sdma1 4 7 1>, <&sdma1 5 7 2>;
5586c3debcbSAnson Huang				dma-names = "rx", "tx";
5596c3debcbSAnson Huang				status = "disabled";
5606c3debcbSAnson Huang			};
5616c3debcbSAnson Huang
5626c3debcbSAnson Huang			uart1: serial@30860000 {
5636c3debcbSAnson Huang				compatible = "fsl,imx8mn-uart", "fsl,imx6q-uart";
5646c3debcbSAnson Huang				reg = <0x30860000 0x10000>;
5656c3debcbSAnson Huang				interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
5666c3debcbSAnson Huang				clocks = <&clk IMX8MN_CLK_UART1_ROOT>,
5676c3debcbSAnson Huang					 <&clk IMX8MN_CLK_UART1_ROOT>;
5686c3debcbSAnson Huang				clock-names = "ipg", "per";
5696c3debcbSAnson Huang				dmas = <&sdma1 22 4 0>, <&sdma1 23 4 0>;
5706c3debcbSAnson Huang				dma-names = "rx", "tx";
5716c3debcbSAnson Huang				status = "disabled";
5726c3debcbSAnson Huang			};
5736c3debcbSAnson Huang
5746c3debcbSAnson Huang			uart3: serial@30880000 {
5756c3debcbSAnson Huang				compatible = "fsl,imx8mn-uart", "fsl,imx6q-uart";
5766c3debcbSAnson Huang				reg = <0x30880000 0x10000>;
5776c3debcbSAnson Huang				interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>;
5786c3debcbSAnson Huang				clocks = <&clk IMX8MN_CLK_UART3_ROOT>,
5796c3debcbSAnson Huang					 <&clk IMX8MN_CLK_UART3_ROOT>;
5806c3debcbSAnson Huang				clock-names = "ipg", "per";
5816c3debcbSAnson Huang				dmas = <&sdma1 26 4 0>, <&sdma1 27 4 0>;
5826c3debcbSAnson Huang				dma-names = "rx", "tx";
5836c3debcbSAnson Huang				status = "disabled";
5846c3debcbSAnson Huang			};
5856c3debcbSAnson Huang
5866c3debcbSAnson Huang			uart2: serial@30890000 {
5876c3debcbSAnson Huang				compatible = "fsl,imx8mn-uart", "fsl,imx6q-uart";
5886c3debcbSAnson Huang				reg = <0x30890000 0x10000>;
5896c3debcbSAnson Huang				interrupts = <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH>;
5906c3debcbSAnson Huang				clocks = <&clk IMX8MN_CLK_UART2_ROOT>,
5916c3debcbSAnson Huang					 <&clk IMX8MN_CLK_UART2_ROOT>;
5926c3debcbSAnson Huang				clock-names = "ipg", "per";
5936c3debcbSAnson Huang				status = "disabled";
5946c3debcbSAnson Huang			};
5956c3debcbSAnson Huang
596aad24175SHoria Geantă			crypto: crypto@30900000 {
597aad24175SHoria Geantă				compatible = "fsl,sec-v4.0";
598aad24175SHoria Geantă				#address-cells = <1>;
599aad24175SHoria Geantă				#size-cells = <1>;
600aad24175SHoria Geantă				reg = <0x30900000 0x40000>;
601aad24175SHoria Geantă				ranges = <0 0x30900000 0x40000>;
602aad24175SHoria Geantă				interrupts = <GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH>;
603aad24175SHoria Geantă				clocks = <&clk IMX8MN_CLK_AHB>,
604aad24175SHoria Geantă					 <&clk IMX8MN_CLK_IPG_ROOT>;
605aad24175SHoria Geantă				clock-names = "aclk", "ipg";
606aad24175SHoria Geantă
607f5ff5a21SSilvano di Ninno				sec_jr0: jr@1000 {
608aad24175SHoria Geantă					 compatible = "fsl,sec-v4.0-job-ring";
609aad24175SHoria Geantă					 reg = <0x1000 0x1000>;
610aad24175SHoria Geantă					 interrupts = <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>;
611aad24175SHoria Geantă				};
612aad24175SHoria Geantă
613f5ff5a21SSilvano di Ninno				sec_jr1: jr@2000 {
614aad24175SHoria Geantă					 compatible = "fsl,sec-v4.0-job-ring";
615aad24175SHoria Geantă					 reg = <0x2000 0x1000>;
616aad24175SHoria Geantă					 interrupts = <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>;
617aad24175SHoria Geantă				};
618aad24175SHoria Geantă
619f5ff5a21SSilvano di Ninno				sec_jr2: jr@3000 {
620aad24175SHoria Geantă					 compatible = "fsl,sec-v4.0-job-ring";
621aad24175SHoria Geantă					 reg = <0x3000 0x1000>;
622aad24175SHoria Geantă					 interrupts = <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>;
623aad24175SHoria Geantă				};
624aad24175SHoria Geantă			};
625aad24175SHoria Geantă
6266c3debcbSAnson Huang			i2c1: i2c@30a20000 {
6276c3debcbSAnson Huang				compatible = "fsl,imx8mn-i2c", "fsl,imx21-i2c";
6286c3debcbSAnson Huang				#address-cells = <1>;
6296c3debcbSAnson Huang				#size-cells = <0>;
6306c3debcbSAnson Huang				reg = <0x30a20000 0x10000>;
6316c3debcbSAnson Huang				interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>;
6326c3debcbSAnson Huang				clocks = <&clk IMX8MN_CLK_I2C1_ROOT>;
6336c3debcbSAnson Huang				status = "disabled";
6346c3debcbSAnson Huang			};
6356c3debcbSAnson Huang
6366c3debcbSAnson Huang			i2c2: i2c@30a30000 {
6376c3debcbSAnson Huang				compatible = "fsl,imx8mn-i2c", "fsl,imx21-i2c";
6386c3debcbSAnson Huang				#address-cells = <1>;
6396c3debcbSAnson Huang				#size-cells = <0>;
6406c3debcbSAnson Huang				reg = <0x30a30000 0x10000>;
6416c3debcbSAnson Huang				interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
6426c3debcbSAnson Huang				clocks = <&clk IMX8MN_CLK_I2C2_ROOT>;
6436c3debcbSAnson Huang				status = "disabled";
6446c3debcbSAnson Huang			};
6456c3debcbSAnson Huang
6466c3debcbSAnson Huang			i2c3: i2c@30a40000 {
6476c3debcbSAnson Huang				#address-cells = <1>;
6486c3debcbSAnson Huang				#size-cells = <0>;
6496c3debcbSAnson Huang				compatible = "fsl,imx8mn-i2c", "fsl,imx21-i2c";
6506c3debcbSAnson Huang				reg = <0x30a40000 0x10000>;
6516c3debcbSAnson Huang				interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
6526c3debcbSAnson Huang				clocks = <&clk IMX8MN_CLK_I2C3_ROOT>;
6536c3debcbSAnson Huang				status = "disabled";
6546c3debcbSAnson Huang			};
6556c3debcbSAnson Huang
6566c3debcbSAnson Huang			i2c4: i2c@30a50000 {
6576c3debcbSAnson Huang				compatible = "fsl,imx8mn-i2c", "fsl,imx21-i2c";
6586c3debcbSAnson Huang				#address-cells = <1>;
6596c3debcbSAnson Huang				#size-cells = <0>;
6606c3debcbSAnson Huang				reg = <0x30a50000 0x10000>;
6616c3debcbSAnson Huang				interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>;
6626c3debcbSAnson Huang				clocks = <&clk IMX8MN_CLK_I2C4_ROOT>;
6636c3debcbSAnson Huang				status = "disabled";
6646c3debcbSAnson Huang			};
6656c3debcbSAnson Huang
6666c3debcbSAnson Huang			uart4: serial@30a60000 {
6676c3debcbSAnson Huang				compatible = "fsl,imx8mn-uart", "fsl,imx6q-uart";
6686c3debcbSAnson Huang				reg = <0x30a60000 0x10000>;
6696c3debcbSAnson Huang				interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>;
6706c3debcbSAnson Huang				clocks = <&clk IMX8MN_CLK_UART4_ROOT>,
6716c3debcbSAnson Huang					 <&clk IMX8MN_CLK_UART4_ROOT>;
6726c3debcbSAnson Huang				clock-names = "ipg", "per";
6736c3debcbSAnson Huang				dmas = <&sdma1 28 4 0>, <&sdma1 29 4 0>;
6746c3debcbSAnson Huang				dma-names = "rx", "tx";
6756c3debcbSAnson Huang				status = "disabled";
6766c3debcbSAnson Huang			};
6776c3debcbSAnson Huang
678bbfc59beSPeng Fan			mu: mailbox@30aa0000 {
679bbfc59beSPeng Fan				compatible = "fsl,imx8mn-mu", "fsl,imx6sx-mu";
680bbfc59beSPeng Fan				reg = <0x30aa0000 0x10000>;
681bbfc59beSPeng Fan				interrupts = <GIC_SPI 88 IRQ_TYPE_LEVEL_HIGH>;
682bbfc59beSPeng Fan				clocks = <&clk IMX8MN_CLK_MU_ROOT>;
683bbfc59beSPeng Fan				#mbox-cells = <2>;
684bbfc59beSPeng Fan			};
685bbfc59beSPeng Fan
6866c3debcbSAnson Huang			usdhc1: mmc@30b40000 {
6876c3debcbSAnson Huang				compatible = "fsl,imx8mn-usdhc", "fsl,imx7d-usdhc";
6886c3debcbSAnson Huang				reg = <0x30b40000 0x10000>;
6896c3debcbSAnson Huang				interrupts = <GIC_SPI 22 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_USDHC1_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			usdhc2: mmc@30b50000 {
7016c3debcbSAnson Huang				compatible = "fsl,imx8mn-usdhc", "fsl,imx7d-usdhc";
7026c3debcbSAnson Huang				reg = <0x30b50000 0x10000>;
7036c3debcbSAnson Huang				interrupts = <GIC_SPI 23 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_USDHC2_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			usdhc3: mmc@30b60000 {
7156c3debcbSAnson Huang				compatible = "fsl,imx8mn-usdhc", "fsl,imx7d-usdhc";
7166c3debcbSAnson Huang				reg = <0x30b60000 0x10000>;
7176c3debcbSAnson Huang				interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>;
718ea65aba8SAnson Huang				clocks = <&clk IMX8MN_CLK_IPG_ROOT>,
7196c3debcbSAnson Huang					 <&clk IMX8MN_CLK_NAND_USDHC_BUS>,
7206c3debcbSAnson Huang					 <&clk IMX8MN_CLK_USDHC3_ROOT>;
7216c3debcbSAnson Huang				clock-names = "ipg", "ahb", "per";
7226c3debcbSAnson Huang				fsl,tuning-start-tap = <20>;
7236c3debcbSAnson Huang				fsl,tuning-step= <2>;
7246c3debcbSAnson Huang				bus-width = <4>;
7256c3debcbSAnson Huang				status = "disabled";
7266c3debcbSAnson Huang			};
7276c3debcbSAnson Huang
7286c3debcbSAnson Huang			sdma1: dma-controller@30bd0000 {
729958c6014SShengjiu Wang				compatible = "fsl,imx8mn-sdma", "fsl,imx8mq-sdma";
7306c3debcbSAnson Huang				reg = <0x30bd0000 0x10000>;
7316c3debcbSAnson Huang				interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>;
7326c3debcbSAnson Huang				clocks = <&clk IMX8MN_CLK_SDMA1_ROOT>,
73315ddc3e1SAdam Ford					 <&clk IMX8MN_CLK_AHB>;
7346c3debcbSAnson Huang				clock-names = "ipg", "ahb";
7356c3debcbSAnson Huang				#dma-cells = <3>;
7366c3debcbSAnson Huang				fsl,sdma-ram-script-name = "imx/sdma/sdma-imx7d.bin";
7376c3debcbSAnson Huang			};
7386c3debcbSAnson Huang
7396c3debcbSAnson Huang			fec1: ethernet@30be0000 {
7406c3debcbSAnson Huang				compatible = "fsl,imx8mn-fec", "fsl,imx6sx-fec";
7416c3debcbSAnson Huang				reg = <0x30be0000 0x10000>;
7426c3debcbSAnson Huang				interrupts = <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>,
7436c3debcbSAnson Huang					     <GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH>,
744d3762a47SFabio Estevam					     <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>,
745d3762a47SFabio Estevam					     <GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>;
7466c3debcbSAnson Huang				clocks = <&clk IMX8MN_CLK_ENET1_ROOT>,
7476c3debcbSAnson Huang					 <&clk IMX8MN_CLK_ENET1_ROOT>,
7486c3debcbSAnson Huang					 <&clk IMX8MN_CLK_ENET_TIMER>,
7496c3debcbSAnson Huang					 <&clk IMX8MN_CLK_ENET_REF>,
7506c3debcbSAnson Huang					 <&clk IMX8MN_CLK_ENET_PHY_REF>;
7516c3debcbSAnson Huang				clock-names = "ipg", "ahb", "ptp",
7526c3debcbSAnson Huang					      "enet_clk_ref", "enet_out";
7536c3debcbSAnson Huang				assigned-clocks = <&clk IMX8MN_CLK_ENET_AXI>,
7546c3debcbSAnson Huang						  <&clk IMX8MN_CLK_ENET_TIMER>,
7556c3debcbSAnson Huang						  <&clk IMX8MN_CLK_ENET_REF>,
7566c3debcbSAnson Huang						  <&clk IMX8MN_CLK_ENET_TIMER>;
7576c3debcbSAnson Huang				assigned-clock-parents = <&clk IMX8MN_SYS_PLL1_266M>,
7586c3debcbSAnson Huang							 <&clk IMX8MN_SYS_PLL2_100M>,
7596c3debcbSAnson Huang							 <&clk IMX8MN_SYS_PLL2_125M>;
7606c3debcbSAnson Huang				assigned-clock-rates = <0>, <0>, <125000000>, <100000000>;
7616c3debcbSAnson Huang				fsl,num-tx-queues = <3>;
7626c3debcbSAnson Huang				fsl,num-rx-queues = <3>;
7636c3debcbSAnson Huang				status = "disabled";
7646c3debcbSAnson Huang			};
7656c3debcbSAnson Huang
7666c3debcbSAnson Huang		};
7676c3debcbSAnson Huang
7686c3debcbSAnson Huang		aips4: bus@32c00000 {
769dc3efc6fSPeng Fan			compatible = "fsl,aips-bus", "simple-bus";
770921a6845SFabio Estevam			reg = <0x32c00000 0x400000>;
7716c3debcbSAnson Huang			#address-cells = <1>;
7726c3debcbSAnson Huang			#size-cells = <1>;
7736c3debcbSAnson Huang			ranges;
7746c3debcbSAnson Huang
7756c3debcbSAnson Huang			usbotg1: usb@32e40000 {
7766c3debcbSAnson Huang				compatible = "fsl,imx8mn-usb", "fsl,imx7d-usb";
7776c3debcbSAnson Huang				reg = <0x32e40000 0x200>;
7786c3debcbSAnson Huang				interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>;
7796c3debcbSAnson Huang				clocks = <&clk IMX8MN_CLK_USB1_CTRL_ROOT>;
7806c3debcbSAnson Huang				clock-names = "usb1_ctrl_root_clk";
781d51cb99cSLi Jun				assigned-clocks = <&clk IMX8MN_CLK_USB_BUS>;
782d51cb99cSLi Jun				assigned-clock-parents = <&clk IMX8MN_SYS_PLL2_500M>;
7836c3debcbSAnson Huang				fsl,usbphy = <&usbphynop1>;
7846c3debcbSAnson Huang				fsl,usbmisc = <&usbmisc1 0>;
7856c3debcbSAnson Huang				status = "disabled";
7866c3debcbSAnson Huang			};
7876c3debcbSAnson Huang
7886c3debcbSAnson Huang			usbmisc1: usbmisc@32e40200 {
7896c3debcbSAnson Huang				compatible = "fsl,imx8mn-usbmisc", "fsl,imx7d-usbmisc";
7906c3debcbSAnson Huang				#index-cells = <1>;
7916c3debcbSAnson Huang				reg = <0x32e40200 0x200>;
7926c3debcbSAnson Huang			};
7936c3debcbSAnson Huang
7946c3debcbSAnson Huang			usbotg2: usb@32e50000 {
7956c3debcbSAnson Huang				compatible = "fsl,imx8mn-usb", "fsl,imx7d-usb";
7966c3debcbSAnson Huang				reg = <0x32e50000 0x200>;
7976c3debcbSAnson Huang				interrupts = <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>;
7986c3debcbSAnson Huang				clocks = <&clk IMX8MN_CLK_USB1_CTRL_ROOT>;
7996c3debcbSAnson Huang				clock-names = "usb1_ctrl_root_clk";
8006c3debcbSAnson Huang				assigned-clocks = <&clk IMX8MN_CLK_USB_BUS>,
8016c3debcbSAnson Huang						  <&clk IMX8MN_CLK_USB_CORE_REF>;
8026c3debcbSAnson Huang				assigned-clock-parents = <&clk IMX8MN_SYS_PLL2_500M>,
8036c3debcbSAnson Huang							 <&clk IMX8MN_SYS_PLL1_100M>;
8046c3debcbSAnson Huang				fsl,usbphy = <&usbphynop2>;
8056c3debcbSAnson Huang				fsl,usbmisc = <&usbmisc2 0>;
8066c3debcbSAnson Huang				status = "disabled";
8076c3debcbSAnson Huang			};
8086c3debcbSAnson Huang
8096c3debcbSAnson Huang			usbmisc2: usbmisc@32e50200 {
8106c3debcbSAnson Huang				compatible = "fsl,imx8mn-usbmisc", "fsl,imx7d-usbmisc";
8116c3debcbSAnson Huang				#index-cells = <1>;
8126c3debcbSAnson Huang				reg = <0x32e50200 0x200>;
8136c3debcbSAnson Huang			};
8146c3debcbSAnson Huang
8156c3debcbSAnson Huang		};
8166c3debcbSAnson Huang
8176c3debcbSAnson Huang		dma_apbh: dma-controller@33000000 {
8186c3debcbSAnson Huang			compatible = "fsl,imx7d-dma-apbh", "fsl,imx28-dma-apbh";
8196c3debcbSAnson Huang			reg = <0x33000000 0x2000>;
8206c3debcbSAnson Huang			interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>,
8216c3debcbSAnson Huang				     <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>,
8226c3debcbSAnson Huang				     <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>,
8236c3debcbSAnson Huang				     <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
8246c3debcbSAnson Huang			interrupt-names = "gpmi0", "gpmi1", "gpmi2", "gpmi3";
8256c3debcbSAnson Huang			#dma-cells = <1>;
8266c3debcbSAnson Huang			dma-channels = <4>;
8276c3debcbSAnson Huang			clocks = <&clk IMX8MN_CLK_NAND_USDHC_BUS_RAWNAND_CLK>;
8286c3debcbSAnson Huang		};
8296c3debcbSAnson Huang
8306c3debcbSAnson Huang		gpmi: nand-controller@33002000 {
8316c3debcbSAnson Huang			compatible = "fsl,imx8mn-gpmi-nand", "fsl,imx7d-gpmi-nand";
8326c3debcbSAnson Huang			#address-cells = <1>;
8336c3debcbSAnson Huang			#size-cells = <1>;
8346c3debcbSAnson Huang			reg = <0x33002000 0x2000>, <0x33004000 0x4000>;
8356c3debcbSAnson Huang			reg-names = "gpmi-nand", "bch";
8366c3debcbSAnson Huang			interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
8376c3debcbSAnson Huang			interrupt-names = "bch";
8386c3debcbSAnson Huang			clocks = <&clk IMX8MN_CLK_NAND_ROOT>,
8396c3debcbSAnson Huang				 <&clk IMX8MN_CLK_NAND_USDHC_BUS_RAWNAND_CLK>;
8406c3debcbSAnson Huang			clock-names = "gpmi_io", "gpmi_bch_apb";
8416c3debcbSAnson Huang			dmas = <&dma_apbh 0>;
8426c3debcbSAnson Huang			dma-names = "rx-tx";
8436c3debcbSAnson Huang			status = "disabled";
8446c3debcbSAnson Huang		};
8456c3debcbSAnson Huang
8466c3debcbSAnson Huang		gic: interrupt-controller@38800000 {
8476c3debcbSAnson Huang			compatible = "arm,gic-v3";
8486c3debcbSAnson Huang			reg = <0x38800000 0x10000>,
8496c3debcbSAnson Huang			      <0x38880000 0xc0000>;
8506c3debcbSAnson Huang			#interrupt-cells = <3>;
8516c3debcbSAnson Huang			interrupt-controller;
8526c3debcbSAnson Huang			interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>;
8536c3debcbSAnson Huang		};
8542d8e0747SJoakim Zhang
8550376f6ecSLeonard Crestez		ddrc: memory-controller@3d400000 {
8560376f6ecSLeonard Crestez			compatible = "fsl,imx8mn-ddrc", "fsl,imx8m-ddrc";
8570376f6ecSLeonard Crestez			reg = <0x3d400000 0x400000>;
8580376f6ecSLeonard Crestez			clock-names = "core", "pll", "alt", "apb";
8590376f6ecSLeonard Crestez			clocks = <&clk IMX8MN_CLK_DRAM_CORE>,
8600376f6ecSLeonard Crestez				 <&clk IMX8MN_DRAM_PLL>,
8610376f6ecSLeonard Crestez				 <&clk IMX8MN_CLK_DRAM_ALT>,
8620376f6ecSLeonard Crestez				 <&clk IMX8MN_CLK_DRAM_APB>;
8630376f6ecSLeonard Crestez		};
8640376f6ecSLeonard Crestez
8652d8e0747SJoakim Zhang		ddr-pmu@3d800000 {
8662d8e0747SJoakim Zhang			compatible = "fsl,imx8mn-ddr-pmu", "fsl,imx8m-ddr-pmu";
8672d8e0747SJoakim Zhang			reg = <0x3d800000 0x400000>;
8682d8e0747SJoakim Zhang			interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>;
8692d8e0747SJoakim Zhang		};
8706c3debcbSAnson Huang	};
8716c3debcbSAnson Huang
8726c3debcbSAnson Huang	usbphynop1: usbphynop1 {
8736c3debcbSAnson Huang		compatible = "usb-nop-xceiv";
8746c3debcbSAnson Huang		clocks = <&clk IMX8MN_CLK_USB_PHY_REF>;
8756c3debcbSAnson Huang		assigned-clocks = <&clk IMX8MN_CLK_USB_PHY_REF>;
8766c3debcbSAnson Huang		assigned-clock-parents = <&clk IMX8MN_SYS_PLL1_100M>;
8776c3debcbSAnson Huang		clock-names = "main_clk";
8786c3debcbSAnson Huang	};
8796c3debcbSAnson Huang
8806c3debcbSAnson Huang	usbphynop2: usbphynop2 {
8816c3debcbSAnson Huang		compatible = "usb-nop-xceiv";
8826c3debcbSAnson Huang		clocks = <&clk IMX8MN_CLK_USB_PHY_REF>;
8836c3debcbSAnson Huang		assigned-clocks = <&clk IMX8MN_CLK_USB_PHY_REF>;
8846c3debcbSAnson Huang		assigned-clock-parents = <&clk IMX8MN_SYS_PLL1_100M>;
8856c3debcbSAnson Huang		clock-names = "main_clk";
8866c3debcbSAnson Huang	};
8876c3debcbSAnson Huang};
888