xref: /freebsd-src/sys/contrib/device-tree/src/arm/nxp/imx/imx7s.dtsi (revision 7d0873ebb83b19ba1e8a89e679470d885efe12e3)
1f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0+ OR MIT
2f126890aSEmmanuel Vadot//
3f126890aSEmmanuel Vadot// Copyright 2015 Freescale Semiconductor, Inc.
4f126890aSEmmanuel Vadot// Copyright 2016 Toradex AG
5f126890aSEmmanuel Vadot
6f126890aSEmmanuel Vadot#include <dt-bindings/clock/imx7d-clock.h>
7f126890aSEmmanuel Vadot#include <dt-bindings/power/imx7-power.h>
8f126890aSEmmanuel Vadot#include <dt-bindings/gpio/gpio.h>
9f126890aSEmmanuel Vadot#include <dt-bindings/input/input.h>
10f126890aSEmmanuel Vadot#include <dt-bindings/interrupt-controller/arm-gic.h>
11f126890aSEmmanuel Vadot#include <dt-bindings/reset/imx7-reset.h>
12f126890aSEmmanuel Vadot#include "imx7d-pinfunc.h"
13f126890aSEmmanuel Vadot
14f126890aSEmmanuel Vadot/ {
15f126890aSEmmanuel Vadot	#address-cells = <1>;
16f126890aSEmmanuel Vadot	#size-cells = <1>;
17f126890aSEmmanuel Vadot	/*
18f126890aSEmmanuel Vadot	 * The decompressor and also some bootloaders rely on a
19f126890aSEmmanuel Vadot	 * pre-existing /chosen node to be available to insert the
20f126890aSEmmanuel Vadot	 * command line and merge other ATAGS info.
21f126890aSEmmanuel Vadot	 */
22f126890aSEmmanuel Vadot	chosen {};
23f126890aSEmmanuel Vadot
24f126890aSEmmanuel Vadot	aliases {
25f126890aSEmmanuel Vadot		gpio0 = &gpio1;
26f126890aSEmmanuel Vadot		gpio1 = &gpio2;
27f126890aSEmmanuel Vadot		gpio2 = &gpio3;
28f126890aSEmmanuel Vadot		gpio3 = &gpio4;
29f126890aSEmmanuel Vadot		gpio4 = &gpio5;
30f126890aSEmmanuel Vadot		gpio5 = &gpio6;
31f126890aSEmmanuel Vadot		gpio6 = &gpio7;
32f126890aSEmmanuel Vadot		i2c0 = &i2c1;
33f126890aSEmmanuel Vadot		i2c1 = &i2c2;
34f126890aSEmmanuel Vadot		i2c2 = &i2c3;
35f126890aSEmmanuel Vadot		i2c3 = &i2c4;
36f126890aSEmmanuel Vadot		mmc0 = &usdhc1;
37f126890aSEmmanuel Vadot		mmc1 = &usdhc2;
38f126890aSEmmanuel Vadot		mmc2 = &usdhc3;
39f126890aSEmmanuel Vadot		serial0 = &uart1;
40f126890aSEmmanuel Vadot		serial1 = &uart2;
41f126890aSEmmanuel Vadot		serial2 = &uart3;
42f126890aSEmmanuel Vadot		serial3 = &uart4;
43f126890aSEmmanuel Vadot		serial4 = &uart5;
44f126890aSEmmanuel Vadot		serial5 = &uart6;
45f126890aSEmmanuel Vadot		serial6 = &uart7;
46f126890aSEmmanuel Vadot		spi0 = &ecspi1;
47f126890aSEmmanuel Vadot		spi1 = &ecspi2;
48f126890aSEmmanuel Vadot		spi2 = &ecspi3;
49f126890aSEmmanuel Vadot		spi3 = &ecspi4;
50f126890aSEmmanuel Vadot		usb0 = &usbotg1;
51f126890aSEmmanuel Vadot		usb1 = &usbh;
52f126890aSEmmanuel Vadot	};
53f126890aSEmmanuel Vadot
54f126890aSEmmanuel Vadot	cpus {
55f126890aSEmmanuel Vadot		#address-cells = <1>;
56f126890aSEmmanuel Vadot		#size-cells = <0>;
57f126890aSEmmanuel Vadot
58f126890aSEmmanuel Vadot		idle-states {
59f126890aSEmmanuel Vadot			entry-method = "psci";
60f126890aSEmmanuel Vadot
61f126890aSEmmanuel Vadot			cpu_sleep_wait: cpu-sleep-wait {
62f126890aSEmmanuel Vadot				compatible = "arm,idle-state";
63f126890aSEmmanuel Vadot				arm,psci-suspend-param = <0x0010000>;
64f126890aSEmmanuel Vadot				local-timer-stop;
65f126890aSEmmanuel Vadot				entry-latency-us = <100>;
66f126890aSEmmanuel Vadot				exit-latency-us = <50>;
67f126890aSEmmanuel Vadot				min-residency-us = <1000>;
68f126890aSEmmanuel Vadot			};
69f126890aSEmmanuel Vadot		};
70f126890aSEmmanuel Vadot
71f126890aSEmmanuel Vadot		cpu0: cpu@0 {
72f126890aSEmmanuel Vadot			compatible = "arm,cortex-a7";
73f126890aSEmmanuel Vadot			device_type = "cpu";
74f126890aSEmmanuel Vadot			reg = <0>;
75f126890aSEmmanuel Vadot			clock-frequency = <792000000>;
76f126890aSEmmanuel Vadot			clock-latency = <61036>; /* two CLK32 periods */
77f126890aSEmmanuel Vadot			clocks = <&clks IMX7D_CLK_ARM>;
78f126890aSEmmanuel Vadot			cpu-idle-states = <&cpu_sleep_wait>;
79f126890aSEmmanuel Vadot			operating-points-v2 = <&cpu0_opp_table>;
80f126890aSEmmanuel Vadot			#cooling-cells = <2>;
81f126890aSEmmanuel Vadot			nvmem-cells = <&fuse_grade>;
82f126890aSEmmanuel Vadot			nvmem-cell-names = "speed_grade";
83f126890aSEmmanuel Vadot		};
84f126890aSEmmanuel Vadot	};
85f126890aSEmmanuel Vadot
86f126890aSEmmanuel Vadot	cpu0_opp_table: opp-table {
87f126890aSEmmanuel Vadot		compatible = "operating-points-v2";
88f126890aSEmmanuel Vadot		opp-shared;
89f126890aSEmmanuel Vadot
90f126890aSEmmanuel Vadot		opp-792000000 {
91f126890aSEmmanuel Vadot			opp-hz = /bits/ 64 <792000000>;
92f126890aSEmmanuel Vadot			opp-microvolt = <1000000>;
93f126890aSEmmanuel Vadot			clock-latency-ns = <150000>;
94f126890aSEmmanuel Vadot			opp-supported-hw = <0xf>, <0xf>;
95f126890aSEmmanuel Vadot		};
96f126890aSEmmanuel Vadot	};
97f126890aSEmmanuel Vadot
98f126890aSEmmanuel Vadot	ckil: clock-cki {
99f126890aSEmmanuel Vadot		compatible = "fixed-clock";
100f126890aSEmmanuel Vadot		#clock-cells = <0>;
101f126890aSEmmanuel Vadot		clock-frequency = <32768>;
102f126890aSEmmanuel Vadot		clock-output-names = "ckil";
103f126890aSEmmanuel Vadot	};
104f126890aSEmmanuel Vadot
105f126890aSEmmanuel Vadot	osc: clock-osc {
106f126890aSEmmanuel Vadot		compatible = "fixed-clock";
107f126890aSEmmanuel Vadot		#clock-cells = <0>;
108f126890aSEmmanuel Vadot		clock-frequency = <24000000>;
109f126890aSEmmanuel Vadot		clock-output-names = "osc";
110f126890aSEmmanuel Vadot	};
111f126890aSEmmanuel Vadot
112f126890aSEmmanuel Vadot	usbphynop1: usbphynop1 {
113f126890aSEmmanuel Vadot		compatible = "usb-nop-xceiv";
114f126890aSEmmanuel Vadot		clocks = <&clks IMX7D_USB_PHY1_CLK>;
115f126890aSEmmanuel Vadot		clock-names = "main_clk";
116f126890aSEmmanuel Vadot		#phy-cells = <0>;
117f126890aSEmmanuel Vadot	};
118f126890aSEmmanuel Vadot
119f126890aSEmmanuel Vadot	usbphynop3: usbphynop3 {
120f126890aSEmmanuel Vadot		compatible = "usb-nop-xceiv";
121f126890aSEmmanuel Vadot		clocks = <&clks IMX7D_USB_HSIC_ROOT_CLK>;
122f126890aSEmmanuel Vadot		clock-names = "main_clk";
123f126890aSEmmanuel Vadot		power-domains = <&pgc_hsic_phy>;
124f126890aSEmmanuel Vadot		#phy-cells = <0>;
125f126890aSEmmanuel Vadot	};
126f126890aSEmmanuel Vadot
127f126890aSEmmanuel Vadot	pmu {
128f126890aSEmmanuel Vadot		compatible = "arm,cortex-a7-pmu";
129f126890aSEmmanuel Vadot		interrupt-parent = <&gpc>;
130f126890aSEmmanuel Vadot		interrupts = <GIC_SPI 92 IRQ_TYPE_LEVEL_HIGH>;
131f126890aSEmmanuel Vadot		interrupt-affinity = <&cpu0>;
132f126890aSEmmanuel Vadot	};
133f126890aSEmmanuel Vadot
134f126890aSEmmanuel Vadot	replicator {
135f126890aSEmmanuel Vadot		/*
136f126890aSEmmanuel Vadot		 * non-configurable replicators don't show up on the
137f126890aSEmmanuel Vadot		 * AMBA bus.  As such no need to add "arm,primecell"
138f126890aSEmmanuel Vadot		 */
139f126890aSEmmanuel Vadot		compatible = "arm,coresight-static-replicator";
140f126890aSEmmanuel Vadot
141f126890aSEmmanuel Vadot		out-ports {
142f126890aSEmmanuel Vadot			#address-cells = <1>;
143f126890aSEmmanuel Vadot			#size-cells = <0>;
144f126890aSEmmanuel Vadot				/* replicator output ports */
145f126890aSEmmanuel Vadot			port@0 {
146f126890aSEmmanuel Vadot				reg = <0>;
147f126890aSEmmanuel Vadot				replicator_out_port0: endpoint {
148f126890aSEmmanuel Vadot					remote-endpoint = <&tpiu_in_port>;
149f126890aSEmmanuel Vadot				};
150f126890aSEmmanuel Vadot			};
151f126890aSEmmanuel Vadot
152f126890aSEmmanuel Vadot			port@1 {
153f126890aSEmmanuel Vadot				reg = <1>;
154f126890aSEmmanuel Vadot				replicator_out_port1: endpoint {
155f126890aSEmmanuel Vadot					remote-endpoint = <&etr_in_port>;
156f126890aSEmmanuel Vadot				};
157f126890aSEmmanuel Vadot			};
158f126890aSEmmanuel Vadot		};
159f126890aSEmmanuel Vadot
160f126890aSEmmanuel Vadot		in-ports {
161f126890aSEmmanuel Vadot			port {
162f126890aSEmmanuel Vadot				replicator_in_port0: endpoint {
163f126890aSEmmanuel Vadot					remote-endpoint = <&etf_out_port>;
164f126890aSEmmanuel Vadot				};
165f126890aSEmmanuel Vadot			};
166f126890aSEmmanuel Vadot		};
167f126890aSEmmanuel Vadot	};
168f126890aSEmmanuel Vadot
169f126890aSEmmanuel Vadot	timer {
170f126890aSEmmanuel Vadot		compatible = "arm,armv7-timer";
171f126890aSEmmanuel Vadot		arm,cpu-registers-not-fw-configured;
172f126890aSEmmanuel Vadot		interrupt-parent = <&intc>;
173f126890aSEmmanuel Vadot		interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(1) | IRQ_TYPE_LEVEL_LOW)>,
174f126890aSEmmanuel Vadot			     <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(1) | IRQ_TYPE_LEVEL_LOW)>,
175f126890aSEmmanuel Vadot			     <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(1) | IRQ_TYPE_LEVEL_LOW)>,
176f126890aSEmmanuel Vadot			     <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(1) | IRQ_TYPE_LEVEL_LOW)>;
177f126890aSEmmanuel Vadot	};
178f126890aSEmmanuel Vadot
179f126890aSEmmanuel Vadot	soc: soc {
180f126890aSEmmanuel Vadot		#address-cells = <1>;
181f126890aSEmmanuel Vadot		#size-cells = <1>;
182f126890aSEmmanuel Vadot		compatible = "simple-bus";
183f126890aSEmmanuel Vadot		interrupt-parent = <&gpc>;
184f126890aSEmmanuel Vadot		ranges;
185f126890aSEmmanuel Vadot
1868d13bc63SEmmanuel Vadot		ocram: sram@900000 {
1878d13bc63SEmmanuel Vadot			compatible = "mmio-sram";
1888d13bc63SEmmanuel Vadot			reg = <0x00900000 0x20000>;
1898d13bc63SEmmanuel Vadot			ranges = <0 0x00900000 0x20000>;
1908d13bc63SEmmanuel Vadot			#address-cells = <1>;
1918d13bc63SEmmanuel Vadot			#size-cells = <1>;
1928d13bc63SEmmanuel Vadot			clocks = <&clks IMX7D_OCRAM_CLK>;
1938d13bc63SEmmanuel Vadot		};
1948d13bc63SEmmanuel Vadot
195f126890aSEmmanuel Vadot		funnel@30041000 {
196f126890aSEmmanuel Vadot			compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
197f126890aSEmmanuel Vadot			reg = <0x30041000 0x1000>;
198f126890aSEmmanuel Vadot			clocks = <&clks IMX7D_MAIN_AXI_ROOT_CLK>;
199f126890aSEmmanuel Vadot			clock-names = "apb_pclk";
200f126890aSEmmanuel Vadot
201f126890aSEmmanuel Vadot			ca_funnel_in_ports: in-ports {
2028d13bc63SEmmanuel Vadot				#address-cells = <1>;
2038d13bc63SEmmanuel Vadot				#size-cells = <0>;
2048d13bc63SEmmanuel Vadot
2058d13bc63SEmmanuel Vadot				port@0 {
2068d13bc63SEmmanuel Vadot					reg = <0>;
207f126890aSEmmanuel Vadot					ca_funnel_in_port0: endpoint {
208f126890aSEmmanuel Vadot						remote-endpoint = <&etm0_out_port>;
209f126890aSEmmanuel Vadot					};
210f126890aSEmmanuel Vadot				};
211f126890aSEmmanuel Vadot
212f126890aSEmmanuel Vadot				/* the other input ports are not connect to anything */
213f126890aSEmmanuel Vadot			};
214f126890aSEmmanuel Vadot
215f126890aSEmmanuel Vadot			out-ports {
216f126890aSEmmanuel Vadot				port {
217f126890aSEmmanuel Vadot					ca_funnel_out_port0: endpoint {
218f126890aSEmmanuel Vadot						remote-endpoint = <&hugo_funnel_in_port0>;
219f126890aSEmmanuel Vadot					};
220f126890aSEmmanuel Vadot				};
221f126890aSEmmanuel Vadot
222f126890aSEmmanuel Vadot			};
223f126890aSEmmanuel Vadot		};
224f126890aSEmmanuel Vadot
225f126890aSEmmanuel Vadot		etm@3007c000 {
226f126890aSEmmanuel Vadot			compatible = "arm,coresight-etm3x", "arm,primecell";
227f126890aSEmmanuel Vadot			reg = <0x3007c000 0x1000>;
228f126890aSEmmanuel Vadot			cpu = <&cpu0>;
229f126890aSEmmanuel Vadot			clocks = <&clks IMX7D_MAIN_AXI_ROOT_CLK>;
230f126890aSEmmanuel Vadot			clock-names = "apb_pclk";
231f126890aSEmmanuel Vadot
232f126890aSEmmanuel Vadot			out-ports {
233f126890aSEmmanuel Vadot				port {
234f126890aSEmmanuel Vadot					etm0_out_port: endpoint {
235f126890aSEmmanuel Vadot						remote-endpoint = <&ca_funnel_in_port0>;
236f126890aSEmmanuel Vadot					};
237f126890aSEmmanuel Vadot				};
238f126890aSEmmanuel Vadot			};
239f126890aSEmmanuel Vadot		};
240f126890aSEmmanuel Vadot
241f126890aSEmmanuel Vadot		funnel@30083000 {
242f126890aSEmmanuel Vadot			compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
243f126890aSEmmanuel Vadot			reg = <0x30083000 0x1000>;
244f126890aSEmmanuel Vadot			clocks = <&clks IMX7D_MAIN_AXI_ROOT_CLK>;
245f126890aSEmmanuel Vadot			clock-names = "apb_pclk";
246f126890aSEmmanuel Vadot
247f126890aSEmmanuel Vadot			in-ports {
248f126890aSEmmanuel Vadot				#address-cells = <1>;
249f126890aSEmmanuel Vadot				#size-cells = <0>;
250f126890aSEmmanuel Vadot
251f126890aSEmmanuel Vadot				port@0 {
252f126890aSEmmanuel Vadot					reg = <0>;
253f126890aSEmmanuel Vadot					hugo_funnel_in_port0: endpoint {
254f126890aSEmmanuel Vadot						remote-endpoint = <&ca_funnel_out_port0>;
255f126890aSEmmanuel Vadot					};
256f126890aSEmmanuel Vadot				};
257f126890aSEmmanuel Vadot
258f126890aSEmmanuel Vadot				port@1 {
259f126890aSEmmanuel Vadot					reg = <1>;
260f126890aSEmmanuel Vadot					hugo_funnel_in_port1: endpoint {
261f126890aSEmmanuel Vadot						/* M4 input */
262f126890aSEmmanuel Vadot					};
263f126890aSEmmanuel Vadot				};
264f126890aSEmmanuel Vadot				/* the other input ports are not connect to anything */
265f126890aSEmmanuel Vadot			};
266f126890aSEmmanuel Vadot
267f126890aSEmmanuel Vadot			out-ports {
268f126890aSEmmanuel Vadot				port {
269f126890aSEmmanuel Vadot					hugo_funnel_out_port0: endpoint {
270f126890aSEmmanuel Vadot						remote-endpoint = <&etf_in_port>;
271f126890aSEmmanuel Vadot					};
272f126890aSEmmanuel Vadot				};
273f126890aSEmmanuel Vadot			};
274f126890aSEmmanuel Vadot		};
275f126890aSEmmanuel Vadot
276f126890aSEmmanuel Vadot		etf@30084000 {
277f126890aSEmmanuel Vadot			compatible = "arm,coresight-tmc", "arm,primecell";
278f126890aSEmmanuel Vadot			reg = <0x30084000 0x1000>;
279f126890aSEmmanuel Vadot			clocks = <&clks IMX7D_MAIN_AXI_ROOT_CLK>;
280f126890aSEmmanuel Vadot			clock-names = "apb_pclk";
281f126890aSEmmanuel Vadot
282f126890aSEmmanuel Vadot			in-ports {
283f126890aSEmmanuel Vadot				port {
284f126890aSEmmanuel Vadot					etf_in_port: endpoint {
285f126890aSEmmanuel Vadot						remote-endpoint = <&hugo_funnel_out_port0>;
286f126890aSEmmanuel Vadot					};
287f126890aSEmmanuel Vadot				};
288f126890aSEmmanuel Vadot			};
289f126890aSEmmanuel Vadot
290f126890aSEmmanuel Vadot			out-ports {
291f126890aSEmmanuel Vadot				port {
292f126890aSEmmanuel Vadot					etf_out_port: endpoint {
293f126890aSEmmanuel Vadot						remote-endpoint = <&replicator_in_port0>;
294f126890aSEmmanuel Vadot					};
295f126890aSEmmanuel Vadot				};
296f126890aSEmmanuel Vadot			};
297f126890aSEmmanuel Vadot		};
298f126890aSEmmanuel Vadot
299f126890aSEmmanuel Vadot		etr@30086000 {
300f126890aSEmmanuel Vadot			compatible = "arm,coresight-tmc", "arm,primecell";
301f126890aSEmmanuel Vadot			reg = <0x30086000 0x1000>;
302f126890aSEmmanuel Vadot			clocks = <&clks IMX7D_MAIN_AXI_ROOT_CLK>;
303f126890aSEmmanuel Vadot			clock-names = "apb_pclk";
304f126890aSEmmanuel Vadot
305f126890aSEmmanuel Vadot			in-ports {
306f126890aSEmmanuel Vadot				port {
307f126890aSEmmanuel Vadot					etr_in_port: endpoint {
308f126890aSEmmanuel Vadot						remote-endpoint = <&replicator_out_port1>;
309f126890aSEmmanuel Vadot					};
310f126890aSEmmanuel Vadot				};
311f126890aSEmmanuel Vadot			};
312f126890aSEmmanuel Vadot		};
313f126890aSEmmanuel Vadot
314f126890aSEmmanuel Vadot		tpiu@30087000 {
315f126890aSEmmanuel Vadot			compatible = "arm,coresight-tpiu", "arm,primecell";
316f126890aSEmmanuel Vadot			reg = <0x30087000 0x1000>;
317f126890aSEmmanuel Vadot			clocks = <&clks IMX7D_MAIN_AXI_ROOT_CLK>;
318f126890aSEmmanuel Vadot			clock-names = "apb_pclk";
319f126890aSEmmanuel Vadot
320f126890aSEmmanuel Vadot			in-ports {
321f126890aSEmmanuel Vadot				port {
322f126890aSEmmanuel Vadot					tpiu_in_port: endpoint {
323f126890aSEmmanuel Vadot						remote-endpoint = <&replicator_out_port0>;
324f126890aSEmmanuel Vadot					};
325f126890aSEmmanuel Vadot				};
326f126890aSEmmanuel Vadot			};
327f126890aSEmmanuel Vadot		};
328f126890aSEmmanuel Vadot
329f126890aSEmmanuel Vadot		intc: interrupt-controller@31001000 {
330f126890aSEmmanuel Vadot			compatible = "arm,cortex-a7-gic";
331f126890aSEmmanuel Vadot			interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(1) | IRQ_TYPE_LEVEL_HIGH)>;
332f126890aSEmmanuel Vadot			#interrupt-cells = <3>;
333f126890aSEmmanuel Vadot			interrupt-controller;
334f126890aSEmmanuel Vadot			interrupt-parent = <&intc>;
335f126890aSEmmanuel Vadot			reg = <0x31001000 0x1000>,
336f126890aSEmmanuel Vadot			      <0x31002000 0x2000>,
337f126890aSEmmanuel Vadot			      <0x31004000 0x2000>,
338f126890aSEmmanuel Vadot			      <0x31006000 0x2000>;
339f126890aSEmmanuel Vadot		};
340f126890aSEmmanuel Vadot
341f126890aSEmmanuel Vadot		aips1: bus@30000000 {
342f126890aSEmmanuel Vadot			compatible = "fsl,aips-bus", "simple-bus";
343f126890aSEmmanuel Vadot			#address-cells = <1>;
344f126890aSEmmanuel Vadot			#size-cells = <1>;
345f126890aSEmmanuel Vadot			reg = <0x30000000 0x400000>;
346f126890aSEmmanuel Vadot			ranges;
347f126890aSEmmanuel Vadot
348f126890aSEmmanuel Vadot			gpio1: gpio@30200000 {
349f126890aSEmmanuel Vadot				compatible = "fsl,imx7d-gpio", "fsl,imx35-gpio";
350f126890aSEmmanuel Vadot				reg = <0x30200000 0x10000>;
351f126890aSEmmanuel Vadot				interrupts = <GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>, /* GPIO1_INT15_0 */
352f126890aSEmmanuel Vadot					     <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>; /* GPIO1_INT31_16 */
353f126890aSEmmanuel Vadot				gpio-controller;
354f126890aSEmmanuel Vadot				#gpio-cells = <2>;
355f126890aSEmmanuel Vadot				interrupt-controller;
356f126890aSEmmanuel Vadot				#interrupt-cells = <2>;
357f126890aSEmmanuel Vadot				gpio-ranges = <&iomuxc_lpsr 0 0 8>, <&iomuxc 8 5 8>;
358f126890aSEmmanuel Vadot			};
359f126890aSEmmanuel Vadot
360f126890aSEmmanuel Vadot			gpio2: gpio@30210000 {
361f126890aSEmmanuel Vadot				compatible = "fsl,imx7d-gpio", "fsl,imx35-gpio";
362f126890aSEmmanuel Vadot				reg = <0x30210000 0x10000>;
363f126890aSEmmanuel Vadot				interrupts = <GIC_SPI 66 IRQ_TYPE_LEVEL_HIGH>,
364f126890aSEmmanuel Vadot					     <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>;
365f126890aSEmmanuel Vadot				gpio-controller;
366f126890aSEmmanuel Vadot				#gpio-cells = <2>;
367f126890aSEmmanuel Vadot				interrupt-controller;
368f126890aSEmmanuel Vadot				#interrupt-cells = <2>;
369f126890aSEmmanuel Vadot				gpio-ranges = <&iomuxc 0 13 32>;
370f126890aSEmmanuel Vadot			};
371f126890aSEmmanuel Vadot
372f126890aSEmmanuel Vadot			gpio3: gpio@30220000 {
373f126890aSEmmanuel Vadot				compatible = "fsl,imx7d-gpio", "fsl,imx35-gpio";
374f126890aSEmmanuel Vadot				reg = <0x30220000 0x10000>;
375f126890aSEmmanuel Vadot				interrupts = <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>,
376f126890aSEmmanuel Vadot					     <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
377f126890aSEmmanuel Vadot				gpio-controller;
378f126890aSEmmanuel Vadot				#gpio-cells = <2>;
379f126890aSEmmanuel Vadot				interrupt-controller;
380f126890aSEmmanuel Vadot				#interrupt-cells = <2>;
381f126890aSEmmanuel Vadot				gpio-ranges = <&iomuxc 0 45 29>;
382f126890aSEmmanuel Vadot			};
383f126890aSEmmanuel Vadot
384f126890aSEmmanuel Vadot			gpio4: gpio@30230000 {
385f126890aSEmmanuel Vadot				compatible = "fsl,imx7d-gpio", "fsl,imx35-gpio";
386f126890aSEmmanuel Vadot				reg = <0x30230000 0x10000>;
387f126890aSEmmanuel Vadot				interrupts = <GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>,
388f126890aSEmmanuel Vadot					     <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>;
389f126890aSEmmanuel Vadot				gpio-controller;
390f126890aSEmmanuel Vadot				#gpio-cells = <2>;
391f126890aSEmmanuel Vadot				interrupt-controller;
392f126890aSEmmanuel Vadot				#interrupt-cells = <2>;
393f126890aSEmmanuel Vadot				gpio-ranges = <&iomuxc 0 74 24>;
394f126890aSEmmanuel Vadot			};
395f126890aSEmmanuel Vadot
396f126890aSEmmanuel Vadot			gpio5: gpio@30240000 {
397f126890aSEmmanuel Vadot				compatible = "fsl,imx7d-gpio", "fsl,imx35-gpio";
398f126890aSEmmanuel Vadot				reg = <0x30240000 0x10000>;
399f126890aSEmmanuel Vadot				interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>,
400f126890aSEmmanuel Vadot					     <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>;
401f126890aSEmmanuel Vadot				gpio-controller;
402f126890aSEmmanuel Vadot				#gpio-cells = <2>;
403f126890aSEmmanuel Vadot				interrupt-controller;
404f126890aSEmmanuel Vadot				#interrupt-cells = <2>;
405f126890aSEmmanuel Vadot				gpio-ranges = <&iomuxc 0 98 18>;
406f126890aSEmmanuel Vadot			};
407f126890aSEmmanuel Vadot
408f126890aSEmmanuel Vadot			gpio6: gpio@30250000 {
409f126890aSEmmanuel Vadot				compatible = "fsl,imx7d-gpio", "fsl,imx35-gpio";
410f126890aSEmmanuel Vadot				reg = <0x30250000 0x10000>;
411f126890aSEmmanuel Vadot				interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>,
412f126890aSEmmanuel Vadot					     <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>;
413f126890aSEmmanuel Vadot				gpio-controller;
414f126890aSEmmanuel Vadot				#gpio-cells = <2>;
415f126890aSEmmanuel Vadot				interrupt-controller;
416f126890aSEmmanuel Vadot				#interrupt-cells = <2>;
417f126890aSEmmanuel Vadot				gpio-ranges = <&iomuxc 0 116 23>;
418f126890aSEmmanuel Vadot			};
419f126890aSEmmanuel Vadot
420f126890aSEmmanuel Vadot			gpio7: gpio@30260000 {
421f126890aSEmmanuel Vadot				compatible = "fsl,imx7d-gpio", "fsl,imx35-gpio";
422f126890aSEmmanuel Vadot				reg = <0x30260000 0x10000>;
423f126890aSEmmanuel Vadot				interrupts = <GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>,
424f126890aSEmmanuel Vadot					     <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>;
425f126890aSEmmanuel Vadot				gpio-controller;
426f126890aSEmmanuel Vadot				#gpio-cells = <2>;
427f126890aSEmmanuel Vadot				interrupt-controller;
428f126890aSEmmanuel Vadot				#interrupt-cells = <2>;
429f126890aSEmmanuel Vadot				gpio-ranges = <&iomuxc 0 139 16>;
430f126890aSEmmanuel Vadot			};
431f126890aSEmmanuel Vadot
432f126890aSEmmanuel Vadot			wdog1: watchdog@30280000 {
433f126890aSEmmanuel Vadot				compatible = "fsl,imx7d-wdt", "fsl,imx21-wdt";
434f126890aSEmmanuel Vadot				reg = <0x30280000 0x10000>;
435f126890aSEmmanuel Vadot				interrupts = <GIC_SPI 78 IRQ_TYPE_LEVEL_HIGH>;
436f126890aSEmmanuel Vadot				clocks = <&clks IMX7D_WDOG1_ROOT_CLK>;
437f126890aSEmmanuel Vadot			};
438f126890aSEmmanuel Vadot
439f126890aSEmmanuel Vadot			wdog2: watchdog@30290000 {
440f126890aSEmmanuel Vadot				compatible = "fsl,imx7d-wdt", "fsl,imx21-wdt";
441f126890aSEmmanuel Vadot				reg = <0x30290000 0x10000>;
442f126890aSEmmanuel Vadot				interrupts = <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>;
443f126890aSEmmanuel Vadot				clocks = <&clks IMX7D_WDOG2_ROOT_CLK>;
444f126890aSEmmanuel Vadot				status = "disabled";
445f126890aSEmmanuel Vadot			};
446f126890aSEmmanuel Vadot
447f126890aSEmmanuel Vadot			wdog3: watchdog@302a0000 {
448f126890aSEmmanuel Vadot				compatible = "fsl,imx7d-wdt", "fsl,imx21-wdt";
449f126890aSEmmanuel Vadot				reg = <0x302a0000 0x10000>;
450f126890aSEmmanuel Vadot				interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
451f126890aSEmmanuel Vadot				clocks = <&clks IMX7D_WDOG3_ROOT_CLK>;
452f126890aSEmmanuel Vadot				status = "disabled";
453f126890aSEmmanuel Vadot			};
454f126890aSEmmanuel Vadot
455f126890aSEmmanuel Vadot			wdog4: watchdog@302b0000 {
456f126890aSEmmanuel Vadot				compatible = "fsl,imx7d-wdt", "fsl,imx21-wdt";
457f126890aSEmmanuel Vadot				reg = <0x302b0000 0x10000>;
458f126890aSEmmanuel Vadot				interrupts = <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>;
459f126890aSEmmanuel Vadot				clocks = <&clks IMX7D_WDOG4_ROOT_CLK>;
460f126890aSEmmanuel Vadot				status = "disabled";
461f126890aSEmmanuel Vadot			};
462f126890aSEmmanuel Vadot
463f126890aSEmmanuel Vadot			iomuxc_lpsr: pinctrl@302c0000 {
464f126890aSEmmanuel Vadot				compatible = "fsl,imx7d-iomuxc-lpsr";
465f126890aSEmmanuel Vadot				reg = <0x302c0000 0x10000>;
466f126890aSEmmanuel Vadot				fsl,input-sel = <&iomuxc>;
467f126890aSEmmanuel Vadot			};
468f126890aSEmmanuel Vadot
469f126890aSEmmanuel Vadot			gpt1: timer@302d0000 {
47084943d6fSEmmanuel Vadot				compatible = "fsl,imx7d-gpt", "fsl,imx6dl-gpt";
471f126890aSEmmanuel Vadot				reg = <0x302d0000 0x10000>;
472f126890aSEmmanuel Vadot				interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>;
473f126890aSEmmanuel Vadot				clocks = <&clks IMX7D_GPT1_ROOT_CLK>,
474f126890aSEmmanuel Vadot					 <&clks IMX7D_GPT1_ROOT_CLK>;
475f126890aSEmmanuel Vadot				clock-names = "ipg", "per";
476f126890aSEmmanuel Vadot			};
477f126890aSEmmanuel Vadot
478f126890aSEmmanuel Vadot			gpt2: timer@302e0000 {
47984943d6fSEmmanuel Vadot				compatible = "fsl,imx7d-gpt", "fsl,imx6dl-gpt";
480f126890aSEmmanuel Vadot				reg = <0x302e0000 0x10000>;
481f126890aSEmmanuel Vadot				interrupts = <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>;
482f126890aSEmmanuel Vadot				clocks = <&clks IMX7D_GPT2_ROOT_CLK>,
483f126890aSEmmanuel Vadot					 <&clks IMX7D_GPT2_ROOT_CLK>;
484f126890aSEmmanuel Vadot				clock-names = "ipg", "per";
485f126890aSEmmanuel Vadot				status = "disabled";
486f126890aSEmmanuel Vadot			};
487f126890aSEmmanuel Vadot
488f126890aSEmmanuel Vadot			gpt3: timer@302f0000 {
48984943d6fSEmmanuel Vadot				compatible = "fsl,imx7d-gpt", "fsl,imx6dl-gpt";
490f126890aSEmmanuel Vadot				reg = <0x302f0000 0x10000>;
491f126890aSEmmanuel Vadot				interrupts = <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>;
492f126890aSEmmanuel Vadot				clocks = <&clks IMX7D_GPT3_ROOT_CLK>,
493f126890aSEmmanuel Vadot					 <&clks IMX7D_GPT3_ROOT_CLK>;
494f126890aSEmmanuel Vadot				clock-names = "ipg", "per";
495f126890aSEmmanuel Vadot				status = "disabled";
496f126890aSEmmanuel Vadot			};
497f126890aSEmmanuel Vadot
498f126890aSEmmanuel Vadot			gpt4: timer@30300000 {
49984943d6fSEmmanuel Vadot				compatible = "fsl,imx7d-gpt", "fsl,imx6dl-gpt";
500f126890aSEmmanuel Vadot				reg = <0x30300000 0x10000>;
501f126890aSEmmanuel Vadot				interrupts = <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>;
502f126890aSEmmanuel Vadot				clocks = <&clks IMX7D_GPT4_ROOT_CLK>,
503f126890aSEmmanuel Vadot					 <&clks IMX7D_GPT4_ROOT_CLK>;
504f126890aSEmmanuel Vadot				clock-names = "ipg", "per";
505f126890aSEmmanuel Vadot				status = "disabled";
506f126890aSEmmanuel Vadot			};
507f126890aSEmmanuel Vadot
508f126890aSEmmanuel Vadot			kpp: keypad@30320000 {
509f126890aSEmmanuel Vadot				compatible = "fsl,imx7d-kpp", "fsl,imx21-kpp";
510f126890aSEmmanuel Vadot				reg = <0x30320000 0x10000>;
511f126890aSEmmanuel Vadot				interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>;
512f126890aSEmmanuel Vadot				clocks = <&clks IMX7D_KPP_ROOT_CLK>;
513f126890aSEmmanuel Vadot				status = "disabled";
514f126890aSEmmanuel Vadot			};
515f126890aSEmmanuel Vadot
516f126890aSEmmanuel Vadot			iomuxc: pinctrl@30330000 {
517f126890aSEmmanuel Vadot				compatible = "fsl,imx7d-iomuxc";
518f126890aSEmmanuel Vadot				reg = <0x30330000 0x10000>;
519f126890aSEmmanuel Vadot			};
520f126890aSEmmanuel Vadot
521f126890aSEmmanuel Vadot			gpr: iomuxc-gpr@30340000 {
522f126890aSEmmanuel Vadot				compatible = "fsl,imx7d-iomuxc-gpr",
523f126890aSEmmanuel Vadot					"fsl,imx6q-iomuxc-gpr", "syscon",
524f126890aSEmmanuel Vadot					"simple-mfd";
525f126890aSEmmanuel Vadot				reg = <0x30340000 0x10000>;
526f126890aSEmmanuel Vadot
527f126890aSEmmanuel Vadot				mux: mux-controller {
528f126890aSEmmanuel Vadot					compatible = "mmio-mux";
529f126890aSEmmanuel Vadot					#mux-control-cells = <1>;
530f126890aSEmmanuel Vadot					mux-reg-masks = <0x14 0x00000010>;
531f126890aSEmmanuel Vadot				};
532f126890aSEmmanuel Vadot
533f126890aSEmmanuel Vadot				video_mux: csi-mux {
534f126890aSEmmanuel Vadot					compatible = "video-mux";
535f126890aSEmmanuel Vadot					mux-controls = <&mux 0>;
536f126890aSEmmanuel Vadot					#address-cells = <1>;
537f126890aSEmmanuel Vadot					#size-cells = <0>;
538f126890aSEmmanuel Vadot					status = "disabled";
539f126890aSEmmanuel Vadot
540f126890aSEmmanuel Vadot					port@0 {
541f126890aSEmmanuel Vadot						reg = <0>;
542f126890aSEmmanuel Vadot					};
543f126890aSEmmanuel Vadot
544f126890aSEmmanuel Vadot					port@1 {
545f126890aSEmmanuel Vadot						reg = <1>;
546f126890aSEmmanuel Vadot
547f126890aSEmmanuel Vadot						csi_mux_from_mipi_vc0: endpoint {
548f126890aSEmmanuel Vadot							remote-endpoint = <&mipi_vc0_to_csi_mux>;
549f126890aSEmmanuel Vadot						};
550f126890aSEmmanuel Vadot					};
551f126890aSEmmanuel Vadot
552f126890aSEmmanuel Vadot					port@2 {
553f126890aSEmmanuel Vadot						reg = <2>;
554f126890aSEmmanuel Vadot
555f126890aSEmmanuel Vadot						csi_mux_to_csi: endpoint {
556f126890aSEmmanuel Vadot							remote-endpoint = <&csi_from_csi_mux>;
557f126890aSEmmanuel Vadot						};
558f126890aSEmmanuel Vadot					};
559f126890aSEmmanuel Vadot				};
560f126890aSEmmanuel Vadot			};
561f126890aSEmmanuel Vadot
562f126890aSEmmanuel Vadot			ocotp: efuse@30350000 {
563f126890aSEmmanuel Vadot				#address-cells = <1>;
564f126890aSEmmanuel Vadot				#size-cells = <1>;
565f126890aSEmmanuel Vadot				compatible = "fsl,imx7d-ocotp", "syscon";
566f126890aSEmmanuel Vadot				reg = <0x30350000 0x10000>;
567f126890aSEmmanuel Vadot				clocks = <&clks IMX7D_OCOTP_CLK>;
568f126890aSEmmanuel Vadot
569f126890aSEmmanuel Vadot				tempmon_calib: calib@3c {
570f126890aSEmmanuel Vadot					reg = <0x3c 0x4>;
571f126890aSEmmanuel Vadot				};
572f126890aSEmmanuel Vadot
573f126890aSEmmanuel Vadot				fuse_grade: fuse-grade@10 {
574f126890aSEmmanuel Vadot					reg = <0x10 0x4>;
575f126890aSEmmanuel Vadot				};
576f126890aSEmmanuel Vadot			};
577f126890aSEmmanuel Vadot
578f126890aSEmmanuel Vadot			anatop: anatop@30360000 {
579f126890aSEmmanuel Vadot				compatible = "fsl,imx7d-anatop", "fsl,imx6q-anatop",
580f126890aSEmmanuel Vadot					"syscon", "simple-mfd";
581f126890aSEmmanuel Vadot				reg = <0x30360000 0x10000>;
582f126890aSEmmanuel Vadot				interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>,
583f126890aSEmmanuel Vadot					<GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH>;
584f126890aSEmmanuel Vadot
585f126890aSEmmanuel Vadot				reg_1p0d: regulator-vdd1p0d {
586f126890aSEmmanuel Vadot					compatible = "fsl,anatop-regulator";
587f126890aSEmmanuel Vadot					regulator-name = "vdd1p0d";
588f126890aSEmmanuel Vadot					regulator-min-microvolt = <800000>;
589f126890aSEmmanuel Vadot					regulator-max-microvolt = <1200000>;
590f126890aSEmmanuel Vadot					anatop-reg-offset = <0x210>;
591f126890aSEmmanuel Vadot					anatop-vol-bit-shift = <8>;
592f126890aSEmmanuel Vadot					anatop-vol-bit-width = <5>;
593f126890aSEmmanuel Vadot					anatop-min-bit-val = <8>;
594f126890aSEmmanuel Vadot					anatop-min-voltage = <800000>;
595f126890aSEmmanuel Vadot					anatop-max-voltage = <1200000>;
596f126890aSEmmanuel Vadot					anatop-enable-bit = <0>;
597f126890aSEmmanuel Vadot				};
598f126890aSEmmanuel Vadot
599f126890aSEmmanuel Vadot				reg_1p2: regulator-vdd1p2 {
600f126890aSEmmanuel Vadot					compatible = "fsl,anatop-regulator";
601f126890aSEmmanuel Vadot					regulator-name = "vdd1p2";
602f126890aSEmmanuel Vadot					regulator-min-microvolt = <1100000>;
603f126890aSEmmanuel Vadot					regulator-max-microvolt = <1300000>;
604f126890aSEmmanuel Vadot					anatop-reg-offset = <0x220>;
605f126890aSEmmanuel Vadot					anatop-vol-bit-shift = <8>;
606f126890aSEmmanuel Vadot					anatop-vol-bit-width = <5>;
607f126890aSEmmanuel Vadot					anatop-min-bit-val = <0x14>;
608f126890aSEmmanuel Vadot					anatop-min-voltage = <1100000>;
609f126890aSEmmanuel Vadot					anatop-max-voltage = <1300000>;
610f126890aSEmmanuel Vadot					anatop-enable-bit = <0>;
611f126890aSEmmanuel Vadot				};
612f126890aSEmmanuel Vadot
613f126890aSEmmanuel Vadot				tempmon: tempmon {
614f126890aSEmmanuel Vadot					compatible = "fsl,imx7d-tempmon";
615f126890aSEmmanuel Vadot					interrupt-parent = <&gpc>;
616f126890aSEmmanuel Vadot					interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>;
617f126890aSEmmanuel Vadot					fsl,tempmon = <&anatop>;
618f126890aSEmmanuel Vadot					nvmem-cells = <&tempmon_calib>,	<&fuse_grade>;
619f126890aSEmmanuel Vadot					nvmem-cell-names = "calib", "temp_grade";
620f126890aSEmmanuel Vadot					clocks = <&clks IMX7D_PLL_SYS_MAIN_CLK>;
6218d13bc63SEmmanuel Vadot					#thermal-sensor-cells = <0>;
622f126890aSEmmanuel Vadot				};
623f126890aSEmmanuel Vadot			};
624f126890aSEmmanuel Vadot
625f126890aSEmmanuel Vadot			snvs: snvs@30370000 {
626f126890aSEmmanuel Vadot				compatible = "fsl,sec-v4.0-mon", "syscon", "simple-mfd";
627f126890aSEmmanuel Vadot				reg = <0x30370000 0x10000>;
628f126890aSEmmanuel Vadot
629f126890aSEmmanuel Vadot				snvs_rtc: snvs-rtc-lp {
630f126890aSEmmanuel Vadot					compatible = "fsl,sec-v4.0-mon-rtc-lp";
631f126890aSEmmanuel Vadot					regmap = <&snvs>;
632f126890aSEmmanuel Vadot					offset = <0x34>;
633f126890aSEmmanuel Vadot					interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>,
634f126890aSEmmanuel Vadot						     <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
635f126890aSEmmanuel Vadot					clocks = <&clks IMX7D_SNVS_CLK>;
636f126890aSEmmanuel Vadot					clock-names = "snvs-rtc";
637f126890aSEmmanuel Vadot				};
638f126890aSEmmanuel Vadot
639*7d0873ebSEmmanuel Vadot				snvs_poweroff: snvs-poweroff {
640*7d0873ebSEmmanuel Vadot					compatible = "syscon-poweroff";
641*7d0873ebSEmmanuel Vadot					regmap = <&snvs>;
642*7d0873ebSEmmanuel Vadot					offset = <0x38>;
643*7d0873ebSEmmanuel Vadot					value = <0x60>;
644*7d0873ebSEmmanuel Vadot					mask = <0x60>;
645*7d0873ebSEmmanuel Vadot					status = "disabled";
646*7d0873ebSEmmanuel Vadot				};
647*7d0873ebSEmmanuel Vadot
648f126890aSEmmanuel Vadot				snvs_pwrkey: snvs-powerkey {
649f126890aSEmmanuel Vadot					compatible = "fsl,sec-v4.0-pwrkey";
650f126890aSEmmanuel Vadot					regmap = <&snvs>;
651f126890aSEmmanuel Vadot					interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
652f126890aSEmmanuel Vadot					clocks = <&clks IMX7D_SNVS_CLK>;
653f126890aSEmmanuel Vadot					clock-names = "snvs-pwrkey";
654f126890aSEmmanuel Vadot					linux,keycode = <KEY_POWER>;
655f126890aSEmmanuel Vadot					wakeup-source;
656f126890aSEmmanuel Vadot					status = "disabled";
657f126890aSEmmanuel Vadot				};
658f126890aSEmmanuel Vadot			};
659f126890aSEmmanuel Vadot
660f126890aSEmmanuel Vadot			clks: clock-controller@30380000 {
661f126890aSEmmanuel Vadot				compatible = "fsl,imx7d-ccm";
662f126890aSEmmanuel Vadot				reg = <0x30380000 0x10000>;
663f126890aSEmmanuel Vadot				interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>,
664f126890aSEmmanuel Vadot					     <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
665f126890aSEmmanuel Vadot				#clock-cells = <1>;
666f126890aSEmmanuel Vadot				clocks = <&ckil>, <&osc>;
667f126890aSEmmanuel Vadot				clock-names = "ckil", "osc";
668f126890aSEmmanuel Vadot			};
669f126890aSEmmanuel Vadot
670f126890aSEmmanuel Vadot			src: reset-controller@30390000 {
671f126890aSEmmanuel Vadot				compatible = "fsl,imx7d-src", "syscon";
672f126890aSEmmanuel Vadot				reg = <0x30390000 0x10000>;
673f126890aSEmmanuel Vadot				interrupts = <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>;
674f126890aSEmmanuel Vadot				#reset-cells = <1>;
675f126890aSEmmanuel Vadot			};
676f126890aSEmmanuel Vadot
677f126890aSEmmanuel Vadot			gpc: gpc@303a0000 {
678f126890aSEmmanuel Vadot				compatible = "fsl,imx7d-gpc";
679f126890aSEmmanuel Vadot				reg = <0x303a0000 0x10000>;
680f126890aSEmmanuel Vadot				interrupt-controller;
681f126890aSEmmanuel Vadot				interrupts = <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>;
682f126890aSEmmanuel Vadot				#interrupt-cells = <3>;
683f126890aSEmmanuel Vadot				interrupt-parent = <&intc>;
684f126890aSEmmanuel Vadot
685f126890aSEmmanuel Vadot				pgc {
686f126890aSEmmanuel Vadot					#address-cells = <1>;
687f126890aSEmmanuel Vadot					#size-cells = <0>;
688f126890aSEmmanuel Vadot
689f126890aSEmmanuel Vadot					pgc_mipi_phy: power-domain@0 {
690f126890aSEmmanuel Vadot						#power-domain-cells = <0>;
691f126890aSEmmanuel Vadot						reg = <0>;
692f126890aSEmmanuel Vadot						power-supply = <&reg_1p0d>;
693f126890aSEmmanuel Vadot					};
694f126890aSEmmanuel Vadot
695f126890aSEmmanuel Vadot					pgc_pcie_phy: power-domain@1 {
696f126890aSEmmanuel Vadot						#power-domain-cells = <0>;
697f126890aSEmmanuel Vadot						reg = <1>;
698f126890aSEmmanuel Vadot						power-supply = <&reg_1p0d>;
699f126890aSEmmanuel Vadot					};
700f126890aSEmmanuel Vadot
701f126890aSEmmanuel Vadot					pgc_hsic_phy: power-domain@2 {
702f126890aSEmmanuel Vadot						#power-domain-cells = <0>;
703f126890aSEmmanuel Vadot						reg = <2>;
704f126890aSEmmanuel Vadot						power-supply = <&reg_1p2>;
705f126890aSEmmanuel Vadot					};
706f126890aSEmmanuel Vadot				};
707f126890aSEmmanuel Vadot			};
708f126890aSEmmanuel Vadot		};
709f126890aSEmmanuel Vadot
710f126890aSEmmanuel Vadot		aips2: bus@30400000 {
711f126890aSEmmanuel Vadot			compatible = "fsl,aips-bus", "simple-bus";
712f126890aSEmmanuel Vadot			#address-cells = <1>;
713f126890aSEmmanuel Vadot			#size-cells = <1>;
714f126890aSEmmanuel Vadot			reg = <0x30400000 0x400000>;
715f126890aSEmmanuel Vadot			ranges;
716f126890aSEmmanuel Vadot
717f126890aSEmmanuel Vadot			adc1: adc@30610000 {
718f126890aSEmmanuel Vadot				compatible = "fsl,imx7d-adc";
719f126890aSEmmanuel Vadot				reg = <0x30610000 0x10000>;
720f126890aSEmmanuel Vadot				interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>;
721f126890aSEmmanuel Vadot				clocks = <&clks IMX7D_ADC_ROOT_CLK>;
722f126890aSEmmanuel Vadot				clock-names = "adc";
723f126890aSEmmanuel Vadot				#io-channel-cells = <1>;
724f126890aSEmmanuel Vadot				status = "disabled";
725f126890aSEmmanuel Vadot			};
726f126890aSEmmanuel Vadot
727f126890aSEmmanuel Vadot			adc2: adc@30620000 {
728f126890aSEmmanuel Vadot				compatible = "fsl,imx7d-adc";
729f126890aSEmmanuel Vadot				reg = <0x30620000 0x10000>;
730f126890aSEmmanuel Vadot				interrupts = <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>;
731f126890aSEmmanuel Vadot				clocks = <&clks IMX7D_ADC_ROOT_CLK>;
732f126890aSEmmanuel Vadot				clock-names = "adc";
733f126890aSEmmanuel Vadot				#io-channel-cells = <1>;
734f126890aSEmmanuel Vadot				status = "disabled";
735f126890aSEmmanuel Vadot			};
736f126890aSEmmanuel Vadot
737f126890aSEmmanuel Vadot			ecspi4: spi@30630000 {
738f126890aSEmmanuel Vadot				#address-cells = <1>;
739f126890aSEmmanuel Vadot				#size-cells = <0>;
740f126890aSEmmanuel Vadot				compatible = "fsl,imx7d-ecspi", "fsl,imx51-ecspi";
741f126890aSEmmanuel Vadot				reg = <0x30630000 0x10000>;
742f126890aSEmmanuel Vadot				interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>;
743f126890aSEmmanuel Vadot				clocks = <&clks IMX7D_ECSPI4_ROOT_CLK>,
744f126890aSEmmanuel Vadot					<&clks IMX7D_ECSPI4_ROOT_CLK>;
745f126890aSEmmanuel Vadot				clock-names = "ipg", "per";
7468d13bc63SEmmanuel Vadot				dma-names = "rx", "tx";
7478d13bc63SEmmanuel Vadot				dmas = <&sdma 6 7 1>, <&sdma 7 7 2>;
748f126890aSEmmanuel Vadot				status = "disabled";
749f126890aSEmmanuel Vadot			};
750f126890aSEmmanuel Vadot
751f126890aSEmmanuel Vadot			ftm1: pwm@30640000 {
752f126890aSEmmanuel Vadot				compatible = "fsl,vf610-ftm-pwm";
753f126890aSEmmanuel Vadot				reg = <0x30640000 0x10000>;
754f126890aSEmmanuel Vadot				#pwm-cells = <3>;
755f126890aSEmmanuel Vadot				interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>;
756f126890aSEmmanuel Vadot				clock-names = "ftm_sys", "ftm_ext",
757f126890aSEmmanuel Vadot				"ftm_fix", "ftm_cnt_clk_en";
758f126890aSEmmanuel Vadot				clocks = <&clks IMX7D_FLEXTIMER1_ROOT_CLK>,
759f126890aSEmmanuel Vadot					<&clks IMX7D_FLEXTIMER1_ROOT_CLK>,
760f126890aSEmmanuel Vadot					<&clks IMX7D_FLEXTIMER1_ROOT_CLK>,
761f126890aSEmmanuel Vadot					<&clks IMX7D_FLEXTIMER1_ROOT_CLK>;
762f126890aSEmmanuel Vadot				status = "disabled";
763f126890aSEmmanuel Vadot			};
764f126890aSEmmanuel Vadot
765f126890aSEmmanuel Vadot			ftm2: pwm@30650000 {
766f126890aSEmmanuel Vadot				compatible = "fsl,vf610-ftm-pwm";
767f126890aSEmmanuel Vadot				reg = <0x30650000 0x10000>;
768f126890aSEmmanuel Vadot				#pwm-cells = <3>;
769f126890aSEmmanuel Vadot				interrupts = <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>;
770f126890aSEmmanuel Vadot				clock-names = "ftm_sys", "ftm_ext",
771f126890aSEmmanuel Vadot				"ftm_fix", "ftm_cnt_clk_en";
772f126890aSEmmanuel Vadot				clocks = <&clks IMX7D_FLEXTIMER2_ROOT_CLK>,
773f126890aSEmmanuel Vadot					<&clks IMX7D_FLEXTIMER2_ROOT_CLK>,
774f126890aSEmmanuel Vadot					<&clks IMX7D_FLEXTIMER2_ROOT_CLK>,
775f126890aSEmmanuel Vadot					<&clks IMX7D_FLEXTIMER2_ROOT_CLK>;
776f126890aSEmmanuel Vadot				status = "disabled";
777f126890aSEmmanuel Vadot			};
778f126890aSEmmanuel Vadot
779f126890aSEmmanuel Vadot			pwm1: pwm@30660000 {
780f126890aSEmmanuel Vadot				compatible = "fsl,imx7d-pwm", "fsl,imx27-pwm";
781f126890aSEmmanuel Vadot				reg = <0x30660000 0x10000>;
782f126890aSEmmanuel Vadot				interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>;
783f126890aSEmmanuel Vadot				clocks = <&clks IMX7D_PWM1_ROOT_CLK>,
784f126890aSEmmanuel Vadot					 <&clks IMX7D_PWM1_ROOT_CLK>;
785f126890aSEmmanuel Vadot				clock-names = "ipg", "per";
786f126890aSEmmanuel Vadot				#pwm-cells = <3>;
787f126890aSEmmanuel Vadot				status = "disabled";
788f126890aSEmmanuel Vadot			};
789f126890aSEmmanuel Vadot
790f126890aSEmmanuel Vadot			pwm2: pwm@30670000 {
791f126890aSEmmanuel Vadot				compatible = "fsl,imx7d-pwm", "fsl,imx27-pwm";
792f126890aSEmmanuel Vadot				reg = <0x30670000 0x10000>;
793f126890aSEmmanuel Vadot				interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>;
794f126890aSEmmanuel Vadot				clocks = <&clks IMX7D_PWM2_ROOT_CLK>,
795f126890aSEmmanuel Vadot					 <&clks IMX7D_PWM2_ROOT_CLK>;
796f126890aSEmmanuel Vadot				clock-names = "ipg", "per";
797f126890aSEmmanuel Vadot				#pwm-cells = <3>;
798f126890aSEmmanuel Vadot				status = "disabled";
799f126890aSEmmanuel Vadot			};
800f126890aSEmmanuel Vadot
801f126890aSEmmanuel Vadot			pwm3: pwm@30680000 {
802f126890aSEmmanuel Vadot				compatible = "fsl,imx7d-pwm", "fsl,imx27-pwm";
803f126890aSEmmanuel Vadot				reg = <0x30680000 0x10000>;
804f126890aSEmmanuel Vadot				interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
805f126890aSEmmanuel Vadot				clocks = <&clks IMX7D_PWM3_ROOT_CLK>,
806f126890aSEmmanuel Vadot					 <&clks IMX7D_PWM3_ROOT_CLK>;
807f126890aSEmmanuel Vadot				clock-names = "ipg", "per";
808f126890aSEmmanuel Vadot				#pwm-cells = <3>;
809f126890aSEmmanuel Vadot				status = "disabled";
810f126890aSEmmanuel Vadot			};
811f126890aSEmmanuel Vadot
812f126890aSEmmanuel Vadot			pwm4: pwm@30690000 {
813f126890aSEmmanuel Vadot				compatible = "fsl,imx7d-pwm", "fsl,imx27-pwm";
814f126890aSEmmanuel Vadot				reg = <0x30690000 0x10000>;
815f126890aSEmmanuel Vadot				interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>;
816f126890aSEmmanuel Vadot				clocks = <&clks IMX7D_PWM4_ROOT_CLK>,
817f126890aSEmmanuel Vadot					 <&clks IMX7D_PWM4_ROOT_CLK>;
818f126890aSEmmanuel Vadot				clock-names = "ipg", "per";
819f126890aSEmmanuel Vadot				#pwm-cells = <3>;
820f126890aSEmmanuel Vadot				status = "disabled";
821f126890aSEmmanuel Vadot			};
822f126890aSEmmanuel Vadot
823f126890aSEmmanuel Vadot			csi: csi@30710000 {
824f126890aSEmmanuel Vadot				compatible = "fsl,imx7-csi";
825f126890aSEmmanuel Vadot				reg = <0x30710000 0x10000>;
826f126890aSEmmanuel Vadot				interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
82784943d6fSEmmanuel Vadot				clocks = <&clks IMX7D_CSI_MCLK_ROOT_CLK>;
82884943d6fSEmmanuel Vadot				clock-names = "mclk";
829f126890aSEmmanuel Vadot				status = "disabled";
830f126890aSEmmanuel Vadot
831f126890aSEmmanuel Vadot				port {
832f126890aSEmmanuel Vadot					csi_from_csi_mux: endpoint {
833f126890aSEmmanuel Vadot						remote-endpoint = <&csi_mux_to_csi>;
834f126890aSEmmanuel Vadot					};
835f126890aSEmmanuel Vadot				};
836f126890aSEmmanuel Vadot			};
837f126890aSEmmanuel Vadot
838f126890aSEmmanuel Vadot			lcdif: lcdif@30730000 {
8398d13bc63SEmmanuel Vadot				compatible = "fsl,imx7d-lcdif", "fsl,imx6sx-lcdif";
840f126890aSEmmanuel Vadot				reg = <0x30730000 0x10000>;
841f126890aSEmmanuel Vadot				interrupts = <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
842f126890aSEmmanuel Vadot				clocks = <&clks IMX7D_LCDIF_PIXEL_ROOT_CLK>,
843f126890aSEmmanuel Vadot					<&clks IMX7D_LCDIF_PIXEL_ROOT_CLK>;
844f126890aSEmmanuel Vadot				clock-names = "pix", "axi";
845f126890aSEmmanuel Vadot				status = "disabled";
846f126890aSEmmanuel Vadot			};
847f126890aSEmmanuel Vadot
848f126890aSEmmanuel Vadot			mipi_csi: mipi-csi@30750000 {
849f126890aSEmmanuel Vadot				compatible = "fsl,imx7-mipi-csi2";
850f126890aSEmmanuel Vadot				reg = <0x30750000 0x10000>;
851f126890aSEmmanuel Vadot				interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>;
852f126890aSEmmanuel Vadot				clocks = <&clks IMX7D_IPG_ROOT_CLK>,
853f126890aSEmmanuel Vadot					 <&clks IMX7D_MIPI_CSI_ROOT_CLK>,
854f126890aSEmmanuel Vadot					 <&clks IMX7D_MIPI_DPHY_ROOT_CLK>;
855f126890aSEmmanuel Vadot				clock-names = "pclk", "wrap", "phy";
856f126890aSEmmanuel Vadot				power-domains = <&pgc_mipi_phy>;
857f126890aSEmmanuel Vadot				phy-supply = <&reg_1p0d>;
858f126890aSEmmanuel Vadot				resets = <&src IMX7_RESET_MIPI_PHY_MRST>;
859f126890aSEmmanuel Vadot				status = "disabled";
860f126890aSEmmanuel Vadot
861f126890aSEmmanuel Vadot				ports {
862f126890aSEmmanuel Vadot					#address-cells = <1>;
863f126890aSEmmanuel Vadot					#size-cells = <0>;
864f126890aSEmmanuel Vadot
865f126890aSEmmanuel Vadot					port@0 {
866f126890aSEmmanuel Vadot						reg = <0>;
867f126890aSEmmanuel Vadot					};
868f126890aSEmmanuel Vadot
869f126890aSEmmanuel Vadot					port@1 {
870f126890aSEmmanuel Vadot						reg = <1>;
871f126890aSEmmanuel Vadot
872f126890aSEmmanuel Vadot						mipi_vc0_to_csi_mux: endpoint {
873f126890aSEmmanuel Vadot							remote-endpoint = <&csi_mux_from_mipi_vc0>;
874f126890aSEmmanuel Vadot						};
875f126890aSEmmanuel Vadot					};
876f126890aSEmmanuel Vadot				};
877f126890aSEmmanuel Vadot			};
8788d13bc63SEmmanuel Vadot
8798d13bc63SEmmanuel Vadot			mipi_dsi: dsi@30760000 {
8808d13bc63SEmmanuel Vadot				compatible = "fsl,imx7d-mipi-dsim", "fsl,imx8mm-mipi-dsim";
8818d13bc63SEmmanuel Vadot				#address-cells = <1>;
8828d13bc63SEmmanuel Vadot				#size-cells = <0>;
8838d13bc63SEmmanuel Vadot				reg = <0x30760000 0x400>;
8848d13bc63SEmmanuel Vadot				clocks = <&clks IMX7D_MIPI_DSI_ROOT_CLK>,
8858d13bc63SEmmanuel Vadot					 <&clks IMX7D_MIPI_DPHY_ROOT_CLK>;
8868d13bc63SEmmanuel Vadot				clock-names = "bus_clk", "sclk_mipi";
8878d13bc63SEmmanuel Vadot				assigned-clocks = <&clks IMX7D_MIPI_DSI_ROOT_SRC>,
8888d13bc63SEmmanuel Vadot						  <&clks IMX7D_PLL_SYS_PFD5_CLK>;
8898d13bc63SEmmanuel Vadot				assigned-clock-parents = <&clks IMX7D_PLL_SYS_PFD5_CLK>;
8908d13bc63SEmmanuel Vadot				assigned-clock-rates = <0>, <333000000>;
8918d13bc63SEmmanuel Vadot				power-domains = <&pgc_mipi_phy>;
8928d13bc63SEmmanuel Vadot				interrupts = <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>;
8938d13bc63SEmmanuel Vadot				samsung,burst-clock-frequency = <891000000>;
8948d13bc63SEmmanuel Vadot				samsung,esc-clock-frequency = <20000000>;
8958d13bc63SEmmanuel Vadot				samsung,pll-clock-frequency = <24000000>;
8968d13bc63SEmmanuel Vadot				status = "disabled";
8978d13bc63SEmmanuel Vadot			};
898f126890aSEmmanuel Vadot		};
899f126890aSEmmanuel Vadot
900f126890aSEmmanuel Vadot		aips3: bus@30800000 {
901f126890aSEmmanuel Vadot			compatible = "fsl,aips-bus", "simple-bus";
902f126890aSEmmanuel Vadot			#address-cells = <1>;
903f126890aSEmmanuel Vadot			#size-cells = <1>;
904f126890aSEmmanuel Vadot			reg = <0x30800000 0x400000>;
905f126890aSEmmanuel Vadot			ranges;
906f126890aSEmmanuel Vadot
907f126890aSEmmanuel Vadot			spba-bus@30800000 {
908f126890aSEmmanuel Vadot				compatible = "fsl,spba-bus", "simple-bus";
909f126890aSEmmanuel Vadot				#address-cells = <1>;
910f126890aSEmmanuel Vadot				#size-cells = <1>;
911f126890aSEmmanuel Vadot				reg = <0x30800000 0x100000>;
912f126890aSEmmanuel Vadot				ranges;
913f126890aSEmmanuel Vadot
914f126890aSEmmanuel Vadot				ecspi1: spi@30820000 {
915f126890aSEmmanuel Vadot					#address-cells = <1>;
916f126890aSEmmanuel Vadot					#size-cells = <0>;
917f126890aSEmmanuel Vadot					compatible = "fsl,imx7d-ecspi", "fsl,imx51-ecspi";
918f126890aSEmmanuel Vadot					reg = <0x30820000 0x10000>;
919f126890aSEmmanuel Vadot					interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>;
920f126890aSEmmanuel Vadot					clocks = <&clks IMX7D_ECSPI1_ROOT_CLK>,
921f126890aSEmmanuel Vadot						<&clks IMX7D_ECSPI1_ROOT_CLK>;
922f126890aSEmmanuel Vadot					clock-names = "ipg", "per";
9238d13bc63SEmmanuel Vadot					dma-names = "rx", "tx";
9248d13bc63SEmmanuel Vadot					dmas = <&sdma 0 7 1>, <&sdma 1 7 2>;
925f126890aSEmmanuel Vadot					status = "disabled";
926f126890aSEmmanuel Vadot				};
927f126890aSEmmanuel Vadot
928f126890aSEmmanuel Vadot				ecspi2: spi@30830000 {
929f126890aSEmmanuel Vadot					#address-cells = <1>;
930f126890aSEmmanuel Vadot					#size-cells = <0>;
931f126890aSEmmanuel Vadot					compatible = "fsl,imx7d-ecspi", "fsl,imx51-ecspi";
932f126890aSEmmanuel Vadot					reg = <0x30830000 0x10000>;
933f126890aSEmmanuel Vadot					interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
934f126890aSEmmanuel Vadot					clocks = <&clks IMX7D_ECSPI2_ROOT_CLK>,
935f126890aSEmmanuel Vadot						<&clks IMX7D_ECSPI2_ROOT_CLK>;
936f126890aSEmmanuel Vadot					clock-names = "ipg", "per";
9378d13bc63SEmmanuel Vadot					dma-names = "rx", "tx";
9388d13bc63SEmmanuel Vadot					dmas = <&sdma 2 7 1>, <&sdma 3 7 2>;
939f126890aSEmmanuel Vadot					status = "disabled";
940f126890aSEmmanuel Vadot				};
941f126890aSEmmanuel Vadot
942f126890aSEmmanuel Vadot				ecspi3: spi@30840000 {
943f126890aSEmmanuel Vadot					#address-cells = <1>;
944f126890aSEmmanuel Vadot					#size-cells = <0>;
945f126890aSEmmanuel Vadot					compatible = "fsl,imx7d-ecspi", "fsl,imx51-ecspi";
946f126890aSEmmanuel Vadot					reg = <0x30840000 0x10000>;
947f126890aSEmmanuel Vadot					interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>;
948f126890aSEmmanuel Vadot					clocks = <&clks IMX7D_ECSPI3_ROOT_CLK>,
949f126890aSEmmanuel Vadot						<&clks IMX7D_ECSPI3_ROOT_CLK>;
950f126890aSEmmanuel Vadot					clock-names = "ipg", "per";
9518d13bc63SEmmanuel Vadot					dma-names = "rx", "tx";
9528d13bc63SEmmanuel Vadot					dmas = <&sdma 4 7 1>, <&sdma 5 7 2>;
953f126890aSEmmanuel Vadot					status = "disabled";
954f126890aSEmmanuel Vadot				};
955f126890aSEmmanuel Vadot
956f126890aSEmmanuel Vadot				uart1: serial@30860000 {
957f126890aSEmmanuel Vadot					compatible = "fsl,imx7d-uart",
958f126890aSEmmanuel Vadot						     "fsl,imx6q-uart";
959f126890aSEmmanuel Vadot					reg = <0x30860000 0x10000>;
960f126890aSEmmanuel Vadot					interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
961f126890aSEmmanuel Vadot					clocks = <&clks IMX7D_UART1_ROOT_CLK>,
962f126890aSEmmanuel Vadot						<&clks IMX7D_UART1_ROOT_CLK>;
963f126890aSEmmanuel Vadot					clock-names = "ipg", "per";
964f126890aSEmmanuel Vadot					status = "disabled";
965f126890aSEmmanuel Vadot				};
966f126890aSEmmanuel Vadot
967f126890aSEmmanuel Vadot				uart2: serial@30890000 {
968f126890aSEmmanuel Vadot					compatible = "fsl,imx7d-uart",
969f126890aSEmmanuel Vadot						     "fsl,imx6q-uart";
970f126890aSEmmanuel Vadot					reg = <0x30890000 0x10000>;
971f126890aSEmmanuel Vadot					interrupts = <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH>;
972f126890aSEmmanuel Vadot					clocks = <&clks IMX7D_UART2_ROOT_CLK>,
973f126890aSEmmanuel Vadot						<&clks IMX7D_UART2_ROOT_CLK>;
974f126890aSEmmanuel Vadot					clock-names = "ipg", "per";
975f126890aSEmmanuel Vadot					status = "disabled";
976f126890aSEmmanuel Vadot				};
977f126890aSEmmanuel Vadot
978f126890aSEmmanuel Vadot				uart3: serial@30880000 {
979f126890aSEmmanuel Vadot					compatible = "fsl,imx7d-uart",
980f126890aSEmmanuel Vadot						     "fsl,imx6q-uart";
981f126890aSEmmanuel Vadot					reg = <0x30880000 0x10000>;
982f126890aSEmmanuel Vadot					interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>;
983f126890aSEmmanuel Vadot					clocks = <&clks IMX7D_UART3_ROOT_CLK>,
984f126890aSEmmanuel Vadot						<&clks IMX7D_UART3_ROOT_CLK>;
985f126890aSEmmanuel Vadot					clock-names = "ipg", "per";
986f126890aSEmmanuel Vadot					status = "disabled";
987f126890aSEmmanuel Vadot				};
988f126890aSEmmanuel Vadot
989f126890aSEmmanuel Vadot				sai1: sai@308a0000 {
990f126890aSEmmanuel Vadot					#sound-dai-cells = <0>;
991f126890aSEmmanuel Vadot					compatible = "fsl,imx7d-sai", "fsl,imx6sx-sai";
992f126890aSEmmanuel Vadot					reg = <0x308a0000 0x10000>;
993f126890aSEmmanuel Vadot					interrupts = <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>;
994f126890aSEmmanuel Vadot					clocks = <&clks IMX7D_SAI1_IPG_CLK>,
995f126890aSEmmanuel Vadot						 <&clks IMX7D_SAI1_ROOT_CLK>,
996f126890aSEmmanuel Vadot						 <&clks IMX7D_CLK_DUMMY>,
997f126890aSEmmanuel Vadot						 <&clks IMX7D_CLK_DUMMY>;
998f126890aSEmmanuel Vadot					clock-names = "bus", "mclk1", "mclk2", "mclk3";
999f126890aSEmmanuel Vadot					dma-names = "rx", "tx";
1000f126890aSEmmanuel Vadot					dmas = <&sdma 8 24 0>, <&sdma 9 24 0>;
1001f126890aSEmmanuel Vadot					status = "disabled";
1002f126890aSEmmanuel Vadot				};
1003f126890aSEmmanuel Vadot
1004f126890aSEmmanuel Vadot				sai2: sai@308b0000 {
1005f126890aSEmmanuel Vadot					#sound-dai-cells = <0>;
1006f126890aSEmmanuel Vadot					compatible = "fsl,imx7d-sai", "fsl,imx6sx-sai";
1007f126890aSEmmanuel Vadot					reg = <0x308b0000 0x10000>;
1008f126890aSEmmanuel Vadot					interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
1009f126890aSEmmanuel Vadot					clocks = <&clks IMX7D_SAI2_IPG_CLK>,
1010f126890aSEmmanuel Vadot						 <&clks IMX7D_SAI2_ROOT_CLK>,
1011f126890aSEmmanuel Vadot						 <&clks IMX7D_CLK_DUMMY>,
1012f126890aSEmmanuel Vadot						 <&clks IMX7D_CLK_DUMMY>;
1013f126890aSEmmanuel Vadot					clock-names = "bus", "mclk1", "mclk2", "mclk3";
1014f126890aSEmmanuel Vadot					dma-names = "rx", "tx";
1015f126890aSEmmanuel Vadot					dmas = <&sdma 10 24 0>, <&sdma 11 24 0>;
1016f126890aSEmmanuel Vadot					status = "disabled";
1017f126890aSEmmanuel Vadot				};
1018f126890aSEmmanuel Vadot
1019f126890aSEmmanuel Vadot				sai3: sai@308c0000 {
1020f126890aSEmmanuel Vadot					#sound-dai-cells = <0>;
1021f126890aSEmmanuel Vadot					compatible = "fsl,imx7d-sai", "fsl,imx6sx-sai";
1022f126890aSEmmanuel Vadot					reg = <0x308c0000 0x10000>;
1023f126890aSEmmanuel Vadot					interrupts = <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>;
1024f126890aSEmmanuel Vadot					clocks = <&clks IMX7D_SAI3_IPG_CLK>,
1025f126890aSEmmanuel Vadot						 <&clks IMX7D_SAI3_ROOT_CLK>,
1026f126890aSEmmanuel Vadot						 <&clks IMX7D_CLK_DUMMY>,
1027f126890aSEmmanuel Vadot						 <&clks IMX7D_CLK_DUMMY>;
1028f126890aSEmmanuel Vadot					clock-names = "bus", "mclk1", "mclk2", "mclk3";
1029f126890aSEmmanuel Vadot					dma-names = "rx", "tx";
1030f126890aSEmmanuel Vadot					dmas = <&sdma 12 24 0>, <&sdma 13 24 0>;
1031f126890aSEmmanuel Vadot					status = "disabled";
1032f126890aSEmmanuel Vadot				};
1033f126890aSEmmanuel Vadot			};
1034f126890aSEmmanuel Vadot
1035f126890aSEmmanuel Vadot			crypto: crypto@30900000 {
1036f126890aSEmmanuel Vadot				compatible = "fsl,sec-v4.0";
1037f126890aSEmmanuel Vadot				#address-cells = <1>;
1038f126890aSEmmanuel Vadot				#size-cells = <1>;
1039f126890aSEmmanuel Vadot				reg = <0x30900000 0x40000>;
1040f126890aSEmmanuel Vadot				ranges = <0 0x30900000 0x40000>;
1041f126890aSEmmanuel Vadot				interrupts = <GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH>;
1042f126890aSEmmanuel Vadot				clocks = <&clks IMX7D_CAAM_CLK>,
1043f126890aSEmmanuel Vadot					 <&clks IMX7D_AHB_CHANNEL_ROOT_CLK>;
1044f126890aSEmmanuel Vadot				clock-names = "ipg", "aclk";
1045f126890aSEmmanuel Vadot
1046f126890aSEmmanuel Vadot				sec_jr0: jr@1000 {
1047f126890aSEmmanuel Vadot					compatible = "fsl,sec-v4.0-job-ring";
1048f126890aSEmmanuel Vadot					reg = <0x1000 0x1000>;
1049f126890aSEmmanuel Vadot					interrupts = <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>;
1050f126890aSEmmanuel Vadot				};
1051f126890aSEmmanuel Vadot
1052f126890aSEmmanuel Vadot				sec_jr1: jr@2000 {
1053f126890aSEmmanuel Vadot					compatible = "fsl,sec-v4.0-job-ring";
1054f126890aSEmmanuel Vadot					reg = <0x2000 0x1000>;
1055f126890aSEmmanuel Vadot					interrupts = <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>;
1056f126890aSEmmanuel Vadot				};
1057f126890aSEmmanuel Vadot
1058f126890aSEmmanuel Vadot				sec_jr2: jr@3000 {
1059f126890aSEmmanuel Vadot					compatible = "fsl,sec-v4.0-job-ring";
1060f126890aSEmmanuel Vadot					reg = <0x3000 0x1000>;
1061f126890aSEmmanuel Vadot					interrupts = <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>;
1062f126890aSEmmanuel Vadot				};
1063f126890aSEmmanuel Vadot			};
1064f126890aSEmmanuel Vadot
1065f126890aSEmmanuel Vadot			flexcan1: can@30a00000 {
1066f126890aSEmmanuel Vadot				compatible = "fsl,imx7d-flexcan", "fsl,imx6q-flexcan";
1067f126890aSEmmanuel Vadot				reg = <0x30a00000 0x10000>;
1068f126890aSEmmanuel Vadot				interrupts = <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>;
1069f126890aSEmmanuel Vadot				clocks = <&clks IMX7D_CLK_DUMMY>,
1070f126890aSEmmanuel Vadot					<&clks IMX7D_CAN1_ROOT_CLK>;
1071f126890aSEmmanuel Vadot				clock-names = "ipg", "per";
1072f126890aSEmmanuel Vadot				fsl,stop-mode = <&gpr 0x10 1>;
1073f126890aSEmmanuel Vadot				status = "disabled";
1074f126890aSEmmanuel Vadot			};
1075f126890aSEmmanuel Vadot
1076f126890aSEmmanuel Vadot			flexcan2: can@30a10000 {
1077f126890aSEmmanuel Vadot				compatible = "fsl,imx7d-flexcan", "fsl,imx6q-flexcan";
1078f126890aSEmmanuel Vadot				reg = <0x30a10000 0x10000>;
1079f126890aSEmmanuel Vadot				interrupts = <GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>;
1080f126890aSEmmanuel Vadot				clocks = <&clks IMX7D_CLK_DUMMY>,
1081f126890aSEmmanuel Vadot					<&clks IMX7D_CAN2_ROOT_CLK>;
1082f126890aSEmmanuel Vadot				clock-names = "ipg", "per";
1083f126890aSEmmanuel Vadot				fsl,stop-mode = <&gpr 0x10 2>;
1084f126890aSEmmanuel Vadot				status = "disabled";
1085f126890aSEmmanuel Vadot			};
1086f126890aSEmmanuel Vadot
1087f126890aSEmmanuel Vadot			i2c1: i2c@30a20000 {
1088f126890aSEmmanuel Vadot				#address-cells = <1>;
1089f126890aSEmmanuel Vadot				#size-cells = <0>;
1090f126890aSEmmanuel Vadot				compatible = "fsl,imx7d-i2c", "fsl,imx21-i2c";
1091f126890aSEmmanuel Vadot				reg = <0x30a20000 0x10000>;
1092f126890aSEmmanuel Vadot				interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>;
1093f126890aSEmmanuel Vadot				clocks = <&clks IMX7D_I2C1_ROOT_CLK>;
1094f126890aSEmmanuel Vadot				status = "disabled";
1095f126890aSEmmanuel Vadot			};
1096f126890aSEmmanuel Vadot
1097f126890aSEmmanuel Vadot			i2c2: i2c@30a30000 {
1098f126890aSEmmanuel Vadot				#address-cells = <1>;
1099f126890aSEmmanuel Vadot				#size-cells = <0>;
1100f126890aSEmmanuel Vadot				compatible = "fsl,imx7d-i2c", "fsl,imx21-i2c";
1101f126890aSEmmanuel Vadot				reg = <0x30a30000 0x10000>;
1102f126890aSEmmanuel Vadot				interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
1103f126890aSEmmanuel Vadot				clocks = <&clks IMX7D_I2C2_ROOT_CLK>;
1104f126890aSEmmanuel Vadot				status = "disabled";
1105f126890aSEmmanuel Vadot			};
1106f126890aSEmmanuel Vadot
1107f126890aSEmmanuel Vadot			i2c3: i2c@30a40000 {
1108f126890aSEmmanuel Vadot				#address-cells = <1>;
1109f126890aSEmmanuel Vadot				#size-cells = <0>;
1110f126890aSEmmanuel Vadot				compatible = "fsl,imx7d-i2c", "fsl,imx21-i2c";
1111f126890aSEmmanuel Vadot				reg = <0x30a40000 0x10000>;
1112f126890aSEmmanuel Vadot				interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
1113f126890aSEmmanuel Vadot				clocks = <&clks IMX7D_I2C3_ROOT_CLK>;
1114f126890aSEmmanuel Vadot				status = "disabled";
1115f126890aSEmmanuel Vadot			};
1116f126890aSEmmanuel Vadot
1117f126890aSEmmanuel Vadot			i2c4: i2c@30a50000 {
1118f126890aSEmmanuel Vadot				#address-cells = <1>;
1119f126890aSEmmanuel Vadot				#size-cells = <0>;
1120f126890aSEmmanuel Vadot				compatible = "fsl,imx7d-i2c", "fsl,imx21-i2c";
1121f126890aSEmmanuel Vadot				reg = <0x30a50000 0x10000>;
1122f126890aSEmmanuel Vadot				interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>;
1123f126890aSEmmanuel Vadot				clocks = <&clks IMX7D_I2C4_ROOT_CLK>;
1124f126890aSEmmanuel Vadot				status = "disabled";
1125f126890aSEmmanuel Vadot			};
1126f126890aSEmmanuel Vadot
1127f126890aSEmmanuel Vadot			uart4: serial@30a60000 {
1128f126890aSEmmanuel Vadot				compatible = "fsl,imx7d-uart",
1129f126890aSEmmanuel Vadot					     "fsl,imx6q-uart";
1130f126890aSEmmanuel Vadot				reg = <0x30a60000 0x10000>;
1131f126890aSEmmanuel Vadot				interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>;
1132f126890aSEmmanuel Vadot				clocks = <&clks IMX7D_UART4_ROOT_CLK>,
1133f126890aSEmmanuel Vadot					<&clks IMX7D_UART4_ROOT_CLK>;
1134f126890aSEmmanuel Vadot				clock-names = "ipg", "per";
1135f126890aSEmmanuel Vadot				status = "disabled";
1136f126890aSEmmanuel Vadot			};
1137f126890aSEmmanuel Vadot
1138f126890aSEmmanuel Vadot			uart5: serial@30a70000 {
1139f126890aSEmmanuel Vadot				compatible = "fsl,imx7d-uart",
1140f126890aSEmmanuel Vadot					     "fsl,imx6q-uart";
1141f126890aSEmmanuel Vadot				reg = <0x30a70000 0x10000>;
1142f126890aSEmmanuel Vadot				interrupts = <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>;
1143f126890aSEmmanuel Vadot				clocks = <&clks IMX7D_UART5_ROOT_CLK>,
1144f126890aSEmmanuel Vadot					<&clks IMX7D_UART5_ROOT_CLK>;
1145f126890aSEmmanuel Vadot				clock-names = "ipg", "per";
1146f126890aSEmmanuel Vadot				status = "disabled";
1147f126890aSEmmanuel Vadot			};
1148f126890aSEmmanuel Vadot
1149f126890aSEmmanuel Vadot			uart6: serial@30a80000 {
1150f126890aSEmmanuel Vadot				compatible = "fsl,imx7d-uart",
1151f126890aSEmmanuel Vadot					     "fsl,imx6q-uart";
1152f126890aSEmmanuel Vadot				reg = <0x30a80000 0x10000>;
1153f126890aSEmmanuel Vadot				interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
1154f126890aSEmmanuel Vadot				clocks = <&clks IMX7D_UART6_ROOT_CLK>,
1155f126890aSEmmanuel Vadot					<&clks IMX7D_UART6_ROOT_CLK>;
1156f126890aSEmmanuel Vadot				clock-names = "ipg", "per";
1157f126890aSEmmanuel Vadot				status = "disabled";
1158f126890aSEmmanuel Vadot			};
1159f126890aSEmmanuel Vadot
1160f126890aSEmmanuel Vadot			uart7: serial@30a90000 {
1161f126890aSEmmanuel Vadot				compatible = "fsl,imx7d-uart",
1162f126890aSEmmanuel Vadot					     "fsl,imx6q-uart";
1163f126890aSEmmanuel Vadot				reg = <0x30a90000 0x10000>;
1164f126890aSEmmanuel Vadot				interrupts = <GIC_SPI 126 IRQ_TYPE_LEVEL_HIGH>;
1165f126890aSEmmanuel Vadot				clocks = <&clks IMX7D_UART7_ROOT_CLK>,
1166f126890aSEmmanuel Vadot					<&clks IMX7D_UART7_ROOT_CLK>;
1167f126890aSEmmanuel Vadot				clock-names = "ipg", "per";
1168f126890aSEmmanuel Vadot				status = "disabled";
1169f126890aSEmmanuel Vadot			};
1170f126890aSEmmanuel Vadot
1171f126890aSEmmanuel Vadot			mu0a: mailbox@30aa0000 {
1172f126890aSEmmanuel Vadot				compatible = "fsl,imx7s-mu", "fsl,imx6sx-mu";
1173f126890aSEmmanuel Vadot				reg = <0x30aa0000 0x10000>;
1174f126890aSEmmanuel Vadot				interrupts = <GIC_SPI 88 IRQ_TYPE_LEVEL_HIGH>;
1175f126890aSEmmanuel Vadot				clocks = <&clks IMX7D_MU_ROOT_CLK>;
1176f126890aSEmmanuel Vadot				#mbox-cells = <2>;
1177f126890aSEmmanuel Vadot				status = "disabled";
1178f126890aSEmmanuel Vadot			};
1179f126890aSEmmanuel Vadot
1180f126890aSEmmanuel Vadot			mu0b: mailbox@30ab0000 {
1181f126890aSEmmanuel Vadot				compatible = "fsl,imx7s-mu", "fsl,imx6sx-mu";
1182f126890aSEmmanuel Vadot				reg = <0x30ab0000 0x10000>;
1183f126890aSEmmanuel Vadot				interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>;
1184f126890aSEmmanuel Vadot				clocks = <&clks IMX7D_MU_ROOT_CLK>;
1185f126890aSEmmanuel Vadot				#mbox-cells = <2>;
1186f126890aSEmmanuel Vadot				fsl,mu-side-b;
1187f126890aSEmmanuel Vadot				status = "disabled";
1188f126890aSEmmanuel Vadot			};
1189f126890aSEmmanuel Vadot
1190f126890aSEmmanuel Vadot			usbotg1: usb@30b10000 {
1191f126890aSEmmanuel Vadot				compatible = "fsl,imx7d-usb", "fsl,imx27-usb";
1192f126890aSEmmanuel Vadot				reg = <0x30b10000 0x200>;
1193f126890aSEmmanuel Vadot				interrupts = <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>;
1194f126890aSEmmanuel Vadot				clocks = <&clks IMX7D_USB_CTRL_CLK>;
1195f126890aSEmmanuel Vadot				fsl,usbphy = <&usbphynop1>;
1196f126890aSEmmanuel Vadot				fsl,usbmisc = <&usbmisc1 0>;
1197f126890aSEmmanuel Vadot				phy-clkgate-delay-us = <400>;
1198f126890aSEmmanuel Vadot				status = "disabled";
1199f126890aSEmmanuel Vadot			};
1200f126890aSEmmanuel Vadot
1201f126890aSEmmanuel Vadot			usbh: usb@30b30000 {
1202f126890aSEmmanuel Vadot				compatible = "fsl,imx7d-usb", "fsl,imx27-usb";
1203f126890aSEmmanuel Vadot				reg = <0x30b30000 0x200>;
1204f126890aSEmmanuel Vadot				interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>;
1205f126890aSEmmanuel Vadot				clocks = <&clks IMX7D_USB_CTRL_CLK>;
1206f126890aSEmmanuel Vadot				fsl,usbphy = <&usbphynop3>;
1207f126890aSEmmanuel Vadot				fsl,usbmisc = <&usbmisc3 0>;
1208f126890aSEmmanuel Vadot				phy_type = "hsic";
1209f126890aSEmmanuel Vadot				dr_mode = "host";
1210f126890aSEmmanuel Vadot				phy-clkgate-delay-us = <400>;
1211f126890aSEmmanuel Vadot				status = "disabled";
1212f126890aSEmmanuel Vadot			};
1213f126890aSEmmanuel Vadot
1214f126890aSEmmanuel Vadot			usbmisc1: usbmisc@30b10200 {
1215f126890aSEmmanuel Vadot				#index-cells = <1>;
1216f126890aSEmmanuel Vadot				compatible = "fsl,imx7d-usbmisc", "fsl,imx6q-usbmisc";
1217f126890aSEmmanuel Vadot				reg = <0x30b10200 0x200>;
1218f126890aSEmmanuel Vadot			};
1219f126890aSEmmanuel Vadot
1220f126890aSEmmanuel Vadot			usbmisc3: usbmisc@30b30200 {
1221f126890aSEmmanuel Vadot				#index-cells = <1>;
1222f126890aSEmmanuel Vadot				compatible = "fsl,imx7d-usbmisc", "fsl,imx6q-usbmisc";
1223f126890aSEmmanuel Vadot				reg = <0x30b30200 0x200>;
1224f126890aSEmmanuel Vadot			};
1225f126890aSEmmanuel Vadot
1226f126890aSEmmanuel Vadot			usdhc1: mmc@30b40000 {
1227f126890aSEmmanuel Vadot				compatible = "fsl,imx7d-usdhc", "fsl,imx6sl-usdhc";
1228f126890aSEmmanuel Vadot				reg = <0x30b40000 0x10000>;
1229f126890aSEmmanuel Vadot				interrupts = <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>;
1230f126890aSEmmanuel Vadot				clocks = <&clks IMX7D_IPG_ROOT_CLK>,
1231f126890aSEmmanuel Vadot					<&clks IMX7D_NAND_USDHC_BUS_ROOT_CLK>,
1232f126890aSEmmanuel Vadot					<&clks IMX7D_USDHC1_ROOT_CLK>;
1233f126890aSEmmanuel Vadot				clock-names = "ipg", "ahb", "per";
1234f126890aSEmmanuel Vadot				bus-width = <4>;
1235f126890aSEmmanuel Vadot				fsl,tuning-step = <2>;
1236f126890aSEmmanuel Vadot				fsl,tuning-start-tap = <20>;
1237f126890aSEmmanuel Vadot				status = "disabled";
1238f126890aSEmmanuel Vadot			};
1239f126890aSEmmanuel Vadot
1240f126890aSEmmanuel Vadot			usdhc2: mmc@30b50000 {
1241f126890aSEmmanuel Vadot				compatible = "fsl,imx7d-usdhc", "fsl,imx6sl-usdhc";
1242f126890aSEmmanuel Vadot				reg = <0x30b50000 0x10000>;
1243f126890aSEmmanuel Vadot				interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
1244f126890aSEmmanuel Vadot				clocks = <&clks IMX7D_IPG_ROOT_CLK>,
1245f126890aSEmmanuel Vadot					<&clks IMX7D_NAND_USDHC_BUS_ROOT_CLK>,
1246f126890aSEmmanuel Vadot					<&clks IMX7D_USDHC2_ROOT_CLK>;
1247f126890aSEmmanuel Vadot				clock-names = "ipg", "ahb", "per";
1248f126890aSEmmanuel Vadot				bus-width = <4>;
1249f126890aSEmmanuel Vadot				fsl,tuning-step = <2>;
1250f126890aSEmmanuel Vadot				fsl,tuning-start-tap = <20>;
1251f126890aSEmmanuel Vadot				status = "disabled";
1252f126890aSEmmanuel Vadot			};
1253f126890aSEmmanuel Vadot
1254f126890aSEmmanuel Vadot			usdhc3: mmc@30b60000 {
1255f126890aSEmmanuel Vadot				compatible = "fsl,imx7d-usdhc", "fsl,imx6sl-usdhc";
1256f126890aSEmmanuel Vadot				reg = <0x30b60000 0x10000>;
1257f126890aSEmmanuel Vadot				interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>;
1258f126890aSEmmanuel Vadot				clocks = <&clks IMX7D_IPG_ROOT_CLK>,
1259f126890aSEmmanuel Vadot					<&clks IMX7D_NAND_USDHC_BUS_ROOT_CLK>,
1260f126890aSEmmanuel Vadot					<&clks IMX7D_USDHC3_ROOT_CLK>;
1261f126890aSEmmanuel Vadot				clock-names = "ipg", "ahb", "per";
1262f126890aSEmmanuel Vadot				bus-width = <4>;
1263f126890aSEmmanuel Vadot				fsl,tuning-step = <2>;
1264f126890aSEmmanuel Vadot				fsl,tuning-start-tap = <20>;
1265f126890aSEmmanuel Vadot				status = "disabled";
1266f126890aSEmmanuel Vadot			};
1267f126890aSEmmanuel Vadot
1268f126890aSEmmanuel Vadot			qspi: spi@30bb0000 {
1269f126890aSEmmanuel Vadot				compatible = "fsl,imx7d-qspi";
1270f126890aSEmmanuel Vadot				reg = <0x30bb0000 0x10000>, <0x60000000 0x10000000>;
1271f126890aSEmmanuel Vadot				reg-names = "QuadSPI", "QuadSPI-memory";
1272f126890aSEmmanuel Vadot				#address-cells = <1>;
1273f126890aSEmmanuel Vadot				#size-cells = <0>;
1274f126890aSEmmanuel Vadot				interrupts = <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>;
1275f126890aSEmmanuel Vadot				clocks = <&clks IMX7D_QSPI_ROOT_CLK>,
1276f126890aSEmmanuel Vadot					<&clks IMX7D_QSPI_ROOT_CLK>;
1277f126890aSEmmanuel Vadot				clock-names = "qspi_en", "qspi";
1278f126890aSEmmanuel Vadot				status = "disabled";
1279f126890aSEmmanuel Vadot			};
1280f126890aSEmmanuel Vadot
1281f126890aSEmmanuel Vadot			sdma: dma-controller@30bd0000 {
1282f126890aSEmmanuel Vadot				compatible = "fsl,imx7d-sdma", "fsl,imx35-sdma";
1283f126890aSEmmanuel Vadot				reg = <0x30bd0000 0x10000>;
1284f126890aSEmmanuel Vadot				interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>;
1285f126890aSEmmanuel Vadot				clocks = <&clks IMX7D_IPG_ROOT_CLK>,
1286f126890aSEmmanuel Vadot					 <&clks IMX7D_SDMA_CORE_CLK>;
1287f126890aSEmmanuel Vadot				clock-names = "ipg", "ahb";
1288f126890aSEmmanuel Vadot				#dma-cells = <3>;
1289f126890aSEmmanuel Vadot				fsl,sdma-ram-script-name = "imx/sdma/sdma-imx7d.bin";
1290f126890aSEmmanuel Vadot			};
1291f126890aSEmmanuel Vadot
1292f126890aSEmmanuel Vadot			fec1: ethernet@30be0000 {
1293f126890aSEmmanuel Vadot				compatible = "fsl,imx7d-fec", "fsl,imx6sx-fec";
1294f126890aSEmmanuel Vadot				reg = <0x30be0000 0x10000>;
1295f126890aSEmmanuel Vadot				interrupt-names = "int0", "int1", "int2", "pps";
1296f126890aSEmmanuel Vadot				interrupts = <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>,
1297f126890aSEmmanuel Vadot					<GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>,
1298f126890aSEmmanuel Vadot					<GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH>,
1299f126890aSEmmanuel Vadot					<GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>;
1300f126890aSEmmanuel Vadot				clocks = <&clks IMX7D_ENET1_IPG_ROOT_CLK>,
1301f126890aSEmmanuel Vadot					<&clks IMX7D_ENET_AXI_ROOT_CLK>,
1302f126890aSEmmanuel Vadot					<&clks IMX7D_ENET1_TIME_ROOT_CLK>,
1303f126890aSEmmanuel Vadot					<&clks IMX7D_PLL_ENET_MAIN_125M_CLK>,
1304f126890aSEmmanuel Vadot					<&clks IMX7D_ENET_PHY_REF_ROOT_CLK>;
1305f126890aSEmmanuel Vadot				clock-names = "ipg", "ahb", "ptp",
1306f126890aSEmmanuel Vadot					"enet_clk_ref", "enet_out";
1307f126890aSEmmanuel Vadot				fsl,num-tx-queues = <3>;
1308f126890aSEmmanuel Vadot				fsl,num-rx-queues = <3>;
1309f126890aSEmmanuel Vadot				fsl,stop-mode = <&gpr 0x10 3>;
1310f126890aSEmmanuel Vadot				status = "disabled";
1311f126890aSEmmanuel Vadot			};
1312f126890aSEmmanuel Vadot		};
1313f126890aSEmmanuel Vadot
1314f126890aSEmmanuel Vadot		dma_apbh: dma-controller@33000000 {
1315f126890aSEmmanuel Vadot			compatible = "fsl,imx7d-dma-apbh", "fsl,imx28-dma-apbh";
1316f126890aSEmmanuel Vadot			reg = <0x33000000 0x2000>;
1317f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>,
1318f126890aSEmmanuel Vadot				     <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>,
1319f126890aSEmmanuel Vadot				     <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>,
1320f126890aSEmmanuel Vadot				     <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
1321f126890aSEmmanuel Vadot			#dma-cells = <1>;
1322f126890aSEmmanuel Vadot			dma-channels = <4>;
1323f126890aSEmmanuel Vadot			clocks = <&clks IMX7D_NAND_USDHC_BUS_RAWNAND_CLK>;
1324f126890aSEmmanuel Vadot		};
1325f126890aSEmmanuel Vadot
1326f126890aSEmmanuel Vadot		gpmi: nand-controller@33002000 {
1327f126890aSEmmanuel Vadot			compatible = "fsl,imx7d-gpmi-nand";
1328f126890aSEmmanuel Vadot			#address-cells = <1>;
13298d13bc63SEmmanuel Vadot			#size-cells = <0>;
1330f126890aSEmmanuel Vadot			reg = <0x33002000 0x2000>, <0x33004000 0x4000>;
1331f126890aSEmmanuel Vadot			reg-names = "gpmi-nand", "bch";
1332f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
1333f126890aSEmmanuel Vadot			interrupt-names = "bch";
1334f126890aSEmmanuel Vadot			clocks = <&clks IMX7D_NAND_RAWNAND_CLK>,
1335f126890aSEmmanuel Vadot				<&clks IMX7D_NAND_USDHC_BUS_RAWNAND_CLK>;
1336f126890aSEmmanuel Vadot			clock-names = "gpmi_io", "gpmi_bch_apb";
1337f126890aSEmmanuel Vadot			dmas = <&dma_apbh 0>;
1338f126890aSEmmanuel Vadot			dma-names = "rx-tx";
1339f126890aSEmmanuel Vadot			status = "disabled";
1340f126890aSEmmanuel Vadot			assigned-clocks = <&clks IMX7D_NAND_ROOT_SRC>;
1341f126890aSEmmanuel Vadot			assigned-clock-parents = <&clks IMX7D_PLL_ENET_MAIN_500M_CLK>;
1342f126890aSEmmanuel Vadot		};
1343f126890aSEmmanuel Vadot	};
1344f126890aSEmmanuel Vadot};
1345