xref: /freebsd-src/sys/contrib/device-tree/src/arm/nxp/imx/imx7s.dtsi (revision 8d13bc63c0e1d50bc9e47ac1f26329c999bfecf0)
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
186*8d13bc63SEmmanuel Vadot		ocram: sram@900000 {
187*8d13bc63SEmmanuel Vadot			compatible = "mmio-sram";
188*8d13bc63SEmmanuel Vadot			reg = <0x00900000 0x20000>;
189*8d13bc63SEmmanuel Vadot			ranges = <0 0x00900000 0x20000>;
190*8d13bc63SEmmanuel Vadot			#address-cells = <1>;
191*8d13bc63SEmmanuel Vadot			#size-cells = <1>;
192*8d13bc63SEmmanuel Vadot			clocks = <&clks IMX7D_OCRAM_CLK>;
193*8d13bc63SEmmanuel Vadot		};
194*8d13bc63SEmmanuel 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 {
202*8d13bc63SEmmanuel Vadot				#address-cells = <1>;
203*8d13bc63SEmmanuel Vadot				#size-cells = <0>;
204*8d13bc63SEmmanuel Vadot
205*8d13bc63SEmmanuel Vadot				port@0 {
206*8d13bc63SEmmanuel 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>;
621*8d13bc63SEmmanuel 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
639f126890aSEmmanuel Vadot				snvs_pwrkey: snvs-powerkey {
640f126890aSEmmanuel Vadot					compatible = "fsl,sec-v4.0-pwrkey";
641f126890aSEmmanuel Vadot					regmap = <&snvs>;
642f126890aSEmmanuel Vadot					interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
643f126890aSEmmanuel Vadot					clocks = <&clks IMX7D_SNVS_CLK>;
644f126890aSEmmanuel Vadot					clock-names = "snvs-pwrkey";
645f126890aSEmmanuel Vadot					linux,keycode = <KEY_POWER>;
646f126890aSEmmanuel Vadot					wakeup-source;
647f126890aSEmmanuel Vadot					status = "disabled";
648f126890aSEmmanuel Vadot				};
649f126890aSEmmanuel Vadot			};
650f126890aSEmmanuel Vadot
651f126890aSEmmanuel Vadot			clks: clock-controller@30380000 {
652f126890aSEmmanuel Vadot				compatible = "fsl,imx7d-ccm";
653f126890aSEmmanuel Vadot				reg = <0x30380000 0x10000>;
654f126890aSEmmanuel Vadot				interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>,
655f126890aSEmmanuel Vadot					     <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
656f126890aSEmmanuel Vadot				#clock-cells = <1>;
657f126890aSEmmanuel Vadot				clocks = <&ckil>, <&osc>;
658f126890aSEmmanuel Vadot				clock-names = "ckil", "osc";
659f126890aSEmmanuel Vadot			};
660f126890aSEmmanuel Vadot
661f126890aSEmmanuel Vadot			src: reset-controller@30390000 {
662f126890aSEmmanuel Vadot				compatible = "fsl,imx7d-src", "syscon";
663f126890aSEmmanuel Vadot				reg = <0x30390000 0x10000>;
664f126890aSEmmanuel Vadot				interrupts = <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>;
665f126890aSEmmanuel Vadot				#reset-cells = <1>;
666f126890aSEmmanuel Vadot			};
667f126890aSEmmanuel Vadot
668f126890aSEmmanuel Vadot			gpc: gpc@303a0000 {
669f126890aSEmmanuel Vadot				compatible = "fsl,imx7d-gpc";
670f126890aSEmmanuel Vadot				reg = <0x303a0000 0x10000>;
671f126890aSEmmanuel Vadot				interrupt-controller;
672f126890aSEmmanuel Vadot				interrupts = <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>;
673f126890aSEmmanuel Vadot				#interrupt-cells = <3>;
674f126890aSEmmanuel Vadot				interrupt-parent = <&intc>;
675f126890aSEmmanuel Vadot
676f126890aSEmmanuel Vadot				pgc {
677f126890aSEmmanuel Vadot					#address-cells = <1>;
678f126890aSEmmanuel Vadot					#size-cells = <0>;
679f126890aSEmmanuel Vadot
680f126890aSEmmanuel Vadot					pgc_mipi_phy: power-domain@0 {
681f126890aSEmmanuel Vadot						#power-domain-cells = <0>;
682f126890aSEmmanuel Vadot						reg = <0>;
683f126890aSEmmanuel Vadot						power-supply = <&reg_1p0d>;
684f126890aSEmmanuel Vadot					};
685f126890aSEmmanuel Vadot
686f126890aSEmmanuel Vadot					pgc_pcie_phy: power-domain@1 {
687f126890aSEmmanuel Vadot						#power-domain-cells = <0>;
688f126890aSEmmanuel Vadot						reg = <1>;
689f126890aSEmmanuel Vadot						power-supply = <&reg_1p0d>;
690f126890aSEmmanuel Vadot					};
691f126890aSEmmanuel Vadot
692f126890aSEmmanuel Vadot					pgc_hsic_phy: power-domain@2 {
693f126890aSEmmanuel Vadot						#power-domain-cells = <0>;
694f126890aSEmmanuel Vadot						reg = <2>;
695f126890aSEmmanuel Vadot						power-supply = <&reg_1p2>;
696f126890aSEmmanuel Vadot					};
697f126890aSEmmanuel Vadot				};
698f126890aSEmmanuel Vadot			};
699f126890aSEmmanuel Vadot		};
700f126890aSEmmanuel Vadot
701f126890aSEmmanuel Vadot		aips2: bus@30400000 {
702f126890aSEmmanuel Vadot			compatible = "fsl,aips-bus", "simple-bus";
703f126890aSEmmanuel Vadot			#address-cells = <1>;
704f126890aSEmmanuel Vadot			#size-cells = <1>;
705f126890aSEmmanuel Vadot			reg = <0x30400000 0x400000>;
706f126890aSEmmanuel Vadot			ranges;
707f126890aSEmmanuel Vadot
708f126890aSEmmanuel Vadot			adc1: adc@30610000 {
709f126890aSEmmanuel Vadot				compatible = "fsl,imx7d-adc";
710f126890aSEmmanuel Vadot				reg = <0x30610000 0x10000>;
711f126890aSEmmanuel Vadot				interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>;
712f126890aSEmmanuel Vadot				clocks = <&clks IMX7D_ADC_ROOT_CLK>;
713f126890aSEmmanuel Vadot				clock-names = "adc";
714f126890aSEmmanuel Vadot				#io-channel-cells = <1>;
715f126890aSEmmanuel Vadot				status = "disabled";
716f126890aSEmmanuel Vadot			};
717f126890aSEmmanuel Vadot
718f126890aSEmmanuel Vadot			adc2: adc@30620000 {
719f126890aSEmmanuel Vadot				compatible = "fsl,imx7d-adc";
720f126890aSEmmanuel Vadot				reg = <0x30620000 0x10000>;
721f126890aSEmmanuel Vadot				interrupts = <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>;
722f126890aSEmmanuel Vadot				clocks = <&clks IMX7D_ADC_ROOT_CLK>;
723f126890aSEmmanuel Vadot				clock-names = "adc";
724f126890aSEmmanuel Vadot				#io-channel-cells = <1>;
725f126890aSEmmanuel Vadot				status = "disabled";
726f126890aSEmmanuel Vadot			};
727f126890aSEmmanuel Vadot
728f126890aSEmmanuel Vadot			ecspi4: spi@30630000 {
729f126890aSEmmanuel Vadot				#address-cells = <1>;
730f126890aSEmmanuel Vadot				#size-cells = <0>;
731f126890aSEmmanuel Vadot				compatible = "fsl,imx7d-ecspi", "fsl,imx51-ecspi";
732f126890aSEmmanuel Vadot				reg = <0x30630000 0x10000>;
733f126890aSEmmanuel Vadot				interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>;
734f126890aSEmmanuel Vadot				clocks = <&clks IMX7D_ECSPI4_ROOT_CLK>,
735f126890aSEmmanuel Vadot					<&clks IMX7D_ECSPI4_ROOT_CLK>;
736f126890aSEmmanuel Vadot				clock-names = "ipg", "per";
737*8d13bc63SEmmanuel Vadot				dma-names = "rx", "tx";
738*8d13bc63SEmmanuel Vadot				dmas = <&sdma 6 7 1>, <&sdma 7 7 2>;
739f126890aSEmmanuel Vadot				status = "disabled";
740f126890aSEmmanuel Vadot			};
741f126890aSEmmanuel Vadot
742f126890aSEmmanuel Vadot			ftm1: pwm@30640000 {
743f126890aSEmmanuel Vadot				compatible = "fsl,vf610-ftm-pwm";
744f126890aSEmmanuel Vadot				reg = <0x30640000 0x10000>;
745f126890aSEmmanuel Vadot				#pwm-cells = <3>;
746f126890aSEmmanuel Vadot				interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>;
747f126890aSEmmanuel Vadot				clock-names = "ftm_sys", "ftm_ext",
748f126890aSEmmanuel Vadot				"ftm_fix", "ftm_cnt_clk_en";
749f126890aSEmmanuel Vadot				clocks = <&clks IMX7D_FLEXTIMER1_ROOT_CLK>,
750f126890aSEmmanuel Vadot					<&clks IMX7D_FLEXTIMER1_ROOT_CLK>,
751f126890aSEmmanuel Vadot					<&clks IMX7D_FLEXTIMER1_ROOT_CLK>,
752f126890aSEmmanuel Vadot					<&clks IMX7D_FLEXTIMER1_ROOT_CLK>;
753f126890aSEmmanuel Vadot				status = "disabled";
754f126890aSEmmanuel Vadot			};
755f126890aSEmmanuel Vadot
756f126890aSEmmanuel Vadot			ftm2: pwm@30650000 {
757f126890aSEmmanuel Vadot				compatible = "fsl,vf610-ftm-pwm";
758f126890aSEmmanuel Vadot				reg = <0x30650000 0x10000>;
759f126890aSEmmanuel Vadot				#pwm-cells = <3>;
760f126890aSEmmanuel Vadot				interrupts = <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>;
761f126890aSEmmanuel Vadot				clock-names = "ftm_sys", "ftm_ext",
762f126890aSEmmanuel Vadot				"ftm_fix", "ftm_cnt_clk_en";
763f126890aSEmmanuel Vadot				clocks = <&clks IMX7D_FLEXTIMER2_ROOT_CLK>,
764f126890aSEmmanuel Vadot					<&clks IMX7D_FLEXTIMER2_ROOT_CLK>,
765f126890aSEmmanuel Vadot					<&clks IMX7D_FLEXTIMER2_ROOT_CLK>,
766f126890aSEmmanuel Vadot					<&clks IMX7D_FLEXTIMER2_ROOT_CLK>;
767f126890aSEmmanuel Vadot				status = "disabled";
768f126890aSEmmanuel Vadot			};
769f126890aSEmmanuel Vadot
770f126890aSEmmanuel Vadot			pwm1: pwm@30660000 {
771f126890aSEmmanuel Vadot				compatible = "fsl,imx7d-pwm", "fsl,imx27-pwm";
772f126890aSEmmanuel Vadot				reg = <0x30660000 0x10000>;
773f126890aSEmmanuel Vadot				interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>;
774f126890aSEmmanuel Vadot				clocks = <&clks IMX7D_PWM1_ROOT_CLK>,
775f126890aSEmmanuel Vadot					 <&clks IMX7D_PWM1_ROOT_CLK>;
776f126890aSEmmanuel Vadot				clock-names = "ipg", "per";
777f126890aSEmmanuel Vadot				#pwm-cells = <3>;
778f126890aSEmmanuel Vadot				status = "disabled";
779f126890aSEmmanuel Vadot			};
780f126890aSEmmanuel Vadot
781f126890aSEmmanuel Vadot			pwm2: pwm@30670000 {
782f126890aSEmmanuel Vadot				compatible = "fsl,imx7d-pwm", "fsl,imx27-pwm";
783f126890aSEmmanuel Vadot				reg = <0x30670000 0x10000>;
784f126890aSEmmanuel Vadot				interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>;
785f126890aSEmmanuel Vadot				clocks = <&clks IMX7D_PWM2_ROOT_CLK>,
786f126890aSEmmanuel Vadot					 <&clks IMX7D_PWM2_ROOT_CLK>;
787f126890aSEmmanuel Vadot				clock-names = "ipg", "per";
788f126890aSEmmanuel Vadot				#pwm-cells = <3>;
789f126890aSEmmanuel Vadot				status = "disabled";
790f126890aSEmmanuel Vadot			};
791f126890aSEmmanuel Vadot
792f126890aSEmmanuel Vadot			pwm3: pwm@30680000 {
793f126890aSEmmanuel Vadot				compatible = "fsl,imx7d-pwm", "fsl,imx27-pwm";
794f126890aSEmmanuel Vadot				reg = <0x30680000 0x10000>;
795f126890aSEmmanuel Vadot				interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
796f126890aSEmmanuel Vadot				clocks = <&clks IMX7D_PWM3_ROOT_CLK>,
797f126890aSEmmanuel Vadot					 <&clks IMX7D_PWM3_ROOT_CLK>;
798f126890aSEmmanuel Vadot				clock-names = "ipg", "per";
799f126890aSEmmanuel Vadot				#pwm-cells = <3>;
800f126890aSEmmanuel Vadot				status = "disabled";
801f126890aSEmmanuel Vadot			};
802f126890aSEmmanuel Vadot
803f126890aSEmmanuel Vadot			pwm4: pwm@30690000 {
804f126890aSEmmanuel Vadot				compatible = "fsl,imx7d-pwm", "fsl,imx27-pwm";
805f126890aSEmmanuel Vadot				reg = <0x30690000 0x10000>;
806f126890aSEmmanuel Vadot				interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>;
807f126890aSEmmanuel Vadot				clocks = <&clks IMX7D_PWM4_ROOT_CLK>,
808f126890aSEmmanuel Vadot					 <&clks IMX7D_PWM4_ROOT_CLK>;
809f126890aSEmmanuel Vadot				clock-names = "ipg", "per";
810f126890aSEmmanuel Vadot				#pwm-cells = <3>;
811f126890aSEmmanuel Vadot				status = "disabled";
812f126890aSEmmanuel Vadot			};
813f126890aSEmmanuel Vadot
814f126890aSEmmanuel Vadot			csi: csi@30710000 {
815f126890aSEmmanuel Vadot				compatible = "fsl,imx7-csi";
816f126890aSEmmanuel Vadot				reg = <0x30710000 0x10000>;
817f126890aSEmmanuel Vadot				interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
81884943d6fSEmmanuel Vadot				clocks = <&clks IMX7D_CSI_MCLK_ROOT_CLK>;
81984943d6fSEmmanuel Vadot				clock-names = "mclk";
820f126890aSEmmanuel Vadot				status = "disabled";
821f126890aSEmmanuel Vadot
822f126890aSEmmanuel Vadot				port {
823f126890aSEmmanuel Vadot					csi_from_csi_mux: endpoint {
824f126890aSEmmanuel Vadot						remote-endpoint = <&csi_mux_to_csi>;
825f126890aSEmmanuel Vadot					};
826f126890aSEmmanuel Vadot				};
827f126890aSEmmanuel Vadot			};
828f126890aSEmmanuel Vadot
829f126890aSEmmanuel Vadot			lcdif: lcdif@30730000 {
830*8d13bc63SEmmanuel Vadot				compatible = "fsl,imx7d-lcdif", "fsl,imx6sx-lcdif";
831f126890aSEmmanuel Vadot				reg = <0x30730000 0x10000>;
832f126890aSEmmanuel Vadot				interrupts = <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
833f126890aSEmmanuel Vadot				clocks = <&clks IMX7D_LCDIF_PIXEL_ROOT_CLK>,
834f126890aSEmmanuel Vadot					<&clks IMX7D_LCDIF_PIXEL_ROOT_CLK>;
835f126890aSEmmanuel Vadot				clock-names = "pix", "axi";
836f126890aSEmmanuel Vadot				status = "disabled";
837f126890aSEmmanuel Vadot			};
838f126890aSEmmanuel Vadot
839f126890aSEmmanuel Vadot			mipi_csi: mipi-csi@30750000 {
840f126890aSEmmanuel Vadot				compatible = "fsl,imx7-mipi-csi2";
841f126890aSEmmanuel Vadot				reg = <0x30750000 0x10000>;
842f126890aSEmmanuel Vadot				interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>;
843f126890aSEmmanuel Vadot				clocks = <&clks IMX7D_IPG_ROOT_CLK>,
844f126890aSEmmanuel Vadot					 <&clks IMX7D_MIPI_CSI_ROOT_CLK>,
845f126890aSEmmanuel Vadot					 <&clks IMX7D_MIPI_DPHY_ROOT_CLK>;
846f126890aSEmmanuel Vadot				clock-names = "pclk", "wrap", "phy";
847f126890aSEmmanuel Vadot				power-domains = <&pgc_mipi_phy>;
848f126890aSEmmanuel Vadot				phy-supply = <&reg_1p0d>;
849f126890aSEmmanuel Vadot				resets = <&src IMX7_RESET_MIPI_PHY_MRST>;
850f126890aSEmmanuel Vadot				status = "disabled";
851f126890aSEmmanuel Vadot
852f126890aSEmmanuel Vadot				ports {
853f126890aSEmmanuel Vadot					#address-cells = <1>;
854f126890aSEmmanuel Vadot					#size-cells = <0>;
855f126890aSEmmanuel Vadot
856f126890aSEmmanuel Vadot					port@0 {
857f126890aSEmmanuel Vadot						reg = <0>;
858f126890aSEmmanuel Vadot					};
859f126890aSEmmanuel Vadot
860f126890aSEmmanuel Vadot					port@1 {
861f126890aSEmmanuel Vadot						reg = <1>;
862f126890aSEmmanuel Vadot
863f126890aSEmmanuel Vadot						mipi_vc0_to_csi_mux: endpoint {
864f126890aSEmmanuel Vadot							remote-endpoint = <&csi_mux_from_mipi_vc0>;
865f126890aSEmmanuel Vadot						};
866f126890aSEmmanuel Vadot					};
867f126890aSEmmanuel Vadot				};
868f126890aSEmmanuel Vadot			};
869*8d13bc63SEmmanuel Vadot
870*8d13bc63SEmmanuel Vadot			mipi_dsi: dsi@30760000 {
871*8d13bc63SEmmanuel Vadot				compatible = "fsl,imx7d-mipi-dsim", "fsl,imx8mm-mipi-dsim";
872*8d13bc63SEmmanuel Vadot				#address-cells = <1>;
873*8d13bc63SEmmanuel Vadot				#size-cells = <0>;
874*8d13bc63SEmmanuel Vadot				reg = <0x30760000 0x400>;
875*8d13bc63SEmmanuel Vadot				clocks = <&clks IMX7D_MIPI_DSI_ROOT_CLK>,
876*8d13bc63SEmmanuel Vadot					 <&clks IMX7D_MIPI_DPHY_ROOT_CLK>;
877*8d13bc63SEmmanuel Vadot				clock-names = "bus_clk", "sclk_mipi";
878*8d13bc63SEmmanuel Vadot				assigned-clocks = <&clks IMX7D_MIPI_DSI_ROOT_SRC>,
879*8d13bc63SEmmanuel Vadot						  <&clks IMX7D_PLL_SYS_PFD5_CLK>;
880*8d13bc63SEmmanuel Vadot				assigned-clock-parents = <&clks IMX7D_PLL_SYS_PFD5_CLK>;
881*8d13bc63SEmmanuel Vadot				assigned-clock-rates = <0>, <333000000>;
882*8d13bc63SEmmanuel Vadot				power-domains = <&pgc_mipi_phy>;
883*8d13bc63SEmmanuel Vadot				interrupts = <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>;
884*8d13bc63SEmmanuel Vadot				samsung,burst-clock-frequency = <891000000>;
885*8d13bc63SEmmanuel Vadot				samsung,esc-clock-frequency = <20000000>;
886*8d13bc63SEmmanuel Vadot				samsung,pll-clock-frequency = <24000000>;
887*8d13bc63SEmmanuel Vadot				status = "disabled";
888*8d13bc63SEmmanuel Vadot			};
889f126890aSEmmanuel Vadot		};
890f126890aSEmmanuel Vadot
891f126890aSEmmanuel Vadot		aips3: bus@30800000 {
892f126890aSEmmanuel Vadot			compatible = "fsl,aips-bus", "simple-bus";
893f126890aSEmmanuel Vadot			#address-cells = <1>;
894f126890aSEmmanuel Vadot			#size-cells = <1>;
895f126890aSEmmanuel Vadot			reg = <0x30800000 0x400000>;
896f126890aSEmmanuel Vadot			ranges;
897f126890aSEmmanuel Vadot
898f126890aSEmmanuel Vadot			spba-bus@30800000 {
899f126890aSEmmanuel Vadot				compatible = "fsl,spba-bus", "simple-bus";
900f126890aSEmmanuel Vadot				#address-cells = <1>;
901f126890aSEmmanuel Vadot				#size-cells = <1>;
902f126890aSEmmanuel Vadot				reg = <0x30800000 0x100000>;
903f126890aSEmmanuel Vadot				ranges;
904f126890aSEmmanuel Vadot
905f126890aSEmmanuel Vadot				ecspi1: spi@30820000 {
906f126890aSEmmanuel Vadot					#address-cells = <1>;
907f126890aSEmmanuel Vadot					#size-cells = <0>;
908f126890aSEmmanuel Vadot					compatible = "fsl,imx7d-ecspi", "fsl,imx51-ecspi";
909f126890aSEmmanuel Vadot					reg = <0x30820000 0x10000>;
910f126890aSEmmanuel Vadot					interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>;
911f126890aSEmmanuel Vadot					clocks = <&clks IMX7D_ECSPI1_ROOT_CLK>,
912f126890aSEmmanuel Vadot						<&clks IMX7D_ECSPI1_ROOT_CLK>;
913f126890aSEmmanuel Vadot					clock-names = "ipg", "per";
914*8d13bc63SEmmanuel Vadot					dma-names = "rx", "tx";
915*8d13bc63SEmmanuel Vadot					dmas = <&sdma 0 7 1>, <&sdma 1 7 2>;
916f126890aSEmmanuel Vadot					status = "disabled";
917f126890aSEmmanuel Vadot				};
918f126890aSEmmanuel Vadot
919f126890aSEmmanuel Vadot				ecspi2: spi@30830000 {
920f126890aSEmmanuel Vadot					#address-cells = <1>;
921f126890aSEmmanuel Vadot					#size-cells = <0>;
922f126890aSEmmanuel Vadot					compatible = "fsl,imx7d-ecspi", "fsl,imx51-ecspi";
923f126890aSEmmanuel Vadot					reg = <0x30830000 0x10000>;
924f126890aSEmmanuel Vadot					interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
925f126890aSEmmanuel Vadot					clocks = <&clks IMX7D_ECSPI2_ROOT_CLK>,
926f126890aSEmmanuel Vadot						<&clks IMX7D_ECSPI2_ROOT_CLK>;
927f126890aSEmmanuel Vadot					clock-names = "ipg", "per";
928*8d13bc63SEmmanuel Vadot					dma-names = "rx", "tx";
929*8d13bc63SEmmanuel Vadot					dmas = <&sdma 2 7 1>, <&sdma 3 7 2>;
930f126890aSEmmanuel Vadot					status = "disabled";
931f126890aSEmmanuel Vadot				};
932f126890aSEmmanuel Vadot
933f126890aSEmmanuel Vadot				ecspi3: spi@30840000 {
934f126890aSEmmanuel Vadot					#address-cells = <1>;
935f126890aSEmmanuel Vadot					#size-cells = <0>;
936f126890aSEmmanuel Vadot					compatible = "fsl,imx7d-ecspi", "fsl,imx51-ecspi";
937f126890aSEmmanuel Vadot					reg = <0x30840000 0x10000>;
938f126890aSEmmanuel Vadot					interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>;
939f126890aSEmmanuel Vadot					clocks = <&clks IMX7D_ECSPI3_ROOT_CLK>,
940f126890aSEmmanuel Vadot						<&clks IMX7D_ECSPI3_ROOT_CLK>;
941f126890aSEmmanuel Vadot					clock-names = "ipg", "per";
942*8d13bc63SEmmanuel Vadot					dma-names = "rx", "tx";
943*8d13bc63SEmmanuel Vadot					dmas = <&sdma 4 7 1>, <&sdma 5 7 2>;
944f126890aSEmmanuel Vadot					status = "disabled";
945f126890aSEmmanuel Vadot				};
946f126890aSEmmanuel Vadot
947f126890aSEmmanuel Vadot				uart1: serial@30860000 {
948f126890aSEmmanuel Vadot					compatible = "fsl,imx7d-uart",
949f126890aSEmmanuel Vadot						     "fsl,imx6q-uart";
950f126890aSEmmanuel Vadot					reg = <0x30860000 0x10000>;
951f126890aSEmmanuel Vadot					interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
952f126890aSEmmanuel Vadot					clocks = <&clks IMX7D_UART1_ROOT_CLK>,
953f126890aSEmmanuel Vadot						<&clks IMX7D_UART1_ROOT_CLK>;
954f126890aSEmmanuel Vadot					clock-names = "ipg", "per";
955f126890aSEmmanuel Vadot					status = "disabled";
956f126890aSEmmanuel Vadot				};
957f126890aSEmmanuel Vadot
958f126890aSEmmanuel Vadot				uart2: serial@30890000 {
959f126890aSEmmanuel Vadot					compatible = "fsl,imx7d-uart",
960f126890aSEmmanuel Vadot						     "fsl,imx6q-uart";
961f126890aSEmmanuel Vadot					reg = <0x30890000 0x10000>;
962f126890aSEmmanuel Vadot					interrupts = <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH>;
963f126890aSEmmanuel Vadot					clocks = <&clks IMX7D_UART2_ROOT_CLK>,
964f126890aSEmmanuel Vadot						<&clks IMX7D_UART2_ROOT_CLK>;
965f126890aSEmmanuel Vadot					clock-names = "ipg", "per";
966f126890aSEmmanuel Vadot					status = "disabled";
967f126890aSEmmanuel Vadot				};
968f126890aSEmmanuel Vadot
969f126890aSEmmanuel Vadot				uart3: serial@30880000 {
970f126890aSEmmanuel Vadot					compatible = "fsl,imx7d-uart",
971f126890aSEmmanuel Vadot						     "fsl,imx6q-uart";
972f126890aSEmmanuel Vadot					reg = <0x30880000 0x10000>;
973f126890aSEmmanuel Vadot					interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>;
974f126890aSEmmanuel Vadot					clocks = <&clks IMX7D_UART3_ROOT_CLK>,
975f126890aSEmmanuel Vadot						<&clks IMX7D_UART3_ROOT_CLK>;
976f126890aSEmmanuel Vadot					clock-names = "ipg", "per";
977f126890aSEmmanuel Vadot					status = "disabled";
978f126890aSEmmanuel Vadot				};
979f126890aSEmmanuel Vadot
980f126890aSEmmanuel Vadot				sai1: sai@308a0000 {
981f126890aSEmmanuel Vadot					#sound-dai-cells = <0>;
982f126890aSEmmanuel Vadot					compatible = "fsl,imx7d-sai", "fsl,imx6sx-sai";
983f126890aSEmmanuel Vadot					reg = <0x308a0000 0x10000>;
984f126890aSEmmanuel Vadot					interrupts = <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>;
985f126890aSEmmanuel Vadot					clocks = <&clks IMX7D_SAI1_IPG_CLK>,
986f126890aSEmmanuel Vadot						 <&clks IMX7D_SAI1_ROOT_CLK>,
987f126890aSEmmanuel Vadot						 <&clks IMX7D_CLK_DUMMY>,
988f126890aSEmmanuel Vadot						 <&clks IMX7D_CLK_DUMMY>;
989f126890aSEmmanuel Vadot					clock-names = "bus", "mclk1", "mclk2", "mclk3";
990f126890aSEmmanuel Vadot					dma-names = "rx", "tx";
991f126890aSEmmanuel Vadot					dmas = <&sdma 8 24 0>, <&sdma 9 24 0>;
992f126890aSEmmanuel Vadot					status = "disabled";
993f126890aSEmmanuel Vadot				};
994f126890aSEmmanuel Vadot
995f126890aSEmmanuel Vadot				sai2: sai@308b0000 {
996f126890aSEmmanuel Vadot					#sound-dai-cells = <0>;
997f126890aSEmmanuel Vadot					compatible = "fsl,imx7d-sai", "fsl,imx6sx-sai";
998f126890aSEmmanuel Vadot					reg = <0x308b0000 0x10000>;
999f126890aSEmmanuel Vadot					interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
1000f126890aSEmmanuel Vadot					clocks = <&clks IMX7D_SAI2_IPG_CLK>,
1001f126890aSEmmanuel Vadot						 <&clks IMX7D_SAI2_ROOT_CLK>,
1002f126890aSEmmanuel Vadot						 <&clks IMX7D_CLK_DUMMY>,
1003f126890aSEmmanuel Vadot						 <&clks IMX7D_CLK_DUMMY>;
1004f126890aSEmmanuel Vadot					clock-names = "bus", "mclk1", "mclk2", "mclk3";
1005f126890aSEmmanuel Vadot					dma-names = "rx", "tx";
1006f126890aSEmmanuel Vadot					dmas = <&sdma 10 24 0>, <&sdma 11 24 0>;
1007f126890aSEmmanuel Vadot					status = "disabled";
1008f126890aSEmmanuel Vadot				};
1009f126890aSEmmanuel Vadot
1010f126890aSEmmanuel Vadot				sai3: sai@308c0000 {
1011f126890aSEmmanuel Vadot					#sound-dai-cells = <0>;
1012f126890aSEmmanuel Vadot					compatible = "fsl,imx7d-sai", "fsl,imx6sx-sai";
1013f126890aSEmmanuel Vadot					reg = <0x308c0000 0x10000>;
1014f126890aSEmmanuel Vadot					interrupts = <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>;
1015f126890aSEmmanuel Vadot					clocks = <&clks IMX7D_SAI3_IPG_CLK>,
1016f126890aSEmmanuel Vadot						 <&clks IMX7D_SAI3_ROOT_CLK>,
1017f126890aSEmmanuel Vadot						 <&clks IMX7D_CLK_DUMMY>,
1018f126890aSEmmanuel Vadot						 <&clks IMX7D_CLK_DUMMY>;
1019f126890aSEmmanuel Vadot					clock-names = "bus", "mclk1", "mclk2", "mclk3";
1020f126890aSEmmanuel Vadot					dma-names = "rx", "tx";
1021f126890aSEmmanuel Vadot					dmas = <&sdma 12 24 0>, <&sdma 13 24 0>;
1022f126890aSEmmanuel Vadot					status = "disabled";
1023f126890aSEmmanuel Vadot				};
1024f126890aSEmmanuel Vadot			};
1025f126890aSEmmanuel Vadot
1026f126890aSEmmanuel Vadot			crypto: crypto@30900000 {
1027f126890aSEmmanuel Vadot				compatible = "fsl,sec-v4.0";
1028f126890aSEmmanuel Vadot				#address-cells = <1>;
1029f126890aSEmmanuel Vadot				#size-cells = <1>;
1030f126890aSEmmanuel Vadot				reg = <0x30900000 0x40000>;
1031f126890aSEmmanuel Vadot				ranges = <0 0x30900000 0x40000>;
1032f126890aSEmmanuel Vadot				interrupts = <GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH>;
1033f126890aSEmmanuel Vadot				clocks = <&clks IMX7D_CAAM_CLK>,
1034f126890aSEmmanuel Vadot					 <&clks IMX7D_AHB_CHANNEL_ROOT_CLK>;
1035f126890aSEmmanuel Vadot				clock-names = "ipg", "aclk";
1036f126890aSEmmanuel Vadot
1037f126890aSEmmanuel Vadot				sec_jr0: jr@1000 {
1038f126890aSEmmanuel Vadot					compatible = "fsl,sec-v4.0-job-ring";
1039f126890aSEmmanuel Vadot					reg = <0x1000 0x1000>;
1040f126890aSEmmanuel Vadot					interrupts = <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>;
1041f126890aSEmmanuel Vadot				};
1042f126890aSEmmanuel Vadot
1043f126890aSEmmanuel Vadot				sec_jr1: jr@2000 {
1044f126890aSEmmanuel Vadot					compatible = "fsl,sec-v4.0-job-ring";
1045f126890aSEmmanuel Vadot					reg = <0x2000 0x1000>;
1046f126890aSEmmanuel Vadot					interrupts = <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>;
1047f126890aSEmmanuel Vadot				};
1048f126890aSEmmanuel Vadot
1049f126890aSEmmanuel Vadot				sec_jr2: jr@3000 {
1050f126890aSEmmanuel Vadot					compatible = "fsl,sec-v4.0-job-ring";
1051f126890aSEmmanuel Vadot					reg = <0x3000 0x1000>;
1052f126890aSEmmanuel Vadot					interrupts = <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>;
1053f126890aSEmmanuel Vadot				};
1054f126890aSEmmanuel Vadot			};
1055f126890aSEmmanuel Vadot
1056f126890aSEmmanuel Vadot			flexcan1: can@30a00000 {
1057f126890aSEmmanuel Vadot				compatible = "fsl,imx7d-flexcan", "fsl,imx6q-flexcan";
1058f126890aSEmmanuel Vadot				reg = <0x30a00000 0x10000>;
1059f126890aSEmmanuel Vadot				interrupts = <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>;
1060f126890aSEmmanuel Vadot				clocks = <&clks IMX7D_CLK_DUMMY>,
1061f126890aSEmmanuel Vadot					<&clks IMX7D_CAN1_ROOT_CLK>;
1062f126890aSEmmanuel Vadot				clock-names = "ipg", "per";
1063f126890aSEmmanuel Vadot				fsl,stop-mode = <&gpr 0x10 1>;
1064f126890aSEmmanuel Vadot				status = "disabled";
1065f126890aSEmmanuel Vadot			};
1066f126890aSEmmanuel Vadot
1067f126890aSEmmanuel Vadot			flexcan2: can@30a10000 {
1068f126890aSEmmanuel Vadot				compatible = "fsl,imx7d-flexcan", "fsl,imx6q-flexcan";
1069f126890aSEmmanuel Vadot				reg = <0x30a10000 0x10000>;
1070f126890aSEmmanuel Vadot				interrupts = <GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>;
1071f126890aSEmmanuel Vadot				clocks = <&clks IMX7D_CLK_DUMMY>,
1072f126890aSEmmanuel Vadot					<&clks IMX7D_CAN2_ROOT_CLK>;
1073f126890aSEmmanuel Vadot				clock-names = "ipg", "per";
1074f126890aSEmmanuel Vadot				fsl,stop-mode = <&gpr 0x10 2>;
1075f126890aSEmmanuel Vadot				status = "disabled";
1076f126890aSEmmanuel Vadot			};
1077f126890aSEmmanuel Vadot
1078f126890aSEmmanuel Vadot			i2c1: i2c@30a20000 {
1079f126890aSEmmanuel Vadot				#address-cells = <1>;
1080f126890aSEmmanuel Vadot				#size-cells = <0>;
1081f126890aSEmmanuel Vadot				compatible = "fsl,imx7d-i2c", "fsl,imx21-i2c";
1082f126890aSEmmanuel Vadot				reg = <0x30a20000 0x10000>;
1083f126890aSEmmanuel Vadot				interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>;
1084f126890aSEmmanuel Vadot				clocks = <&clks IMX7D_I2C1_ROOT_CLK>;
1085f126890aSEmmanuel Vadot				status = "disabled";
1086f126890aSEmmanuel Vadot			};
1087f126890aSEmmanuel Vadot
1088f126890aSEmmanuel Vadot			i2c2: i2c@30a30000 {
1089f126890aSEmmanuel Vadot				#address-cells = <1>;
1090f126890aSEmmanuel Vadot				#size-cells = <0>;
1091f126890aSEmmanuel Vadot				compatible = "fsl,imx7d-i2c", "fsl,imx21-i2c";
1092f126890aSEmmanuel Vadot				reg = <0x30a30000 0x10000>;
1093f126890aSEmmanuel Vadot				interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
1094f126890aSEmmanuel Vadot				clocks = <&clks IMX7D_I2C2_ROOT_CLK>;
1095f126890aSEmmanuel Vadot				status = "disabled";
1096f126890aSEmmanuel Vadot			};
1097f126890aSEmmanuel Vadot
1098f126890aSEmmanuel Vadot			i2c3: i2c@30a40000 {
1099f126890aSEmmanuel Vadot				#address-cells = <1>;
1100f126890aSEmmanuel Vadot				#size-cells = <0>;
1101f126890aSEmmanuel Vadot				compatible = "fsl,imx7d-i2c", "fsl,imx21-i2c";
1102f126890aSEmmanuel Vadot				reg = <0x30a40000 0x10000>;
1103f126890aSEmmanuel Vadot				interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
1104f126890aSEmmanuel Vadot				clocks = <&clks IMX7D_I2C3_ROOT_CLK>;
1105f126890aSEmmanuel Vadot				status = "disabled";
1106f126890aSEmmanuel Vadot			};
1107f126890aSEmmanuel Vadot
1108f126890aSEmmanuel Vadot			i2c4: i2c@30a50000 {
1109f126890aSEmmanuel Vadot				#address-cells = <1>;
1110f126890aSEmmanuel Vadot				#size-cells = <0>;
1111f126890aSEmmanuel Vadot				compatible = "fsl,imx7d-i2c", "fsl,imx21-i2c";
1112f126890aSEmmanuel Vadot				reg = <0x30a50000 0x10000>;
1113f126890aSEmmanuel Vadot				interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>;
1114f126890aSEmmanuel Vadot				clocks = <&clks IMX7D_I2C4_ROOT_CLK>;
1115f126890aSEmmanuel Vadot				status = "disabled";
1116f126890aSEmmanuel Vadot			};
1117f126890aSEmmanuel Vadot
1118f126890aSEmmanuel Vadot			uart4: serial@30a60000 {
1119f126890aSEmmanuel Vadot				compatible = "fsl,imx7d-uart",
1120f126890aSEmmanuel Vadot					     "fsl,imx6q-uart";
1121f126890aSEmmanuel Vadot				reg = <0x30a60000 0x10000>;
1122f126890aSEmmanuel Vadot				interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>;
1123f126890aSEmmanuel Vadot				clocks = <&clks IMX7D_UART4_ROOT_CLK>,
1124f126890aSEmmanuel Vadot					<&clks IMX7D_UART4_ROOT_CLK>;
1125f126890aSEmmanuel Vadot				clock-names = "ipg", "per";
1126f126890aSEmmanuel Vadot				status = "disabled";
1127f126890aSEmmanuel Vadot			};
1128f126890aSEmmanuel Vadot
1129f126890aSEmmanuel Vadot			uart5: serial@30a70000 {
1130f126890aSEmmanuel Vadot				compatible = "fsl,imx7d-uart",
1131f126890aSEmmanuel Vadot					     "fsl,imx6q-uart";
1132f126890aSEmmanuel Vadot				reg = <0x30a70000 0x10000>;
1133f126890aSEmmanuel Vadot				interrupts = <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>;
1134f126890aSEmmanuel Vadot				clocks = <&clks IMX7D_UART5_ROOT_CLK>,
1135f126890aSEmmanuel Vadot					<&clks IMX7D_UART5_ROOT_CLK>;
1136f126890aSEmmanuel Vadot				clock-names = "ipg", "per";
1137f126890aSEmmanuel Vadot				status = "disabled";
1138f126890aSEmmanuel Vadot			};
1139f126890aSEmmanuel Vadot
1140f126890aSEmmanuel Vadot			uart6: serial@30a80000 {
1141f126890aSEmmanuel Vadot				compatible = "fsl,imx7d-uart",
1142f126890aSEmmanuel Vadot					     "fsl,imx6q-uart";
1143f126890aSEmmanuel Vadot				reg = <0x30a80000 0x10000>;
1144f126890aSEmmanuel Vadot				interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
1145f126890aSEmmanuel Vadot				clocks = <&clks IMX7D_UART6_ROOT_CLK>,
1146f126890aSEmmanuel Vadot					<&clks IMX7D_UART6_ROOT_CLK>;
1147f126890aSEmmanuel Vadot				clock-names = "ipg", "per";
1148f126890aSEmmanuel Vadot				status = "disabled";
1149f126890aSEmmanuel Vadot			};
1150f126890aSEmmanuel Vadot
1151f126890aSEmmanuel Vadot			uart7: serial@30a90000 {
1152f126890aSEmmanuel Vadot				compatible = "fsl,imx7d-uart",
1153f126890aSEmmanuel Vadot					     "fsl,imx6q-uart";
1154f126890aSEmmanuel Vadot				reg = <0x30a90000 0x10000>;
1155f126890aSEmmanuel Vadot				interrupts = <GIC_SPI 126 IRQ_TYPE_LEVEL_HIGH>;
1156f126890aSEmmanuel Vadot				clocks = <&clks IMX7D_UART7_ROOT_CLK>,
1157f126890aSEmmanuel Vadot					<&clks IMX7D_UART7_ROOT_CLK>;
1158f126890aSEmmanuel Vadot				clock-names = "ipg", "per";
1159f126890aSEmmanuel Vadot				status = "disabled";
1160f126890aSEmmanuel Vadot			};
1161f126890aSEmmanuel Vadot
1162f126890aSEmmanuel Vadot			mu0a: mailbox@30aa0000 {
1163f126890aSEmmanuel Vadot				compatible = "fsl,imx7s-mu", "fsl,imx6sx-mu";
1164f126890aSEmmanuel Vadot				reg = <0x30aa0000 0x10000>;
1165f126890aSEmmanuel Vadot				interrupts = <GIC_SPI 88 IRQ_TYPE_LEVEL_HIGH>;
1166f126890aSEmmanuel Vadot				clocks = <&clks IMX7D_MU_ROOT_CLK>;
1167f126890aSEmmanuel Vadot				#mbox-cells = <2>;
1168f126890aSEmmanuel Vadot				status = "disabled";
1169f126890aSEmmanuel Vadot			};
1170f126890aSEmmanuel Vadot
1171f126890aSEmmanuel Vadot			mu0b: mailbox@30ab0000 {
1172f126890aSEmmanuel Vadot				compatible = "fsl,imx7s-mu", "fsl,imx6sx-mu";
1173f126890aSEmmanuel Vadot				reg = <0x30ab0000 0x10000>;
1174f126890aSEmmanuel Vadot				interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>;
1175f126890aSEmmanuel Vadot				clocks = <&clks IMX7D_MU_ROOT_CLK>;
1176f126890aSEmmanuel Vadot				#mbox-cells = <2>;
1177f126890aSEmmanuel Vadot				fsl,mu-side-b;
1178f126890aSEmmanuel Vadot				status = "disabled";
1179f126890aSEmmanuel Vadot			};
1180f126890aSEmmanuel Vadot
1181f126890aSEmmanuel Vadot			usbotg1: usb@30b10000 {
1182f126890aSEmmanuel Vadot				compatible = "fsl,imx7d-usb", "fsl,imx27-usb";
1183f126890aSEmmanuel Vadot				reg = <0x30b10000 0x200>;
1184f126890aSEmmanuel Vadot				interrupts = <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>;
1185f126890aSEmmanuel Vadot				clocks = <&clks IMX7D_USB_CTRL_CLK>;
1186f126890aSEmmanuel Vadot				fsl,usbphy = <&usbphynop1>;
1187f126890aSEmmanuel Vadot				fsl,usbmisc = <&usbmisc1 0>;
1188f126890aSEmmanuel Vadot				phy-clkgate-delay-us = <400>;
1189f126890aSEmmanuel Vadot				status = "disabled";
1190f126890aSEmmanuel Vadot			};
1191f126890aSEmmanuel Vadot
1192f126890aSEmmanuel Vadot			usbh: usb@30b30000 {
1193f126890aSEmmanuel Vadot				compatible = "fsl,imx7d-usb", "fsl,imx27-usb";
1194f126890aSEmmanuel Vadot				reg = <0x30b30000 0x200>;
1195f126890aSEmmanuel Vadot				interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>;
1196f126890aSEmmanuel Vadot				clocks = <&clks IMX7D_USB_CTRL_CLK>;
1197f126890aSEmmanuel Vadot				fsl,usbphy = <&usbphynop3>;
1198f126890aSEmmanuel Vadot				fsl,usbmisc = <&usbmisc3 0>;
1199f126890aSEmmanuel Vadot				phy_type = "hsic";
1200f126890aSEmmanuel Vadot				dr_mode = "host";
1201f126890aSEmmanuel Vadot				phy-clkgate-delay-us = <400>;
1202f126890aSEmmanuel Vadot				status = "disabled";
1203f126890aSEmmanuel Vadot			};
1204f126890aSEmmanuel Vadot
1205f126890aSEmmanuel Vadot			usbmisc1: usbmisc@30b10200 {
1206f126890aSEmmanuel Vadot				#index-cells = <1>;
1207f126890aSEmmanuel Vadot				compatible = "fsl,imx7d-usbmisc", "fsl,imx6q-usbmisc";
1208f126890aSEmmanuel Vadot				reg = <0x30b10200 0x200>;
1209f126890aSEmmanuel Vadot			};
1210f126890aSEmmanuel Vadot
1211f126890aSEmmanuel Vadot			usbmisc3: usbmisc@30b30200 {
1212f126890aSEmmanuel Vadot				#index-cells = <1>;
1213f126890aSEmmanuel Vadot				compatible = "fsl,imx7d-usbmisc", "fsl,imx6q-usbmisc";
1214f126890aSEmmanuel Vadot				reg = <0x30b30200 0x200>;
1215f126890aSEmmanuel Vadot			};
1216f126890aSEmmanuel Vadot
1217f126890aSEmmanuel Vadot			usdhc1: mmc@30b40000 {
1218f126890aSEmmanuel Vadot				compatible = "fsl,imx7d-usdhc", "fsl,imx6sl-usdhc";
1219f126890aSEmmanuel Vadot				reg = <0x30b40000 0x10000>;
1220f126890aSEmmanuel Vadot				interrupts = <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>;
1221f126890aSEmmanuel Vadot				clocks = <&clks IMX7D_IPG_ROOT_CLK>,
1222f126890aSEmmanuel Vadot					<&clks IMX7D_NAND_USDHC_BUS_ROOT_CLK>,
1223f126890aSEmmanuel Vadot					<&clks IMX7D_USDHC1_ROOT_CLK>;
1224f126890aSEmmanuel Vadot				clock-names = "ipg", "ahb", "per";
1225f126890aSEmmanuel Vadot				bus-width = <4>;
1226f126890aSEmmanuel Vadot				fsl,tuning-step = <2>;
1227f126890aSEmmanuel Vadot				fsl,tuning-start-tap = <20>;
1228f126890aSEmmanuel Vadot				status = "disabled";
1229f126890aSEmmanuel Vadot			};
1230f126890aSEmmanuel Vadot
1231f126890aSEmmanuel Vadot			usdhc2: mmc@30b50000 {
1232f126890aSEmmanuel Vadot				compatible = "fsl,imx7d-usdhc", "fsl,imx6sl-usdhc";
1233f126890aSEmmanuel Vadot				reg = <0x30b50000 0x10000>;
1234f126890aSEmmanuel Vadot				interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
1235f126890aSEmmanuel Vadot				clocks = <&clks IMX7D_IPG_ROOT_CLK>,
1236f126890aSEmmanuel Vadot					<&clks IMX7D_NAND_USDHC_BUS_ROOT_CLK>,
1237f126890aSEmmanuel Vadot					<&clks IMX7D_USDHC2_ROOT_CLK>;
1238f126890aSEmmanuel Vadot				clock-names = "ipg", "ahb", "per";
1239f126890aSEmmanuel Vadot				bus-width = <4>;
1240f126890aSEmmanuel Vadot				fsl,tuning-step = <2>;
1241f126890aSEmmanuel Vadot				fsl,tuning-start-tap = <20>;
1242f126890aSEmmanuel Vadot				status = "disabled";
1243f126890aSEmmanuel Vadot			};
1244f126890aSEmmanuel Vadot
1245f126890aSEmmanuel Vadot			usdhc3: mmc@30b60000 {
1246f126890aSEmmanuel Vadot				compatible = "fsl,imx7d-usdhc", "fsl,imx6sl-usdhc";
1247f126890aSEmmanuel Vadot				reg = <0x30b60000 0x10000>;
1248f126890aSEmmanuel Vadot				interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>;
1249f126890aSEmmanuel Vadot				clocks = <&clks IMX7D_IPG_ROOT_CLK>,
1250f126890aSEmmanuel Vadot					<&clks IMX7D_NAND_USDHC_BUS_ROOT_CLK>,
1251f126890aSEmmanuel Vadot					<&clks IMX7D_USDHC3_ROOT_CLK>;
1252f126890aSEmmanuel Vadot				clock-names = "ipg", "ahb", "per";
1253f126890aSEmmanuel Vadot				bus-width = <4>;
1254f126890aSEmmanuel Vadot				fsl,tuning-step = <2>;
1255f126890aSEmmanuel Vadot				fsl,tuning-start-tap = <20>;
1256f126890aSEmmanuel Vadot				status = "disabled";
1257f126890aSEmmanuel Vadot			};
1258f126890aSEmmanuel Vadot
1259f126890aSEmmanuel Vadot			qspi: spi@30bb0000 {
1260f126890aSEmmanuel Vadot				compatible = "fsl,imx7d-qspi";
1261f126890aSEmmanuel Vadot				reg = <0x30bb0000 0x10000>, <0x60000000 0x10000000>;
1262f126890aSEmmanuel Vadot				reg-names = "QuadSPI", "QuadSPI-memory";
1263f126890aSEmmanuel Vadot				#address-cells = <1>;
1264f126890aSEmmanuel Vadot				#size-cells = <0>;
1265f126890aSEmmanuel Vadot				interrupts = <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>;
1266f126890aSEmmanuel Vadot				clocks = <&clks IMX7D_QSPI_ROOT_CLK>,
1267f126890aSEmmanuel Vadot					<&clks IMX7D_QSPI_ROOT_CLK>;
1268f126890aSEmmanuel Vadot				clock-names = "qspi_en", "qspi";
1269f126890aSEmmanuel Vadot				status = "disabled";
1270f126890aSEmmanuel Vadot			};
1271f126890aSEmmanuel Vadot
1272f126890aSEmmanuel Vadot			sdma: dma-controller@30bd0000 {
1273f126890aSEmmanuel Vadot				compatible = "fsl,imx7d-sdma", "fsl,imx35-sdma";
1274f126890aSEmmanuel Vadot				reg = <0x30bd0000 0x10000>;
1275f126890aSEmmanuel Vadot				interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>;
1276f126890aSEmmanuel Vadot				clocks = <&clks IMX7D_IPG_ROOT_CLK>,
1277f126890aSEmmanuel Vadot					 <&clks IMX7D_SDMA_CORE_CLK>;
1278f126890aSEmmanuel Vadot				clock-names = "ipg", "ahb";
1279f126890aSEmmanuel Vadot				#dma-cells = <3>;
1280f126890aSEmmanuel Vadot				fsl,sdma-ram-script-name = "imx/sdma/sdma-imx7d.bin";
1281f126890aSEmmanuel Vadot			};
1282f126890aSEmmanuel Vadot
1283f126890aSEmmanuel Vadot			fec1: ethernet@30be0000 {
1284f126890aSEmmanuel Vadot				compatible = "fsl,imx7d-fec", "fsl,imx6sx-fec";
1285f126890aSEmmanuel Vadot				reg = <0x30be0000 0x10000>;
1286f126890aSEmmanuel Vadot				interrupt-names = "int0", "int1", "int2", "pps";
1287f126890aSEmmanuel Vadot				interrupts = <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>,
1288f126890aSEmmanuel Vadot					<GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>,
1289f126890aSEmmanuel Vadot					<GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH>,
1290f126890aSEmmanuel Vadot					<GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>;
1291f126890aSEmmanuel Vadot				clocks = <&clks IMX7D_ENET1_IPG_ROOT_CLK>,
1292f126890aSEmmanuel Vadot					<&clks IMX7D_ENET_AXI_ROOT_CLK>,
1293f126890aSEmmanuel Vadot					<&clks IMX7D_ENET1_TIME_ROOT_CLK>,
1294f126890aSEmmanuel Vadot					<&clks IMX7D_PLL_ENET_MAIN_125M_CLK>,
1295f126890aSEmmanuel Vadot					<&clks IMX7D_ENET_PHY_REF_ROOT_CLK>;
1296f126890aSEmmanuel Vadot				clock-names = "ipg", "ahb", "ptp",
1297f126890aSEmmanuel Vadot					"enet_clk_ref", "enet_out";
1298f126890aSEmmanuel Vadot				fsl,num-tx-queues = <3>;
1299f126890aSEmmanuel Vadot				fsl,num-rx-queues = <3>;
1300f126890aSEmmanuel Vadot				fsl,stop-mode = <&gpr 0x10 3>;
1301f126890aSEmmanuel Vadot				status = "disabled";
1302f126890aSEmmanuel Vadot			};
1303f126890aSEmmanuel Vadot		};
1304f126890aSEmmanuel Vadot
1305f126890aSEmmanuel Vadot		dma_apbh: dma-controller@33000000 {
1306f126890aSEmmanuel Vadot			compatible = "fsl,imx7d-dma-apbh", "fsl,imx28-dma-apbh";
1307f126890aSEmmanuel Vadot			reg = <0x33000000 0x2000>;
1308f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>,
1309f126890aSEmmanuel Vadot				     <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>,
1310f126890aSEmmanuel Vadot				     <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>,
1311f126890aSEmmanuel Vadot				     <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
1312f126890aSEmmanuel Vadot			#dma-cells = <1>;
1313f126890aSEmmanuel Vadot			dma-channels = <4>;
1314f126890aSEmmanuel Vadot			clocks = <&clks IMX7D_NAND_USDHC_BUS_RAWNAND_CLK>;
1315f126890aSEmmanuel Vadot		};
1316f126890aSEmmanuel Vadot
1317f126890aSEmmanuel Vadot		gpmi: nand-controller@33002000 {
1318f126890aSEmmanuel Vadot			compatible = "fsl,imx7d-gpmi-nand";
1319f126890aSEmmanuel Vadot			#address-cells = <1>;
1320*8d13bc63SEmmanuel Vadot			#size-cells = <0>;
1321f126890aSEmmanuel Vadot			reg = <0x33002000 0x2000>, <0x33004000 0x4000>;
1322f126890aSEmmanuel Vadot			reg-names = "gpmi-nand", "bch";
1323f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
1324f126890aSEmmanuel Vadot			interrupt-names = "bch";
1325f126890aSEmmanuel Vadot			clocks = <&clks IMX7D_NAND_RAWNAND_CLK>,
1326f126890aSEmmanuel Vadot				<&clks IMX7D_NAND_USDHC_BUS_RAWNAND_CLK>;
1327f126890aSEmmanuel Vadot			clock-names = "gpmi_io", "gpmi_bch_apb";
1328f126890aSEmmanuel Vadot			dmas = <&dma_apbh 0>;
1329f126890aSEmmanuel Vadot			dma-names = "rx-tx";
1330f126890aSEmmanuel Vadot			status = "disabled";
1331f126890aSEmmanuel Vadot			assigned-clocks = <&clks IMX7D_NAND_ROOT_SRC>;
1332f126890aSEmmanuel Vadot			assigned-clock-parents = <&clks IMX7D_PLL_ENET_MAIN_500M_CLK>;
1333f126890aSEmmanuel Vadot		};
1334f126890aSEmmanuel Vadot	};
1335f126890aSEmmanuel Vadot};
1336