xref: /openbmc/u-boot/arch/arm/dts/imx7s.dtsi (revision 8a51db1d)
1993274f4SPeng Fan/*
2993274f4SPeng Fan * Copyright 2015 Freescale Semiconductor, Inc.
3993274f4SPeng Fan * Copyright 2016 Toradex AG
4993274f4SPeng Fan *
5993274f4SPeng Fan * This file is dual-licensed: you can use it either under the terms
6993274f4SPeng Fan * of the GPL or the X11 license, at your option. Note that this dual
7993274f4SPeng Fan * licensing only applies to this file, and not this project as a
8993274f4SPeng Fan * whole.
9993274f4SPeng Fan *
10993274f4SPeng Fan *  a) This file is free software; you can redistribute it and/or
11993274f4SPeng Fan *     modify it under the terms of the GNU General Public License as
12993274f4SPeng Fan *     published by the Free Software Foundation; either version 2 of the
13993274f4SPeng Fan *     License, or (at your option) any later version.
14993274f4SPeng Fan *
15993274f4SPeng Fan *     This file is distributed in the hope that it will be useful,
16993274f4SPeng Fan *     but WITHOUT ANY WARRANTY; without even the implied warranty of
17993274f4SPeng Fan *     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18993274f4SPeng Fan *     GNU General Public License for more details.
19993274f4SPeng Fan *
20993274f4SPeng Fan * Or, alternatively,
21993274f4SPeng Fan *
22993274f4SPeng Fan *  b) Permission is hereby granted, free of charge, to any person
23993274f4SPeng Fan *     obtaining a copy of this software and associated documentation
24993274f4SPeng Fan *     files (the "Software"), to deal in the Software without
25993274f4SPeng Fan *     restriction, including without limitation the rights to use,
26993274f4SPeng Fan *     copy, modify, merge, publish, distribute, sublicense, and/or
27993274f4SPeng Fan *     sell copies of the Software, and to permit persons to whom the
28993274f4SPeng Fan *     Software is furnished to do so, subject to the following
29993274f4SPeng Fan *     conditions:
30993274f4SPeng Fan *
31993274f4SPeng Fan *     The above copyright notice and this permission notice shall be
32993274f4SPeng Fan *     included in all copies or substantial portions of the Software.
33993274f4SPeng Fan *
34993274f4SPeng Fan *     THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
35993274f4SPeng Fan *     EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
36993274f4SPeng Fan *     OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
37993274f4SPeng Fan *     NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
38993274f4SPeng Fan *     HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
39993274f4SPeng Fan *     WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
40993274f4SPeng Fan *     FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
41993274f4SPeng Fan *     OTHER DEALINGS IN THE SOFTWARE.
42993274f4SPeng Fan */
43993274f4SPeng Fan
44993274f4SPeng Fan#include <dt-bindings/clock/imx7d-clock.h>
45aba6a0fbSStefan Agner#include <dt-bindings/power/imx7-power.h>
46993274f4SPeng Fan#include <dt-bindings/gpio/gpio.h>
47993274f4SPeng Fan#include <dt-bindings/input/input.h>
48993274f4SPeng Fan#include <dt-bindings/interrupt-controller/arm-gic.h>
49993274f4SPeng Fan#include "imx7d-pinfunc.h"
50993274f4SPeng Fan
51993274f4SPeng Fan/ {
52993274f4SPeng Fan	#address-cells = <1>;
53993274f4SPeng Fan	#size-cells = <1>;
54993274f4SPeng Fan	/*
55993274f4SPeng Fan	 * The decompressor and also some bootloaders rely on a
56993274f4SPeng Fan	 * pre-existing /chosen node to be available to insert the
57993274f4SPeng Fan	 * command line and merge other ATAGS info.
58993274f4SPeng Fan	 * Also for U-Boot there must be a pre-existing /memory node.
59993274f4SPeng Fan	 */
60993274f4SPeng Fan	chosen {};
61aba6a0fbSStefan Agner	memory { device_type = "memory"; };
62993274f4SPeng Fan
63993274f4SPeng Fan	aliases {
64993274f4SPeng Fan		gpio0 = &gpio1;
65993274f4SPeng Fan		gpio1 = &gpio2;
66993274f4SPeng Fan		gpio2 = &gpio3;
67993274f4SPeng Fan		gpio3 = &gpio4;
68993274f4SPeng Fan		gpio4 = &gpio5;
69993274f4SPeng Fan		gpio5 = &gpio6;
70993274f4SPeng Fan		gpio6 = &gpio7;
71993274f4SPeng Fan		i2c0 = &i2c1;
72993274f4SPeng Fan		i2c1 = &i2c2;
73993274f4SPeng Fan		i2c2 = &i2c3;
74993274f4SPeng Fan		i2c3 = &i2c4;
75993274f4SPeng Fan		mmc0 = &usdhc1;
76993274f4SPeng Fan		mmc1 = &usdhc2;
77993274f4SPeng Fan		mmc2 = &usdhc3;
78993274f4SPeng Fan		serial0 = &uart1;
79993274f4SPeng Fan		serial1 = &uart2;
80993274f4SPeng Fan		serial2 = &uart3;
81993274f4SPeng Fan		serial3 = &uart4;
82993274f4SPeng Fan		serial4 = &uart5;
83993274f4SPeng Fan		serial5 = &uart6;
84993274f4SPeng Fan		serial6 = &uart7;
85*3b823350SYe Li		spi0 = &qspi1;
86*3b823350SYe Li		spi1 = &ecspi1;
87*3b823350SYe Li		spi2 = &ecspi2;
88*3b823350SYe Li		spi3 = &ecspi3;
89*3b823350SYe Li		spi4 = &ecspi4;
90993274f4SPeng Fan	};
91993274f4SPeng Fan
92993274f4SPeng Fan	cpus {
93993274f4SPeng Fan		#address-cells = <1>;
94993274f4SPeng Fan		#size-cells = <0>;
95993274f4SPeng Fan
96993274f4SPeng Fan		cpu0: cpu@0 {
97993274f4SPeng Fan			compatible = "arm,cortex-a7";
98993274f4SPeng Fan			device_type = "cpu";
99993274f4SPeng Fan			reg = <0>;
100993274f4SPeng Fan			clock-frequency = <792000000>;
101993274f4SPeng Fan			clock-latency = <61036>; /* two CLK32 periods */
102993274f4SPeng Fan			clocks = <&clks IMX7D_CLK_ARM>;
103993274f4SPeng Fan		};
104993274f4SPeng Fan	};
105993274f4SPeng Fan
106993274f4SPeng Fan	ckil: clock-cki {
107993274f4SPeng Fan		compatible = "fixed-clock";
108993274f4SPeng Fan		#clock-cells = <0>;
109993274f4SPeng Fan		clock-frequency = <32768>;
110993274f4SPeng Fan		clock-output-names = "ckil";
111993274f4SPeng Fan	};
112993274f4SPeng Fan
113993274f4SPeng Fan	osc: clock-osc {
114993274f4SPeng Fan		compatible = "fixed-clock";
115993274f4SPeng Fan		#clock-cells = <0>;
116993274f4SPeng Fan		clock-frequency = <24000000>;
117993274f4SPeng Fan		clock-output-names = "osc";
118993274f4SPeng Fan	};
119993274f4SPeng Fan
120aba6a0fbSStefan Agner	usbphynop1: usbphynop1 {
121aba6a0fbSStefan Agner		compatible = "usb-nop-xceiv";
122aba6a0fbSStefan Agner		clocks = <&clks IMX7D_USB_PHY1_CLK>;
123aba6a0fbSStefan Agner		clock-names = "main_clk";
124aba6a0fbSStefan Agner		#phy-cells = <0>;
125aba6a0fbSStefan Agner	};
126aba6a0fbSStefan Agner
127aba6a0fbSStefan Agner	usbphynop3: usbphynop3 {
128aba6a0fbSStefan Agner		compatible = "usb-nop-xceiv";
129aba6a0fbSStefan Agner		clocks = <&clks IMX7D_USB_HSIC_ROOT_CLK>;
130aba6a0fbSStefan Agner		clock-names = "main_clk";
131aba6a0fbSStefan Agner		#phy-cells = <0>;
132aba6a0fbSStefan Agner	};
133aba6a0fbSStefan Agner
134aba6a0fbSStefan Agner	pmu {
135aba6a0fbSStefan Agner		compatible = "arm,cortex-a7-pmu";
136aba6a0fbSStefan Agner		interrupt-parent = <&gpc>;
137aba6a0fbSStefan Agner		interrupts = <GIC_SPI 92 IRQ_TYPE_LEVEL_HIGH>;
138aba6a0fbSStefan Agner		interrupt-affinity = <&cpu0>;
139aba6a0fbSStefan Agner	};
140aba6a0fbSStefan Agner
141aba6a0fbSStefan Agner	replicator {
142aba6a0fbSStefan Agner		/*
143aba6a0fbSStefan Agner		 * non-configurable replicators don't show up on the
144aba6a0fbSStefan Agner		 * AMBA bus.  As such no need to add "arm,primecell"
145aba6a0fbSStefan Agner		 */
146aba6a0fbSStefan Agner		compatible = "arm,coresight-replicator";
147aba6a0fbSStefan Agner
148aba6a0fbSStefan Agner		ports {
149aba6a0fbSStefan Agner			#address-cells = <1>;
150aba6a0fbSStefan Agner			#size-cells = <0>;
151aba6a0fbSStefan Agner				/* replicator output ports */
152aba6a0fbSStefan Agner			port@0 {
153aba6a0fbSStefan Agner				reg = <0>;
154aba6a0fbSStefan Agner				replicator_out_port0: endpoint {
155aba6a0fbSStefan Agner					remote-endpoint = <&tpiu_in_port>;
156aba6a0fbSStefan Agner				};
157aba6a0fbSStefan Agner			};
158aba6a0fbSStefan Agner
159aba6a0fbSStefan Agner			port@1 {
160aba6a0fbSStefan Agner				reg = <1>;
161aba6a0fbSStefan Agner				replicator_out_port1: endpoint {
162aba6a0fbSStefan Agner					remote-endpoint = <&etr_in_port>;
163aba6a0fbSStefan Agner				};
164aba6a0fbSStefan Agner			};
165aba6a0fbSStefan Agner
166aba6a0fbSStefan Agner			/* replicator input port */
167aba6a0fbSStefan Agner			port@2 {
168aba6a0fbSStefan Agner				reg = <0>;
169aba6a0fbSStefan Agner				replicator_in_port0: endpoint {
170aba6a0fbSStefan Agner					slave-mode;
171aba6a0fbSStefan Agner					remote-endpoint = <&etf_out_port>;
172aba6a0fbSStefan Agner				};
173aba6a0fbSStefan Agner			};
174aba6a0fbSStefan Agner		};
175aba6a0fbSStefan Agner	};
176aba6a0fbSStefan Agner
177aba6a0fbSStefan Agner	timer {
178aba6a0fbSStefan Agner		compatible = "arm,armv7-timer";
179aba6a0fbSStefan Agner		interrupt-parent = <&intc>;
180aba6a0fbSStefan Agner		interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
181aba6a0fbSStefan Agner			     <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
182aba6a0fbSStefan Agner			     <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
183aba6a0fbSStefan Agner			     <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>;
184aba6a0fbSStefan Agner	};
185aba6a0fbSStefan Agner
186993274f4SPeng Fan	soc {
187993274f4SPeng Fan		#address-cells = <1>;
188993274f4SPeng Fan		#size-cells = <1>;
189993274f4SPeng Fan		compatible = "simple-bus";
190aba6a0fbSStefan Agner		interrupt-parent = <&gpc>;
191993274f4SPeng Fan		ranges;
192993274f4SPeng Fan
193993274f4SPeng Fan		funnel@30041000 {
194993274f4SPeng Fan			compatible = "arm,coresight-funnel", "arm,primecell";
195993274f4SPeng Fan			reg = <0x30041000 0x1000>;
196993274f4SPeng Fan			clocks = <&clks IMX7D_MAIN_AXI_ROOT_CLK>;
197993274f4SPeng Fan			clock-names = "apb_pclk";
198993274f4SPeng Fan
199993274f4SPeng Fan			ca_funnel_ports: ports {
200993274f4SPeng Fan				#address-cells = <1>;
201993274f4SPeng Fan				#size-cells = <0>;
202993274f4SPeng Fan
203993274f4SPeng Fan				/* funnel input ports */
204993274f4SPeng Fan				port@0 {
205993274f4SPeng Fan					reg = <0>;
206993274f4SPeng Fan					ca_funnel_in_port0: endpoint {
207993274f4SPeng Fan						slave-mode;
208993274f4SPeng Fan						remote-endpoint = <&etm0_out_port>;
209993274f4SPeng Fan					};
210993274f4SPeng Fan				};
211993274f4SPeng Fan
212993274f4SPeng Fan				/* funnel output port */
213993274f4SPeng Fan				port@2 {
214993274f4SPeng Fan					reg = <0>;
215993274f4SPeng Fan					ca_funnel_out_port0: endpoint {
216993274f4SPeng Fan						remote-endpoint = <&hugo_funnel_in_port0>;
217993274f4SPeng Fan					};
218993274f4SPeng Fan				};
219993274f4SPeng Fan
220993274f4SPeng Fan				/* the other input ports are not connect to anything */
221993274f4SPeng Fan			};
222993274f4SPeng Fan		};
223993274f4SPeng Fan
224993274f4SPeng Fan		etm@3007c000 {
225993274f4SPeng Fan			compatible = "arm,coresight-etm3x", "arm,primecell";
226993274f4SPeng Fan			reg = <0x3007c000 0x1000>;
227993274f4SPeng Fan			cpu = <&cpu0>;
228993274f4SPeng Fan			clocks = <&clks IMX7D_MAIN_AXI_ROOT_CLK>;
229993274f4SPeng Fan			clock-names = "apb_pclk";
230993274f4SPeng Fan
231993274f4SPeng Fan			port {
232993274f4SPeng Fan				etm0_out_port: endpoint {
233993274f4SPeng Fan					remote-endpoint = <&ca_funnel_in_port0>;
234993274f4SPeng Fan				};
235993274f4SPeng Fan			};
236993274f4SPeng Fan		};
237993274f4SPeng Fan
238993274f4SPeng Fan		funnel@30083000 {
239993274f4SPeng Fan			compatible = "arm,coresight-funnel", "arm,primecell";
240993274f4SPeng Fan			reg = <0x30083000 0x1000>;
241993274f4SPeng Fan			clocks = <&clks IMX7D_MAIN_AXI_ROOT_CLK>;
242993274f4SPeng Fan			clock-names = "apb_pclk";
243993274f4SPeng Fan
244993274f4SPeng Fan			ports {
245993274f4SPeng Fan				#address-cells = <1>;
246993274f4SPeng Fan				#size-cells = <0>;
247993274f4SPeng Fan
248993274f4SPeng Fan				/* funnel input ports */
249993274f4SPeng Fan				port@0 {
250993274f4SPeng Fan					reg = <0>;
251993274f4SPeng Fan					hugo_funnel_in_port0: endpoint {
252993274f4SPeng Fan						slave-mode;
253993274f4SPeng Fan						remote-endpoint = <&ca_funnel_out_port0>;
254993274f4SPeng Fan					};
255993274f4SPeng Fan				};
256993274f4SPeng Fan
257993274f4SPeng Fan				port@1 {
258993274f4SPeng Fan					reg = <1>;
259993274f4SPeng Fan					hugo_funnel_in_port1: endpoint {
260993274f4SPeng Fan						slave-mode; /* M4 input */
261993274f4SPeng Fan					};
262993274f4SPeng Fan				};
263993274f4SPeng Fan
264993274f4SPeng Fan				port@2 {
265993274f4SPeng Fan					reg = <0>;
266993274f4SPeng Fan					hugo_funnel_out_port0: endpoint {
267993274f4SPeng Fan						remote-endpoint = <&etf_in_port>;
268993274f4SPeng Fan					};
269993274f4SPeng Fan				};
270993274f4SPeng Fan
271993274f4SPeng Fan				/* the other input ports are not connect to anything */
272993274f4SPeng Fan			};
273993274f4SPeng Fan		};
274993274f4SPeng Fan
275993274f4SPeng Fan		etf@30084000 {
276993274f4SPeng Fan			compatible = "arm,coresight-tmc", "arm,primecell";
277993274f4SPeng Fan			reg = <0x30084000 0x1000>;
278993274f4SPeng Fan			clocks = <&clks IMX7D_MAIN_AXI_ROOT_CLK>;
279993274f4SPeng Fan			clock-names = "apb_pclk";
280993274f4SPeng Fan
281993274f4SPeng Fan			ports {
282993274f4SPeng Fan				#address-cells = <1>;
283993274f4SPeng Fan				#size-cells = <0>;
284993274f4SPeng Fan
285993274f4SPeng Fan				port@0 {
286993274f4SPeng Fan					reg = <0>;
287993274f4SPeng Fan					etf_in_port: endpoint {
288993274f4SPeng Fan						slave-mode;
289993274f4SPeng Fan						remote-endpoint = <&hugo_funnel_out_port0>;
290993274f4SPeng Fan					};
291993274f4SPeng Fan				};
292993274f4SPeng Fan
293993274f4SPeng Fan				port@1 {
294993274f4SPeng Fan					reg = <0>;
295993274f4SPeng Fan					etf_out_port: endpoint {
296993274f4SPeng Fan						remote-endpoint = <&replicator_in_port0>;
297993274f4SPeng Fan					};
298993274f4SPeng Fan				};
299993274f4SPeng Fan			};
300993274f4SPeng Fan		};
301993274f4SPeng Fan
302993274f4SPeng Fan		etr@30086000 {
303993274f4SPeng Fan			compatible = "arm,coresight-tmc", "arm,primecell";
304993274f4SPeng Fan			reg = <0x30086000 0x1000>;
305993274f4SPeng Fan			clocks = <&clks IMX7D_MAIN_AXI_ROOT_CLK>;
306993274f4SPeng Fan			clock-names = "apb_pclk";
307993274f4SPeng Fan
308993274f4SPeng Fan			port {
309993274f4SPeng Fan				etr_in_port: endpoint {
310993274f4SPeng Fan					slave-mode;
311993274f4SPeng Fan					remote-endpoint = <&replicator_out_port1>;
312993274f4SPeng Fan				};
313993274f4SPeng Fan			};
314993274f4SPeng Fan		};
315993274f4SPeng Fan
316993274f4SPeng Fan		tpiu@30087000 {
317993274f4SPeng Fan			compatible = "arm,coresight-tpiu", "arm,primecell";
318993274f4SPeng Fan			reg = <0x30087000 0x1000>;
319993274f4SPeng Fan			clocks = <&clks IMX7D_MAIN_AXI_ROOT_CLK>;
320993274f4SPeng Fan			clock-names = "apb_pclk";
321993274f4SPeng Fan
322993274f4SPeng Fan			port {
323993274f4SPeng Fan				tpiu_in_port: endpoint {
324993274f4SPeng Fan					slave-mode;
325993274f4SPeng Fan					remote-endpoint = <&replicator_out_port1>;
326993274f4SPeng Fan				};
327993274f4SPeng Fan			};
328993274f4SPeng Fan		};
329993274f4SPeng Fan
330993274f4SPeng Fan		intc: interrupt-controller@31001000 {
331993274f4SPeng Fan			compatible = "arm,cortex-a7-gic";
332993274f4SPeng Fan			interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
333993274f4SPeng Fan			#interrupt-cells = <3>;
334993274f4SPeng Fan			interrupt-controller;
335aba6a0fbSStefan Agner			interrupt-parent = <&intc>;
336993274f4SPeng Fan			reg = <0x31001000 0x1000>,
337993274f4SPeng Fan			      <0x31002000 0x2000>,
338993274f4SPeng Fan			      <0x31004000 0x2000>,
339993274f4SPeng Fan			      <0x31006000 0x2000>;
340993274f4SPeng Fan		};
341993274f4SPeng Fan
342993274f4SPeng Fan		aips1: aips-bus@30000000 {
343993274f4SPeng Fan			compatible = "fsl,aips-bus", "simple-bus";
344993274f4SPeng Fan			#address-cells = <1>;
345993274f4SPeng Fan			#size-cells = <1>;
346993274f4SPeng Fan			reg = <0x30000000 0x400000>;
347993274f4SPeng Fan			ranges;
348993274f4SPeng Fan
349993274f4SPeng Fan			gpio1: gpio@30200000 {
350993274f4SPeng Fan				compatible = "fsl,imx7d-gpio", "fsl,imx35-gpio";
351993274f4SPeng Fan				reg = <0x30200000 0x10000>;
352993274f4SPeng Fan				interrupts = <GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>, /* GPIO1_INT15_0 */
353993274f4SPeng Fan					     <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>; /* GPIO1_INT31_16 */
354993274f4SPeng Fan				gpio-controller;
355993274f4SPeng Fan				#gpio-cells = <2>;
356993274f4SPeng Fan				interrupt-controller;
357993274f4SPeng Fan				#interrupt-cells = <2>;
358993274f4SPeng Fan				gpio-ranges = <&iomuxc_lpsr 0 0 8>, <&iomuxc 8 5 8>;
359993274f4SPeng Fan			};
360993274f4SPeng Fan
361993274f4SPeng Fan			gpio2: gpio@30210000 {
362993274f4SPeng Fan				compatible = "fsl,imx7d-gpio", "fsl,imx35-gpio";
363993274f4SPeng Fan				reg = <0x30210000 0x10000>;
364993274f4SPeng Fan				interrupts = <GIC_SPI 66 IRQ_TYPE_LEVEL_HIGH>,
365993274f4SPeng Fan					     <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>;
366993274f4SPeng Fan				gpio-controller;
367993274f4SPeng Fan				#gpio-cells = <2>;
368993274f4SPeng Fan				interrupt-controller;
369993274f4SPeng Fan				#interrupt-cells = <2>;
370993274f4SPeng Fan				gpio-ranges = <&iomuxc 0 13 32>;
371993274f4SPeng Fan			};
372993274f4SPeng Fan
373993274f4SPeng Fan			gpio3: gpio@30220000 {
374993274f4SPeng Fan				compatible = "fsl,imx7d-gpio", "fsl,imx35-gpio";
375993274f4SPeng Fan				reg = <0x30220000 0x10000>;
376993274f4SPeng Fan				interrupts = <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>,
377993274f4SPeng Fan					     <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
378993274f4SPeng Fan				gpio-controller;
379993274f4SPeng Fan				#gpio-cells = <2>;
380993274f4SPeng Fan				interrupt-controller;
381993274f4SPeng Fan				#interrupt-cells = <2>;
382993274f4SPeng Fan				gpio-ranges = <&iomuxc 0 45 29>;
383993274f4SPeng Fan			};
384993274f4SPeng Fan
385993274f4SPeng Fan			gpio4: gpio@30230000 {
386993274f4SPeng Fan				compatible = "fsl,imx7d-gpio", "fsl,imx35-gpio";
387993274f4SPeng Fan				reg = <0x30230000 0x10000>;
388993274f4SPeng Fan				interrupts = <GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>,
389993274f4SPeng Fan					     <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>;
390993274f4SPeng Fan				gpio-controller;
391993274f4SPeng Fan				#gpio-cells = <2>;
392993274f4SPeng Fan				interrupt-controller;
393993274f4SPeng Fan				#interrupt-cells = <2>;
394993274f4SPeng Fan				gpio-ranges = <&iomuxc 0 74 24>;
395993274f4SPeng Fan			};
396993274f4SPeng Fan
397993274f4SPeng Fan			gpio5: gpio@30240000 {
398993274f4SPeng Fan				compatible = "fsl,imx7d-gpio", "fsl,imx35-gpio";
399993274f4SPeng Fan				reg = <0x30240000 0x10000>;
400993274f4SPeng Fan				interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>,
401993274f4SPeng Fan					     <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>;
402993274f4SPeng Fan				gpio-controller;
403993274f4SPeng Fan				#gpio-cells = <2>;
404993274f4SPeng Fan				interrupt-controller;
405993274f4SPeng Fan				#interrupt-cells = <2>;
406993274f4SPeng Fan				gpio-ranges = <&iomuxc 0 98 18>;
407993274f4SPeng Fan			};
408993274f4SPeng Fan
409993274f4SPeng Fan			gpio6: gpio@30250000 {
410993274f4SPeng Fan				compatible = "fsl,imx7d-gpio", "fsl,imx35-gpio";
411993274f4SPeng Fan				reg = <0x30250000 0x10000>;
412993274f4SPeng Fan				interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>,
413993274f4SPeng Fan					     <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>;
414993274f4SPeng Fan				gpio-controller;
415993274f4SPeng Fan				#gpio-cells = <2>;
416993274f4SPeng Fan				interrupt-controller;
417993274f4SPeng Fan				#interrupt-cells = <2>;
418993274f4SPeng Fan				gpio-ranges = <&iomuxc 0 116 23>;
419993274f4SPeng Fan			};
420993274f4SPeng Fan
421993274f4SPeng Fan			gpio7: gpio@30260000 {
422993274f4SPeng Fan				compatible = "fsl,imx7d-gpio", "fsl,imx35-gpio";
423993274f4SPeng Fan				reg = <0x30260000 0x10000>;
424993274f4SPeng Fan				interrupts = <GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>,
425993274f4SPeng Fan					     <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>;
426993274f4SPeng Fan				gpio-controller;
427993274f4SPeng Fan				#gpio-cells = <2>;
428993274f4SPeng Fan				interrupt-controller;
429993274f4SPeng Fan				#interrupt-cells = <2>;
430993274f4SPeng Fan				gpio-ranges = <&iomuxc 0 139 16>;
431993274f4SPeng Fan			};
432993274f4SPeng Fan
433993274f4SPeng Fan			wdog1: wdog@30280000 {
434993274f4SPeng Fan				compatible = "fsl,imx7d-wdt", "fsl,imx21-wdt";
435993274f4SPeng Fan				reg = <0x30280000 0x10000>;
436993274f4SPeng Fan				interrupts = <GIC_SPI 78 IRQ_TYPE_LEVEL_HIGH>;
437993274f4SPeng Fan				clocks = <&clks IMX7D_WDOG1_ROOT_CLK>;
438993274f4SPeng Fan			};
439993274f4SPeng Fan
440993274f4SPeng Fan			wdog2: wdog@30290000 {
441993274f4SPeng Fan				compatible = "fsl,imx7d-wdt", "fsl,imx21-wdt";
442993274f4SPeng Fan				reg = <0x30290000 0x10000>;
443993274f4SPeng Fan				interrupts = <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>;
444993274f4SPeng Fan				clocks = <&clks IMX7D_WDOG2_ROOT_CLK>;
445993274f4SPeng Fan				status = "disabled";
446993274f4SPeng Fan			};
447993274f4SPeng Fan
448993274f4SPeng Fan			wdog3: wdog@302a0000 {
449993274f4SPeng Fan				compatible = "fsl,imx7d-wdt", "fsl,imx21-wdt";
450993274f4SPeng Fan				reg = <0x302a0000 0x10000>;
451993274f4SPeng Fan				interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
452993274f4SPeng Fan				clocks = <&clks IMX7D_WDOG3_ROOT_CLK>;
453993274f4SPeng Fan				status = "disabled";
454993274f4SPeng Fan			};
455993274f4SPeng Fan
456993274f4SPeng Fan			wdog4: wdog@302b0000 {
457993274f4SPeng Fan				compatible = "fsl,imx7d-wdt", "fsl,imx21-wdt";
458993274f4SPeng Fan				reg = <0x302b0000 0x10000>;
459993274f4SPeng Fan				interrupts = <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>;
460993274f4SPeng Fan				clocks = <&clks IMX7D_WDOG4_ROOT_CLK>;
461993274f4SPeng Fan				status = "disabled";
462993274f4SPeng Fan			};
463993274f4SPeng Fan
464993274f4SPeng Fan			iomuxc_lpsr: iomuxc-lpsr@302c0000 {
465993274f4SPeng Fan				compatible = "fsl,imx7d-iomuxc-lpsr";
466993274f4SPeng Fan				reg = <0x302c0000 0x10000>;
467993274f4SPeng Fan				fsl,input-sel = <&iomuxc>;
468993274f4SPeng Fan			};
469993274f4SPeng Fan
470993274f4SPeng Fan			gpt1: gpt@302d0000 {
471993274f4SPeng Fan				compatible = "fsl,imx7d-gpt", "fsl,imx6sx-gpt";
472993274f4SPeng Fan				reg = <0x302d0000 0x10000>;
473993274f4SPeng Fan				interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>;
474993274f4SPeng Fan				clocks = <&clks IMX7D_CLK_DUMMY>,
475993274f4SPeng Fan					 <&clks IMX7D_GPT1_ROOT_CLK>;
476993274f4SPeng Fan				clock-names = "ipg", "per";
477993274f4SPeng Fan			};
478993274f4SPeng Fan
479993274f4SPeng Fan			gpt2: gpt@302e0000 {
480993274f4SPeng Fan				compatible = "fsl,imx7d-gpt", "fsl,imx6sx-gpt";
481993274f4SPeng Fan				reg = <0x302e0000 0x10000>;
482993274f4SPeng Fan				interrupts = <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>;
483993274f4SPeng Fan				clocks = <&clks IMX7D_CLK_DUMMY>,
484993274f4SPeng Fan					 <&clks IMX7D_GPT2_ROOT_CLK>;
485993274f4SPeng Fan				clock-names = "ipg", "per";
486993274f4SPeng Fan				status = "disabled";
487993274f4SPeng Fan			};
488993274f4SPeng Fan
489993274f4SPeng Fan			gpt3: gpt@302f0000 {
490993274f4SPeng Fan				compatible = "fsl,imx7d-gpt", "fsl,imx6sx-gpt";
491993274f4SPeng Fan				reg = <0x302f0000 0x10000>;
492993274f4SPeng Fan				interrupts = <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>;
493993274f4SPeng Fan				clocks = <&clks IMX7D_CLK_DUMMY>,
494993274f4SPeng Fan					 <&clks IMX7D_GPT3_ROOT_CLK>;
495993274f4SPeng Fan				clock-names = "ipg", "per";
496993274f4SPeng Fan				status = "disabled";
497993274f4SPeng Fan			};
498993274f4SPeng Fan
499993274f4SPeng Fan			gpt4: gpt@30300000 {
500993274f4SPeng Fan				compatible = "fsl,imx7d-gpt", "fsl,imx6sx-gpt";
501993274f4SPeng Fan				reg = <0x30300000 0x10000>;
502993274f4SPeng Fan				interrupts = <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>;
503993274f4SPeng Fan				clocks = <&clks IMX7D_CLK_DUMMY>,
504993274f4SPeng Fan					 <&clks IMX7D_GPT4_ROOT_CLK>;
505993274f4SPeng Fan				clock-names = "ipg", "per";
506993274f4SPeng Fan				status = "disabled";
507993274f4SPeng Fan			};
508993274f4SPeng Fan
509aba6a0fbSStefan Agner			kpp: kpp@30320000 {
510aba6a0fbSStefan Agner				compatible = "fsl,imx7d-kpp", "fsl,imx21-kpp";
511aba6a0fbSStefan Agner				reg = <0x30320000 0x10000>;
512aba6a0fbSStefan Agner				interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>;
513aba6a0fbSStefan Agner				clocks = <&clks IMX7D_KPP_ROOT_CLK>;
514aba6a0fbSStefan Agner				status = "disabled";
515aba6a0fbSStefan Agner			};
516aba6a0fbSStefan Agner
517993274f4SPeng Fan			iomuxc: iomuxc@30330000 {
518993274f4SPeng Fan				compatible = "fsl,imx7d-iomuxc";
519993274f4SPeng Fan				reg = <0x30330000 0x10000>;
520993274f4SPeng Fan			};
521993274f4SPeng Fan
522993274f4SPeng Fan			gpr: iomuxc-gpr@30340000 {
523aba6a0fbSStefan Agner				compatible = "fsl,imx7d-iomuxc-gpr",
524aba6a0fbSStefan Agner					"fsl,imx6q-iomuxc-gpr", "syscon";
525993274f4SPeng Fan				reg = <0x30340000 0x10000>;
526993274f4SPeng Fan			};
527993274f4SPeng Fan
528993274f4SPeng Fan			ocotp: ocotp-ctrl@30350000 {
529aba6a0fbSStefan Agner				#address-cells = <1>;
530aba6a0fbSStefan Agner				#size-cells = <1>;
531993274f4SPeng Fan				compatible = "fsl,imx7d-ocotp", "syscon";
532993274f4SPeng Fan				reg = <0x30350000 0x10000>;
533993274f4SPeng Fan				clocks = <&clks IMX7D_OCOTP_CLK>;
534aba6a0fbSStefan Agner
535aba6a0fbSStefan Agner				tempmon_calib: calib@3c {
536aba6a0fbSStefan Agner					reg = <0x3c 0x4>;
537aba6a0fbSStefan Agner				};
538aba6a0fbSStefan Agner
539aba6a0fbSStefan Agner				tempmon_temp_grade: temp-grade@10 {
540aba6a0fbSStefan Agner					reg = <0x10 0x4>;
541aba6a0fbSStefan Agner				};
542aba6a0fbSStefan Agner			};
543aba6a0fbSStefan Agner
544aba6a0fbSStefan Agner			tempmon: tempmon {
545aba6a0fbSStefan Agner				compatible = "fsl,imx7d-tempmon";
546aba6a0fbSStefan Agner				interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>;
547aba6a0fbSStefan Agner				fsl,tempmon =<&anatop>;
548aba6a0fbSStefan Agner				nvmem-cells = <&tempmon_calib>,
549aba6a0fbSStefan Agner					<&tempmon_temp_grade>;
550aba6a0fbSStefan Agner				nvmem-cell-names = "calib", "temp_grade";
551aba6a0fbSStefan Agner				clocks = <&clks IMX7D_PLL_SYS_MAIN_CLK>;
552993274f4SPeng Fan			};
553993274f4SPeng Fan
554993274f4SPeng Fan			anatop: anatop@30360000 {
555993274f4SPeng Fan				compatible = "fsl,imx7d-anatop", "fsl,imx6q-anatop",
556993274f4SPeng Fan					"syscon", "simple-bus";
557993274f4SPeng Fan				reg = <0x30360000 0x10000>;
558993274f4SPeng Fan				interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>,
559993274f4SPeng Fan					<GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH>;
560aba6a0fbSStefan Agner				#address-cells = <1>;
561aba6a0fbSStefan Agner				#size-cells = <0>;
562993274f4SPeng Fan
563aba6a0fbSStefan Agner				reg_1p0d: regulator-vdd1p0d@30360210 {
564aba6a0fbSStefan Agner					reg = <0x30360210>;
565993274f4SPeng Fan					compatible = "fsl,anatop-regulator";
566993274f4SPeng Fan					regulator-name = "vdd1p0d";
567993274f4SPeng Fan					regulator-min-microvolt = <800000>;
568993274f4SPeng Fan					regulator-max-microvolt = <1200000>;
569993274f4SPeng Fan					anatop-reg-offset = <0x210>;
570993274f4SPeng Fan					anatop-vol-bit-shift = <8>;
571993274f4SPeng Fan					anatop-vol-bit-width = <5>;
572993274f4SPeng Fan					anatop-min-bit-val = <8>;
573993274f4SPeng Fan					anatop-min-voltage = <800000>;
574993274f4SPeng Fan					anatop-max-voltage = <1200000>;
575aba6a0fbSStefan Agner					anatop-enable-bit = <0>;
576993274f4SPeng Fan				};
577993274f4SPeng Fan			};
578993274f4SPeng Fan
579993274f4SPeng Fan			snvs: snvs@30370000 {
580993274f4SPeng Fan				compatible = "fsl,sec-v4.0-mon", "syscon", "simple-mfd";
581993274f4SPeng Fan				reg = <0x30370000 0x10000>;
582993274f4SPeng Fan
583993274f4SPeng Fan				snvs_rtc: snvs-rtc-lp {
584993274f4SPeng Fan					compatible = "fsl,sec-v4.0-mon-rtc-lp";
585993274f4SPeng Fan					regmap = <&snvs>;
586993274f4SPeng Fan					offset = <0x34>;
587993274f4SPeng Fan					interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>,
588993274f4SPeng Fan						     <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
589aba6a0fbSStefan Agner					clocks = <&clks IMX7D_SNVS_CLK>;
590aba6a0fbSStefan Agner					clock-names = "snvs-rtc";
591993274f4SPeng Fan				};
592993274f4SPeng Fan
593993274f4SPeng Fan				snvs_poweroff: snvs-poweroff {
594993274f4SPeng Fan					compatible = "syscon-poweroff";
595993274f4SPeng Fan					regmap = <&snvs>;
596993274f4SPeng Fan					offset = <0x38>;
597aba6a0fbSStefan Agner					value = <0x60>;
598993274f4SPeng Fan					mask = <0x60>;
599993274f4SPeng Fan				};
600993274f4SPeng Fan
601993274f4SPeng Fan				snvs_pwrkey: snvs-powerkey {
602993274f4SPeng Fan					compatible = "fsl,sec-v4.0-pwrkey";
603993274f4SPeng Fan					regmap = <&snvs>;
604993274f4SPeng Fan					interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
605993274f4SPeng Fan					linux,keycode = <KEY_POWER>;
606993274f4SPeng Fan					wakeup-source;
607993274f4SPeng Fan				};
608993274f4SPeng Fan			};
609993274f4SPeng Fan
610993274f4SPeng Fan			clks: ccm@30380000 {
611993274f4SPeng Fan				compatible = "fsl,imx7d-ccm";
612993274f4SPeng Fan				reg = <0x30380000 0x10000>;
613993274f4SPeng Fan				interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>,
614993274f4SPeng Fan					     <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
615993274f4SPeng Fan				#clock-cells = <1>;
616993274f4SPeng Fan				clocks = <&ckil>, <&osc>;
617993274f4SPeng Fan				clock-names = "ckil", "osc";
618993274f4SPeng Fan			};
619993274f4SPeng Fan
620993274f4SPeng Fan			src: src@30390000 {
621aba6a0fbSStefan Agner				compatible = "fsl,imx7d-src", "syscon";
622993274f4SPeng Fan				reg = <0x30390000 0x10000>;
623993274f4SPeng Fan				interrupts = <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>;
624993274f4SPeng Fan				#reset-cells = <1>;
625993274f4SPeng Fan			};
626aba6a0fbSStefan Agner
627aba6a0fbSStefan Agner			gpc: gpc@303a0000 {
628aba6a0fbSStefan Agner				compatible = "fsl,imx7d-gpc";
629aba6a0fbSStefan Agner				reg = <0x303a0000 0x10000>;
630aba6a0fbSStefan Agner				interrupt-controller;
631aba6a0fbSStefan Agner				interrupts = <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>;
632aba6a0fbSStefan Agner				#interrupt-cells = <3>;
633aba6a0fbSStefan Agner				interrupt-parent = <&intc>;
634aba6a0fbSStefan Agner				#power-domain-cells = <1>;
635aba6a0fbSStefan Agner
636aba6a0fbSStefan Agner				pgc {
637aba6a0fbSStefan Agner					#address-cells = <1>;
638aba6a0fbSStefan Agner					#size-cells = <0>;
639aba6a0fbSStefan Agner
640aba6a0fbSStefan Agner					pgc_pcie_phy: pgc-power-domain@1 {
641aba6a0fbSStefan Agner						#power-domain-cells = <0>;
642aba6a0fbSStefan Agner						reg = <1>;
643aba6a0fbSStefan Agner						power-supply = <&reg_1p0d>;
644aba6a0fbSStefan Agner					};
645aba6a0fbSStefan Agner				};
646aba6a0fbSStefan Agner			};
647993274f4SPeng Fan		};
648993274f4SPeng Fan
649993274f4SPeng Fan		aips2: aips-bus@30400000 {
650993274f4SPeng Fan			compatible = "fsl,aips-bus", "simple-bus";
651993274f4SPeng Fan			#address-cells = <1>;
652993274f4SPeng Fan			#size-cells = <1>;
653993274f4SPeng Fan			reg = <0x30400000 0x400000>;
654993274f4SPeng Fan			ranges;
655993274f4SPeng Fan
656993274f4SPeng Fan			adc1: adc@30610000 {
657993274f4SPeng Fan				compatible = "fsl,imx7d-adc";
658993274f4SPeng Fan				reg = <0x30610000 0x10000>;
659993274f4SPeng Fan				interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>;
660993274f4SPeng Fan				clocks = <&clks IMX7D_ADC_ROOT_CLK>;
661993274f4SPeng Fan				clock-names = "adc";
662993274f4SPeng Fan				status = "disabled";
663993274f4SPeng Fan			};
664993274f4SPeng Fan
665993274f4SPeng Fan			adc2: adc@30620000 {
666993274f4SPeng Fan				compatible = "fsl,imx7d-adc";
667993274f4SPeng Fan				reg = <0x30620000 0x10000>;
668993274f4SPeng Fan				interrupts = <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>;
669993274f4SPeng Fan				clocks = <&clks IMX7D_ADC_ROOT_CLK>;
670993274f4SPeng Fan				clock-names = "adc";
671993274f4SPeng Fan				status = "disabled";
672993274f4SPeng Fan			};
673993274f4SPeng Fan
674993274f4SPeng Fan			ecspi4: ecspi@30630000 {
675993274f4SPeng Fan				#address-cells = <1>;
676993274f4SPeng Fan				#size-cells = <0>;
677993274f4SPeng Fan				compatible = "fsl,imx7d-ecspi", "fsl,imx51-ecspi";
678993274f4SPeng Fan				reg = <0x30630000 0x10000>;
679993274f4SPeng Fan				interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>;
680993274f4SPeng Fan				clocks = <&clks IMX7D_ECSPI4_ROOT_CLK>,
681993274f4SPeng Fan					<&clks IMX7D_ECSPI4_ROOT_CLK>;
682993274f4SPeng Fan				clock-names = "ipg", "per";
683993274f4SPeng Fan				status = "disabled";
684993274f4SPeng Fan			};
685993274f4SPeng Fan
686993274f4SPeng Fan			pwm1: pwm@30660000 {
687993274f4SPeng Fan				compatible = "fsl,imx7d-pwm", "fsl,imx27-pwm";
688993274f4SPeng Fan				reg = <0x30660000 0x10000>;
689993274f4SPeng Fan				interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>;
690993274f4SPeng Fan				clocks = <&clks IMX7D_PWM1_ROOT_CLK>,
691993274f4SPeng Fan					 <&clks IMX7D_PWM1_ROOT_CLK>;
692993274f4SPeng Fan				clock-names = "ipg", "per";
693aba6a0fbSStefan Agner				#pwm-cells = <3>;
694993274f4SPeng Fan				status = "disabled";
695993274f4SPeng Fan			};
696993274f4SPeng Fan
697993274f4SPeng Fan			pwm2: pwm@30670000 {
698993274f4SPeng Fan				compatible = "fsl,imx7d-pwm", "fsl,imx27-pwm";
699993274f4SPeng Fan				reg = <0x30670000 0x10000>;
700993274f4SPeng Fan				interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>;
701993274f4SPeng Fan				clocks = <&clks IMX7D_PWM2_ROOT_CLK>,
702993274f4SPeng Fan					 <&clks IMX7D_PWM2_ROOT_CLK>;
703993274f4SPeng Fan				clock-names = "ipg", "per";
704aba6a0fbSStefan Agner				#pwm-cells = <3>;
705993274f4SPeng Fan				status = "disabled";
706993274f4SPeng Fan			};
707993274f4SPeng Fan
708993274f4SPeng Fan			pwm3: pwm@30680000 {
709993274f4SPeng Fan				compatible = "fsl,imx7d-pwm", "fsl,imx27-pwm";
710993274f4SPeng Fan				reg = <0x30680000 0x10000>;
711993274f4SPeng Fan				interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
712993274f4SPeng Fan				clocks = <&clks IMX7D_PWM3_ROOT_CLK>,
713993274f4SPeng Fan					 <&clks IMX7D_PWM3_ROOT_CLK>;
714993274f4SPeng Fan				clock-names = "ipg", "per";
715aba6a0fbSStefan Agner				#pwm-cells = <3>;
716993274f4SPeng Fan				status = "disabled";
717993274f4SPeng Fan			};
718993274f4SPeng Fan
719993274f4SPeng Fan			pwm4: pwm@30690000 {
720993274f4SPeng Fan				compatible = "fsl,imx7d-pwm", "fsl,imx27-pwm";
721993274f4SPeng Fan				reg = <0x30690000 0x10000>;
722993274f4SPeng Fan				interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>;
723993274f4SPeng Fan				clocks = <&clks IMX7D_PWM4_ROOT_CLK>,
724993274f4SPeng Fan					 <&clks IMX7D_PWM4_ROOT_CLK>;
725993274f4SPeng Fan				clock-names = "ipg", "per";
726aba6a0fbSStefan Agner				#pwm-cells = <3>;
727993274f4SPeng Fan				status = "disabled";
728993274f4SPeng Fan			};
729993274f4SPeng Fan
730993274f4SPeng Fan			lcdif: lcdif@30730000 {
731993274f4SPeng Fan				compatible = "fsl,imx7d-lcdif", "fsl,imx28-lcdif";
732993274f4SPeng Fan				reg = <0x30730000 0x10000>;
733993274f4SPeng Fan				interrupts = <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
734993274f4SPeng Fan				clocks = <&clks IMX7D_LCDIF_PIXEL_ROOT_CLK>,
735993274f4SPeng Fan					<&clks IMX7D_LCDIF_PIXEL_ROOT_CLK>;
736993274f4SPeng Fan				clock-names = "pix", "axi";
737993274f4SPeng Fan				status = "disabled";
738993274f4SPeng Fan			};
739993274f4SPeng Fan		};
740993274f4SPeng Fan
741993274f4SPeng Fan		aips3: aips-bus@30800000 {
742993274f4SPeng Fan			compatible = "fsl,aips-bus", "simple-bus";
743993274f4SPeng Fan			#address-cells = <1>;
744993274f4SPeng Fan			#size-cells = <1>;
745993274f4SPeng Fan			reg = <0x30800000 0x400000>;
746993274f4SPeng Fan			ranges;
747993274f4SPeng Fan
748aba6a0fbSStefan Agner			spba-bus@30800000 {
749aba6a0fbSStefan Agner				compatible = "fsl,spba-bus", "simple-bus";
750aba6a0fbSStefan Agner				#address-cells = <1>;
751aba6a0fbSStefan Agner				#size-cells = <1>;
752aba6a0fbSStefan Agner				reg = <0x30800000 0x100000>;
753aba6a0fbSStefan Agner				ranges;
754aba6a0fbSStefan Agner
755993274f4SPeng Fan				ecspi1: ecspi@30820000 {
756993274f4SPeng Fan					#address-cells = <1>;
757993274f4SPeng Fan					#size-cells = <0>;
758993274f4SPeng Fan					compatible = "fsl,imx7d-ecspi", "fsl,imx51-ecspi";
759993274f4SPeng Fan					reg = <0x30820000 0x10000>;
760993274f4SPeng Fan					interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>;
761993274f4SPeng Fan					clocks = <&clks IMX7D_ECSPI1_ROOT_CLK>,
762993274f4SPeng Fan						<&clks IMX7D_ECSPI1_ROOT_CLK>;
763993274f4SPeng Fan					clock-names = "ipg", "per";
764993274f4SPeng Fan					status = "disabled";
765993274f4SPeng Fan				};
766993274f4SPeng Fan
767993274f4SPeng Fan				ecspi2: ecspi@30830000 {
768993274f4SPeng Fan					#address-cells = <1>;
769993274f4SPeng Fan					#size-cells = <0>;
770993274f4SPeng Fan					compatible = "fsl,imx7d-ecspi", "fsl,imx51-ecspi";
771993274f4SPeng Fan					reg = <0x30830000 0x10000>;
772993274f4SPeng Fan					interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
773993274f4SPeng Fan					clocks = <&clks IMX7D_ECSPI2_ROOT_CLK>,
774993274f4SPeng Fan						<&clks IMX7D_ECSPI2_ROOT_CLK>;
775993274f4SPeng Fan					clock-names = "ipg", "per";
776993274f4SPeng Fan					status = "disabled";
777993274f4SPeng Fan				};
778993274f4SPeng Fan
779993274f4SPeng Fan				ecspi3: ecspi@30840000 {
780993274f4SPeng Fan					#address-cells = <1>;
781993274f4SPeng Fan					#size-cells = <0>;
782993274f4SPeng Fan					compatible = "fsl,imx7d-ecspi", "fsl,imx51-ecspi";
783993274f4SPeng Fan					reg = <0x30840000 0x10000>;
784993274f4SPeng Fan					interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>;
785993274f4SPeng Fan					clocks = <&clks IMX7D_ECSPI3_ROOT_CLK>,
786993274f4SPeng Fan						<&clks IMX7D_ECSPI3_ROOT_CLK>;
787993274f4SPeng Fan					clock-names = "ipg", "per";
788993274f4SPeng Fan					status = "disabled";
789993274f4SPeng Fan				};
790993274f4SPeng Fan
791993274f4SPeng Fan				uart1: serial@30860000 {
792993274f4SPeng Fan					compatible = "fsl,imx7d-uart",
793993274f4SPeng Fan						     "fsl,imx6q-uart";
794993274f4SPeng Fan					reg = <0x30860000 0x10000>;
795993274f4SPeng Fan					interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
796993274f4SPeng Fan					clocks = <&clks IMX7D_UART1_ROOT_CLK>,
797993274f4SPeng Fan						<&clks IMX7D_UART1_ROOT_CLK>;
798993274f4SPeng Fan					clock-names = "ipg", "per";
799993274f4SPeng Fan					status = "disabled";
800993274f4SPeng Fan				};
801993274f4SPeng Fan
802993274f4SPeng Fan				uart2: serial@30890000 {
803993274f4SPeng Fan					compatible = "fsl,imx7d-uart",
804993274f4SPeng Fan						     "fsl,imx6q-uart";
805993274f4SPeng Fan					reg = <0x30890000 0x10000>;
806993274f4SPeng Fan					interrupts = <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH>;
807993274f4SPeng Fan					clocks = <&clks IMX7D_UART2_ROOT_CLK>,
808993274f4SPeng Fan						<&clks IMX7D_UART2_ROOT_CLK>;
809993274f4SPeng Fan					clock-names = "ipg", "per";
810993274f4SPeng Fan					status = "disabled";
811993274f4SPeng Fan				};
812993274f4SPeng Fan
813993274f4SPeng Fan				uart3: serial@30880000 {
814993274f4SPeng Fan					compatible = "fsl,imx7d-uart",
815993274f4SPeng Fan						     "fsl,imx6q-uart";
816993274f4SPeng Fan					reg = <0x30880000 0x10000>;
817993274f4SPeng Fan					interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>;
818993274f4SPeng Fan					clocks = <&clks IMX7D_UART3_ROOT_CLK>,
819993274f4SPeng Fan						<&clks IMX7D_UART3_ROOT_CLK>;
820993274f4SPeng Fan					clock-names = "ipg", "per";
821993274f4SPeng Fan					status = "disabled";
822993274f4SPeng Fan				};
823993274f4SPeng Fan
824993274f4SPeng Fan				sai1: sai@308a0000 {
825993274f4SPeng Fan					#sound-dai-cells = <0>;
826993274f4SPeng Fan					compatible = "fsl,imx7d-sai", "fsl,imx6sx-sai";
827993274f4SPeng Fan					reg = <0x308a0000 0x10000>;
828993274f4SPeng Fan					interrupts = <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>;
829993274f4SPeng Fan					clocks = <&clks IMX7D_SAI1_IPG_CLK>,
830993274f4SPeng Fan						 <&clks IMX7D_SAI1_ROOT_CLK>,
831993274f4SPeng Fan						 <&clks IMX7D_CLK_DUMMY>,
832993274f4SPeng Fan						 <&clks IMX7D_CLK_DUMMY>;
833993274f4SPeng Fan					clock-names = "bus", "mclk1", "mclk2", "mclk3";
834993274f4SPeng Fan					dma-names = "rx", "tx";
835993274f4SPeng Fan					dmas = <&sdma 8 24 0>, <&sdma 9 24 0>;
836993274f4SPeng Fan					status = "disabled";
837993274f4SPeng Fan				};
838993274f4SPeng Fan
839993274f4SPeng Fan				sai2: sai@308b0000 {
840993274f4SPeng Fan					#sound-dai-cells = <0>;
841993274f4SPeng Fan					compatible = "fsl,imx7d-sai", "fsl,imx6sx-sai";
842993274f4SPeng Fan					reg = <0x308b0000 0x10000>;
843993274f4SPeng Fan					interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
844993274f4SPeng Fan					clocks = <&clks IMX7D_SAI2_IPG_CLK>,
845993274f4SPeng Fan						 <&clks IMX7D_SAI2_ROOT_CLK>,
846993274f4SPeng Fan						 <&clks IMX7D_CLK_DUMMY>,
847993274f4SPeng Fan						 <&clks IMX7D_CLK_DUMMY>;
848993274f4SPeng Fan					clock-names = "bus", "mclk1", "mclk2", "mclk3";
849993274f4SPeng Fan					dma-names = "rx", "tx";
850993274f4SPeng Fan					dmas = <&sdma 10 24 0>, <&sdma 11 24 0>;
851993274f4SPeng Fan					status = "disabled";
852993274f4SPeng Fan				};
853993274f4SPeng Fan
854993274f4SPeng Fan				sai3: sai@308c0000 {
855993274f4SPeng Fan					#sound-dai-cells = <0>;
856993274f4SPeng Fan					compatible = "fsl,imx7d-sai", "fsl,imx6sx-sai";
857993274f4SPeng Fan					reg = <0x308c0000 0x10000>;
858993274f4SPeng Fan					interrupts = <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>;
859993274f4SPeng Fan					clocks = <&clks IMX7D_SAI3_IPG_CLK>,
860993274f4SPeng Fan						 <&clks IMX7D_SAI3_ROOT_CLK>,
861993274f4SPeng Fan						 <&clks IMX7D_CLK_DUMMY>,
862993274f4SPeng Fan						 <&clks IMX7D_CLK_DUMMY>;
863993274f4SPeng Fan					clock-names = "bus", "mclk1", "mclk2", "mclk3";
864993274f4SPeng Fan					dma-names = "rx", "tx";
865993274f4SPeng Fan					dmas = <&sdma 12 24 0>, <&sdma 13 24 0>;
866993274f4SPeng Fan					status = "disabled";
867993274f4SPeng Fan				};
868aba6a0fbSStefan Agner			};
869aba6a0fbSStefan Agner
870aba6a0fbSStefan Agner			crypto: caam@30900000 {
871aba6a0fbSStefan Agner				compatible = "fsl,sec-v4.0";
872aba6a0fbSStefan Agner				#address-cells = <1>;
873aba6a0fbSStefan Agner				#size-cells = <1>;
874aba6a0fbSStefan Agner				reg = <0x30900000 0x40000>;
875aba6a0fbSStefan Agner				ranges = <0 0x30900000 0x40000>;
876aba6a0fbSStefan Agner				interrupts = <GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH>;
877aba6a0fbSStefan Agner				clocks = <&clks IMX7D_CAAM_CLK>,
878aba6a0fbSStefan Agner					 <&clks IMX7D_AHB_CHANNEL_ROOT_CLK>;
879aba6a0fbSStefan Agner				clock-names = "ipg", "aclk";
880aba6a0fbSStefan Agner
881aba6a0fbSStefan Agner				sec_jr0: jr0@1000 {
882aba6a0fbSStefan Agner					compatible = "fsl,sec-v4.0-job-ring";
883aba6a0fbSStefan Agner					reg = <0x1000 0x1000>;
884aba6a0fbSStefan Agner					interrupts = <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>;
885aba6a0fbSStefan Agner				};
886aba6a0fbSStefan Agner
887aba6a0fbSStefan Agner				sec_jr1: jr1@2000 {
888aba6a0fbSStefan Agner					compatible = "fsl,sec-v4.0-job-ring";
889aba6a0fbSStefan Agner					reg = <0x2000 0x1000>;
890aba6a0fbSStefan Agner					interrupts = <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>;
891aba6a0fbSStefan Agner				};
892aba6a0fbSStefan Agner
893aba6a0fbSStefan Agner				sec_jr2: jr1@3000 {
894aba6a0fbSStefan Agner					compatible = "fsl,sec-v4.0-job-ring";
895aba6a0fbSStefan Agner					reg = <0x3000 0x1000>;
896aba6a0fbSStefan Agner					interrupts = <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>;
897aba6a0fbSStefan Agner				};
898aba6a0fbSStefan Agner			};
899993274f4SPeng Fan
900993274f4SPeng Fan			flexcan1: can@30a00000 {
901993274f4SPeng Fan				compatible = "fsl,imx7d-flexcan", "fsl,imx6q-flexcan";
902993274f4SPeng Fan				reg = <0x30a00000 0x10000>;
903993274f4SPeng Fan				interrupts = <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>;
904993274f4SPeng Fan				clocks = <&clks IMX7D_CLK_DUMMY>,
905993274f4SPeng Fan					<&clks IMX7D_CAN1_ROOT_CLK>;
906993274f4SPeng Fan				clock-names = "ipg", "per";
907993274f4SPeng Fan				status = "disabled";
908993274f4SPeng Fan			};
909993274f4SPeng Fan
910993274f4SPeng Fan			flexcan2: can@30a10000 {
911993274f4SPeng Fan				compatible = "fsl,imx7d-flexcan", "fsl,imx6q-flexcan";
912993274f4SPeng Fan				reg = <0x30a10000 0x10000>;
913993274f4SPeng Fan				interrupts = <GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>;
914993274f4SPeng Fan				clocks = <&clks IMX7D_CLK_DUMMY>,
915993274f4SPeng Fan					<&clks IMX7D_CAN2_ROOT_CLK>;
916993274f4SPeng Fan				clock-names = "ipg", "per";
917993274f4SPeng Fan				status = "disabled";
918993274f4SPeng Fan			};
919993274f4SPeng Fan
920993274f4SPeng Fan			i2c1: i2c@30a20000 {
921993274f4SPeng Fan				#address-cells = <1>;
922993274f4SPeng Fan				#size-cells = <0>;
923993274f4SPeng Fan				compatible = "fsl,imx7d-i2c", "fsl,imx21-i2c";
924993274f4SPeng Fan				reg = <0x30a20000 0x10000>;
925993274f4SPeng Fan				interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>;
926993274f4SPeng Fan				clocks = <&clks IMX7D_I2C1_ROOT_CLK>;
927993274f4SPeng Fan				status = "disabled";
928993274f4SPeng Fan			};
929993274f4SPeng Fan
930993274f4SPeng Fan			i2c2: i2c@30a30000 {
931993274f4SPeng Fan				#address-cells = <1>;
932993274f4SPeng Fan				#size-cells = <0>;
933993274f4SPeng Fan				compatible = "fsl,imx7d-i2c", "fsl,imx21-i2c";
934993274f4SPeng Fan				reg = <0x30a30000 0x10000>;
935993274f4SPeng Fan				interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
936993274f4SPeng Fan				clocks = <&clks IMX7D_I2C2_ROOT_CLK>;
937993274f4SPeng Fan				status = "disabled";
938993274f4SPeng Fan			};
939993274f4SPeng Fan
940993274f4SPeng Fan			i2c3: i2c@30a40000 {
941993274f4SPeng Fan				#address-cells = <1>;
942993274f4SPeng Fan				#size-cells = <0>;
943993274f4SPeng Fan				compatible = "fsl,imx7d-i2c", "fsl,imx21-i2c";
944993274f4SPeng Fan				reg = <0x30a40000 0x10000>;
945993274f4SPeng Fan				interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
946993274f4SPeng Fan				clocks = <&clks IMX7D_I2C3_ROOT_CLK>;
947993274f4SPeng Fan				status = "disabled";
948993274f4SPeng Fan			};
949993274f4SPeng Fan
950993274f4SPeng Fan			i2c4: i2c@30a50000 {
951993274f4SPeng Fan				#address-cells = <1>;
952993274f4SPeng Fan				#size-cells = <0>;
953993274f4SPeng Fan				compatible = "fsl,imx7d-i2c", "fsl,imx21-i2c";
954993274f4SPeng Fan				reg = <0x30a50000 0x10000>;
955993274f4SPeng Fan				interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>;
956993274f4SPeng Fan				clocks = <&clks IMX7D_I2C4_ROOT_CLK>;
957993274f4SPeng Fan				status = "disabled";
958993274f4SPeng Fan			};
959993274f4SPeng Fan
960993274f4SPeng Fan			uart4: serial@30a60000 {
961993274f4SPeng Fan				compatible = "fsl,imx7d-uart",
962993274f4SPeng Fan					     "fsl,imx6q-uart";
963993274f4SPeng Fan				reg = <0x30a60000 0x10000>;
964993274f4SPeng Fan				interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>;
965993274f4SPeng Fan				clocks = <&clks IMX7D_UART4_ROOT_CLK>,
966993274f4SPeng Fan					<&clks IMX7D_UART4_ROOT_CLK>;
967993274f4SPeng Fan				clock-names = "ipg", "per";
968993274f4SPeng Fan				status = "disabled";
969993274f4SPeng Fan			};
970993274f4SPeng Fan
971993274f4SPeng Fan			uart5: serial@30a70000 {
972993274f4SPeng Fan				compatible = "fsl,imx7d-uart",
973993274f4SPeng Fan					     "fsl,imx6q-uart";
974993274f4SPeng Fan				reg = <0x30a70000 0x10000>;
975993274f4SPeng Fan				interrupts = <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>;
976993274f4SPeng Fan				clocks = <&clks IMX7D_UART5_ROOT_CLK>,
977993274f4SPeng Fan					<&clks IMX7D_UART5_ROOT_CLK>;
978993274f4SPeng Fan				clock-names = "ipg", "per";
979993274f4SPeng Fan				status = "disabled";
980993274f4SPeng Fan			};
981993274f4SPeng Fan
982993274f4SPeng Fan			uart6: serial@30a80000 {
983993274f4SPeng Fan				compatible = "fsl,imx7d-uart",
984993274f4SPeng Fan					     "fsl,imx6q-uart";
985993274f4SPeng Fan				reg = <0x30a80000 0x10000>;
986993274f4SPeng Fan				interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
987993274f4SPeng Fan				clocks = <&clks IMX7D_UART6_ROOT_CLK>,
988993274f4SPeng Fan					<&clks IMX7D_UART6_ROOT_CLK>;
989993274f4SPeng Fan				clock-names = "ipg", "per";
990993274f4SPeng Fan				status = "disabled";
991993274f4SPeng Fan			};
992993274f4SPeng Fan
993993274f4SPeng Fan			uart7: serial@30a90000 {
994993274f4SPeng Fan				compatible = "fsl,imx7d-uart",
995993274f4SPeng Fan					     "fsl,imx6q-uart";
996993274f4SPeng Fan				reg = <0x30a90000 0x10000>;
997993274f4SPeng Fan				interrupts = <GIC_SPI 126 IRQ_TYPE_LEVEL_HIGH>;
998993274f4SPeng Fan				clocks = <&clks IMX7D_UART7_ROOT_CLK>,
999993274f4SPeng Fan					<&clks IMX7D_UART7_ROOT_CLK>;
1000993274f4SPeng Fan				clock-names = "ipg", "per";
1001993274f4SPeng Fan				status = "disabled";
1002993274f4SPeng Fan			};
1003993274f4SPeng Fan
1004993274f4SPeng Fan			usbotg1: usb@30b10000 {
1005993274f4SPeng Fan				compatible = "fsl,imx7d-usb", "fsl,imx27-usb";
1006993274f4SPeng Fan				reg = <0x30b10000 0x200>;
1007993274f4SPeng Fan				interrupts = <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>;
1008993274f4SPeng Fan				clocks = <&clks IMX7D_USB_CTRL_CLK>;
1009993274f4SPeng Fan				fsl,usbphy = <&usbphynop1>;
1010993274f4SPeng Fan				fsl,usbmisc = <&usbmisc1 0>;
1011993274f4SPeng Fan				phy-clkgate-delay-us = <400>;
1012993274f4SPeng Fan				status = "disabled";
1013993274f4SPeng Fan			};
1014993274f4SPeng Fan
1015993274f4SPeng Fan			usbh: usb@30b30000 {
1016993274f4SPeng Fan				compatible = "fsl,imx7d-usb", "fsl,imx27-usb";
1017993274f4SPeng Fan				reg = <0x30b30000 0x200>;
1018993274f4SPeng Fan				interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>;
1019993274f4SPeng Fan				clocks = <&clks IMX7D_USB_CTRL_CLK>;
1020993274f4SPeng Fan				fsl,usbphy = <&usbphynop3>;
1021993274f4SPeng Fan				fsl,usbmisc = <&usbmisc3 0>;
1022993274f4SPeng Fan				phy_type = "hsic";
1023993274f4SPeng Fan				dr_mode = "host";
1024993274f4SPeng Fan				phy-clkgate-delay-us = <400>;
1025993274f4SPeng Fan				status = "disabled";
1026993274f4SPeng Fan			};
1027993274f4SPeng Fan
1028993274f4SPeng Fan			usbmisc1: usbmisc@30b10200 {
1029993274f4SPeng Fan				#index-cells = <1>;
1030993274f4SPeng Fan				compatible = "fsl,imx7d-usbmisc", "fsl,imx6q-usbmisc";
1031993274f4SPeng Fan				reg = <0x30b10200 0x200>;
1032993274f4SPeng Fan			};
1033993274f4SPeng Fan
1034993274f4SPeng Fan			usbmisc3: usbmisc@30b30200 {
1035993274f4SPeng Fan				#index-cells = <1>;
1036993274f4SPeng Fan				compatible = "fsl,imx7d-usbmisc", "fsl,imx6q-usbmisc";
1037993274f4SPeng Fan				reg = <0x30b30200 0x200>;
1038993274f4SPeng Fan			};
1039993274f4SPeng Fan
1040993274f4SPeng Fan			usdhc1: usdhc@30b40000 {
1041993274f4SPeng Fan				compatible = "fsl,imx7d-usdhc", "fsl,imx6sl-usdhc";
1042993274f4SPeng Fan				reg = <0x30b40000 0x10000>;
1043993274f4SPeng Fan				interrupts = <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>;
1044aba6a0fbSStefan Agner				clocks = <&clks IMX7D_IPG_ROOT_CLK>,
1045aba6a0fbSStefan Agner					<&clks IMX7D_NAND_USDHC_BUS_ROOT_CLK>,
1046993274f4SPeng Fan					<&clks IMX7D_USDHC1_ROOT_CLK>;
1047993274f4SPeng Fan				clock-names = "ipg", "ahb", "per";
1048993274f4SPeng Fan				bus-width = <4>;
1049993274f4SPeng Fan				status = "disabled";
1050993274f4SPeng Fan			};
1051993274f4SPeng Fan
1052993274f4SPeng Fan			usdhc2: usdhc@30b50000 {
1053993274f4SPeng Fan				compatible = "fsl,imx7d-usdhc", "fsl,imx6sl-usdhc";
1054993274f4SPeng Fan				reg = <0x30b50000 0x10000>;
1055993274f4SPeng Fan				interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
1056aba6a0fbSStefan Agner				clocks = <&clks IMX7D_IPG_ROOT_CLK>,
1057aba6a0fbSStefan Agner					<&clks IMX7D_NAND_USDHC_BUS_ROOT_CLK>,
1058993274f4SPeng Fan					<&clks IMX7D_USDHC2_ROOT_CLK>;
1059993274f4SPeng Fan				clock-names = "ipg", "ahb", "per";
1060993274f4SPeng Fan				bus-width = <4>;
1061993274f4SPeng Fan				status = "disabled";
1062993274f4SPeng Fan			};
1063993274f4SPeng Fan
1064993274f4SPeng Fan			usdhc3: usdhc@30b60000 {
1065993274f4SPeng Fan				compatible = "fsl,imx7d-usdhc", "fsl,imx6sl-usdhc";
1066993274f4SPeng Fan				reg = <0x30b60000 0x10000>;
1067993274f4SPeng Fan				interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>;
1068aba6a0fbSStefan Agner				clocks = <&clks IMX7D_IPG_ROOT_CLK>,
1069aba6a0fbSStefan Agner					<&clks IMX7D_NAND_USDHC_BUS_ROOT_CLK>,
1070993274f4SPeng Fan					<&clks IMX7D_USDHC3_ROOT_CLK>;
1071993274f4SPeng Fan				clock-names = "ipg", "ahb", "per";
1072993274f4SPeng Fan				bus-width = <4>;
1073993274f4SPeng Fan				status = "disabled";
1074993274f4SPeng Fan			};
1075993274f4SPeng Fan
1076*3b823350SYe Li			qspi1: qspi@30bb0000 {
1077*3b823350SYe Li				#address-cells = <1>;
1078*3b823350SYe Li				#size-cells = <0>;
1079*3b823350SYe Li				compatible = "fsl,imx7d-qspi";
1080*3b823350SYe Li				reg = <0x30bb0000 0x10000>, <0x60000000 0x10000000>;
1081*3b823350SYe Li				reg-names = "QuadSPI", "QuadSPI-memory";
1082*3b823350SYe Li				interrupts = <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>;
1083*3b823350SYe Li				clocks = <&clks IMX7D_QSPI_ROOT_CLK>,
1084*3b823350SYe Li					<&clks IMX7D_QSPI_ROOT_CLK>;
1085*3b823350SYe Li				clock-names = "qspi_en", "qspi";
1086*3b823350SYe Li				status = "disabled";
1087*3b823350SYe Li			};
1088*3b823350SYe Li
1089993274f4SPeng Fan			sdma: sdma@30bd0000 {
1090993274f4SPeng Fan				compatible = "fsl,imx7d-sdma", "fsl,imx35-sdma";
1091993274f4SPeng Fan				reg = <0x30bd0000 0x10000>;
1092993274f4SPeng Fan				interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>;
1093993274f4SPeng Fan				clocks = <&clks IMX7D_SDMA_CORE_CLK>,
1094993274f4SPeng Fan					 <&clks IMX7D_AHB_CHANNEL_ROOT_CLK>;
1095993274f4SPeng Fan				clock-names = "ipg", "ahb";
1096993274f4SPeng Fan				#dma-cells = <3>;
1097993274f4SPeng Fan				fsl,sdma-ram-script-name = "imx/sdma/sdma-imx7d.bin";
1098993274f4SPeng Fan			};
1099993274f4SPeng Fan
1100993274f4SPeng Fan			fec1: ethernet@30be0000 {
1101993274f4SPeng Fan				compatible = "fsl,imx7d-fec", "fsl,imx6sx-fec";
1102993274f4SPeng Fan				reg = <0x30be0000 0x10000>;
1103aba6a0fbSStefan Agner				interrupt-names = "int0", "int1", "int2", "pps";
1104aba6a0fbSStefan Agner				interrupts = <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>,
1105aba6a0fbSStefan Agner					<GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>,
1106993274f4SPeng Fan					<GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH>,
1107aba6a0fbSStefan Agner					<GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>;
1108993274f4SPeng Fan				clocks = <&clks IMX7D_ENET_AXI_ROOT_CLK>,
1109993274f4SPeng Fan					<&clks IMX7D_ENET_AXI_ROOT_CLK>,
1110993274f4SPeng Fan					<&clks IMX7D_ENET1_TIME_ROOT_CLK>,
1111993274f4SPeng Fan					<&clks IMX7D_PLL_ENET_MAIN_125M_CLK>,
1112993274f4SPeng Fan					<&clks IMX7D_ENET_PHY_REF_ROOT_CLK>;
1113993274f4SPeng Fan				clock-names = "ipg", "ahb", "ptp",
1114993274f4SPeng Fan					"enet_clk_ref", "enet_out";
1115993274f4SPeng Fan				fsl,num-tx-queues=<3>;
1116993274f4SPeng Fan				fsl,num-rx-queues=<3>;
1117993274f4SPeng Fan				status = "disabled";
1118993274f4SPeng Fan			};
1119993274f4SPeng Fan		};
1120aba6a0fbSStefan Agner
1121aba6a0fbSStefan Agner		dma_apbh: dma-apbh@33000000 {
1122aba6a0fbSStefan Agner			compatible = "fsl,imx7d-dma-apbh", "fsl,imx28-dma-apbh";
1123aba6a0fbSStefan Agner			reg = <0x33000000 0x2000>;
1124aba6a0fbSStefan Agner			interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>,
1125aba6a0fbSStefan Agner				     <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>,
1126aba6a0fbSStefan Agner				     <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>,
1127aba6a0fbSStefan Agner				     <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
1128aba6a0fbSStefan Agner			interrupt-names = "gpmi0", "gpmi1", "gpmi2", "gpmi3";
1129aba6a0fbSStefan Agner			#dma-cells = <1>;
1130aba6a0fbSStefan Agner			dma-channels = <4>;
1131aba6a0fbSStefan Agner			clocks = <&clks IMX7D_NAND_USDHC_BUS_RAWNAND_CLK>;
1132aba6a0fbSStefan Agner		};
1133aba6a0fbSStefan Agner
1134aba6a0fbSStefan Agner		gpmi: gpmi-nand@33002000{
1135aba6a0fbSStefan Agner			compatible = "fsl,imx7d-gpmi-nand";
1136aba6a0fbSStefan Agner			#address-cells = <1>;
1137aba6a0fbSStefan Agner			#size-cells = <1>;
1138aba6a0fbSStefan Agner			reg = <0x33002000 0x2000>, <0x33004000 0x4000>;
1139aba6a0fbSStefan Agner			reg-names = "gpmi-nand", "bch";
1140aba6a0fbSStefan Agner			interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
1141aba6a0fbSStefan Agner			interrupt-names = "bch";
1142aba6a0fbSStefan Agner			clocks = <&clks IMX7D_NAND_RAWNAND_CLK>,
1143aba6a0fbSStefan Agner				<&clks IMX7D_NAND_USDHC_BUS_RAWNAND_CLK>;
1144aba6a0fbSStefan Agner			clock-names = "gpmi_io", "gpmi_bch_apb";
1145aba6a0fbSStefan Agner			dmas = <&dma_apbh 0>;
1146aba6a0fbSStefan Agner			dma-names = "rx-tx";
1147aba6a0fbSStefan Agner			status = "disabled";
1148aba6a0fbSStefan Agner			assigned-clocks = <&clks IMX7D_NAND_ROOT_SRC>;
1149aba6a0fbSStefan Agner			assigned-clock-parents = <&clks IMX7D_PLL_ENET_MAIN_500M_CLK>;
1150aba6a0fbSStefan Agner		};
1151993274f4SPeng Fan	};
1152993274f4SPeng Fan};
1153