xref: /openbmc/linux/arch/arm64/boot/dts/freescale/imx8mn.dtsi (revision 292e0f487c0a18d7d35fb5acc0d5a993ed78bd3c)
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
189c13a7d84SJacky Bai	pmu {
190c13a7d84SJacky Bai		compatible = "arm,cortex-a53-pmu";
191c13a7d84SJacky Bai		interrupts = <GIC_PPI 7
192c13a7d84SJacky Bai			     (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
193c13a7d84SJacky Bai		interrupt-affinity = <&A53_0>, <&A53_1>, <&A53_2>, <&A53_3>;
194c13a7d84SJacky Bai	};
195c13a7d84SJacky Bai
1966c3debcbSAnson Huang	psci {
1976c3debcbSAnson Huang		compatible = "arm,psci-1.0";
1986c3debcbSAnson Huang		method = "smc";
1996c3debcbSAnson Huang	};
2006c3debcbSAnson Huang
201819779a9SAnson Huang	thermal-zones {
202819779a9SAnson Huang		cpu-thermal {
203819779a9SAnson Huang			polling-delay-passive = <250>;
204819779a9SAnson Huang			polling-delay = <2000>;
205819779a9SAnson Huang			thermal-sensors = <&tmu>;
206819779a9SAnson Huang			trips {
207819779a9SAnson Huang				cpu_alert0: trip0 {
208819779a9SAnson Huang					temperature = <85000>;
209819779a9SAnson Huang					hysteresis = <2000>;
210819779a9SAnson Huang					type = "passive";
211819779a9SAnson Huang				};
212819779a9SAnson Huang
213819779a9SAnson Huang				cpu_crit0: trip1 {
214819779a9SAnson Huang					temperature = <95000>;
215819779a9SAnson Huang					hysteresis = <2000>;
216819779a9SAnson Huang					type = "critical";
217819779a9SAnson Huang				};
218819779a9SAnson Huang			};
219819779a9SAnson Huang
220819779a9SAnson Huang			cooling-maps {
221819779a9SAnson Huang				map0 {
222819779a9SAnson Huang					trip = <&cpu_alert0>;
223819779a9SAnson Huang					cooling-device =
224819779a9SAnson Huang						<&A53_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
225819779a9SAnson Huang						<&A53_1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
226819779a9SAnson Huang						<&A53_2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
227819779a9SAnson Huang						<&A53_3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
228819779a9SAnson Huang				};
229819779a9SAnson Huang			};
230819779a9SAnson Huang		};
231819779a9SAnson Huang	};
232819779a9SAnson Huang
2336c3debcbSAnson Huang	timer {
2346c3debcbSAnson Huang		compatible = "arm,armv8-timer";
2350656e37aSKrzysztof Kozlowski		interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
2360656e37aSKrzysztof Kozlowski			     <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
2370656e37aSKrzysztof Kozlowski			     <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
2380656e37aSKrzysztof Kozlowski			     <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>;
2396c3debcbSAnson Huang		clock-frequency = <8000000>;
2406c3debcbSAnson Huang		arm,no-tick-in-suspend;
2416c3debcbSAnson Huang	};
2426c3debcbSAnson Huang
2436c3debcbSAnson Huang	soc@0 {
244ce58459dSAlice Guo		compatible = "fsl,imx8mn-soc", "simple-bus";
2456c3debcbSAnson Huang		#address-cells = <1>;
2466c3debcbSAnson Huang		#size-cells = <1>;
2476c3debcbSAnson Huang		ranges = <0x0 0x0 0x0 0x3e000000>;
248cbff2379SAlice Guo		nvmem-cells = <&imx8mn_uid>;
249cbff2379SAlice Guo		nvmem-cell-names = "soc_unique_id";
2506c3debcbSAnson Huang
2516c3debcbSAnson Huang		aips1: bus@30000000 {
252dc3efc6fSPeng Fan			compatible = "fsl,aips-bus", "simple-bus";
253921a6845SFabio Estevam			reg = <0x30000000 0x400000>;
2546c3debcbSAnson Huang			#address-cells = <1>;
2556c3debcbSAnson Huang			#size-cells = <1>;
2566c3debcbSAnson Huang			ranges;
2576c3debcbSAnson Huang
258*292e0f48SAdam Ford			spba2: spba-bus@30000000 {
259970406eaSAdam Ford				compatible = "fsl,spba-bus", "simple-bus";
260970406eaSAdam Ford				#address-cells = <1>;
261970406eaSAdam Ford				#size-cells = <1>;
262970406eaSAdam Ford				reg = <0x30000000 0x100000>;
263970406eaSAdam Ford				ranges;
264970406eaSAdam Ford
2659e986006SAdam Ford				sai2: sai@30020000 {
2669e986006SAdam Ford					compatible = "fsl,imx8mm-sai", "fsl,imx8mq-sai";
2679e986006SAdam Ford					reg = <0x30020000 0x10000>;
2689e986006SAdam Ford					interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
2699e986006SAdam Ford					clocks = <&clk IMX8MN_CLK_SAI2_IPG>,
2709e986006SAdam Ford						<&clk IMX8MN_CLK_DUMMY>,
2719e986006SAdam Ford						<&clk IMX8MN_CLK_SAI2_ROOT>,
2729e986006SAdam Ford						<&clk IMX8MN_CLK_DUMMY>, <&clk IMX8MN_CLK_DUMMY>;
2739e986006SAdam Ford					clock-names = "bus", "mclk0", "mclk1", "mclk2", "mclk3";
2749e986006SAdam Ford					dmas = <&sdma2 2 2 0>, <&sdma2 3 2 0>;
2759e986006SAdam Ford					dma-names = "rx", "tx";
2769e986006SAdam Ford					status = "disabled";
2779e986006SAdam Ford				};
2789e986006SAdam Ford
2799e986006SAdam Ford				sai3: sai@30030000 {
2809e986006SAdam Ford					compatible = "fsl,imx8mm-sai", "fsl,imx8mq-sai";
2819e986006SAdam Ford					reg = <0x30030000 0x10000>;
2829e986006SAdam Ford					interrupts = <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>;
2839e986006SAdam Ford					clocks = <&clk IMX8MN_CLK_SAI3_IPG>,
2849e986006SAdam Ford						 <&clk IMX8MN_CLK_DUMMY>,
2859e986006SAdam Ford						 <&clk IMX8MN_CLK_SAI3_ROOT>,
2869e986006SAdam Ford						 <&clk IMX8MN_CLK_DUMMY>, <&clk IMX8MN_CLK_DUMMY>;
2879e986006SAdam Ford					clock-names = "bus", "mclk0", "mclk1", "mclk2", "mclk3";
2889e986006SAdam Ford					dmas = <&sdma2 4 2 0>, <&sdma2 5 2 0>;
2899e986006SAdam Ford					dma-names = "rx", "tx";
2909e986006SAdam Ford					status = "disabled";
2919e986006SAdam Ford				};
2929e986006SAdam Ford
2939e986006SAdam Ford				sai5: sai@30050000 {
2949e986006SAdam Ford					compatible = "fsl,imx8mm-sai", "fsl,imx8mq-sai";
2959e986006SAdam Ford					reg = <0x30050000 0x10000>;
2969e986006SAdam Ford					interrupts = <GIC_SPI 90 IRQ_TYPE_LEVEL_HIGH>;
2979e986006SAdam Ford					clocks = <&clk IMX8MN_CLK_SAI5_IPG>,
2989e986006SAdam Ford						 <&clk IMX8MN_CLK_DUMMY>,
2999e986006SAdam Ford						 <&clk IMX8MN_CLK_SAI5_ROOT>,
3009e986006SAdam Ford						 <&clk IMX8MN_CLK_DUMMY>, <&clk IMX8MN_CLK_DUMMY>;
3019e986006SAdam Ford					clock-names = "bus", "mclk0", "mclk1", "mclk2", "mclk3";
3029e986006SAdam Ford					dmas = <&sdma2 8 2 0>, <&sdma2 9 2 0>;
3039e986006SAdam Ford					dma-names = "rx", "tx";
3049e986006SAdam Ford					fsl,shared-interrupt;
3059e986006SAdam Ford					fsl,dataline = <0 0xf 0xf>;
3069e986006SAdam Ford					status = "disabled";
3079e986006SAdam Ford				};
3089e986006SAdam Ford
3099e986006SAdam Ford				sai6: sai@30060000 {
3109e986006SAdam Ford					compatible = "fsl,imx8mm-sai", "fsl,imx8mq-sai";
3119e986006SAdam Ford					reg = <0x30060000  0x10000>;
3129e986006SAdam Ford					interrupts = <GIC_SPI 90 IRQ_TYPE_LEVEL_HIGH>;
3139e986006SAdam Ford					clocks = <&clk IMX8MN_CLK_SAI6_IPG>,
3149e986006SAdam Ford						 <&clk IMX8MN_CLK_DUMMY>,
3159e986006SAdam Ford						 <&clk IMX8MN_CLK_SAI6_ROOT>,
3169e986006SAdam Ford						 <&clk IMX8MN_CLK_DUMMY>, <&clk IMX8MN_CLK_DUMMY>;
3179e986006SAdam Ford					clock-names = "bus", "mclk0", "mclk1", "mclk2", "mclk3";
3189e986006SAdam Ford					dmas = <&sdma2 10 2 0>, <&sdma2 11 2 0>;
3199e986006SAdam Ford					dma-names = "rx", "tx";
3209e986006SAdam Ford					status = "disabled";
3219e986006SAdam Ford				};
3229e986006SAdam Ford
323cca69ef6SAdam Ford				micfil: audio-controller@30080000 {
324cca69ef6SAdam Ford					compatible = "fsl,imx8mm-micfil";
325cca69ef6SAdam Ford					reg = <0x30080000 0x10000>;
326cca69ef6SAdam Ford					interrupts = <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>,
327cca69ef6SAdam Ford						     <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>,
328cca69ef6SAdam Ford						     <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>,
329cca69ef6SAdam Ford						     <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>;
330cca69ef6SAdam Ford					clocks = <&clk IMX8MN_CLK_PDM_IPG>,
331cca69ef6SAdam Ford						 <&clk IMX8MN_CLK_PDM_ROOT>,
332cca69ef6SAdam Ford						 <&clk IMX8MN_AUDIO_PLL1_OUT>,
333cca69ef6SAdam Ford						 <&clk IMX8MN_AUDIO_PLL2_OUT>,
334cca69ef6SAdam Ford						 <&clk IMX8MN_CLK_EXT3>;
335cca69ef6SAdam Ford					clock-names = "ipg_clk", "ipg_clk_app",
336cca69ef6SAdam Ford						      "pll8k", "pll11k", "clkext3";
337cca69ef6SAdam Ford					dmas = <&sdma2 24 25 0x80000000>;
338cca69ef6SAdam Ford					dma-names = "rx";
339cca69ef6SAdam Ford					status = "disabled";
340cca69ef6SAdam Ford				};
341cca69ef6SAdam Ford
342b9cf7d3bSAdam Ford				spdif1: spdif@30090000 {
343b9cf7d3bSAdam Ford					compatible = "fsl,imx35-spdif";
344b9cf7d3bSAdam Ford					reg = <0x30090000 0x10000>;
345b9cf7d3bSAdam Ford					interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
346b9cf7d3bSAdam Ford					clocks = <&clk IMX8MN_CLK_AUDIO_AHB>, /* core */
347b9cf7d3bSAdam Ford						 <&clk IMX8MN_CLK_24M>, /* rxtx0 */
348b9cf7d3bSAdam Ford						 <&clk IMX8MN_CLK_SPDIF1>, /* rxtx1 */
349b9cf7d3bSAdam Ford						 <&clk IMX8MN_CLK_DUMMY>, /* rxtx2 */
350b9cf7d3bSAdam Ford						 <&clk IMX8MN_CLK_DUMMY>, /* rxtx3 */
351b9cf7d3bSAdam Ford						 <&clk IMX8MN_CLK_DUMMY>, /* rxtx4 */
352b9cf7d3bSAdam Ford						 <&clk IMX8MN_CLK_AUDIO_AHB>, /* rxtx5 */
353b9cf7d3bSAdam Ford						 <&clk IMX8MN_CLK_DUMMY>, /* rxtx6 */
354b9cf7d3bSAdam Ford						 <&clk IMX8MN_CLK_DUMMY>, /* rxtx7 */
355b9cf7d3bSAdam Ford						 <&clk IMX8MN_CLK_DUMMY>; /* spba */
356b9cf7d3bSAdam Ford					clock-names = "core", "rxtx0",
357b9cf7d3bSAdam Ford						      "rxtx1", "rxtx2",
358b9cf7d3bSAdam Ford						      "rxtx3", "rxtx4",
359b9cf7d3bSAdam Ford						      "rxtx5", "rxtx6",
360b9cf7d3bSAdam Ford						      "rxtx7", "spba";
361b9cf7d3bSAdam Ford					dmas = <&sdma2 28 18 0>, <&sdma2 29 18 0>;
362b9cf7d3bSAdam Ford					dma-names = "rx", "tx";
363b9cf7d3bSAdam Ford					status = "disabled";
364b9cf7d3bSAdam Ford				};
365b9cf7d3bSAdam Ford
3669e986006SAdam Ford				sai7: sai@300b0000 {
3679e986006SAdam Ford					compatible = "fsl,imx8mm-sai", "fsl,imx8mq-sai";
3689e986006SAdam Ford					reg = <0x300b0000 0x10000>;
3699e986006SAdam Ford					interrupts = <GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>;
3709e986006SAdam Ford					clocks = <&clk IMX8MN_CLK_SAI7_IPG>,
3719e986006SAdam Ford						 <&clk IMX8MN_CLK_DUMMY>,
3729e986006SAdam Ford						 <&clk IMX8MN_CLK_SAI7_ROOT>,
3739e986006SAdam Ford						 <&clk IMX8MN_CLK_DUMMY>, <&clk IMX8MN_CLK_DUMMY>;
3749e986006SAdam Ford					clock-names = "bus", "mclk0", "mclk1", "mclk2", "mclk3";
3759e986006SAdam Ford					dmas = <&sdma2 12 2 0>, <&sdma2 13 2 0>;
3769e986006SAdam Ford					dma-names = "rx", "tx";
3779e986006SAdam Ford					status = "disabled";
3789e986006SAdam Ford				};
3799e986006SAdam Ford
380970406eaSAdam Ford				easrc: easrc@300c0000 {
381970406eaSAdam Ford					compatible = "fsl,imx8mn-easrc";
382970406eaSAdam Ford					reg = <0x300c0000 0x10000>;
383970406eaSAdam Ford					interrupts = <GIC_SPI 122 IRQ_TYPE_LEVEL_HIGH>;
384970406eaSAdam Ford					clocks = <&clk IMX8MN_CLK_ASRC_ROOT>;
385970406eaSAdam Ford					clock-names = "mem";
386970406eaSAdam Ford					dmas = <&sdma2 16 23 0> , <&sdma2 17 23 0>,
387970406eaSAdam Ford					       <&sdma2 18 23 0> , <&sdma2 19 23 0>,
388970406eaSAdam Ford					       <&sdma2 20 23 0> , <&sdma2 21 23 0>,
389970406eaSAdam Ford					       <&sdma2 22 23 0> , <&sdma2 23 23 0>;
390970406eaSAdam Ford					dma-names = "ctx0_rx", "ctx0_tx",
391970406eaSAdam Ford						    "ctx1_rx", "ctx1_tx",
392970406eaSAdam Ford						    "ctx2_rx", "ctx2_tx",
393970406eaSAdam Ford						    "ctx3_rx", "ctx3_tx";
394970406eaSAdam Ford					firmware-name = "imx/easrc/easrc-imx8mn.bin";
395970406eaSAdam Ford					fsl,asrc-rate  = <8000>;
396970406eaSAdam Ford					fsl,asrc-format = <2>;
397970406eaSAdam Ford					status = "disabled";
398970406eaSAdam Ford				};
399970406eaSAdam Ford			};
400970406eaSAdam Ford
4016c3debcbSAnson Huang			gpio1: gpio@30200000 {
4026c3debcbSAnson Huang				compatible = "fsl,imx8mn-gpio", "fsl,imx35-gpio";
4036c3debcbSAnson Huang				reg = <0x30200000 0x10000>;
4046c3debcbSAnson Huang				interrupts = <GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>,
4056c3debcbSAnson Huang					     <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>;
4066c3debcbSAnson Huang				clocks = <&clk IMX8MN_CLK_GPIO1_ROOT>;
4076c3debcbSAnson Huang				gpio-controller;
4086c3debcbSAnson Huang				#gpio-cells = <2>;
4096c3debcbSAnson Huang				interrupt-controller;
4106c3debcbSAnson Huang				#interrupt-cells = <2>;
411ee8696beSAnson Huang				gpio-ranges = <&iomuxc 0 10 30>;
4126c3debcbSAnson Huang			};
4136c3debcbSAnson Huang
4146c3debcbSAnson Huang			gpio2: gpio@30210000 {
4156c3debcbSAnson Huang				compatible = "fsl,imx8mn-gpio", "fsl,imx35-gpio";
4166c3debcbSAnson Huang				reg = <0x30210000 0x10000>;
4176c3debcbSAnson Huang				interrupts = <GIC_SPI 66 IRQ_TYPE_LEVEL_HIGH>,
4186c3debcbSAnson Huang					     <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>;
4196c3debcbSAnson Huang				clocks = <&clk IMX8MN_CLK_GPIO2_ROOT>;
4206c3debcbSAnson Huang				gpio-controller;
4216c3debcbSAnson Huang				#gpio-cells = <2>;
4226c3debcbSAnson Huang				interrupt-controller;
4236c3debcbSAnson Huang				#interrupt-cells = <2>;
424ee8696beSAnson Huang				gpio-ranges = <&iomuxc 0 40 21>;
4256c3debcbSAnson Huang			};
4266c3debcbSAnson Huang
4276c3debcbSAnson Huang			gpio3: gpio@30220000 {
4286c3debcbSAnson Huang				compatible = "fsl,imx8mn-gpio", "fsl,imx35-gpio";
4296c3debcbSAnson Huang				reg = <0x30220000 0x10000>;
4306c3debcbSAnson Huang				interrupts = <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>,
4316c3debcbSAnson Huang					     <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
4326c3debcbSAnson Huang				clocks = <&clk IMX8MN_CLK_GPIO3_ROOT>;
4336c3debcbSAnson Huang				gpio-controller;
4346c3debcbSAnson Huang				#gpio-cells = <2>;
4356c3debcbSAnson Huang				interrupt-controller;
4366c3debcbSAnson Huang				#interrupt-cells = <2>;
437ee8696beSAnson Huang				gpio-ranges = <&iomuxc 0 61 26>;
4386c3debcbSAnson Huang			};
4396c3debcbSAnson Huang
4406c3debcbSAnson Huang			gpio4: gpio@30230000 {
4416c3debcbSAnson Huang				compatible = "fsl,imx8mn-gpio", "fsl,imx35-gpio";
4426c3debcbSAnson Huang				reg = <0x30230000 0x10000>;
4436c3debcbSAnson Huang				interrupts = <GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>,
4446c3debcbSAnson Huang					     <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>;
4456c3debcbSAnson Huang				clocks = <&clk IMX8MN_CLK_GPIO4_ROOT>;
4466c3debcbSAnson Huang				gpio-controller;
4476c3debcbSAnson Huang				#gpio-cells = <2>;
4486c3debcbSAnson Huang				interrupt-controller;
4496c3debcbSAnson Huang				#interrupt-cells = <2>;
450ee8696beSAnson Huang				gpio-ranges = <&iomuxc 21 108 11>;
4516c3debcbSAnson Huang			};
4526c3debcbSAnson Huang
4536c3debcbSAnson Huang			gpio5: gpio@30240000 {
4546c3debcbSAnson Huang				compatible = "fsl,imx8mn-gpio", "fsl,imx35-gpio";
4556c3debcbSAnson Huang				reg = <0x30240000 0x10000>;
4566c3debcbSAnson Huang				interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>,
4576c3debcbSAnson Huang					     <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>;
4586c3debcbSAnson Huang				clocks = <&clk IMX8MN_CLK_GPIO5_ROOT>;
4596c3debcbSAnson Huang				gpio-controller;
4606c3debcbSAnson Huang				#gpio-cells = <2>;
4616c3debcbSAnson Huang				interrupt-controller;
4626c3debcbSAnson Huang				#interrupt-cells = <2>;
463ee8696beSAnson Huang				gpio-ranges = <&iomuxc 0 119 30>;
4646c3debcbSAnson Huang			};
4656c3debcbSAnson Huang
466819779a9SAnson Huang			tmu: tmu@30260000 {
467819779a9SAnson Huang				compatible = "fsl,imx8mn-tmu", "fsl,imx8mm-tmu";
468819779a9SAnson Huang				reg = <0x30260000 0x10000>;
469819779a9SAnson Huang				clocks = <&clk IMX8MN_CLK_TMU_ROOT>;
470819779a9SAnson Huang				#thermal-sensor-cells = <0>;
471819779a9SAnson Huang			};
472819779a9SAnson Huang
4736c3debcbSAnson Huang			wdog1: watchdog@30280000 {
4746c3debcbSAnson Huang				compatible = "fsl,imx8mn-wdt", "fsl,imx21-wdt";
4756c3debcbSAnson Huang				reg = <0x30280000 0x10000>;
4766c3debcbSAnson Huang				interrupts = <GIC_SPI 78 IRQ_TYPE_LEVEL_HIGH>;
4776c3debcbSAnson Huang				clocks = <&clk IMX8MN_CLK_WDOG1_ROOT>;
4786c3debcbSAnson Huang				status = "disabled";
4796c3debcbSAnson Huang			};
4806c3debcbSAnson Huang
4816c3debcbSAnson Huang			wdog2: watchdog@30290000 {
4826c3debcbSAnson Huang				compatible = "fsl,imx8mn-wdt", "fsl,imx21-wdt";
4836c3debcbSAnson Huang				reg = <0x30290000 0x10000>;
4846c3debcbSAnson Huang				interrupts = <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>;
4856c3debcbSAnson Huang				clocks = <&clk IMX8MN_CLK_WDOG2_ROOT>;
4866c3debcbSAnson Huang				status = "disabled";
4876c3debcbSAnson Huang			};
4886c3debcbSAnson Huang
4896c3debcbSAnson Huang			wdog3: watchdog@302a0000 {
4906c3debcbSAnson Huang				compatible = "fsl,imx8mn-wdt", "fsl,imx21-wdt";
4916c3debcbSAnson Huang				reg = <0x302a0000 0x10000>;
4926c3debcbSAnson Huang				interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
4936c3debcbSAnson Huang				clocks = <&clk IMX8MN_CLK_WDOG3_ROOT>;
4946c3debcbSAnson Huang				status = "disabled";
4956c3debcbSAnson Huang			};
4966c3debcbSAnson Huang
4976c3debcbSAnson Huang			sdma3: dma-controller@302b0000 {
498958c6014SShengjiu Wang				compatible = "fsl,imx8mn-sdma", "fsl,imx8mq-sdma";
4996c3debcbSAnson Huang				reg = <0x302b0000 0x10000>;
5006c3debcbSAnson Huang				interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>;
5016c3debcbSAnson Huang				clocks = <&clk IMX8MN_CLK_SDMA3_ROOT>,
5026c3debcbSAnson Huang				 <&clk IMX8MN_CLK_SDMA3_ROOT>;
5036c3debcbSAnson Huang				clock-names = "ipg", "ahb";
5046c3debcbSAnson Huang				#dma-cells = <3>;
5056c3debcbSAnson Huang				fsl,sdma-ram-script-name = "imx/sdma/sdma-imx7d.bin";
5066c3debcbSAnson Huang			};
5076c3debcbSAnson Huang
5086c3debcbSAnson Huang			sdma2: dma-controller@302c0000 {
509958c6014SShengjiu Wang				compatible = "fsl,imx8mn-sdma", "fsl,imx8mq-sdma";
5106c3debcbSAnson Huang				reg = <0x302c0000 0x10000>;
5116c3debcbSAnson Huang				interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>;
5126c3debcbSAnson Huang				clocks = <&clk IMX8MN_CLK_SDMA2_ROOT>,
5136c3debcbSAnson Huang					 <&clk IMX8MN_CLK_SDMA2_ROOT>;
5146c3debcbSAnson Huang				clock-names = "ipg", "ahb";
5156c3debcbSAnson Huang				#dma-cells = <3>;
5166c3debcbSAnson Huang				fsl,sdma-ram-script-name = "imx/sdma/sdma-imx7d.bin";
5176c3debcbSAnson Huang			};
5186c3debcbSAnson Huang
5196c3debcbSAnson Huang			iomuxc: pinctrl@30330000 {
5206c3debcbSAnson Huang				compatible = "fsl,imx8mn-iomuxc";
5216c3debcbSAnson Huang				reg = <0x30330000 0x10000>;
5226c3debcbSAnson Huang			};
5236c3debcbSAnson Huang
5246c3debcbSAnson Huang			gpr: iomuxc-gpr@30340000 {
5256c3debcbSAnson Huang				compatible = "fsl,imx8mn-iomuxc-gpr", "syscon";
5266c3debcbSAnson Huang				reg = <0x30340000 0x10000>;
5276c3debcbSAnson Huang			};
5286c3debcbSAnson Huang
52912fa1078SAnson Huang			ocotp: efuse@30350000 {
5302bad8c48SAnson Huang				compatible = "fsl,imx8mn-ocotp", "fsl,imx8mm-ocotp", "syscon";
5316c3debcbSAnson Huang				reg = <0x30350000 0x10000>;
5326c3debcbSAnson Huang				clocks = <&clk IMX8MN_CLK_OCOTP_ROOT>;
53301c49314SAnson Huang				#address-cells = <1>;
53401c49314SAnson Huang				#size-cells = <1>;
53501c49314SAnson Huang
536cbff2379SAlice Guo				imx8mn_uid: unique-id@410 {
537cbff2379SAlice Guo					reg = <0x4 0x8>;
538cbff2379SAlice Guo				};
539cbff2379SAlice Guo
54001c49314SAnson Huang				cpu_speed_grade: speed-grade@10 {
54101c49314SAnson Huang					reg = <0x10 4>;
54201c49314SAnson Huang				};
543066438aeSJoakim Zhang
544066438aeSJoakim Zhang				fec_mac_address: mac-address@90 {
545066438aeSJoakim Zhang					reg = <0x90 6>;
546066438aeSJoakim Zhang				};
5476c3debcbSAnson Huang			};
5486c3debcbSAnson Huang
5496c3debcbSAnson Huang			anatop: anatop@30360000 {
5506c3debcbSAnson Huang				compatible = "fsl,imx8mn-anatop", "fsl,imx8mm-anatop",
5510f93eb28SFancy Fang					     "syscon";
5526c3debcbSAnson Huang				reg = <0x30360000 0x10000>;
5536c3debcbSAnson Huang			};
5546c3debcbSAnson Huang
5556c3debcbSAnson Huang			snvs: snvs@30370000 {
5566c3debcbSAnson Huang				compatible = "fsl,sec-v4.0-mon","syscon", "simple-mfd";
5576c3debcbSAnson Huang				reg = <0x30370000 0x10000>;
5586c3debcbSAnson Huang
5596c3debcbSAnson Huang				snvs_rtc: snvs-rtc-lp {
5606c3debcbSAnson Huang					compatible = "fsl,sec-v4.0-mon-rtc-lp";
5616c3debcbSAnson Huang					regmap = <&snvs>;
5626c3debcbSAnson Huang					offset = <0x34>;
5636c3debcbSAnson Huang					interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>,
5646c3debcbSAnson Huang						     <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
56542ef961bSHoria Geantă					clocks = <&clk IMX8MN_CLK_SNVS_ROOT>;
5666c3debcbSAnson Huang					clock-names = "snvs-rtc";
5676c3debcbSAnson Huang				};
5686c3debcbSAnson Huang
5696c3debcbSAnson Huang				snvs_pwrkey: snvs-powerkey {
5706c3debcbSAnson Huang					compatible = "fsl,sec-v4.0-pwrkey";
5716c3debcbSAnson Huang					regmap = <&snvs>;
5726c3debcbSAnson Huang					interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
573c2a2f446SAnson Huang					clocks = <&clk IMX8MN_CLK_SNVS_ROOT>;
574c2a2f446SAnson Huang					clock-names = "snvs-pwrkey";
5756c3debcbSAnson Huang					linux,keycode = <KEY_POWER>;
5766c3debcbSAnson Huang					wakeup-source;
5776c3debcbSAnson Huang					status = "disabled";
5786c3debcbSAnson Huang				};
5796c3debcbSAnson Huang			};
5806c3debcbSAnson Huang
5816c3debcbSAnson Huang			clk: clock-controller@30380000 {
5826c3debcbSAnson Huang				compatible = "fsl,imx8mn-ccm";
5836c3debcbSAnson Huang				reg = <0x30380000 0x10000>;
5846c3debcbSAnson Huang				#clock-cells = <1>;
5856c3debcbSAnson Huang				clocks = <&osc_32k>, <&osc_24m>, <&clk_ext1>, <&clk_ext2>,
5866c3debcbSAnson Huang					 <&clk_ext3>, <&clk_ext4>;
5876c3debcbSAnson Huang				clock-names = "osc_32k", "osc_24m", "clk_ext1", "clk_ext2",
5886c3debcbSAnson Huang					      "clk_ext3", "clk_ext4";
5899e6337e6SPeng Fan				assigned-clocks = <&clk IMX8MN_CLK_A53_SRC>,
5909e6337e6SPeng Fan						<&clk IMX8MN_CLK_A53_CORE>,
5919e6337e6SPeng Fan						<&clk IMX8MN_CLK_NOC>,
59253458f86SPeng Fan						<&clk IMX8MN_CLK_AUDIO_AHB>,
59353458f86SPeng Fan						<&clk IMX8MN_CLK_IPG_AUDIO_ROOT>,
59426442c79SShengjiu Wang						<&clk IMX8MN_SYS_PLL3>,
59526442c79SShengjiu Wang						<&clk IMX8MN_AUDIO_PLL1>,
59626442c79SShengjiu Wang						<&clk IMX8MN_AUDIO_PLL2>;
5979e6337e6SPeng Fan				assigned-clock-parents = <&clk IMX8MN_SYS_PLL1_800M>,
5989e6337e6SPeng Fan							 <&clk IMX8MN_ARM_PLL_OUT>,
5999e6337e6SPeng Fan							 <&clk IMX8MN_SYS_PLL3_OUT>,
60053458f86SPeng Fan							 <&clk IMX8MN_SYS_PLL1_800M>;
6019e6337e6SPeng Fan				assigned-clock-rates = <0>, <0>, <0>,
60253458f86SPeng Fan							<400000000>,
60353458f86SPeng Fan							<400000000>,
60426442c79SShengjiu Wang							<600000000>,
60526442c79SShengjiu Wang							<393216000>,
60626442c79SShengjiu Wang							<361267200>;
6076c3debcbSAnson Huang			};
6086c3debcbSAnson Huang
6096c3debcbSAnson Huang			src: reset-controller@30390000 {
61023b80c20SAnson Huang				compatible = "fsl,imx8mn-src", "fsl,imx8mq-src", "syscon";
6116c3debcbSAnson Huang				reg = <0x30390000 0x10000>;
6126c3debcbSAnson Huang				interrupts = <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>;
6136c3debcbSAnson Huang				#reset-cells = <1>;
6146c3debcbSAnson Huang			};
6156c3debcbSAnson Huang		};
6166c3debcbSAnson Huang
6176c3debcbSAnson Huang		aips2: bus@30400000 {
618dc3efc6fSPeng Fan			compatible = "fsl,aips-bus", "simple-bus";
619921a6845SFabio Estevam			reg = <0x30400000 0x400000>;
6206c3debcbSAnson Huang			#address-cells = <1>;
6216c3debcbSAnson Huang			#size-cells = <1>;
6226c3debcbSAnson Huang			ranges;
6236c3debcbSAnson Huang
6246c3debcbSAnson Huang			pwm1: pwm@30660000 {
6256c3debcbSAnson Huang				compatible = "fsl,imx8mn-pwm", "fsl,imx27-pwm";
6266c3debcbSAnson Huang				reg = <0x30660000 0x10000>;
6276c3debcbSAnson Huang				interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>;
6286c3debcbSAnson Huang				clocks = <&clk IMX8MN_CLK_PWM1_ROOT>,
6296c3debcbSAnson Huang					<&clk IMX8MN_CLK_PWM1_ROOT>;
6306c3debcbSAnson Huang				clock-names = "ipg", "per";
6316c3debcbSAnson Huang				#pwm-cells = <2>;
6326c3debcbSAnson Huang				status = "disabled";
6336c3debcbSAnson Huang			};
6346c3debcbSAnson Huang
6356c3debcbSAnson Huang			pwm2: pwm@30670000 {
6366c3debcbSAnson Huang				compatible = "fsl,imx8mn-pwm", "fsl,imx27-pwm";
6376c3debcbSAnson Huang				reg = <0x30670000 0x10000>;
6386c3debcbSAnson Huang				interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>;
6396c3debcbSAnson Huang				clocks = <&clk IMX8MN_CLK_PWM2_ROOT>,
6406c3debcbSAnson Huang					 <&clk IMX8MN_CLK_PWM2_ROOT>;
6416c3debcbSAnson Huang				clock-names = "ipg", "per";
6426c3debcbSAnson Huang				#pwm-cells = <2>;
6436c3debcbSAnson Huang				status = "disabled";
6446c3debcbSAnson Huang			};
6456c3debcbSAnson Huang
6466c3debcbSAnson Huang			pwm3: pwm@30680000 {
6476c3debcbSAnson Huang				compatible = "fsl,imx8mn-pwm", "fsl,imx27-pwm";
6486c3debcbSAnson Huang				reg = <0x30680000 0x10000>;
6496c3debcbSAnson Huang				interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
6506c3debcbSAnson Huang				clocks = <&clk IMX8MN_CLK_PWM3_ROOT>,
6516c3debcbSAnson Huang					 <&clk IMX8MN_CLK_PWM3_ROOT>;
6526c3debcbSAnson Huang				clock-names = "ipg", "per";
6536c3debcbSAnson Huang				#pwm-cells = <2>;
6546c3debcbSAnson Huang				status = "disabled";
6556c3debcbSAnson Huang			};
6566c3debcbSAnson Huang
6576c3debcbSAnson Huang			pwm4: pwm@30690000 {
6586c3debcbSAnson Huang				compatible = "fsl,imx8mn-pwm", "fsl,imx27-pwm";
6596c3debcbSAnson Huang				reg = <0x30690000 0x10000>;
6606c3debcbSAnson Huang				interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>;
6616c3debcbSAnson Huang				clocks = <&clk IMX8MN_CLK_PWM4_ROOT>,
6626c3debcbSAnson Huang					 <&clk IMX8MN_CLK_PWM4_ROOT>;
6636c3debcbSAnson Huang				clock-names = "ipg", "per";
6646c3debcbSAnson Huang				#pwm-cells = <2>;
6656c3debcbSAnson Huang				status = "disabled";
6666c3debcbSAnson Huang			};
667c4a21269SAnson Huang
668c4a21269SAnson Huang			system_counter: timer@306a0000 {
669c4a21269SAnson Huang				compatible = "nxp,sysctr-timer";
670c4a21269SAnson Huang				reg = <0x306a0000 0x20000>;
671c4a21269SAnson Huang				interrupts = <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>;
672c4a21269SAnson Huang				clocks = <&osc_24m>;
673c4a21269SAnson Huang				clock-names = "per";
674c4a21269SAnson Huang			};
6756c3debcbSAnson Huang		};
6766c3debcbSAnson Huang
6776c3debcbSAnson Huang		aips3: bus@30800000 {
678dc3efc6fSPeng Fan			compatible = "fsl,aips-bus", "simple-bus";
679921a6845SFabio Estevam			reg = <0x30800000 0x400000>;
6806c3debcbSAnson Huang			#address-cells = <1>;
6816c3debcbSAnson Huang			#size-cells = <1>;
6826c3debcbSAnson Huang			ranges;
6836c3debcbSAnson Huang
684*292e0f48SAdam Ford			spba1: spba-bus@30800000 {
685*292e0f48SAdam Ford				compatible = "fsl,spba-bus", "simple-bus";
686*292e0f48SAdam Ford				#address-cells = <1>;
687*292e0f48SAdam Ford				#size-cells = <1>;
688*292e0f48SAdam Ford				reg = <0x30800000 0x100000>;
689*292e0f48SAdam Ford				ranges;
690*292e0f48SAdam Ford
6916c3debcbSAnson Huang				ecspi1: spi@30820000 {
6926c3debcbSAnson Huang					compatible = "fsl,imx8mn-ecspi", "fsl,imx51-ecspi";
6936c3debcbSAnson Huang					#address-cells = <1>;
6946c3debcbSAnson Huang					#size-cells = <0>;
6956c3debcbSAnson Huang					reg = <0x30820000 0x10000>;
6966c3debcbSAnson Huang					interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>;
6976c3debcbSAnson Huang					clocks = <&clk IMX8MN_CLK_ECSPI1_ROOT>,
6986c3debcbSAnson Huang						 <&clk IMX8MN_CLK_ECSPI1_ROOT>;
6996c3debcbSAnson Huang					clock-names = "ipg", "per";
7006c3debcbSAnson Huang					dmas = <&sdma1 0 7 1>, <&sdma1 1 7 2>;
7016c3debcbSAnson Huang					dma-names = "rx", "tx";
7026c3debcbSAnson Huang					status = "disabled";
7036c3debcbSAnson Huang				};
7046c3debcbSAnson Huang
7056c3debcbSAnson Huang				ecspi2: spi@30830000 {
7066c3debcbSAnson Huang					compatible = "fsl,imx8mn-ecspi", "fsl,imx51-ecspi";
7076c3debcbSAnson Huang					#address-cells = <1>;
7086c3debcbSAnson Huang					#size-cells = <0>;
7096c3debcbSAnson Huang					reg = <0x30830000 0x10000>;
7106c3debcbSAnson Huang					interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
7116c3debcbSAnson Huang					clocks = <&clk IMX8MN_CLK_ECSPI2_ROOT>,
7126c3debcbSAnson Huang						 <&clk IMX8MN_CLK_ECSPI2_ROOT>;
7136c3debcbSAnson Huang					clock-names = "ipg", "per";
7146c3debcbSAnson Huang					dmas = <&sdma1 2 7 1>, <&sdma1 3 7 2>;
7156c3debcbSAnson Huang					dma-names = "rx", "tx";
7166c3debcbSAnson Huang					status = "disabled";
7176c3debcbSAnson Huang				};
7186c3debcbSAnson Huang
7196c3debcbSAnson Huang				ecspi3: spi@30840000 {
7206c3debcbSAnson Huang					compatible = "fsl,imx8mn-ecspi", "fsl,imx51-ecspi";
7216c3debcbSAnson Huang					#address-cells = <1>;
7226c3debcbSAnson Huang					#size-cells = <0>;
7236c3debcbSAnson Huang					reg = <0x30840000 0x10000>;
7246c3debcbSAnson Huang					interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>;
7256c3debcbSAnson Huang					clocks = <&clk IMX8MN_CLK_ECSPI3_ROOT>,
7266c3debcbSAnson Huang						 <&clk IMX8MN_CLK_ECSPI3_ROOT>;
7276c3debcbSAnson Huang					clock-names = "ipg", "per";
7286c3debcbSAnson Huang					dmas = <&sdma1 4 7 1>, <&sdma1 5 7 2>;
7296c3debcbSAnson Huang					dma-names = "rx", "tx";
7306c3debcbSAnson Huang					status = "disabled";
7316c3debcbSAnson Huang				};
7326c3debcbSAnson Huang
7336c3debcbSAnson Huang				uart1: serial@30860000 {
7346c3debcbSAnson Huang					compatible = "fsl,imx8mn-uart", "fsl,imx6q-uart";
7356c3debcbSAnson Huang					reg = <0x30860000 0x10000>;
7366c3debcbSAnson Huang					interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
7376c3debcbSAnson Huang					clocks = <&clk IMX8MN_CLK_UART1_ROOT>,
7386c3debcbSAnson Huang						 <&clk IMX8MN_CLK_UART1_ROOT>;
7396c3debcbSAnson Huang					clock-names = "ipg", "per";
7406c3debcbSAnson Huang					dmas = <&sdma1 22 4 0>, <&sdma1 23 4 0>;
7416c3debcbSAnson Huang					dma-names = "rx", "tx";
7426c3debcbSAnson Huang					status = "disabled";
7436c3debcbSAnson Huang				};
7446c3debcbSAnson Huang
7456c3debcbSAnson Huang				uart3: serial@30880000 {
7466c3debcbSAnson Huang					compatible = "fsl,imx8mn-uart", "fsl,imx6q-uart";
7476c3debcbSAnson Huang					reg = <0x30880000 0x10000>;
7486c3debcbSAnson Huang					interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>;
7496c3debcbSAnson Huang					clocks = <&clk IMX8MN_CLK_UART3_ROOT>,
7506c3debcbSAnson Huang						 <&clk IMX8MN_CLK_UART3_ROOT>;
7516c3debcbSAnson Huang					clock-names = "ipg", "per";
7526c3debcbSAnson Huang					dmas = <&sdma1 26 4 0>, <&sdma1 27 4 0>;
7536c3debcbSAnson Huang					dma-names = "rx", "tx";
7546c3debcbSAnson Huang					status = "disabled";
7556c3debcbSAnson Huang				};
7566c3debcbSAnson Huang
7576c3debcbSAnson Huang				uart2: serial@30890000 {
7586c3debcbSAnson Huang					compatible = "fsl,imx8mn-uart", "fsl,imx6q-uart";
7596c3debcbSAnson Huang					reg = <0x30890000 0x10000>;
7606c3debcbSAnson Huang					interrupts = <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH>;
7616c3debcbSAnson Huang					clocks = <&clk IMX8MN_CLK_UART2_ROOT>,
7626c3debcbSAnson Huang						 <&clk IMX8MN_CLK_UART2_ROOT>;
7636c3debcbSAnson Huang					clock-names = "ipg", "per";
7646c3debcbSAnson Huang					status = "disabled";
7656c3debcbSAnson Huang				};
766*292e0f48SAdam Ford			};
7676c3debcbSAnson Huang
768aad24175SHoria Geantă			crypto: crypto@30900000 {
769aad24175SHoria Geantă				compatible = "fsl,sec-v4.0";
770aad24175SHoria Geantă				#address-cells = <1>;
771aad24175SHoria Geantă				#size-cells = <1>;
772aad24175SHoria Geantă				reg = <0x30900000 0x40000>;
773aad24175SHoria Geantă				ranges = <0 0x30900000 0x40000>;
774aad24175SHoria Geantă				interrupts = <GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH>;
775aad24175SHoria Geantă				clocks = <&clk IMX8MN_CLK_AHB>,
776aad24175SHoria Geantă					 <&clk IMX8MN_CLK_IPG_ROOT>;
777aad24175SHoria Geantă				clock-names = "aclk", "ipg";
778aad24175SHoria Geantă
779f5ff5a21SSilvano di Ninno				sec_jr0: jr@1000 {
780aad24175SHoria Geantă					 compatible = "fsl,sec-v4.0-job-ring";
781aad24175SHoria Geantă					 reg = <0x1000 0x1000>;
782aad24175SHoria Geantă					 interrupts = <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>;
783aad24175SHoria Geantă				};
784aad24175SHoria Geantă
785f5ff5a21SSilvano di Ninno				sec_jr1: jr@2000 {
786aad24175SHoria Geantă					 compatible = "fsl,sec-v4.0-job-ring";
787aad24175SHoria Geantă					 reg = <0x2000 0x1000>;
788aad24175SHoria Geantă					 interrupts = <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>;
789aad24175SHoria Geantă				};
790aad24175SHoria Geantă
791f5ff5a21SSilvano di Ninno				sec_jr2: jr@3000 {
792aad24175SHoria Geantă					 compatible = "fsl,sec-v4.0-job-ring";
793aad24175SHoria Geantă					 reg = <0x3000 0x1000>;
794aad24175SHoria Geantă					 interrupts = <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>;
795aad24175SHoria Geantă				};
796aad24175SHoria Geantă			};
797aad24175SHoria Geantă
7986c3debcbSAnson Huang			i2c1: i2c@30a20000 {
7996c3debcbSAnson Huang				compatible = "fsl,imx8mn-i2c", "fsl,imx21-i2c";
8006c3debcbSAnson Huang				#address-cells = <1>;
8016c3debcbSAnson Huang				#size-cells = <0>;
8026c3debcbSAnson Huang				reg = <0x30a20000 0x10000>;
8036c3debcbSAnson Huang				interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>;
8046c3debcbSAnson Huang				clocks = <&clk IMX8MN_CLK_I2C1_ROOT>;
8056c3debcbSAnson Huang				status = "disabled";
8066c3debcbSAnson Huang			};
8076c3debcbSAnson Huang
8086c3debcbSAnson Huang			i2c2: i2c@30a30000 {
8096c3debcbSAnson Huang				compatible = "fsl,imx8mn-i2c", "fsl,imx21-i2c";
8106c3debcbSAnson Huang				#address-cells = <1>;
8116c3debcbSAnson Huang				#size-cells = <0>;
8126c3debcbSAnson Huang				reg = <0x30a30000 0x10000>;
8136c3debcbSAnson Huang				interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
8146c3debcbSAnson Huang				clocks = <&clk IMX8MN_CLK_I2C2_ROOT>;
8156c3debcbSAnson Huang				status = "disabled";
8166c3debcbSAnson Huang			};
8176c3debcbSAnson Huang
8186c3debcbSAnson Huang			i2c3: i2c@30a40000 {
8196c3debcbSAnson Huang				#address-cells = <1>;
8206c3debcbSAnson Huang				#size-cells = <0>;
8216c3debcbSAnson Huang				compatible = "fsl,imx8mn-i2c", "fsl,imx21-i2c";
8226c3debcbSAnson Huang				reg = <0x30a40000 0x10000>;
8236c3debcbSAnson Huang				interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
8246c3debcbSAnson Huang				clocks = <&clk IMX8MN_CLK_I2C3_ROOT>;
8256c3debcbSAnson Huang				status = "disabled";
8266c3debcbSAnson Huang			};
8276c3debcbSAnson Huang
8286c3debcbSAnson Huang			i2c4: i2c@30a50000 {
8296c3debcbSAnson Huang				compatible = "fsl,imx8mn-i2c", "fsl,imx21-i2c";
8306c3debcbSAnson Huang				#address-cells = <1>;
8316c3debcbSAnson Huang				#size-cells = <0>;
8326c3debcbSAnson Huang				reg = <0x30a50000 0x10000>;
8336c3debcbSAnson Huang				interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>;
8346c3debcbSAnson Huang				clocks = <&clk IMX8MN_CLK_I2C4_ROOT>;
8356c3debcbSAnson Huang				status = "disabled";
8366c3debcbSAnson Huang			};
8376c3debcbSAnson Huang
8386c3debcbSAnson Huang			uart4: serial@30a60000 {
8396c3debcbSAnson Huang				compatible = "fsl,imx8mn-uart", "fsl,imx6q-uart";
8406c3debcbSAnson Huang				reg = <0x30a60000 0x10000>;
8416c3debcbSAnson Huang				interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>;
8426c3debcbSAnson Huang				clocks = <&clk IMX8MN_CLK_UART4_ROOT>,
8436c3debcbSAnson Huang					 <&clk IMX8MN_CLK_UART4_ROOT>;
8446c3debcbSAnson Huang				clock-names = "ipg", "per";
8456c3debcbSAnson Huang				dmas = <&sdma1 28 4 0>, <&sdma1 29 4 0>;
8466c3debcbSAnson Huang				dma-names = "rx", "tx";
8476c3debcbSAnson Huang				status = "disabled";
8486c3debcbSAnson Huang			};
8496c3debcbSAnson Huang
850bbfc59beSPeng Fan			mu: mailbox@30aa0000 {
851bbfc59beSPeng Fan				compatible = "fsl,imx8mn-mu", "fsl,imx6sx-mu";
852bbfc59beSPeng Fan				reg = <0x30aa0000 0x10000>;
853bbfc59beSPeng Fan				interrupts = <GIC_SPI 88 IRQ_TYPE_LEVEL_HIGH>;
854bbfc59beSPeng Fan				clocks = <&clk IMX8MN_CLK_MU_ROOT>;
855bbfc59beSPeng Fan				#mbox-cells = <2>;
856bbfc59beSPeng Fan			};
857bbfc59beSPeng Fan
8586c3debcbSAnson Huang			usdhc1: mmc@30b40000 {
8596c3debcbSAnson Huang				compatible = "fsl,imx8mn-usdhc", "fsl,imx7d-usdhc";
8606c3debcbSAnson Huang				reg = <0x30b40000 0x10000>;
8616c3debcbSAnson Huang				interrupts = <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>;
862ea65aba8SAnson Huang				clocks = <&clk IMX8MN_CLK_IPG_ROOT>,
8636c3debcbSAnson Huang					 <&clk IMX8MN_CLK_NAND_USDHC_BUS>,
8646c3debcbSAnson Huang					 <&clk IMX8MN_CLK_USDHC1_ROOT>;
8656c3debcbSAnson Huang				clock-names = "ipg", "ahb", "per";
8666c3debcbSAnson Huang				fsl,tuning-start-tap = <20>;
8676c3debcbSAnson Huang				fsl,tuning-step= <2>;
8686c3debcbSAnson Huang				bus-width = <4>;
8696c3debcbSAnson Huang				status = "disabled";
8706c3debcbSAnson Huang			};
8716c3debcbSAnson Huang
8726c3debcbSAnson Huang			usdhc2: mmc@30b50000 {
8736c3debcbSAnson Huang				compatible = "fsl,imx8mn-usdhc", "fsl,imx7d-usdhc";
8746c3debcbSAnson Huang				reg = <0x30b50000 0x10000>;
8756c3debcbSAnson Huang				interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
876ea65aba8SAnson Huang				clocks = <&clk IMX8MN_CLK_IPG_ROOT>,
8776c3debcbSAnson Huang					 <&clk IMX8MN_CLK_NAND_USDHC_BUS>,
8786c3debcbSAnson Huang					 <&clk IMX8MN_CLK_USDHC2_ROOT>;
8796c3debcbSAnson Huang				clock-names = "ipg", "ahb", "per";
8806c3debcbSAnson Huang				fsl,tuning-start-tap = <20>;
8816c3debcbSAnson Huang				fsl,tuning-step= <2>;
8826c3debcbSAnson Huang				bus-width = <4>;
8836c3debcbSAnson Huang				status = "disabled";
8846c3debcbSAnson Huang			};
8856c3debcbSAnson Huang
8866c3debcbSAnson Huang			usdhc3: mmc@30b60000 {
8876c3debcbSAnson Huang				compatible = "fsl,imx8mn-usdhc", "fsl,imx7d-usdhc";
8886c3debcbSAnson Huang				reg = <0x30b60000 0x10000>;
8896c3debcbSAnson Huang				interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>;
890ea65aba8SAnson Huang				clocks = <&clk IMX8MN_CLK_IPG_ROOT>,
8916c3debcbSAnson Huang					 <&clk IMX8MN_CLK_NAND_USDHC_BUS>,
8926c3debcbSAnson Huang					 <&clk IMX8MN_CLK_USDHC3_ROOT>;
8936c3debcbSAnson Huang				clock-names = "ipg", "ahb", "per";
8946c3debcbSAnson Huang				fsl,tuning-start-tap = <20>;
8956c3debcbSAnson Huang				fsl,tuning-step= <2>;
8966c3debcbSAnson Huang				bus-width = <4>;
8976c3debcbSAnson Huang				status = "disabled";
8986c3debcbSAnson Huang			};
8996c3debcbSAnson Huang
900189f6586SAdam Ford			flexspi: spi@30bb0000 {
901189f6586SAdam Ford				#address-cells = <1>;
902189f6586SAdam Ford				#size-cells = <0>;
903189f6586SAdam Ford				compatible = "nxp,imx8mm-fspi";
904189f6586SAdam Ford				reg = <0x30bb0000 0x10000>, <0x8000000 0x10000000>;
905189f6586SAdam Ford				reg-names = "fspi_base", "fspi_mmap";
906189f6586SAdam Ford				interrupts = <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>;
907189f6586SAdam Ford				clocks = <&clk IMX8MN_CLK_QSPI_ROOT>,
908189f6586SAdam Ford					 <&clk IMX8MN_CLK_QSPI_ROOT>;
909f29fa744SKuldeep Singh				clock-names = "fspi_en", "fspi";
910189f6586SAdam Ford				status = "disabled";
911189f6586SAdam Ford			};
912189f6586SAdam Ford
9136c3debcbSAnson Huang			sdma1: dma-controller@30bd0000 {
914958c6014SShengjiu Wang				compatible = "fsl,imx8mn-sdma", "fsl,imx8mq-sdma";
9156c3debcbSAnson Huang				reg = <0x30bd0000 0x10000>;
9166c3debcbSAnson Huang				interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>;
9176c3debcbSAnson Huang				clocks = <&clk IMX8MN_CLK_SDMA1_ROOT>,
91815ddc3e1SAdam Ford					 <&clk IMX8MN_CLK_AHB>;
9196c3debcbSAnson Huang				clock-names = "ipg", "ahb";
9206c3debcbSAnson Huang				#dma-cells = <3>;
9216c3debcbSAnson Huang				fsl,sdma-ram-script-name = "imx/sdma/sdma-imx7d.bin";
9226c3debcbSAnson Huang			};
9236c3debcbSAnson Huang
9246c3debcbSAnson Huang			fec1: ethernet@30be0000 {
9256c3debcbSAnson Huang				compatible = "fsl,imx8mn-fec", "fsl,imx6sx-fec";
9266c3debcbSAnson Huang				reg = <0x30be0000 0x10000>;
9276c3debcbSAnson Huang				interrupts = <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>,
9286c3debcbSAnson Huang					     <GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH>,
929d3762a47SFabio Estevam					     <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>,
930d3762a47SFabio Estevam					     <GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>;
9316c3debcbSAnson Huang				clocks = <&clk IMX8MN_CLK_ENET1_ROOT>,
9326c3debcbSAnson Huang					 <&clk IMX8MN_CLK_ENET1_ROOT>,
9336c3debcbSAnson Huang					 <&clk IMX8MN_CLK_ENET_TIMER>,
9346c3debcbSAnson Huang					 <&clk IMX8MN_CLK_ENET_REF>,
9356c3debcbSAnson Huang					 <&clk IMX8MN_CLK_ENET_PHY_REF>;
9366c3debcbSAnson Huang				clock-names = "ipg", "ahb", "ptp",
9376c3debcbSAnson Huang					      "enet_clk_ref", "enet_out";
9386c3debcbSAnson Huang				assigned-clocks = <&clk IMX8MN_CLK_ENET_AXI>,
9396c3debcbSAnson Huang						  <&clk IMX8MN_CLK_ENET_TIMER>,
9406c3debcbSAnson Huang						  <&clk IMX8MN_CLK_ENET_REF>,
94170eacf42SJoakim Zhang						  <&clk IMX8MN_CLK_ENET_PHY_REF>;
9426c3debcbSAnson Huang				assigned-clock-parents = <&clk IMX8MN_SYS_PLL1_266M>,
9436c3debcbSAnson Huang							 <&clk IMX8MN_SYS_PLL2_100M>,
94470eacf42SJoakim Zhang							 <&clk IMX8MN_SYS_PLL2_125M>,
94570eacf42SJoakim Zhang							 <&clk IMX8MN_SYS_PLL2_50M>;
94670eacf42SJoakim Zhang				assigned-clock-rates = <0>, <100000000>, <125000000>, <0>;
9476c3debcbSAnson Huang				fsl,num-tx-queues = <3>;
9486c3debcbSAnson Huang				fsl,num-rx-queues = <3>;
949066438aeSJoakim Zhang				nvmem-cells = <&fec_mac_address>;
950066438aeSJoakim Zhang				nvmem-cell-names = "mac-address";
951066438aeSJoakim Zhang				nvmem_macaddr_swap;
952afe99354SJoakim Zhang				fsl,stop-mode = <&gpr 0x10 3>;
9536c3debcbSAnson Huang				status = "disabled";
9546c3debcbSAnson Huang			};
9556c3debcbSAnson Huang
9566c3debcbSAnson Huang		};
9576c3debcbSAnson Huang
9586c3debcbSAnson Huang		aips4: bus@32c00000 {
959dc3efc6fSPeng Fan			compatible = "fsl,aips-bus", "simple-bus";
960921a6845SFabio Estevam			reg = <0x32c00000 0x400000>;
9616c3debcbSAnson Huang			#address-cells = <1>;
9626c3debcbSAnson Huang			#size-cells = <1>;
9636c3debcbSAnson Huang			ranges;
9646c3debcbSAnson Huang
9656c3debcbSAnson Huang			usbotg1: usb@32e40000 {
9666c3debcbSAnson Huang				compatible = "fsl,imx8mn-usb", "fsl,imx7d-usb";
9676c3debcbSAnson Huang				reg = <0x32e40000 0x200>;
9686c3debcbSAnson Huang				interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>;
9696c3debcbSAnson Huang				clocks = <&clk IMX8MN_CLK_USB1_CTRL_ROOT>;
9706c3debcbSAnson Huang				clock-names = "usb1_ctrl_root_clk";
971d51cb99cSLi Jun				assigned-clocks = <&clk IMX8MN_CLK_USB_BUS>;
972d51cb99cSLi Jun				assigned-clock-parents = <&clk IMX8MN_SYS_PLL2_500M>;
9736c3debcbSAnson Huang				fsl,usbphy = <&usbphynop1>;
9746c3debcbSAnson Huang				fsl,usbmisc = <&usbmisc1 0>;
9756c3debcbSAnson Huang				status = "disabled";
9766c3debcbSAnson Huang			};
9776c3debcbSAnson Huang
9786c3debcbSAnson Huang			usbmisc1: usbmisc@32e40200 {
9796c3debcbSAnson Huang				compatible = "fsl,imx8mn-usbmisc", "fsl,imx7d-usbmisc";
9806c3debcbSAnson Huang				#index-cells = <1>;
9816c3debcbSAnson Huang				reg = <0x32e40200 0x200>;
9826c3debcbSAnson Huang			};
9836c3debcbSAnson Huang		};
9846c3debcbSAnson Huang
9856c3debcbSAnson Huang		dma_apbh: dma-controller@33000000 {
9866c3debcbSAnson Huang			compatible = "fsl,imx7d-dma-apbh", "fsl,imx28-dma-apbh";
9876c3debcbSAnson Huang			reg = <0x33000000 0x2000>;
9886c3debcbSAnson Huang			interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>,
9896c3debcbSAnson Huang				     <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>,
9906c3debcbSAnson Huang				     <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>,
9916c3debcbSAnson Huang				     <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
9926c3debcbSAnson Huang			interrupt-names = "gpmi0", "gpmi1", "gpmi2", "gpmi3";
9936c3debcbSAnson Huang			#dma-cells = <1>;
9946c3debcbSAnson Huang			dma-channels = <4>;
9956c3debcbSAnson Huang			clocks = <&clk IMX8MN_CLK_NAND_USDHC_BUS_RAWNAND_CLK>;
9966c3debcbSAnson Huang		};
9976c3debcbSAnson Huang
9986c3debcbSAnson Huang		gpmi: nand-controller@33002000 {
9996c3debcbSAnson Huang			compatible = "fsl,imx8mn-gpmi-nand", "fsl,imx7d-gpmi-nand";
10006c3debcbSAnson Huang			#address-cells = <1>;
10016c3debcbSAnson Huang			#size-cells = <1>;
10026c3debcbSAnson Huang			reg = <0x33002000 0x2000>, <0x33004000 0x4000>;
10036c3debcbSAnson Huang			reg-names = "gpmi-nand", "bch";
10046c3debcbSAnson Huang			interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
10056c3debcbSAnson Huang			interrupt-names = "bch";
10066c3debcbSAnson Huang			clocks = <&clk IMX8MN_CLK_NAND_ROOT>,
10076c3debcbSAnson Huang				 <&clk IMX8MN_CLK_NAND_USDHC_BUS_RAWNAND_CLK>;
10086c3debcbSAnson Huang			clock-names = "gpmi_io", "gpmi_bch_apb";
10096c3debcbSAnson Huang			dmas = <&dma_apbh 0>;
10106c3debcbSAnson Huang			dma-names = "rx-tx";
10116c3debcbSAnson Huang			status = "disabled";
10126c3debcbSAnson Huang		};
10136c3debcbSAnson Huang
10146c3debcbSAnson Huang		gic: interrupt-controller@38800000 {
10156c3debcbSAnson Huang			compatible = "arm,gic-v3";
10166c3debcbSAnson Huang			reg = <0x38800000 0x10000>,
10176c3debcbSAnson Huang			      <0x38880000 0xc0000>;
10186c3debcbSAnson Huang			#interrupt-cells = <3>;
10196c3debcbSAnson Huang			interrupt-controller;
10206c3debcbSAnson Huang			interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>;
10216c3debcbSAnson Huang		};
10222d8e0747SJoakim Zhang
10230376f6ecSLeonard Crestez		ddrc: memory-controller@3d400000 {
10240376f6ecSLeonard Crestez			compatible = "fsl,imx8mn-ddrc", "fsl,imx8m-ddrc";
10250376f6ecSLeonard Crestez			reg = <0x3d400000 0x400000>;
10260376f6ecSLeonard Crestez			clock-names = "core", "pll", "alt", "apb";
10270376f6ecSLeonard Crestez			clocks = <&clk IMX8MN_CLK_DRAM_CORE>,
10280376f6ecSLeonard Crestez				 <&clk IMX8MN_DRAM_PLL>,
10290376f6ecSLeonard Crestez				 <&clk IMX8MN_CLK_DRAM_ALT>,
10300376f6ecSLeonard Crestez				 <&clk IMX8MN_CLK_DRAM_APB>;
10310376f6ecSLeonard Crestez		};
10320376f6ecSLeonard Crestez
10332d8e0747SJoakim Zhang		ddr-pmu@3d800000 {
10342d8e0747SJoakim Zhang			compatible = "fsl,imx8mn-ddr-pmu", "fsl,imx8m-ddr-pmu";
10352d8e0747SJoakim Zhang			reg = <0x3d800000 0x400000>;
10362d8e0747SJoakim Zhang			interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>;
10372d8e0747SJoakim Zhang		};
10386c3debcbSAnson Huang	};
10396c3debcbSAnson Huang
10406c3debcbSAnson Huang	usbphynop1: usbphynop1 {
10416c3debcbSAnson Huang		compatible = "usb-nop-xceiv";
10426c3debcbSAnson Huang		clocks = <&clk IMX8MN_CLK_USB_PHY_REF>;
10436c3debcbSAnson Huang		assigned-clocks = <&clk IMX8MN_CLK_USB_PHY_REF>;
10446c3debcbSAnson Huang		assigned-clock-parents = <&clk IMX8MN_SYS_PLL1_100M>;
10456c3debcbSAnson Huang		clock-names = "main_clk";
10466c3debcbSAnson Huang	};
10476c3debcbSAnson Huang};
1048