xref: /openbmc/linux/arch/arm64/boot/dts/freescale/imx8mn.dtsi (revision b97d6790d03b763eca08847a9a5869a4291b9f9a)
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>
78b8ebec6SAdam Ford#include <dt-bindings/power/imx8mn-power.h>
88b8ebec6SAdam Ford#include <dt-bindings/reset/imx8mq-reset.h>
96c3debcbSAnson Huang#include <dt-bindings/gpio/gpio.h>
106c3debcbSAnson Huang#include <dt-bindings/input/input.h>
116c3debcbSAnson Huang#include <dt-bindings/interrupt-controller/arm-gic.h>
12819779a9SAnson Huang#include <dt-bindings/thermal/thermal.h>
136c3debcbSAnson Huang
146c3debcbSAnson Huang#include "imx8mn-pinfunc.h"
156c3debcbSAnson Huang
166c3debcbSAnson Huang/ {
176c3debcbSAnson Huang	interrupt-parent = <&gic>;
186c3debcbSAnson Huang	#address-cells = <2>;
196c3debcbSAnson Huang	#size-cells = <2>;
206c3debcbSAnson Huang
216c3debcbSAnson Huang	aliases {
226c3debcbSAnson Huang		ethernet0 = &fec1;
236c3debcbSAnson Huang		gpio0 = &gpio1;
246c3debcbSAnson Huang		gpio1 = &gpio2;
256c3debcbSAnson Huang		gpio2 = &gpio3;
266c3debcbSAnson Huang		gpio3 = &gpio4;
276c3debcbSAnson Huang		gpio4 = &gpio5;
286c3debcbSAnson Huang		i2c0 = &i2c1;
296c3debcbSAnson Huang		i2c1 = &i2c2;
306c3debcbSAnson Huang		i2c2 = &i2c3;
316c3debcbSAnson Huang		i2c3 = &i2c4;
326c3debcbSAnson Huang		mmc0 = &usdhc1;
336c3debcbSAnson Huang		mmc1 = &usdhc2;
346c3debcbSAnson Huang		mmc2 = &usdhc3;
356c3debcbSAnson Huang		serial0 = &uart1;
366c3debcbSAnson Huang		serial1 = &uart2;
376c3debcbSAnson Huang		serial2 = &uart3;
386c3debcbSAnson Huang		serial3 = &uart4;
396c3debcbSAnson Huang		spi0 = &ecspi1;
406c3debcbSAnson Huang		spi1 = &ecspi2;
416c3debcbSAnson Huang		spi2 = &ecspi3;
426c3debcbSAnson Huang	};
436c3debcbSAnson Huang
446c3debcbSAnson Huang	cpus {
456c3debcbSAnson Huang		#address-cells = <1>;
466c3debcbSAnson Huang		#size-cells = <0>;
476c3debcbSAnson Huang
48df844a9aSAnson Huang		idle-states {
49df844a9aSAnson Huang			entry-method = "psci";
50df844a9aSAnson Huang
51df844a9aSAnson Huang			cpu_pd_wait: cpu-pd-wait {
52df844a9aSAnson Huang				compatible = "arm,idle-state";
53df844a9aSAnson Huang				arm,psci-suspend-param = <0x0010033>;
54df844a9aSAnson Huang				local-timer-stop;
55df844a9aSAnson Huang				entry-latency-us = <1000>;
56df844a9aSAnson Huang				exit-latency-us = <700>;
57df844a9aSAnson Huang				min-residency-us = <2700>;
58df844a9aSAnson Huang			};
59df844a9aSAnson Huang		};
60df844a9aSAnson Huang
616c3debcbSAnson Huang		A53_0: cpu@0 {
626c3debcbSAnson Huang			device_type = "cpu";
636c3debcbSAnson Huang			compatible = "arm,cortex-a53";
646c3debcbSAnson Huang			reg = <0x0>;
656c3debcbSAnson Huang			clock-latency = <61036>;
666c3debcbSAnson Huang			clocks = <&clk IMX8MN_CLK_ARM>;
676c3debcbSAnson Huang			enable-method = "psci";
68cb551b5eSPeng Fan			i-cache-size = <0x8000>;
69cb551b5eSPeng Fan			i-cache-line-size = <64>;
70cb551b5eSPeng Fan			i-cache-sets = <256>;
71cb551b5eSPeng Fan			d-cache-size = <0x8000>;
72cb551b5eSPeng Fan			d-cache-line-size = <64>;
73cb551b5eSPeng Fan			d-cache-sets = <128>;
746c3debcbSAnson Huang			next-level-cache = <&A53_L2>;
7501c49314SAnson Huang			operating-points-v2 = <&a53_opp_table>;
7601c49314SAnson Huang			nvmem-cells = <&cpu_speed_grade>;
7701c49314SAnson Huang			nvmem-cell-names = "speed_grade";
78df844a9aSAnson Huang			cpu-idle-states = <&cpu_pd_wait>;
79819779a9SAnson Huang			#cooling-cells = <2>;
806c3debcbSAnson Huang		};
816c3debcbSAnson Huang
826c3debcbSAnson Huang		A53_1: cpu@1 {
836c3debcbSAnson Huang			device_type = "cpu";
846c3debcbSAnson Huang			compatible = "arm,cortex-a53";
856c3debcbSAnson Huang			reg = <0x1>;
866c3debcbSAnson Huang			clock-latency = <61036>;
876c3debcbSAnson Huang			clocks = <&clk IMX8MN_CLK_ARM>;
886c3debcbSAnson Huang			enable-method = "psci";
89cb551b5eSPeng Fan			i-cache-size = <0x8000>;
90cb551b5eSPeng Fan			i-cache-line-size = <64>;
91cb551b5eSPeng Fan			i-cache-sets = <256>;
92cb551b5eSPeng Fan			d-cache-size = <0x8000>;
93cb551b5eSPeng Fan			d-cache-line-size = <64>;
94cb551b5eSPeng Fan			d-cache-sets = <128>;
956c3debcbSAnson Huang			next-level-cache = <&A53_L2>;
9601c49314SAnson Huang			operating-points-v2 = <&a53_opp_table>;
97df844a9aSAnson Huang			cpu-idle-states = <&cpu_pd_wait>;
98819779a9SAnson Huang			#cooling-cells = <2>;
996c3debcbSAnson Huang		};
1006c3debcbSAnson Huang
1016c3debcbSAnson Huang		A53_2: cpu@2 {
1026c3debcbSAnson Huang			device_type = "cpu";
1036c3debcbSAnson Huang			compatible = "arm,cortex-a53";
1046c3debcbSAnson Huang			reg = <0x2>;
1056c3debcbSAnson Huang			clock-latency = <61036>;
1066c3debcbSAnson Huang			clocks = <&clk IMX8MN_CLK_ARM>;
1076c3debcbSAnson Huang			enable-method = "psci";
108cb551b5eSPeng Fan			i-cache-size = <0x8000>;
109cb551b5eSPeng Fan			i-cache-line-size = <64>;
110cb551b5eSPeng Fan			i-cache-sets = <256>;
111cb551b5eSPeng Fan			d-cache-size = <0x8000>;
112cb551b5eSPeng Fan			d-cache-line-size = <64>;
113cb551b5eSPeng Fan			d-cache-sets = <128>;
1146c3debcbSAnson Huang			next-level-cache = <&A53_L2>;
11501c49314SAnson Huang			operating-points-v2 = <&a53_opp_table>;
116df844a9aSAnson Huang			cpu-idle-states = <&cpu_pd_wait>;
117819779a9SAnson Huang			#cooling-cells = <2>;
1186c3debcbSAnson Huang		};
1196c3debcbSAnson Huang
1206c3debcbSAnson Huang		A53_3: cpu@3 {
1216c3debcbSAnson Huang			device_type = "cpu";
1226c3debcbSAnson Huang			compatible = "arm,cortex-a53";
1236c3debcbSAnson Huang			reg = <0x3>;
1246c3debcbSAnson Huang			clock-latency = <61036>;
1256c3debcbSAnson Huang			clocks = <&clk IMX8MN_CLK_ARM>;
1266c3debcbSAnson Huang			enable-method = "psci";
127cb551b5eSPeng Fan			i-cache-size = <0x8000>;
128cb551b5eSPeng Fan			i-cache-line-size = <64>;
129cb551b5eSPeng Fan			i-cache-sets = <256>;
130cb551b5eSPeng Fan			d-cache-size = <0x8000>;
131cb551b5eSPeng Fan			d-cache-line-size = <64>;
132cb551b5eSPeng Fan			d-cache-sets = <128>;
1336c3debcbSAnson Huang			next-level-cache = <&A53_L2>;
13401c49314SAnson Huang			operating-points-v2 = <&a53_opp_table>;
135df844a9aSAnson Huang			cpu-idle-states = <&cpu_pd_wait>;
136819779a9SAnson Huang			#cooling-cells = <2>;
1376c3debcbSAnson Huang		};
1386c3debcbSAnson Huang
1396c3debcbSAnson Huang		A53_L2: l2-cache0 {
1406c3debcbSAnson Huang			compatible = "cache";
141cb551b5eSPeng Fan			cache-level = <2>;
1423b450831SPierre Gondois			cache-unified;
143cb551b5eSPeng Fan			cache-size = <0x80000>;
144cb551b5eSPeng Fan			cache-line-size = <64>;
145cb551b5eSPeng Fan			cache-sets = <512>;
1466c3debcbSAnson Huang		};
1476c3debcbSAnson Huang	};
1486c3debcbSAnson Huang
14901c49314SAnson Huang	a53_opp_table: opp-table {
15001c49314SAnson Huang		compatible = "operating-points-v2";
15101c49314SAnson Huang		opp-shared;
15201c49314SAnson Huang
15301c49314SAnson Huang		opp-1200000000 {
15401c49314SAnson Huang			opp-hz = /bits/ 64 <1200000000>;
1558c30e7caSAnson Huang			opp-microvolt = <850000>;
15601c49314SAnson Huang			opp-supported-hw = <0xb00>, <0x7>;
15701c49314SAnson Huang			clock-latency-ns = <150000>;
15801c49314SAnson Huang			opp-suspend;
15901c49314SAnson Huang		};
16001c49314SAnson Huang
16101c49314SAnson Huang		opp-1400000000 {
16201c49314SAnson Huang			opp-hz = /bits/ 64 <1400000000>;
16301c49314SAnson Huang			opp-microvolt = <950000>;
16401c49314SAnson Huang			opp-supported-hw = <0x300>, <0x7>;
16501c49314SAnson Huang			clock-latency-ns = <150000>;
16601c49314SAnson Huang			opp-suspend;
16701c49314SAnson Huang		};
16801c49314SAnson Huang
16901c49314SAnson Huang		opp-1500000000 {
17001c49314SAnson Huang			opp-hz = /bits/ 64 <1500000000>;
17101c49314SAnson Huang			opp-microvolt = <1000000>;
17201c49314SAnson Huang			opp-supported-hw = <0x100>, <0x3>;
17301c49314SAnson Huang			clock-latency-ns = <150000>;
17401c49314SAnson Huang			opp-suspend;
17501c49314SAnson Huang		};
17601c49314SAnson Huang	};
17701c49314SAnson Huang
1786c3debcbSAnson Huang	osc_32k: clock-osc-32k {
1796c3debcbSAnson Huang		compatible = "fixed-clock";
1806c3debcbSAnson Huang		#clock-cells = <0>;
1816c3debcbSAnson Huang		clock-frequency = <32768>;
1826c3debcbSAnson Huang		clock-output-names = "osc_32k";
1836c3debcbSAnson Huang	};
1846c3debcbSAnson Huang
1856c3debcbSAnson Huang	osc_24m: clock-osc-24m {
1866c3debcbSAnson Huang		compatible = "fixed-clock";
1876c3debcbSAnson Huang		#clock-cells = <0>;
1886c3debcbSAnson Huang		clock-frequency = <24000000>;
1896c3debcbSAnson Huang		clock-output-names = "osc_24m";
1906c3debcbSAnson Huang	};
1916c3debcbSAnson Huang
1926c3debcbSAnson Huang	clk_ext1: clock-ext1 {
1936c3debcbSAnson Huang		compatible = "fixed-clock";
1946c3debcbSAnson Huang		#clock-cells = <0>;
1956c3debcbSAnson Huang		clock-frequency = <133000000>;
1966c3debcbSAnson Huang		clock-output-names = "clk_ext1";
1976c3debcbSAnson Huang	};
1986c3debcbSAnson Huang
1996c3debcbSAnson Huang	clk_ext2: clock-ext2 {
2006c3debcbSAnson Huang		compatible = "fixed-clock";
2016c3debcbSAnson Huang		#clock-cells = <0>;
2026c3debcbSAnson Huang		clock-frequency = <133000000>;
2036c3debcbSAnson Huang		clock-output-names = "clk_ext2";
2046c3debcbSAnson Huang	};
2056c3debcbSAnson Huang
2066c3debcbSAnson Huang	clk_ext3: clock-ext3 {
2076c3debcbSAnson Huang		compatible = "fixed-clock";
2086c3debcbSAnson Huang		#clock-cells = <0>;
2096c3debcbSAnson Huang		clock-frequency = <133000000>;
2106c3debcbSAnson Huang		clock-output-names = "clk_ext3";
2116c3debcbSAnson Huang	};
2126c3debcbSAnson Huang
2136c3debcbSAnson Huang	clk_ext4: clock-ext4 {
2146c3debcbSAnson Huang		compatible = "fixed-clock";
2156c3debcbSAnson Huang		#clock-cells = <0>;
2166c3debcbSAnson Huang		clock-frequency = <133000000>;
2176c3debcbSAnson Huang		clock-output-names = "clk_ext4";
2186c3debcbSAnson Huang	};
2196c3debcbSAnson Huang
220c13a7d84SJacky Bai	pmu {
221c13a7d84SJacky Bai		compatible = "arm,cortex-a53-pmu";
222c13a7d84SJacky Bai		interrupts = <GIC_PPI 7
223c13a7d84SJacky Bai			     (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
224c13a7d84SJacky Bai	};
225c13a7d84SJacky Bai
2266c3debcbSAnson Huang	psci {
2276c3debcbSAnson Huang		compatible = "arm,psci-1.0";
2286c3debcbSAnson Huang		method = "smc";
2296c3debcbSAnson Huang	};
2306c3debcbSAnson Huang
231819779a9SAnson Huang	thermal-zones {
232819779a9SAnson Huang		cpu-thermal {
233819779a9SAnson Huang			polling-delay-passive = <250>;
234819779a9SAnson Huang			polling-delay = <2000>;
235819779a9SAnson Huang			thermal-sensors = <&tmu>;
236819779a9SAnson Huang			trips {
237819779a9SAnson Huang				cpu_alert0: trip0 {
238819779a9SAnson Huang					temperature = <85000>;
239819779a9SAnson Huang					hysteresis = <2000>;
240819779a9SAnson Huang					type = "passive";
241819779a9SAnson Huang				};
242819779a9SAnson Huang
243819779a9SAnson Huang				cpu_crit0: trip1 {
244819779a9SAnson Huang					temperature = <95000>;
245819779a9SAnson Huang					hysteresis = <2000>;
246819779a9SAnson Huang					type = "critical";
247819779a9SAnson Huang				};
248819779a9SAnson Huang			};
249819779a9SAnson Huang
250819779a9SAnson Huang			cooling-maps {
251819779a9SAnson Huang				map0 {
252819779a9SAnson Huang					trip = <&cpu_alert0>;
253819779a9SAnson Huang					cooling-device =
254819779a9SAnson Huang						<&A53_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
255819779a9SAnson Huang						<&A53_1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
256819779a9SAnson Huang						<&A53_2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
257819779a9SAnson Huang						<&A53_3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
258819779a9SAnson Huang				};
259819779a9SAnson Huang			};
260819779a9SAnson Huang		};
261819779a9SAnson Huang	};
262819779a9SAnson Huang
2636c3debcbSAnson Huang	timer {
2646c3debcbSAnson Huang		compatible = "arm,armv8-timer";
2650656e37aSKrzysztof Kozlowski		interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
2660656e37aSKrzysztof Kozlowski			     <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
2670656e37aSKrzysztof Kozlowski			     <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
2680656e37aSKrzysztof Kozlowski			     <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>;
2696c3debcbSAnson Huang		clock-frequency = <8000000>;
2706c3debcbSAnson Huang		arm,no-tick-in-suspend;
2716c3debcbSAnson Huang	};
2726c3debcbSAnson Huang
273fcdef92bSFabio Estevam	soc: soc@0 {
274ce58459dSAlice Guo		compatible = "fsl,imx8mn-soc", "simple-bus";
2756c3debcbSAnson Huang		#address-cells = <1>;
2766c3debcbSAnson Huang		#size-cells = <1>;
2776c3debcbSAnson Huang		ranges = <0x0 0x0 0x0 0x3e000000>;
2788d923cdfSLucas Stach		dma-ranges = <0x40000000 0x0 0x40000000 0xc0000000>;
279cbff2379SAlice Guo		nvmem-cells = <&imx8mn_uid>;
280cbff2379SAlice Guo		nvmem-cell-names = "soc_unique_id";
2816c3debcbSAnson Huang
2826c3debcbSAnson Huang		aips1: bus@30000000 {
283dc3efc6fSPeng Fan			compatible = "fsl,aips-bus", "simple-bus";
284921a6845SFabio Estevam			reg = <0x30000000 0x400000>;
2856c3debcbSAnson Huang			#address-cells = <1>;
2866c3debcbSAnson Huang			#size-cells = <1>;
2876c3debcbSAnson Huang			ranges;
2886c3debcbSAnson Huang
289292e0f48SAdam Ford			spba2: spba-bus@30000000 {
290970406eaSAdam Ford				compatible = "fsl,spba-bus", "simple-bus";
291970406eaSAdam Ford				#address-cells = <1>;
292970406eaSAdam Ford				#size-cells = <1>;
293970406eaSAdam Ford				reg = <0x30000000 0x100000>;
294970406eaSAdam Ford				ranges;
295970406eaSAdam Ford
2969e986006SAdam Ford				sai2: sai@30020000 {
297574518b7SMarek Vasut					compatible = "fsl,imx8mn-sai", "fsl,imx8mq-sai";
2989e986006SAdam Ford					reg = <0x30020000 0x10000>;
29962fb5414SMarek Vasut					#sound-dai-cells = <0>;
3009e986006SAdam Ford					interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
3019e986006SAdam Ford					clocks = <&clk IMX8MN_CLK_SAI2_IPG>,
3029e986006SAdam Ford						<&clk IMX8MN_CLK_DUMMY>,
3039e986006SAdam Ford						<&clk IMX8MN_CLK_SAI2_ROOT>,
3049e986006SAdam Ford						<&clk IMX8MN_CLK_DUMMY>, <&clk IMX8MN_CLK_DUMMY>;
3059e986006SAdam Ford					clock-names = "bus", "mclk0", "mclk1", "mclk2", "mclk3";
3069e986006SAdam Ford					dmas = <&sdma2 2 2 0>, <&sdma2 3 2 0>;
3079e986006SAdam Ford					dma-names = "rx", "tx";
3089e986006SAdam Ford					status = "disabled";
3099e986006SAdam Ford				};
3109e986006SAdam Ford
3119e986006SAdam Ford				sai3: sai@30030000 {
312574518b7SMarek Vasut					compatible = "fsl,imx8mn-sai", "fsl,imx8mq-sai";
3139e986006SAdam Ford					reg = <0x30030000 0x10000>;
31462fb5414SMarek Vasut					#sound-dai-cells = <0>;
3159e986006SAdam Ford					interrupts = <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>;
3169e986006SAdam Ford					clocks = <&clk IMX8MN_CLK_SAI3_IPG>,
3179e986006SAdam Ford						 <&clk IMX8MN_CLK_DUMMY>,
3189e986006SAdam Ford						 <&clk IMX8MN_CLK_SAI3_ROOT>,
3199e986006SAdam Ford						 <&clk IMX8MN_CLK_DUMMY>, <&clk IMX8MN_CLK_DUMMY>;
3209e986006SAdam Ford					clock-names = "bus", "mclk0", "mclk1", "mclk2", "mclk3";
3219e986006SAdam Ford					dmas = <&sdma2 4 2 0>, <&sdma2 5 2 0>;
3229e986006SAdam Ford					dma-names = "rx", "tx";
3239e986006SAdam Ford					status = "disabled";
3249e986006SAdam Ford				};
3259e986006SAdam Ford
3269e986006SAdam Ford				sai5: sai@30050000 {
327574518b7SMarek Vasut					compatible = "fsl,imx8mn-sai", "fsl,imx8mq-sai";
3289e986006SAdam Ford					reg = <0x30050000 0x10000>;
32962fb5414SMarek Vasut					#sound-dai-cells = <0>;
3309e986006SAdam Ford					interrupts = <GIC_SPI 90 IRQ_TYPE_LEVEL_HIGH>;
3319e986006SAdam Ford					clocks = <&clk IMX8MN_CLK_SAI5_IPG>,
3329e986006SAdam Ford						 <&clk IMX8MN_CLK_DUMMY>,
3339e986006SAdam Ford						 <&clk IMX8MN_CLK_SAI5_ROOT>,
3349e986006SAdam Ford						 <&clk IMX8MN_CLK_DUMMY>, <&clk IMX8MN_CLK_DUMMY>;
3359e986006SAdam Ford					clock-names = "bus", "mclk0", "mclk1", "mclk2", "mclk3";
3369e986006SAdam Ford					dmas = <&sdma2 8 2 0>, <&sdma2 9 2 0>;
3379e986006SAdam Ford					dma-names = "rx", "tx";
3389e986006SAdam Ford					fsl,shared-interrupt;
3399e986006SAdam Ford					fsl,dataline = <0 0xf 0xf>;
3409e986006SAdam Ford					status = "disabled";
3419e986006SAdam Ford				};
3429e986006SAdam Ford
3439e986006SAdam Ford				sai6: sai@30060000 {
344574518b7SMarek Vasut					compatible = "fsl,imx8mn-sai", "fsl,imx8mq-sai";
3459e986006SAdam Ford					reg = <0x30060000  0x10000>;
34662fb5414SMarek Vasut					#sound-dai-cells = <0>;
3479e986006SAdam Ford					interrupts = <GIC_SPI 90 IRQ_TYPE_LEVEL_HIGH>;
3489e986006SAdam Ford					clocks = <&clk IMX8MN_CLK_SAI6_IPG>,
3499e986006SAdam Ford						 <&clk IMX8MN_CLK_DUMMY>,
3509e986006SAdam Ford						 <&clk IMX8MN_CLK_SAI6_ROOT>,
3519e986006SAdam Ford						 <&clk IMX8MN_CLK_DUMMY>, <&clk IMX8MN_CLK_DUMMY>;
3529e986006SAdam Ford					clock-names = "bus", "mclk0", "mclk1", "mclk2", "mclk3";
3539e986006SAdam Ford					dmas = <&sdma2 10 2 0>, <&sdma2 11 2 0>;
3549e986006SAdam Ford					dma-names = "rx", "tx";
3559e986006SAdam Ford					status = "disabled";
3569e986006SAdam Ford				};
3579e986006SAdam Ford
358cca69ef6SAdam Ford				micfil: audio-controller@30080000 {
359cca69ef6SAdam Ford					compatible = "fsl,imx8mm-micfil";
360cca69ef6SAdam Ford					reg = <0x30080000 0x10000>;
361cca69ef6SAdam Ford					interrupts = <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>,
362cca69ef6SAdam Ford						     <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>,
363cca69ef6SAdam Ford						     <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>,
364cca69ef6SAdam Ford						     <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>;
365cca69ef6SAdam Ford					clocks = <&clk IMX8MN_CLK_PDM_IPG>,
366cca69ef6SAdam Ford						 <&clk IMX8MN_CLK_PDM_ROOT>,
367cca69ef6SAdam Ford						 <&clk IMX8MN_AUDIO_PLL1_OUT>,
368cca69ef6SAdam Ford						 <&clk IMX8MN_AUDIO_PLL2_OUT>,
369cca69ef6SAdam Ford						 <&clk IMX8MN_CLK_EXT3>;
370cca69ef6SAdam Ford					clock-names = "ipg_clk", "ipg_clk_app",
371cca69ef6SAdam Ford						      "pll8k", "pll11k", "clkext3";
372cca69ef6SAdam Ford					dmas = <&sdma2 24 25 0x80000000>;
373cca69ef6SAdam Ford					dma-names = "rx";
374*b0ee1705SAdam Ford					#sound-dai-cells = <0>;
375cca69ef6SAdam Ford					status = "disabled";
376cca69ef6SAdam Ford				};
377cca69ef6SAdam Ford
378b9cf7d3bSAdam Ford				spdif1: spdif@30090000 {
379b9cf7d3bSAdam Ford					compatible = "fsl,imx35-spdif";
380b9cf7d3bSAdam Ford					reg = <0x30090000 0x10000>;
381b9cf7d3bSAdam Ford					interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
382b9cf7d3bSAdam Ford					clocks = <&clk IMX8MN_CLK_AUDIO_AHB>, /* core */
383b9cf7d3bSAdam Ford						 <&clk IMX8MN_CLK_24M>, /* rxtx0 */
384b9cf7d3bSAdam Ford						 <&clk IMX8MN_CLK_SPDIF1>, /* rxtx1 */
385b9cf7d3bSAdam Ford						 <&clk IMX8MN_CLK_DUMMY>, /* rxtx2 */
386b9cf7d3bSAdam Ford						 <&clk IMX8MN_CLK_DUMMY>, /* rxtx3 */
387b9cf7d3bSAdam Ford						 <&clk IMX8MN_CLK_DUMMY>, /* rxtx4 */
388b9cf7d3bSAdam Ford						 <&clk IMX8MN_CLK_AUDIO_AHB>, /* rxtx5 */
389b9cf7d3bSAdam Ford						 <&clk IMX8MN_CLK_DUMMY>, /* rxtx6 */
390b9cf7d3bSAdam Ford						 <&clk IMX8MN_CLK_DUMMY>, /* rxtx7 */
391b9cf7d3bSAdam Ford						 <&clk IMX8MN_CLK_DUMMY>; /* spba */
392b9cf7d3bSAdam Ford					clock-names = "core", "rxtx0",
393b9cf7d3bSAdam Ford						      "rxtx1", "rxtx2",
394b9cf7d3bSAdam Ford						      "rxtx3", "rxtx4",
395b9cf7d3bSAdam Ford						      "rxtx5", "rxtx6",
396b9cf7d3bSAdam Ford						      "rxtx7", "spba";
397b9cf7d3bSAdam Ford					dmas = <&sdma2 28 18 0>, <&sdma2 29 18 0>;
398b9cf7d3bSAdam Ford					dma-names = "rx", "tx";
399b9cf7d3bSAdam Ford					status = "disabled";
400b9cf7d3bSAdam Ford				};
401b9cf7d3bSAdam Ford
4029e986006SAdam Ford				sai7: sai@300b0000 {
403574518b7SMarek Vasut					compatible = "fsl,imx8mn-sai", "fsl,imx8mq-sai";
4049e986006SAdam Ford					reg = <0x300b0000 0x10000>;
40562fb5414SMarek Vasut					#sound-dai-cells = <0>;
4069e986006SAdam Ford					interrupts = <GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>;
4079e986006SAdam Ford					clocks = <&clk IMX8MN_CLK_SAI7_IPG>,
4089e986006SAdam Ford						 <&clk IMX8MN_CLK_DUMMY>,
4099e986006SAdam Ford						 <&clk IMX8MN_CLK_SAI7_ROOT>,
4109e986006SAdam Ford						 <&clk IMX8MN_CLK_DUMMY>, <&clk IMX8MN_CLK_DUMMY>;
4119e986006SAdam Ford					clock-names = "bus", "mclk0", "mclk1", "mclk2", "mclk3";
4129e986006SAdam Ford					dmas = <&sdma2 12 2 0>, <&sdma2 13 2 0>;
4139e986006SAdam Ford					dma-names = "rx", "tx";
4149e986006SAdam Ford					status = "disabled";
4159e986006SAdam Ford				};
4169e986006SAdam Ford
417970406eaSAdam Ford				easrc: easrc@300c0000 {
418970406eaSAdam Ford					compatible = "fsl,imx8mn-easrc";
419970406eaSAdam Ford					reg = <0x300c0000 0x10000>;
420970406eaSAdam Ford					interrupts = <GIC_SPI 122 IRQ_TYPE_LEVEL_HIGH>;
421970406eaSAdam Ford					clocks = <&clk IMX8MN_CLK_ASRC_ROOT>;
422970406eaSAdam Ford					clock-names = "mem";
423970406eaSAdam Ford					dmas = <&sdma2 16 23 0> , <&sdma2 17 23 0>,
424970406eaSAdam Ford					       <&sdma2 18 23 0> , <&sdma2 19 23 0>,
425970406eaSAdam Ford					       <&sdma2 20 23 0> , <&sdma2 21 23 0>,
426970406eaSAdam Ford					       <&sdma2 22 23 0> , <&sdma2 23 23 0>;
427970406eaSAdam Ford					dma-names = "ctx0_rx", "ctx0_tx",
428970406eaSAdam Ford						    "ctx1_rx", "ctx1_tx",
429970406eaSAdam Ford						    "ctx2_rx", "ctx2_tx",
430970406eaSAdam Ford						    "ctx3_rx", "ctx3_tx";
431970406eaSAdam Ford					firmware-name = "imx/easrc/easrc-imx8mn.bin";
432970406eaSAdam Ford					fsl,asrc-rate = <8000>;
433970406eaSAdam Ford					fsl,asrc-format = <2>;
434970406eaSAdam Ford					status = "disabled";
435970406eaSAdam Ford				};
436970406eaSAdam Ford			};
437970406eaSAdam Ford
4386c3debcbSAnson Huang			gpio1: gpio@30200000 {
4396c3debcbSAnson Huang				compatible = "fsl,imx8mn-gpio", "fsl,imx35-gpio";
4406c3debcbSAnson Huang				reg = <0x30200000 0x10000>;
4416c3debcbSAnson Huang				interrupts = <GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>,
4426c3debcbSAnson Huang					     <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>;
4436c3debcbSAnson Huang				clocks = <&clk IMX8MN_CLK_GPIO1_ROOT>;
4446c3debcbSAnson Huang				gpio-controller;
4456c3debcbSAnson Huang				#gpio-cells = <2>;
4466c3debcbSAnson Huang				interrupt-controller;
4476c3debcbSAnson Huang				#interrupt-cells = <2>;
448ee8696beSAnson Huang				gpio-ranges = <&iomuxc 0 10 30>;
4496c3debcbSAnson Huang			};
4506c3debcbSAnson Huang
4516c3debcbSAnson Huang			gpio2: gpio@30210000 {
4526c3debcbSAnson Huang				compatible = "fsl,imx8mn-gpio", "fsl,imx35-gpio";
4536c3debcbSAnson Huang				reg = <0x30210000 0x10000>;
4546c3debcbSAnson Huang				interrupts = <GIC_SPI 66 IRQ_TYPE_LEVEL_HIGH>,
4556c3debcbSAnson Huang					     <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>;
4566c3debcbSAnson Huang				clocks = <&clk IMX8MN_CLK_GPIO2_ROOT>;
4576c3debcbSAnson Huang				gpio-controller;
4586c3debcbSAnson Huang				#gpio-cells = <2>;
4596c3debcbSAnson Huang				interrupt-controller;
4606c3debcbSAnson Huang				#interrupt-cells = <2>;
461ee8696beSAnson Huang				gpio-ranges = <&iomuxc 0 40 21>;
4626c3debcbSAnson Huang			};
4636c3debcbSAnson Huang
4646c3debcbSAnson Huang			gpio3: gpio@30220000 {
4656c3debcbSAnson Huang				compatible = "fsl,imx8mn-gpio", "fsl,imx35-gpio";
4666c3debcbSAnson Huang				reg = <0x30220000 0x10000>;
4676c3debcbSAnson Huang				interrupts = <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>,
4686c3debcbSAnson Huang					     <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
4696c3debcbSAnson Huang				clocks = <&clk IMX8MN_CLK_GPIO3_ROOT>;
4706c3debcbSAnson Huang				gpio-controller;
4716c3debcbSAnson Huang				#gpio-cells = <2>;
4726c3debcbSAnson Huang				interrupt-controller;
4736c3debcbSAnson Huang				#interrupt-cells = <2>;
474ee8696beSAnson Huang				gpio-ranges = <&iomuxc 0 61 26>;
4756c3debcbSAnson Huang			};
4766c3debcbSAnson Huang
4776c3debcbSAnson Huang			gpio4: gpio@30230000 {
4786c3debcbSAnson Huang				compatible = "fsl,imx8mn-gpio", "fsl,imx35-gpio";
4796c3debcbSAnson Huang				reg = <0x30230000 0x10000>;
4806c3debcbSAnson Huang				interrupts = <GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>,
4816c3debcbSAnson Huang					     <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>;
4826c3debcbSAnson Huang				clocks = <&clk IMX8MN_CLK_GPIO4_ROOT>;
4836c3debcbSAnson Huang				gpio-controller;
4846c3debcbSAnson Huang				#gpio-cells = <2>;
4856c3debcbSAnson Huang				interrupt-controller;
4866c3debcbSAnson Huang				#interrupt-cells = <2>;
487ee8696beSAnson Huang				gpio-ranges = <&iomuxc 21 108 11>;
4886c3debcbSAnson Huang			};
4896c3debcbSAnson Huang
4906c3debcbSAnson Huang			gpio5: gpio@30240000 {
4916c3debcbSAnson Huang				compatible = "fsl,imx8mn-gpio", "fsl,imx35-gpio";
4926c3debcbSAnson Huang				reg = <0x30240000 0x10000>;
4936c3debcbSAnson Huang				interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>,
4946c3debcbSAnson Huang					     <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>;
4956c3debcbSAnson Huang				clocks = <&clk IMX8MN_CLK_GPIO5_ROOT>;
4966c3debcbSAnson Huang				gpio-controller;
4976c3debcbSAnson Huang				#gpio-cells = <2>;
4986c3debcbSAnson Huang				interrupt-controller;
4996c3debcbSAnson Huang				#interrupt-cells = <2>;
500ee8696beSAnson Huang				gpio-ranges = <&iomuxc 0 119 30>;
5016c3debcbSAnson Huang			};
5026c3debcbSAnson Huang
503819779a9SAnson Huang			tmu: tmu@30260000 {
504819779a9SAnson Huang				compatible = "fsl,imx8mn-tmu", "fsl,imx8mm-tmu";
505819779a9SAnson Huang				reg = <0x30260000 0x10000>;
506819779a9SAnson Huang				clocks = <&clk IMX8MN_CLK_TMU_ROOT>;
507105b9bb8SMarek Vasut				nvmem-cells = <&tmu_calib>;
508105b9bb8SMarek Vasut				nvmem-cell-names = "calib";
509819779a9SAnson Huang				#thermal-sensor-cells = <0>;
510819779a9SAnson Huang			};
511819779a9SAnson Huang
5126c3debcbSAnson Huang			wdog1: watchdog@30280000 {
5136c3debcbSAnson Huang				compatible = "fsl,imx8mn-wdt", "fsl,imx21-wdt";
5146c3debcbSAnson Huang				reg = <0x30280000 0x10000>;
5156c3debcbSAnson Huang				interrupts = <GIC_SPI 78 IRQ_TYPE_LEVEL_HIGH>;
5166c3debcbSAnson Huang				clocks = <&clk IMX8MN_CLK_WDOG1_ROOT>;
5176c3debcbSAnson Huang				status = "disabled";
5186c3debcbSAnson Huang			};
5196c3debcbSAnson Huang
5206c3debcbSAnson Huang			wdog2: watchdog@30290000 {
5216c3debcbSAnson Huang				compatible = "fsl,imx8mn-wdt", "fsl,imx21-wdt";
5226c3debcbSAnson Huang				reg = <0x30290000 0x10000>;
5236c3debcbSAnson Huang				interrupts = <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>;
5246c3debcbSAnson Huang				clocks = <&clk IMX8MN_CLK_WDOG2_ROOT>;
5256c3debcbSAnson Huang				status = "disabled";
5266c3debcbSAnson Huang			};
5276c3debcbSAnson Huang
5286c3debcbSAnson Huang			wdog3: watchdog@302a0000 {
5296c3debcbSAnson Huang				compatible = "fsl,imx8mn-wdt", "fsl,imx21-wdt";
5306c3debcbSAnson Huang				reg = <0x302a0000 0x10000>;
5316c3debcbSAnson Huang				interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
5326c3debcbSAnson Huang				clocks = <&clk IMX8MN_CLK_WDOG3_ROOT>;
5336c3debcbSAnson Huang				status = "disabled";
5346c3debcbSAnson Huang			};
5356c3debcbSAnson Huang
5366c3debcbSAnson Huang			sdma3: dma-controller@302b0000 {
537958c6014SShengjiu Wang				compatible = "fsl,imx8mn-sdma", "fsl,imx8mq-sdma";
5386c3debcbSAnson Huang				reg = <0x302b0000 0x10000>;
5396c3debcbSAnson Huang				interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>;
5406c3debcbSAnson Huang				clocks = <&clk IMX8MN_CLK_SDMA3_ROOT>,
5416c3debcbSAnson Huang				 <&clk IMX8MN_CLK_SDMA3_ROOT>;
5426c3debcbSAnson Huang				clock-names = "ipg", "ahb";
5436c3debcbSAnson Huang				#dma-cells = <3>;
5446c3debcbSAnson Huang				fsl,sdma-ram-script-name = "imx/sdma/sdma-imx7d.bin";
5456c3debcbSAnson Huang			};
5466c3debcbSAnson Huang
5476c3debcbSAnson Huang			sdma2: dma-controller@302c0000 {
548958c6014SShengjiu Wang				compatible = "fsl,imx8mn-sdma", "fsl,imx8mq-sdma";
5496c3debcbSAnson Huang				reg = <0x302c0000 0x10000>;
5506c3debcbSAnson Huang				interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>;
5516c3debcbSAnson Huang				clocks = <&clk IMX8MN_CLK_SDMA2_ROOT>,
5526c3debcbSAnson Huang					 <&clk IMX8MN_CLK_SDMA2_ROOT>;
5536c3debcbSAnson Huang				clock-names = "ipg", "ahb";
5546c3debcbSAnson Huang				#dma-cells = <3>;
5556c3debcbSAnson Huang				fsl,sdma-ram-script-name = "imx/sdma/sdma-imx7d.bin";
5566c3debcbSAnson Huang			};
5576c3debcbSAnson Huang
5586c3debcbSAnson Huang			iomuxc: pinctrl@30330000 {
5596c3debcbSAnson Huang				compatible = "fsl,imx8mn-iomuxc";
5606c3debcbSAnson Huang				reg = <0x30330000 0x10000>;
5616c3debcbSAnson Huang			};
5626c3debcbSAnson Huang
563240b8dd9SPeng Fan			gpr: syscon@30340000 {
5646c3debcbSAnson Huang				compatible = "fsl,imx8mn-iomuxc-gpr", "syscon";
5656c3debcbSAnson Huang				reg = <0x30340000 0x10000>;
5666c3debcbSAnson Huang			};
5676c3debcbSAnson Huang
56812fa1078SAnson Huang			ocotp: efuse@30350000 {
5692bad8c48SAnson Huang				compatible = "fsl,imx8mn-ocotp", "fsl,imx8mm-ocotp", "syscon";
5706c3debcbSAnson Huang				reg = <0x30350000 0x10000>;
5716c3debcbSAnson Huang				clocks = <&clk IMX8MN_CLK_OCOTP_ROOT>;
57201c49314SAnson Huang				#address-cells = <1>;
57301c49314SAnson Huang				#size-cells = <1>;
57401c49314SAnson Huang
5755b81a87dSMarek Vasut				/*
5765b81a87dSMarek Vasut				 * The register address below maps to the MX8M
5775b81a87dSMarek Vasut				 * Fusemap Description Table entries this way.
5785b81a87dSMarek Vasut				 * Assuming
5795b81a87dSMarek Vasut				 *   reg = <ADDR SIZE>;
5805b81a87dSMarek Vasut				 * then
5815b81a87dSMarek Vasut				 *   Fuse Address = (ADDR * 4) + 0x400
5825b81a87dSMarek Vasut				 * Note that if SIZE is greater than 4, then
5835b81a87dSMarek Vasut				 * each subsequent fuse is located at offset
5845b81a87dSMarek Vasut				 * +0x10 in Fusemap Description Table (e.g.
5855b81a87dSMarek Vasut				 * reg = <0x4 0x8> describes fuses 0x410 and
5865b81a87dSMarek Vasut				 * 0x420).
5875b81a87dSMarek Vasut				 */
5885b81a87dSMarek Vasut				imx8mn_uid: unique-id@4 { /* 0x410-0x420 */
589cbff2379SAlice Guo					reg = <0x4 0x8>;
590cbff2379SAlice Guo				};
591cbff2379SAlice Guo
5925b81a87dSMarek Vasut				cpu_speed_grade: speed-grade@10 { /* 0x440 */
59301c49314SAnson Huang					reg = <0x10 4>;
59401c49314SAnson Huang				};
595066438aeSJoakim Zhang
596105b9bb8SMarek Vasut				tmu_calib: calib@3c { /* 0x4f0 */
597105b9bb8SMarek Vasut					reg = <0x3c 4>;
598105b9bb8SMarek Vasut				};
599105b9bb8SMarek Vasut
6005b81a87dSMarek Vasut				fec_mac_address: mac-address@90 { /* 0x640 */
601066438aeSJoakim Zhang					reg = <0x90 6>;
602066438aeSJoakim Zhang				};
6036c3debcbSAnson Huang			};
6046c3debcbSAnson Huang
605f98c2dfeSPeng Fan			anatop: clock-controller@30360000 {
606f98c2dfeSPeng Fan				compatible = "fsl,imx8mn-anatop", "fsl,imx8mm-anatop";
6076c3debcbSAnson Huang				reg = <0x30360000 0x10000>;
608f98c2dfeSPeng Fan				#clock-cells = <1>;
6096c3debcbSAnson Huang			};
6106c3debcbSAnson Huang
6116c3debcbSAnson Huang			snvs: snvs@30370000 {
6126c3debcbSAnson Huang				compatible = "fsl,sec-v4.0-mon","syscon", "simple-mfd";
6136c3debcbSAnson Huang				reg = <0x30370000 0x10000>;
6146c3debcbSAnson Huang
6156c3debcbSAnson Huang				snvs_rtc: snvs-rtc-lp {
6166c3debcbSAnson Huang					compatible = "fsl,sec-v4.0-mon-rtc-lp";
6176c3debcbSAnson Huang					regmap = <&snvs>;
6186c3debcbSAnson Huang					offset = <0x34>;
6196c3debcbSAnson Huang					interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>,
6206c3debcbSAnson Huang						     <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
62142ef961bSHoria Geantă					clocks = <&clk IMX8MN_CLK_SNVS_ROOT>;
6226c3debcbSAnson Huang					clock-names = "snvs-rtc";
6236c3debcbSAnson Huang				};
6246c3debcbSAnson Huang
6256c3debcbSAnson Huang				snvs_pwrkey: snvs-powerkey {
6266c3debcbSAnson Huang					compatible = "fsl,sec-v4.0-pwrkey";
6276c3debcbSAnson Huang					regmap = <&snvs>;
6286c3debcbSAnson Huang					interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
629c2a2f446SAnson Huang					clocks = <&clk IMX8MN_CLK_SNVS_ROOT>;
630c2a2f446SAnson Huang					clock-names = "snvs-pwrkey";
6316c3debcbSAnson Huang					linux,keycode = <KEY_POWER>;
6326c3debcbSAnson Huang					wakeup-source;
6336c3debcbSAnson Huang					status = "disabled";
6346c3debcbSAnson Huang				};
6356c3debcbSAnson Huang			};
6366c3debcbSAnson Huang
6376c3debcbSAnson Huang			clk: clock-controller@30380000 {
6386c3debcbSAnson Huang				compatible = "fsl,imx8mn-ccm";
6396c3debcbSAnson Huang				reg = <0x30380000 0x10000>;
6406c3debcbSAnson Huang				#clock-cells = <1>;
6416c3debcbSAnson Huang				clocks = <&osc_32k>, <&osc_24m>, <&clk_ext1>, <&clk_ext2>,
6426c3debcbSAnson Huang					 <&clk_ext3>, <&clk_ext4>;
6436c3debcbSAnson Huang				clock-names = "osc_32k", "osc_24m", "clk_ext1", "clk_ext2",
6446c3debcbSAnson Huang					      "clk_ext3", "clk_ext4";
6459e6337e6SPeng Fan				assigned-clocks = <&clk IMX8MN_CLK_A53_SRC>,
6469e6337e6SPeng Fan						<&clk IMX8MN_CLK_A53_CORE>,
6479e6337e6SPeng Fan						<&clk IMX8MN_CLK_NOC>,
64853458f86SPeng Fan						<&clk IMX8MN_CLK_AUDIO_AHB>,
64953458f86SPeng Fan						<&clk IMX8MN_CLK_IPG_AUDIO_ROOT>,
65026442c79SShengjiu Wang						<&clk IMX8MN_SYS_PLL3>,
65126442c79SShengjiu Wang						<&clk IMX8MN_AUDIO_PLL1>,
65226442c79SShengjiu Wang						<&clk IMX8MN_AUDIO_PLL2>;
6539e6337e6SPeng Fan				assigned-clock-parents = <&clk IMX8MN_SYS_PLL1_800M>,
6549e6337e6SPeng Fan							 <&clk IMX8MN_ARM_PLL_OUT>,
6559e6337e6SPeng Fan							 <&clk IMX8MN_SYS_PLL3_OUT>,
65653458f86SPeng Fan							 <&clk IMX8MN_SYS_PLL1_800M>;
6579e6337e6SPeng Fan				assigned-clock-rates = <0>, <0>, <0>,
65853458f86SPeng Fan							<400000000>,
65953458f86SPeng Fan							<400000000>,
66026442c79SShengjiu Wang							<600000000>,
66126442c79SShengjiu Wang							<393216000>,
66226442c79SShengjiu Wang							<361267200>;
6636c3debcbSAnson Huang			};
6646c3debcbSAnson Huang
6656c3debcbSAnson Huang			src: reset-controller@30390000 {
66623b80c20SAnson Huang				compatible = "fsl,imx8mn-src", "fsl,imx8mq-src", "syscon";
6676c3debcbSAnson Huang				reg = <0x30390000 0x10000>;
6686c3debcbSAnson Huang				interrupts = <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>;
6696c3debcbSAnson Huang				#reset-cells = <1>;
6706c3debcbSAnson Huang			};
6718b8ebec6SAdam Ford
6728b8ebec6SAdam Ford			gpc: gpc@303a0000 {
6738b8ebec6SAdam Ford				compatible = "fsl,imx8mn-gpc";
6748b8ebec6SAdam Ford				reg = <0x303a0000 0x10000>;
6758b8ebec6SAdam Ford				interrupt-parent = <&gic>;
6768b8ebec6SAdam Ford				interrupts = <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>;
6778b8ebec6SAdam Ford
6788b8ebec6SAdam Ford				pgc {
6798b8ebec6SAdam Ford					#address-cells = <1>;
6808b8ebec6SAdam Ford					#size-cells = <0>;
6818b8ebec6SAdam Ford
6828b8ebec6SAdam Ford					pgc_hsiomix: power-domain@0 {
6838b8ebec6SAdam Ford						#power-domain-cells = <0>;
6848b8ebec6SAdam Ford						reg = <IMX8MN_POWER_DOMAIN_HSIOMIX>;
6858b8ebec6SAdam Ford						clocks = <&clk IMX8MN_CLK_USB_BUS>;
6868b8ebec6SAdam Ford					};
6878b8ebec6SAdam Ford
6888b8ebec6SAdam Ford					pgc_otg1: power-domain@1 {
6898b8ebec6SAdam Ford						#power-domain-cells = <0>;
6908b8ebec6SAdam Ford						reg = <IMX8MN_POWER_DOMAIN_OTG1>;
6918b8ebec6SAdam Ford					};
6928b8ebec6SAdam Ford
6938b8ebec6SAdam Ford					pgc_gpumix: power-domain@2 {
6948b8ebec6SAdam Ford						#power-domain-cells = <0>;
6958b8ebec6SAdam Ford						reg = <IMX8MN_POWER_DOMAIN_GPUMIX>;
6968b8ebec6SAdam Ford						clocks = <&clk IMX8MN_CLK_GPU_CORE_ROOT>,
6978b8ebec6SAdam Ford							 <&clk IMX8MN_CLK_GPU_SHADER>,
6988b8ebec6SAdam Ford							 <&clk IMX8MN_CLK_GPU_BUS_ROOT>,
6998b8ebec6SAdam Ford							 <&clk IMX8MN_CLK_GPU_AHB>;
7008b8ebec6SAdam Ford					};
7018b8ebec6SAdam Ford
7028b8ebec6SAdam Ford					pgc_dispmix: power-domain@3 {
7038b8ebec6SAdam Ford						#power-domain-cells = <0>;
7048b8ebec6SAdam Ford						reg = <IMX8MN_POWER_DOMAIN_DISPMIX>;
7058b8ebec6SAdam Ford						clocks = <&clk IMX8MN_CLK_DISP_AXI_ROOT>,
7068b8ebec6SAdam Ford							 <&clk IMX8MN_CLK_DISP_APB_ROOT>;
7078b8ebec6SAdam Ford					};
7088b8ebec6SAdam Ford
7098b8ebec6SAdam Ford					pgc_mipi: power-domain@4 {
7108b8ebec6SAdam Ford						#power-domain-cells = <0>;
7118b8ebec6SAdam Ford						reg = <IMX8MN_POWER_DOMAIN_MIPI>;
7128b8ebec6SAdam Ford						power-domains = <&pgc_dispmix>;
7138b8ebec6SAdam Ford					};
7148b8ebec6SAdam Ford				};
7158b8ebec6SAdam Ford			};
7166c3debcbSAnson Huang		};
7176c3debcbSAnson Huang
7186c3debcbSAnson Huang		aips2: bus@30400000 {
719dc3efc6fSPeng Fan			compatible = "fsl,aips-bus", "simple-bus";
720921a6845SFabio Estevam			reg = <0x30400000 0x400000>;
7216c3debcbSAnson Huang			#address-cells = <1>;
7226c3debcbSAnson Huang			#size-cells = <1>;
7236c3debcbSAnson Huang			ranges;
7246c3debcbSAnson Huang
7256c3debcbSAnson Huang			pwm1: pwm@30660000 {
7266c3debcbSAnson Huang				compatible = "fsl,imx8mn-pwm", "fsl,imx27-pwm";
7276c3debcbSAnson Huang				reg = <0x30660000 0x10000>;
7286c3debcbSAnson Huang				interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>;
7296c3debcbSAnson Huang				clocks = <&clk IMX8MN_CLK_PWM1_ROOT>,
7306c3debcbSAnson Huang					<&clk IMX8MN_CLK_PWM1_ROOT>;
7316c3debcbSAnson Huang				clock-names = "ipg", "per";
7326bc1e580SMarkus Niebel				#pwm-cells = <3>;
7336c3debcbSAnson Huang				status = "disabled";
7346c3debcbSAnson Huang			};
7356c3debcbSAnson Huang
7366c3debcbSAnson Huang			pwm2: pwm@30670000 {
7376c3debcbSAnson Huang				compatible = "fsl,imx8mn-pwm", "fsl,imx27-pwm";
7386c3debcbSAnson Huang				reg = <0x30670000 0x10000>;
7396c3debcbSAnson Huang				interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>;
7406c3debcbSAnson Huang				clocks = <&clk IMX8MN_CLK_PWM2_ROOT>,
7416c3debcbSAnson Huang					 <&clk IMX8MN_CLK_PWM2_ROOT>;
7426c3debcbSAnson Huang				clock-names = "ipg", "per";
7436bc1e580SMarkus Niebel				#pwm-cells = <3>;
7446c3debcbSAnson Huang				status = "disabled";
7456c3debcbSAnson Huang			};
7466c3debcbSAnson Huang
7476c3debcbSAnson Huang			pwm3: pwm@30680000 {
7486c3debcbSAnson Huang				compatible = "fsl,imx8mn-pwm", "fsl,imx27-pwm";
7496c3debcbSAnson Huang				reg = <0x30680000 0x10000>;
7506c3debcbSAnson Huang				interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
7516c3debcbSAnson Huang				clocks = <&clk IMX8MN_CLK_PWM3_ROOT>,
7526c3debcbSAnson Huang					 <&clk IMX8MN_CLK_PWM3_ROOT>;
7536c3debcbSAnson Huang				clock-names = "ipg", "per";
7546bc1e580SMarkus Niebel				#pwm-cells = <3>;
7556c3debcbSAnson Huang				status = "disabled";
7566c3debcbSAnson Huang			};
7576c3debcbSAnson Huang
7586c3debcbSAnson Huang			pwm4: pwm@30690000 {
7596c3debcbSAnson Huang				compatible = "fsl,imx8mn-pwm", "fsl,imx27-pwm";
7606c3debcbSAnson Huang				reg = <0x30690000 0x10000>;
7616c3debcbSAnson Huang				interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>;
7626c3debcbSAnson Huang				clocks = <&clk IMX8MN_CLK_PWM4_ROOT>,
7636c3debcbSAnson Huang					 <&clk IMX8MN_CLK_PWM4_ROOT>;
7646c3debcbSAnson Huang				clock-names = "ipg", "per";
7656bc1e580SMarkus Niebel				#pwm-cells = <3>;
7666c3debcbSAnson Huang				status = "disabled";
7676c3debcbSAnson Huang			};
768c4a21269SAnson Huang
769c4a21269SAnson Huang			system_counter: timer@306a0000 {
770c4a21269SAnson Huang				compatible = "nxp,sysctr-timer";
771c4a21269SAnson Huang				reg = <0x306a0000 0x20000>;
772c4a21269SAnson Huang				interrupts = <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>;
773c4a21269SAnson Huang				clocks = <&osc_24m>;
774c4a21269SAnson Huang				clock-names = "per";
775c4a21269SAnson Huang			};
7766c3debcbSAnson Huang		};
7776c3debcbSAnson Huang
7786c3debcbSAnson Huang		aips3: bus@30800000 {
779dc3efc6fSPeng Fan			compatible = "fsl,aips-bus", "simple-bus";
780921a6845SFabio Estevam			reg = <0x30800000 0x400000>;
7816c3debcbSAnson Huang			#address-cells = <1>;
7826c3debcbSAnson Huang			#size-cells = <1>;
7836c3debcbSAnson Huang			ranges;
7846c3debcbSAnson Huang
785292e0f48SAdam Ford			spba1: spba-bus@30800000 {
786292e0f48SAdam Ford				compatible = "fsl,spba-bus", "simple-bus";
787292e0f48SAdam Ford				#address-cells = <1>;
788292e0f48SAdam Ford				#size-cells = <1>;
789292e0f48SAdam Ford				reg = <0x30800000 0x100000>;
790292e0f48SAdam Ford				ranges;
791292e0f48SAdam Ford
7926c3debcbSAnson Huang				ecspi1: spi@30820000 {
7936c3debcbSAnson Huang					compatible = "fsl,imx8mn-ecspi", "fsl,imx51-ecspi";
7946c3debcbSAnson Huang					#address-cells = <1>;
7956c3debcbSAnson Huang					#size-cells = <0>;
7966c3debcbSAnson Huang					reg = <0x30820000 0x10000>;
7976c3debcbSAnson Huang					interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>;
7986c3debcbSAnson Huang					clocks = <&clk IMX8MN_CLK_ECSPI1_ROOT>,
7996c3debcbSAnson Huang						 <&clk IMX8MN_CLK_ECSPI1_ROOT>;
8006c3debcbSAnson Huang					clock-names = "ipg", "per";
8016c3debcbSAnson Huang					dmas = <&sdma1 0 7 1>, <&sdma1 1 7 2>;
8026c3debcbSAnson Huang					dma-names = "rx", "tx";
8036c3debcbSAnson Huang					status = "disabled";
8046c3debcbSAnson Huang				};
8056c3debcbSAnson Huang
8066c3debcbSAnson Huang				ecspi2: spi@30830000 {
8076c3debcbSAnson Huang					compatible = "fsl,imx8mn-ecspi", "fsl,imx51-ecspi";
8086c3debcbSAnson Huang					#address-cells = <1>;
8096c3debcbSAnson Huang					#size-cells = <0>;
8106c3debcbSAnson Huang					reg = <0x30830000 0x10000>;
8116c3debcbSAnson Huang					interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
8126c3debcbSAnson Huang					clocks = <&clk IMX8MN_CLK_ECSPI2_ROOT>,
8136c3debcbSAnson Huang						 <&clk IMX8MN_CLK_ECSPI2_ROOT>;
8146c3debcbSAnson Huang					clock-names = "ipg", "per";
8156c3debcbSAnson Huang					dmas = <&sdma1 2 7 1>, <&sdma1 3 7 2>;
8166c3debcbSAnson Huang					dma-names = "rx", "tx";
8176c3debcbSAnson Huang					status = "disabled";
8186c3debcbSAnson Huang				};
8196c3debcbSAnson Huang
8206c3debcbSAnson Huang				ecspi3: spi@30840000 {
8216c3debcbSAnson Huang					compatible = "fsl,imx8mn-ecspi", "fsl,imx51-ecspi";
8226c3debcbSAnson Huang					#address-cells = <1>;
8236c3debcbSAnson Huang					#size-cells = <0>;
8246c3debcbSAnson Huang					reg = <0x30840000 0x10000>;
8256c3debcbSAnson Huang					interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>;
8266c3debcbSAnson Huang					clocks = <&clk IMX8MN_CLK_ECSPI3_ROOT>,
8276c3debcbSAnson Huang						 <&clk IMX8MN_CLK_ECSPI3_ROOT>;
8286c3debcbSAnson Huang					clock-names = "ipg", "per";
8296c3debcbSAnson Huang					dmas = <&sdma1 4 7 1>, <&sdma1 5 7 2>;
8306c3debcbSAnson Huang					dma-names = "rx", "tx";
8316c3debcbSAnson Huang					status = "disabled";
8326c3debcbSAnson Huang				};
8336c3debcbSAnson Huang
8346c3debcbSAnson Huang				uart1: serial@30860000 {
8356c3debcbSAnson Huang					compatible = "fsl,imx8mn-uart", "fsl,imx6q-uart";
8366c3debcbSAnson Huang					reg = <0x30860000 0x10000>;
8376c3debcbSAnson Huang					interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
8386c3debcbSAnson Huang					clocks = <&clk IMX8MN_CLK_UART1_ROOT>,
8396c3debcbSAnson Huang						 <&clk IMX8MN_CLK_UART1_ROOT>;
8406c3debcbSAnson Huang					clock-names = "ipg", "per";
8416c3debcbSAnson Huang					dmas = <&sdma1 22 4 0>, <&sdma1 23 4 0>;
8426c3debcbSAnson Huang					dma-names = "rx", "tx";
8436c3debcbSAnson Huang					status = "disabled";
8446c3debcbSAnson Huang				};
8456c3debcbSAnson Huang
8466c3debcbSAnson Huang				uart3: serial@30880000 {
8476c3debcbSAnson Huang					compatible = "fsl,imx8mn-uart", "fsl,imx6q-uart";
8486c3debcbSAnson Huang					reg = <0x30880000 0x10000>;
8496c3debcbSAnson Huang					interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>;
8506c3debcbSAnson Huang					clocks = <&clk IMX8MN_CLK_UART3_ROOT>,
8516c3debcbSAnson Huang						 <&clk IMX8MN_CLK_UART3_ROOT>;
8526c3debcbSAnson Huang					clock-names = "ipg", "per";
8536c3debcbSAnson Huang					dmas = <&sdma1 26 4 0>, <&sdma1 27 4 0>;
8546c3debcbSAnson Huang					dma-names = "rx", "tx";
8556c3debcbSAnson Huang					status = "disabled";
8566c3debcbSAnson Huang				};
8576c3debcbSAnson Huang
8586c3debcbSAnson Huang				uart2: serial@30890000 {
8596c3debcbSAnson Huang					compatible = "fsl,imx8mn-uart", "fsl,imx6q-uart";
8606c3debcbSAnson Huang					reg = <0x30890000 0x10000>;
8616c3debcbSAnson Huang					interrupts = <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH>;
8626c3debcbSAnson Huang					clocks = <&clk IMX8MN_CLK_UART2_ROOT>,
8636c3debcbSAnson Huang						 <&clk IMX8MN_CLK_UART2_ROOT>;
8646c3debcbSAnson Huang					clock-names = "ipg", "per";
8656c3debcbSAnson Huang					status = "disabled";
8666c3debcbSAnson Huang				};
867292e0f48SAdam Ford			};
8686c3debcbSAnson Huang
869aad24175SHoria Geantă			crypto: crypto@30900000 {
870aad24175SHoria Geantă				compatible = "fsl,sec-v4.0";
871aad24175SHoria Geantă				#address-cells = <1>;
872aad24175SHoria Geantă				#size-cells = <1>;
873aad24175SHoria Geantă				reg = <0x30900000 0x40000>;
874aad24175SHoria Geantă				ranges = <0 0x30900000 0x40000>;
875aad24175SHoria Geantă				interrupts = <GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH>;
876aad24175SHoria Geantă				clocks = <&clk IMX8MN_CLK_AHB>,
877aad24175SHoria Geantă					 <&clk IMX8MN_CLK_IPG_ROOT>;
878aad24175SHoria Geantă				clock-names = "aclk", "ipg";
879aad24175SHoria Geantă
880f5ff5a21SSilvano di Ninno				sec_jr0: jr@1000 {
881aad24175SHoria Geantă					 compatible = "fsl,sec-v4.0-job-ring";
882aad24175SHoria Geantă					 reg = <0x1000 0x1000>;
883aad24175SHoria Geantă					 interrupts = <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>;
884dc9c1cebSFabio Estevam					 status = "disabled";
885aad24175SHoria Geantă				};
886aad24175SHoria Geantă
887f5ff5a21SSilvano di Ninno				sec_jr1: jr@2000 {
888aad24175SHoria Geantă					 compatible = "fsl,sec-v4.0-job-ring";
889aad24175SHoria Geantă					 reg = <0x2000 0x1000>;
890aad24175SHoria Geantă					 interrupts = <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>;
891aad24175SHoria Geantă				};
892aad24175SHoria Geantă
893f5ff5a21SSilvano di Ninno				sec_jr2: jr@3000 {
894aad24175SHoria Geantă					 compatible = "fsl,sec-v4.0-job-ring";
895aad24175SHoria Geantă					 reg = <0x3000 0x1000>;
896aad24175SHoria Geantă					 interrupts = <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>;
897aad24175SHoria Geantă				};
898aad24175SHoria Geantă			};
899aad24175SHoria Geantă
9006c3debcbSAnson Huang			i2c1: i2c@30a20000 {
9016c3debcbSAnson Huang				compatible = "fsl,imx8mn-i2c", "fsl,imx21-i2c";
9026c3debcbSAnson Huang				#address-cells = <1>;
9036c3debcbSAnson Huang				#size-cells = <0>;
9046c3debcbSAnson Huang				reg = <0x30a20000 0x10000>;
9056c3debcbSAnson Huang				interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>;
9066c3debcbSAnson Huang				clocks = <&clk IMX8MN_CLK_I2C1_ROOT>;
9076c3debcbSAnson Huang				status = "disabled";
9086c3debcbSAnson Huang			};
9096c3debcbSAnson Huang
9106c3debcbSAnson Huang			i2c2: i2c@30a30000 {
9116c3debcbSAnson Huang				compatible = "fsl,imx8mn-i2c", "fsl,imx21-i2c";
9126c3debcbSAnson Huang				#address-cells = <1>;
9136c3debcbSAnson Huang				#size-cells = <0>;
9146c3debcbSAnson Huang				reg = <0x30a30000 0x10000>;
9156c3debcbSAnson Huang				interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
9166c3debcbSAnson Huang				clocks = <&clk IMX8MN_CLK_I2C2_ROOT>;
9176c3debcbSAnson Huang				status = "disabled";
9186c3debcbSAnson Huang			};
9196c3debcbSAnson Huang
9206c3debcbSAnson Huang			i2c3: i2c@30a40000 {
9216c3debcbSAnson Huang				#address-cells = <1>;
9226c3debcbSAnson Huang				#size-cells = <0>;
9236c3debcbSAnson Huang				compatible = "fsl,imx8mn-i2c", "fsl,imx21-i2c";
9246c3debcbSAnson Huang				reg = <0x30a40000 0x10000>;
9256c3debcbSAnson Huang				interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
9266c3debcbSAnson Huang				clocks = <&clk IMX8MN_CLK_I2C3_ROOT>;
9276c3debcbSAnson Huang				status = "disabled";
9286c3debcbSAnson Huang			};
9296c3debcbSAnson Huang
9306c3debcbSAnson Huang			i2c4: i2c@30a50000 {
9316c3debcbSAnson Huang				compatible = "fsl,imx8mn-i2c", "fsl,imx21-i2c";
9326c3debcbSAnson Huang				#address-cells = <1>;
9336c3debcbSAnson Huang				#size-cells = <0>;
9346c3debcbSAnson Huang				reg = <0x30a50000 0x10000>;
9356c3debcbSAnson Huang				interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>;
9366c3debcbSAnson Huang				clocks = <&clk IMX8MN_CLK_I2C4_ROOT>;
9376c3debcbSAnson Huang				status = "disabled";
9386c3debcbSAnson Huang			};
9396c3debcbSAnson Huang
9406c3debcbSAnson Huang			uart4: serial@30a60000 {
9416c3debcbSAnson Huang				compatible = "fsl,imx8mn-uart", "fsl,imx6q-uart";
9426c3debcbSAnson Huang				reg = <0x30a60000 0x10000>;
9436c3debcbSAnson Huang				interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>;
9446c3debcbSAnson Huang				clocks = <&clk IMX8MN_CLK_UART4_ROOT>,
9456c3debcbSAnson Huang					 <&clk IMX8MN_CLK_UART4_ROOT>;
9466c3debcbSAnson Huang				clock-names = "ipg", "per";
9476c3debcbSAnson Huang				dmas = <&sdma1 28 4 0>, <&sdma1 29 4 0>;
9486c3debcbSAnson Huang				dma-names = "rx", "tx";
9496c3debcbSAnson Huang				status = "disabled";
9506c3debcbSAnson Huang			};
9516c3debcbSAnson Huang
952bbfc59beSPeng Fan			mu: mailbox@30aa0000 {
953bbfc59beSPeng Fan				compatible = "fsl,imx8mn-mu", "fsl,imx6sx-mu";
954bbfc59beSPeng Fan				reg = <0x30aa0000 0x10000>;
955bbfc59beSPeng Fan				interrupts = <GIC_SPI 88 IRQ_TYPE_LEVEL_HIGH>;
956bbfc59beSPeng Fan				clocks = <&clk IMX8MN_CLK_MU_ROOT>;
957bbfc59beSPeng Fan				#mbox-cells = <2>;
958bbfc59beSPeng Fan			};
959bbfc59beSPeng Fan
9606c3debcbSAnson Huang			usdhc1: mmc@30b40000 {
961472f20b4SAdam Ford				compatible = "fsl,imx8mn-usdhc", "fsl,imx8mm-usdhc", "fsl,imx7d-usdhc";
9626c3debcbSAnson Huang				reg = <0x30b40000 0x10000>;
9636c3debcbSAnson Huang				interrupts = <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>;
964ea65aba8SAnson Huang				clocks = <&clk IMX8MN_CLK_IPG_ROOT>,
9656c3debcbSAnson Huang					 <&clk IMX8MN_CLK_NAND_USDHC_BUS>,
9666c3debcbSAnson Huang					 <&clk IMX8MN_CLK_USDHC1_ROOT>;
9676c3debcbSAnson Huang				clock-names = "ipg", "ahb", "per";
9686c3debcbSAnson Huang				fsl,tuning-start-tap = <20>;
9696c3debcbSAnson Huang				fsl,tuning-step = <2>;
9706c3debcbSAnson Huang				bus-width = <4>;
9716c3debcbSAnson Huang				status = "disabled";
9726c3debcbSAnson Huang			};
9736c3debcbSAnson Huang
9746c3debcbSAnson Huang			usdhc2: mmc@30b50000 {
975472f20b4SAdam Ford				compatible = "fsl,imx8mn-usdhc", "fsl,imx8mm-usdhc", "fsl,imx7d-usdhc";
9766c3debcbSAnson Huang				reg = <0x30b50000 0x10000>;
9776c3debcbSAnson Huang				interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
978ea65aba8SAnson Huang				clocks = <&clk IMX8MN_CLK_IPG_ROOT>,
9796c3debcbSAnson Huang					 <&clk IMX8MN_CLK_NAND_USDHC_BUS>,
9806c3debcbSAnson Huang					 <&clk IMX8MN_CLK_USDHC2_ROOT>;
9816c3debcbSAnson Huang				clock-names = "ipg", "ahb", "per";
9826c3debcbSAnson Huang				fsl,tuning-start-tap = <20>;
9836c3debcbSAnson Huang				fsl,tuning-step = <2>;
9846c3debcbSAnson Huang				bus-width = <4>;
9856c3debcbSAnson Huang				status = "disabled";
9866c3debcbSAnson Huang			};
9876c3debcbSAnson Huang
9886c3debcbSAnson Huang			usdhc3: mmc@30b60000 {
989472f20b4SAdam Ford				compatible = "fsl,imx8mn-usdhc", "fsl,imx8mm-usdhc", "fsl,imx7d-usdhc";
9906c3debcbSAnson Huang				reg = <0x30b60000 0x10000>;
9916c3debcbSAnson Huang				interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>;
992ea65aba8SAnson Huang				clocks = <&clk IMX8MN_CLK_IPG_ROOT>,
9936c3debcbSAnson Huang					 <&clk IMX8MN_CLK_NAND_USDHC_BUS>,
9946c3debcbSAnson Huang					 <&clk IMX8MN_CLK_USDHC3_ROOT>;
9956c3debcbSAnson Huang				clock-names = "ipg", "ahb", "per";
9966c3debcbSAnson Huang				fsl,tuning-start-tap = <20>;
9976c3debcbSAnson Huang				fsl,tuning-step = <2>;
9986c3debcbSAnson Huang				bus-width = <4>;
9996c3debcbSAnson Huang				status = "disabled";
10006c3debcbSAnson Huang			};
10016c3debcbSAnson Huang
1002189f6586SAdam Ford			flexspi: spi@30bb0000 {
1003189f6586SAdam Ford				#address-cells = <1>;
1004189f6586SAdam Ford				#size-cells = <0>;
1005189f6586SAdam Ford				compatible = "nxp,imx8mm-fspi";
1006189f6586SAdam Ford				reg = <0x30bb0000 0x10000>, <0x8000000 0x10000000>;
1007189f6586SAdam Ford				reg-names = "fspi_base", "fspi_mmap";
1008189f6586SAdam Ford				interrupts = <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>;
1009189f6586SAdam Ford				clocks = <&clk IMX8MN_CLK_QSPI_ROOT>,
1010189f6586SAdam Ford					 <&clk IMX8MN_CLK_QSPI_ROOT>;
1011f29fa744SKuldeep Singh				clock-names = "fspi_en", "fspi";
1012189f6586SAdam Ford				status = "disabled";
1013189f6586SAdam Ford			};
1014189f6586SAdam Ford
10156c3debcbSAnson Huang			sdma1: dma-controller@30bd0000 {
1016958c6014SShengjiu Wang				compatible = "fsl,imx8mn-sdma", "fsl,imx8mq-sdma";
10176c3debcbSAnson Huang				reg = <0x30bd0000 0x10000>;
10186c3debcbSAnson Huang				interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>;
10196c3debcbSAnson Huang				clocks = <&clk IMX8MN_CLK_SDMA1_ROOT>,
102015ddc3e1SAdam Ford					 <&clk IMX8MN_CLK_AHB>;
10216c3debcbSAnson Huang				clock-names = "ipg", "ahb";
10226c3debcbSAnson Huang				#dma-cells = <3>;
10236c3debcbSAnson Huang				fsl,sdma-ram-script-name = "imx/sdma/sdma-imx7d.bin";
10246c3debcbSAnson Huang			};
10256c3debcbSAnson Huang
10266c3debcbSAnson Huang			fec1: ethernet@30be0000 {
1027a758dee8SJoakim Zhang				compatible = "fsl,imx8mn-fec", "fsl,imx8mq-fec", "fsl,imx6sx-fec";
10286c3debcbSAnson Huang				reg = <0x30be0000 0x10000>;
10296c3debcbSAnson Huang				interrupts = <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>,
10306c3debcbSAnson Huang					     <GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH>,
1031d3762a47SFabio Estevam					     <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>,
1032d3762a47SFabio Estevam					     <GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>;
10336c3debcbSAnson Huang				clocks = <&clk IMX8MN_CLK_ENET1_ROOT>,
10346c3debcbSAnson Huang					 <&clk IMX8MN_CLK_ENET1_ROOT>,
10356c3debcbSAnson Huang					 <&clk IMX8MN_CLK_ENET_TIMER>,
10366c3debcbSAnson Huang					 <&clk IMX8MN_CLK_ENET_REF>,
10376c3debcbSAnson Huang					 <&clk IMX8MN_CLK_ENET_PHY_REF>;
10386c3debcbSAnson Huang				clock-names = "ipg", "ahb", "ptp",
10396c3debcbSAnson Huang					      "enet_clk_ref", "enet_out";
10406c3debcbSAnson Huang				assigned-clocks = <&clk IMX8MN_CLK_ENET_AXI>,
10416c3debcbSAnson Huang						  <&clk IMX8MN_CLK_ENET_TIMER>,
10426c3debcbSAnson Huang						  <&clk IMX8MN_CLK_ENET_REF>,
104370eacf42SJoakim Zhang						  <&clk IMX8MN_CLK_ENET_PHY_REF>;
10446c3debcbSAnson Huang				assigned-clock-parents = <&clk IMX8MN_SYS_PLL1_266M>,
10456c3debcbSAnson Huang							 <&clk IMX8MN_SYS_PLL2_100M>,
104670eacf42SJoakim Zhang							 <&clk IMX8MN_SYS_PLL2_125M>,
104770eacf42SJoakim Zhang							 <&clk IMX8MN_SYS_PLL2_50M>;
104870eacf42SJoakim Zhang				assigned-clock-rates = <0>, <100000000>, <125000000>, <0>;
10496c3debcbSAnson Huang				fsl,num-tx-queues = <3>;
10506c3debcbSAnson Huang				fsl,num-rx-queues = <3>;
1051066438aeSJoakim Zhang				nvmem-cells = <&fec_mac_address>;
1052066438aeSJoakim Zhang				nvmem-cell-names = "mac-address";
1053afe99354SJoakim Zhang				fsl,stop-mode = <&gpr 0x10 3>;
10546c3debcbSAnson Huang				status = "disabled";
10556c3debcbSAnson Huang			};
10566c3debcbSAnson Huang
10576c3debcbSAnson Huang		};
10586c3debcbSAnson Huang
10596c3debcbSAnson Huang		aips4: bus@32c00000 {
1060dc3efc6fSPeng Fan			compatible = "fsl,aips-bus", "simple-bus";
1061921a6845SFabio Estevam			reg = <0x32c00000 0x400000>;
10626c3debcbSAnson Huang			#address-cells = <1>;
10636c3debcbSAnson Huang			#size-cells = <1>;
10646c3debcbSAnson Huang			ranges;
10656c3debcbSAnson Huang
1066d825fb64SMarek Vasut			lcdif: lcdif@32e00000 {
1067d825fb64SMarek Vasut				compatible = "fsl,imx8mn-lcdif", "fsl,imx6sx-lcdif";
1068d825fb64SMarek Vasut				reg = <0x32e00000 0x10000>;
1069d825fb64SMarek Vasut				clocks = <&clk IMX8MN_CLK_DISP_PIXEL_ROOT>,
1070d825fb64SMarek Vasut					 <&clk IMX8MN_CLK_DISP_APB_ROOT>,
1071d825fb64SMarek Vasut					 <&clk IMX8MN_CLK_DISP_AXI_ROOT>;
1072d825fb64SMarek Vasut				clock-names = "pix", "axi", "disp_axi";
1073d825fb64SMarek Vasut				interrupts = <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
1074d825fb64SMarek Vasut				power-domains = <&disp_blk_ctrl IMX8MN_DISPBLK_PD_LCDIF>;
1075d825fb64SMarek Vasut				status = "disabled";
1076d825fb64SMarek Vasut
1077d825fb64SMarek Vasut				port {
1078d825fb64SMarek Vasut					lcdif_to_dsim: endpoint {
1079d825fb64SMarek Vasut						remote-endpoint = <&dsim_from_lcdif>;
1080d825fb64SMarek Vasut					};
1081d825fb64SMarek Vasut				};
1082d825fb64SMarek Vasut			};
1083d825fb64SMarek Vasut
1084d825fb64SMarek Vasut			mipi_dsi: dsi@32e10000 {
1085d825fb64SMarek Vasut				compatible = "fsl,imx8mn-mipi-dsim", "fsl,imx8mm-mipi-dsim";
1086d825fb64SMarek Vasut				reg = <0x32e10000 0x400>;
1087d825fb64SMarek Vasut				clocks = <&clk IMX8MN_CLK_DSI_CORE>,
1088d825fb64SMarek Vasut					 <&clk IMX8MN_CLK_DSI_PHY_REF>;
1089d825fb64SMarek Vasut				clock-names = "bus_clk", "sclk_mipi";
1090d825fb64SMarek Vasut				interrupts = <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>;
1091d825fb64SMarek Vasut				power-domains = <&disp_blk_ctrl IMX8MN_DISPBLK_PD_MIPI_DSI>;
1092d825fb64SMarek Vasut				status = "disabled";
1093d825fb64SMarek Vasut
1094d825fb64SMarek Vasut				ports {
1095d825fb64SMarek Vasut					#address-cells = <1>;
1096d825fb64SMarek Vasut					#size-cells = <0>;
1097d825fb64SMarek Vasut
1098d825fb64SMarek Vasut					port@0 {
1099d825fb64SMarek Vasut						reg = <0>;
1100d825fb64SMarek Vasut
1101d825fb64SMarek Vasut						dsim_from_lcdif: endpoint {
1102d825fb64SMarek Vasut							remote-endpoint = <&lcdif_to_dsim>;
1103d825fb64SMarek Vasut						};
1104d825fb64SMarek Vasut					};
1105d825fb64SMarek Vasut				};
1106d825fb64SMarek Vasut			};
1107d825fb64SMarek Vasut
1108ae9279f3SAdam Ford			isi: isi@32e20000 {
1109ae9279f3SAdam Ford				compatible = "fsl,imx8mn-isi";
1110ae9279f3SAdam Ford				reg = <0x32e20000 0x8000>;
1111ae9279f3SAdam Ford				interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
1112ae9279f3SAdam Ford				clocks = <&clk IMX8MN_CLK_DISP_AXI_ROOT>,
1113ae9279f3SAdam Ford					 <&clk IMX8MN_CLK_DISP_APB_ROOT>;
1114ae9279f3SAdam Ford				clock-names = "axi", "apb";
1115ae9279f3SAdam Ford				fsl,blk-ctrl = <&disp_blk_ctrl>;
1116ae9279f3SAdam Ford				power-domains = <&disp_blk_ctrl IMX8MN_DISPBLK_PD_ISI>;
1117ae9279f3SAdam Ford				status = "disabled";
1118ae9279f3SAdam Ford
1119ae9279f3SAdam Ford				ports {
1120ae9279f3SAdam Ford					#address-cells = <1>;
1121ae9279f3SAdam Ford					#size-cells = <0>;
1122ae9279f3SAdam Ford
1123ae9279f3SAdam Ford					port@0 {
1124ae9279f3SAdam Ford						reg = <0>;
1125ae9279f3SAdam Ford						isi_in: endpoint {
1126ae9279f3SAdam Ford							remote-endpoint = <&mipi_csi_out>;
1127ae9279f3SAdam Ford						};
1128ae9279f3SAdam Ford					};
1129ae9279f3SAdam Ford				};
1130ae9279f3SAdam Ford			};
1131ae9279f3SAdam Ford
113218d4a6c9SAdam Ford			disp_blk_ctrl: blk-ctrl@32e28000 {
113318d4a6c9SAdam Ford				compatible = "fsl,imx8mn-disp-blk-ctrl", "syscon";
113418d4a6c9SAdam Ford				reg = <0x32e28000 0x100>;
113518d4a6c9SAdam Ford				power-domains = <&pgc_dispmix>, <&pgc_dispmix>,
113618d4a6c9SAdam Ford						<&pgc_dispmix>, <&pgc_mipi>,
113718d4a6c9SAdam Ford						<&pgc_mipi>;
113818d4a6c9SAdam Ford				power-domain-names = "bus", "isi",
113918d4a6c9SAdam Ford						     "lcdif", "mipi-dsi",
114018d4a6c9SAdam Ford						     "mipi-csi";
114118d4a6c9SAdam Ford				clocks = <&clk IMX8MN_CLK_DISP_AXI>,
114218d4a6c9SAdam Ford					 <&clk IMX8MN_CLK_DISP_APB>,
114318d4a6c9SAdam Ford					 <&clk IMX8MN_CLK_DISP_AXI_ROOT>,
114418d4a6c9SAdam Ford					 <&clk IMX8MN_CLK_DISP_APB_ROOT>,
114518d4a6c9SAdam Ford					 <&clk IMX8MN_CLK_DISP_AXI_ROOT>,
114618d4a6c9SAdam Ford					 <&clk IMX8MN_CLK_DISP_APB_ROOT>,
114718d4a6c9SAdam Ford					 <&clk IMX8MN_CLK_DISP_PIXEL_ROOT>,
114818d4a6c9SAdam Ford					 <&clk IMX8MN_CLK_DSI_CORE>,
114918d4a6c9SAdam Ford					 <&clk IMX8MN_CLK_DSI_PHY_REF>,
115018d4a6c9SAdam Ford					 <&clk IMX8MN_CLK_CSI1_PHY_REF>,
115118d4a6c9SAdam Ford					 <&clk IMX8MN_CLK_CAMERA_PIXEL_ROOT>;
115218d4a6c9SAdam Ford				clock-names = "disp_axi", "disp_apb",
115318d4a6c9SAdam Ford					      "disp_axi_root", "disp_apb_root",
115418d4a6c9SAdam Ford					      "lcdif-axi", "lcdif-apb", "lcdif-pix",
115518d4a6c9SAdam Ford					      "dsi-pclk", "dsi-ref",
115618d4a6c9SAdam Ford					      "csi-aclk", "csi-pclk";
11572ac6c4a6SAdam Ford				assigned-clocks = <&clk IMX8MN_CLK_DSI_CORE>,
11582ac6c4a6SAdam Ford						  <&clk IMX8MN_CLK_DSI_PHY_REF>,
11592ac6c4a6SAdam Ford						  <&clk IMX8MN_CLK_DISP_PIXEL>,
11602ac6c4a6SAdam Ford						  <&clk IMX8MN_CLK_DISP_AXI>,
11612ac6c4a6SAdam Ford						  <&clk IMX8MN_CLK_DISP_APB>;
11622ac6c4a6SAdam Ford				assigned-clock-parents = <&clk IMX8MN_SYS_PLL1_266M>,
11632ac6c4a6SAdam Ford							 <&clk IMX8MN_CLK_24M>,
11642ac6c4a6SAdam Ford							 <&clk IMX8MN_VIDEO_PLL1_OUT>,
11652ac6c4a6SAdam Ford							 <&clk IMX8MN_SYS_PLL2_1000M>,
11662ac6c4a6SAdam Ford							 <&clk IMX8MN_SYS_PLL1_800M>;
11672ac6c4a6SAdam Ford				assigned-clock-rates = <266000000>,
11682ac6c4a6SAdam Ford						       <24000000>,
11692ac6c4a6SAdam Ford						       <594000000>,
11702ac6c4a6SAdam Ford						       <500000000>,
11712ac6c4a6SAdam Ford						       <200000000>;
117218d4a6c9SAdam Ford				#power-domain-cells = <1>;
117318d4a6c9SAdam Ford			};
117418d4a6c9SAdam Ford
1175ae9279f3SAdam Ford			mipi_csi: mipi-csi@32e30000 {
1176ae9279f3SAdam Ford				compatible = "fsl,imx8mm-mipi-csi2";
1177ae9279f3SAdam Ford				reg = <0x32e30000 0x1000>;
1178ae9279f3SAdam Ford				interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>;
1179926c7335SMarek Vasut				assigned-clocks = <&clk IMX8MN_CLK_CAMERA_PIXEL>;
1180926c7335SMarek Vasut				assigned-clock-parents = <&clk IMX8MN_SYS_PLL2_1000M>;
1181ae9279f3SAdam Ford				assigned-clock-rates = <333000000>;
1182ae9279f3SAdam Ford				clock-frequency = <333000000>;
1183ae9279f3SAdam Ford				clocks = <&clk IMX8MN_CLK_DISP_APB_ROOT>,
1184ae9279f3SAdam Ford					 <&clk IMX8MN_CLK_CAMERA_PIXEL>,
1185ae9279f3SAdam Ford					 <&clk IMX8MN_CLK_CSI1_PHY_REF>,
1186ae9279f3SAdam Ford					 <&clk IMX8MN_CLK_DISP_AXI_ROOT>;
1187ae9279f3SAdam Ford				clock-names = "pclk", "wrap", "phy", "axi";
1188ae9279f3SAdam Ford				power-domains = <&disp_blk_ctrl IMX8MN_DISPBLK_PD_MIPI_CSI>;
1189ae9279f3SAdam Ford				status = "disabled";
1190ae9279f3SAdam Ford
1191ae9279f3SAdam Ford				ports {
1192ae9279f3SAdam Ford					#address-cells = <1>;
1193ae9279f3SAdam Ford					#size-cells = <0>;
1194ae9279f3SAdam Ford
1195ae9279f3SAdam Ford					port@0 {
1196ae9279f3SAdam Ford						reg = <0>;
1197ae9279f3SAdam Ford					};
1198ae9279f3SAdam Ford
1199ae9279f3SAdam Ford					port@1 {
1200ae9279f3SAdam Ford						reg = <1>;
1201ae9279f3SAdam Ford
1202ae9279f3SAdam Ford						mipi_csi_out: endpoint {
1203ae9279f3SAdam Ford							remote-endpoint = <&isi_in>;
1204ae9279f3SAdam Ford						};
1205ae9279f3SAdam Ford					};
1206ae9279f3SAdam Ford				};
1207ae9279f3SAdam Ford			};
1208ae9279f3SAdam Ford
12096c3debcbSAnson Huang			usbotg1: usb@32e40000 {
1210835765daSPeng Fan				compatible = "fsl,imx8mn-usb", "fsl,imx7d-usb", "fsl,imx27-usb";
12116c3debcbSAnson Huang				reg = <0x32e40000 0x200>;
12126c3debcbSAnson Huang				interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>;
12136c3debcbSAnson Huang				clocks = <&clk IMX8MN_CLK_USB1_CTRL_ROOT>;
12146c3debcbSAnson Huang				clock-names = "usb1_ctrl_root_clk";
1215d51cb99cSLi Jun				assigned-clocks = <&clk IMX8MN_CLK_USB_BUS>;
1216d51cb99cSLi Jun				assigned-clock-parents = <&clk IMX8MN_SYS_PLL2_500M>;
121778e80c4bSMarek Vasut				phys = <&usbphynop1>;
12186c3debcbSAnson Huang				fsl,usbmisc = <&usbmisc1 0>;
1219ee895139SLi Jun				power-domains = <&pgc_hsiomix>;
12206c3debcbSAnson Huang				status = "disabled";
12216c3debcbSAnson Huang			};
12226c3debcbSAnson Huang
12236c3debcbSAnson Huang			usbmisc1: usbmisc@32e40200 {
1224835765daSPeng Fan				compatible = "fsl,imx8mn-usbmisc", "fsl,imx7d-usbmisc",
1225835765daSPeng Fan					     "fsl,imx6q-usbmisc";
12266c3debcbSAnson Huang				#index-cells = <1>;
12276c3debcbSAnson Huang				reg = <0x32e40200 0x200>;
12286c3debcbSAnson Huang			};
12296c3debcbSAnson Huang		};
12306c3debcbSAnson Huang
12316c3debcbSAnson Huang		dma_apbh: dma-controller@33000000 {
12326c3debcbSAnson Huang			compatible = "fsl,imx7d-dma-apbh", "fsl,imx28-dma-apbh";
12336c3debcbSAnson Huang			reg = <0x33000000 0x2000>;
12346c3debcbSAnson Huang			interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>,
12356c3debcbSAnson Huang				     <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>,
12366c3debcbSAnson Huang				     <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>,
12376c3debcbSAnson Huang				     <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
12386c3debcbSAnson Huang			#dma-cells = <1>;
12396c3debcbSAnson Huang			dma-channels = <4>;
12406c3debcbSAnson Huang			clocks = <&clk IMX8MN_CLK_NAND_USDHC_BUS_RAWNAND_CLK>;
12416c3debcbSAnson Huang		};
12426c3debcbSAnson Huang
12436c3debcbSAnson Huang		gpmi: nand-controller@33002000 {
12446c3debcbSAnson Huang			compatible = "fsl,imx8mn-gpmi-nand", "fsl,imx7d-gpmi-nand";
12456c3debcbSAnson Huang			#address-cells = <1>;
12465468e93bSMarek Vasut			#size-cells = <0>;
12476c3debcbSAnson Huang			reg = <0x33002000 0x2000>, <0x33004000 0x4000>;
12486c3debcbSAnson Huang			reg-names = "gpmi-nand", "bch";
12496c3debcbSAnson Huang			interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
12506c3debcbSAnson Huang			interrupt-names = "bch";
12516c3debcbSAnson Huang			clocks = <&clk IMX8MN_CLK_NAND_ROOT>,
12526c3debcbSAnson Huang				 <&clk IMX8MN_CLK_NAND_USDHC_BUS_RAWNAND_CLK>;
12536c3debcbSAnson Huang			clock-names = "gpmi_io", "gpmi_bch_apb";
12546c3debcbSAnson Huang			dmas = <&dma_apbh 0>;
12556c3debcbSAnson Huang			dma-names = "rx-tx";
12566c3debcbSAnson Huang			status = "disabled";
12576c3debcbSAnson Huang		};
12586c3debcbSAnson Huang
12599a0f3b15SAdam Ford		gpu: gpu@38000000 {
12609a0f3b15SAdam Ford			compatible = "vivante,gc";
12619a0f3b15SAdam Ford			reg = <0x38000000 0x8000>;
12629a0f3b15SAdam Ford			interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>;
12639a0f3b15SAdam Ford			clocks = <&clk IMX8MN_CLK_GPU_AHB>,
12649a0f3b15SAdam Ford				<&clk IMX8MN_CLK_GPU_BUS_ROOT>,
12659a0f3b15SAdam Ford				<&clk IMX8MN_CLK_GPU_CORE_ROOT>,
12669a0f3b15SAdam Ford				<&clk IMX8MN_CLK_GPU_SHADER>;
12679a0f3b15SAdam Ford			clock-names = "reg", "bus", "core", "shader";
12689a0f3b15SAdam Ford			assigned-clocks = <&clk IMX8MN_CLK_GPU_CORE>,
12699a0f3b15SAdam Ford					  <&clk IMX8MN_CLK_GPU_SHADER>,
12709a0f3b15SAdam Ford					  <&clk IMX8MN_CLK_GPU_AXI>,
12719a0f3b15SAdam Ford					  <&clk IMX8MN_CLK_GPU_AHB>,
12729a0f3b15SAdam Ford					  <&clk IMX8MN_GPU_PLL>;
12739a0f3b15SAdam Ford			assigned-clock-parents = <&clk IMX8MN_GPU_PLL_OUT>,
12749a0f3b15SAdam Ford						  <&clk IMX8MN_GPU_PLL_OUT>,
12759a0f3b15SAdam Ford						  <&clk IMX8MN_SYS_PLL1_800M>,
12769a0f3b15SAdam Ford						  <&clk IMX8MN_SYS_PLL1_800M>;
12779a0f3b15SAdam Ford			assigned-clock-rates = <400000000>,
12789a0f3b15SAdam Ford					       <400000000>,
12799a0f3b15SAdam Ford					       <800000000>,
12809a0f3b15SAdam Ford					       <400000000>,
12819a0f3b15SAdam Ford					       <1200000000>;
12829a0f3b15SAdam Ford			power-domains = <&pgc_gpumix>;
12839a0f3b15SAdam Ford		};
12849a0f3b15SAdam Ford
12856c3debcbSAnson Huang		gic: interrupt-controller@38800000 {
12866c3debcbSAnson Huang			compatible = "arm,gic-v3";
12876c3debcbSAnson Huang			reg = <0x38800000 0x10000>,
12886c3debcbSAnson Huang			      <0x38880000 0xc0000>;
12896c3debcbSAnson Huang			#interrupt-cells = <3>;
12906c3debcbSAnson Huang			interrupt-controller;
12916c3debcbSAnson Huang			interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>;
12926c3debcbSAnson Huang		};
12932d8e0747SJoakim Zhang
12940376f6ecSLeonard Crestez		ddrc: memory-controller@3d400000 {
12950376f6ecSLeonard Crestez			compatible = "fsl,imx8mn-ddrc", "fsl,imx8m-ddrc";
12960376f6ecSLeonard Crestez			reg = <0x3d400000 0x400000>;
12970376f6ecSLeonard Crestez			clock-names = "core", "pll", "alt", "apb";
12980376f6ecSLeonard Crestez			clocks = <&clk IMX8MN_CLK_DRAM_CORE>,
12990376f6ecSLeonard Crestez				 <&clk IMX8MN_DRAM_PLL>,
13000376f6ecSLeonard Crestez				 <&clk IMX8MN_CLK_DRAM_ALT>,
13010376f6ecSLeonard Crestez				 <&clk IMX8MN_CLK_DRAM_APB>;
13020376f6ecSLeonard Crestez		};
13030376f6ecSLeonard Crestez
13042d8e0747SJoakim Zhang		ddr-pmu@3d800000 {
13052d8e0747SJoakim Zhang			compatible = "fsl,imx8mn-ddr-pmu", "fsl,imx8m-ddr-pmu";
13062d8e0747SJoakim Zhang			reg = <0x3d800000 0x400000>;
13072d8e0747SJoakim Zhang			interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>;
13082d8e0747SJoakim Zhang		};
13096c3debcbSAnson Huang	};
13106c3debcbSAnson Huang
13116c3debcbSAnson Huang	usbphynop1: usbphynop1 {
131278e80c4bSMarek Vasut		#phy-cells = <0>;
13136c3debcbSAnson Huang		compatible = "usb-nop-xceiv";
13146c3debcbSAnson Huang		clocks = <&clk IMX8MN_CLK_USB_PHY_REF>;
13156c3debcbSAnson Huang		assigned-clocks = <&clk IMX8MN_CLK_USB_PHY_REF>;
13166c3debcbSAnson Huang		assigned-clock-parents = <&clk IMX8MN_SYS_PLL1_100M>;
13176c3debcbSAnson Huang		clock-names = "main_clk";
1318ee895139SLi Jun		power-domains = <&pgc_otg1>;
13196c3debcbSAnson Huang	};
13206c3debcbSAnson Huang};
1321