1// SPDX-License-Identifier: GPL-2.0+
2//
3// Copyright 2011 Freescale Semiconductor, Inc.
4// Copyright 2011 Linaro Ltd.
5
6#include <dt-bindings/clock/imx6qdl-clock.h>
7#include <dt-bindings/input/input.h>
8#include <dt-bindings/interrupt-controller/arm-gic.h>
9
10/ {
11	#address-cells = <1>;
12	#size-cells = <1>;
13	/*
14	 * The decompressor and also some bootloaders rely on a
15	 * pre-existing /chosen node to be available to insert the
16	 * command line and merge other ATAGS info.
17	 */
18	chosen {};
19
20	aliases {
21		ethernet0 = &fec;
22		can0 = &can1;
23		can1 = &can2;
24		gpio0 = &gpio1;
25		gpio1 = &gpio2;
26		gpio2 = &gpio3;
27		gpio3 = &gpio4;
28		gpio4 = &gpio5;
29		gpio5 = &gpio6;
30		gpio6 = &gpio7;
31		i2c0 = &i2c1;
32		i2c1 = &i2c2;
33		i2c2 = &i2c3;
34		ipu0 = &ipu1;
35		mmc0 = &usdhc1;
36		mmc1 = &usdhc2;
37		mmc2 = &usdhc3;
38		mmc3 = &usdhc4;
39		serial0 = &uart1;
40		serial1 = &uart2;
41		serial2 = &uart3;
42		serial3 = &uart4;
43		serial4 = &uart5;
44		spi0 = &ecspi1;
45		spi1 = &ecspi2;
46		spi2 = &ecspi3;
47		spi3 = &ecspi4;
48		usb0 = &usbotg;
49		usb1 = &usbh1;
50		usb2 = &usbh2;
51		usb3 = &usbh3;
52		usbphy0 = &usbphy1;
53		usbphy1 = &usbphy2;
54	};
55
56	clocks {
57		ckil {
58			compatible = "fsl,imx-ckil", "fixed-clock";
59			#clock-cells = <0>;
60			clock-frequency = <32768>;
61		};
62
63		ckih1 {
64			compatible = "fsl,imx-ckih1", "fixed-clock";
65			#clock-cells = <0>;
66			clock-frequency = <0>;
67		};
68
69		osc {
70			compatible = "fsl,imx-osc", "fixed-clock";
71			#clock-cells = <0>;
72			clock-frequency = <24000000>;
73		};
74	};
75
76	ldb: ldb {
77		#address-cells = <1>;
78		#size-cells = <0>;
79		compatible = "fsl,imx6q-ldb", "fsl,imx53-ldb";
80		gpr = <&gpr>;
81		status = "disabled";
82
83		lvds-channel@0 {
84			#address-cells = <1>;
85			#size-cells = <0>;
86			reg = <0>;
87			status = "disabled";
88
89			port@0 {
90				reg = <0>;
91
92				lvds0_mux_0: endpoint {
93					remote-endpoint = <&ipu1_di0_lvds0>;
94				};
95			};
96
97			port@1 {
98				reg = <1>;
99
100				lvds0_mux_1: endpoint {
101					remote-endpoint = <&ipu1_di1_lvds0>;
102				};
103			};
104		};
105
106		lvds-channel@1 {
107			#address-cells = <1>;
108			#size-cells = <0>;
109			reg = <1>;
110			status = "disabled";
111
112			port@0 {
113				reg = <0>;
114
115				lvds1_mux_0: endpoint {
116					remote-endpoint = <&ipu1_di0_lvds1>;
117				};
118			};
119
120			port@1 {
121				reg = <1>;
122
123				lvds1_mux_1: endpoint {
124					remote-endpoint = <&ipu1_di1_lvds1>;
125				};
126			};
127		};
128	};
129
130	pmu: pmu {
131		compatible = "arm,cortex-a9-pmu";
132		interrupt-parent = <&gpc>;
133		interrupts = <0 94 IRQ_TYPE_LEVEL_HIGH>;
134	};
135
136	usbphynop1: usbphynop1 {
137		compatible = "usb-nop-xceiv";
138		#phy-cells = <0>;
139	};
140
141	usbphynop2: usbphynop2 {
142		compatible = "usb-nop-xceiv";
143		#phy-cells = <0>;
144	};
145
146	soc {
147		#address-cells = <1>;
148		#size-cells = <1>;
149		compatible = "simple-bus";
150		interrupt-parent = <&gpc>;
151		ranges;
152
153		dma_apbh: dma-controller@110000 {
154			compatible = "fsl,imx6q-dma-apbh", "fsl,imx28-dma-apbh";
155			reg = <0x00110000 0x2000>;
156			interrupts = <0 13 IRQ_TYPE_LEVEL_HIGH>,
157				     <0 13 IRQ_TYPE_LEVEL_HIGH>,
158				     <0 13 IRQ_TYPE_LEVEL_HIGH>,
159				     <0 13 IRQ_TYPE_LEVEL_HIGH>;
160			interrupt-names = "gpmi0", "gpmi1", "gpmi2", "gpmi3";
161			#dma-cells = <1>;
162			dma-channels = <4>;
163			clocks = <&clks IMX6QDL_CLK_APBH_DMA>;
164		};
165
166		gpmi: nand-controller@112000 {
167			compatible = "fsl,imx6q-gpmi-nand";
168			reg = <0x00112000 0x2000>, <0x00114000 0x2000>;
169			reg-names = "gpmi-nand", "bch";
170			interrupts = <0 15 IRQ_TYPE_LEVEL_HIGH>;
171			interrupt-names = "bch";
172			clocks = <&clks IMX6QDL_CLK_GPMI_IO>,
173				 <&clks IMX6QDL_CLK_GPMI_APB>,
174				 <&clks IMX6QDL_CLK_GPMI_BCH>,
175				 <&clks IMX6QDL_CLK_GPMI_BCH_APB>,
176				 <&clks IMX6QDL_CLK_PER1_BCH>;
177			clock-names = "gpmi_io", "gpmi_apb", "gpmi_bch",
178				      "gpmi_bch_apb", "per1_bch";
179			dmas = <&dma_apbh 0>;
180			dma-names = "rx-tx";
181			status = "disabled";
182		};
183
184		hdmi: hdmi@120000 {
185			#address-cells = <1>;
186			#size-cells = <0>;
187			reg = <0x00120000 0x9000>;
188			interrupts = <0 115 0x04>;
189			gpr = <&gpr>;
190			clocks = <&clks IMX6QDL_CLK_HDMI_IAHB>,
191				 <&clks IMX6QDL_CLK_HDMI_ISFR>;
192			clock-names = "iahb", "isfr";
193			status = "disabled";
194
195			port@0 {
196				reg = <0>;
197
198				hdmi_mux_0: endpoint {
199					remote-endpoint = <&ipu1_di0_hdmi>;
200				};
201			};
202
203			port@1 {
204				reg = <1>;
205
206				hdmi_mux_1: endpoint {
207					remote-endpoint = <&ipu1_di1_hdmi>;
208				};
209			};
210		};
211
212		gpu_3d: gpu@130000 {
213			compatible = "vivante,gc";
214			reg = <0x00130000 0x4000>;
215			interrupts = <0 9 IRQ_TYPE_LEVEL_HIGH>;
216			clocks = <&clks IMX6QDL_CLK_GPU3D_AXI>,
217				 <&clks IMX6QDL_CLK_GPU3D_CORE>,
218				 <&clks IMX6QDL_CLK_GPU3D_SHADER>;
219			clock-names = "bus", "core", "shader";
220			power-domains = <&pd_pu>;
221			#cooling-cells = <2>;
222		};
223
224		gpu_2d: gpu@134000 {
225			compatible = "vivante,gc";
226			reg = <0x00134000 0x4000>;
227			interrupts = <0 10 IRQ_TYPE_LEVEL_HIGH>;
228			clocks = <&clks IMX6QDL_CLK_GPU2D_AXI>,
229				 <&clks IMX6QDL_CLK_GPU2D_CORE>;
230			clock-names = "bus", "core";
231			power-domains = <&pd_pu>;
232			#cooling-cells = <2>;
233		};
234
235		timer@a00600 {
236			compatible = "arm,cortex-a9-twd-timer";
237			reg = <0x00a00600 0x20>;
238			interrupts = <1 13 0xf01>;
239			interrupt-parent = <&intc>;
240			clocks = <&clks IMX6QDL_CLK_TWD>;
241		};
242
243		intc: interrupt-controller@a01000 {
244			compatible = "arm,cortex-a9-gic";
245			#interrupt-cells = <3>;
246			interrupt-controller;
247			reg = <0x00a01000 0x1000>,
248			      <0x00a00100 0x100>;
249			interrupt-parent = <&intc>;
250		};
251
252		L2: cache-controller@a02000 {
253			compatible = "arm,pl310-cache";
254			reg = <0x00a02000 0x1000>;
255			interrupts = <0 92 IRQ_TYPE_LEVEL_HIGH>;
256			cache-unified;
257			cache-level = <2>;
258			arm,tag-latency = <4 2 3>;
259			arm,data-latency = <4 2 3>;
260			arm,shared-override;
261		};
262
263		pcie: pcie@1ffc000 {
264			compatible = "fsl,imx6q-pcie", "snps,dw-pcie";
265			reg = <0x01ffc000 0x04000>,
266			      <0x01f00000 0x80000>;
267			reg-names = "dbi", "config";
268			#address-cells = <3>;
269			#size-cells = <2>;
270			device_type = "pci";
271			bus-range = <0x00 0xff>;
272			ranges = <0x81000000 0 0          0x01f80000 0 0x00010000 /* downstream I/O */
273				  0x82000000 0 0x01000000 0x01000000 0 0x00f00000>; /* non-prefetchable memory */
274			num-lanes = <1>;
275			num-viewport = <4>;
276			interrupts = <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>;
277			interrupt-names = "msi";
278			#interrupt-cells = <1>;
279			interrupt-map-mask = <0 0 0 0x7>;
280			interrupt-map = <0 0 0 1 &gpc GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>,
281					<0 0 0 2 &gpc GIC_SPI 122 IRQ_TYPE_LEVEL_HIGH>,
282					<0 0 0 3 &gpc GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>,
283					<0 0 0 4 &gpc GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>;
284			clocks = <&clks IMX6QDL_CLK_PCIE_AXI>,
285				 <&clks IMX6QDL_CLK_LVDS1_GATE>,
286				 <&clks IMX6QDL_CLK_PCIE_REF_125M>;
287			clock-names = "pcie", "pcie_bus", "pcie_phy";
288			status = "disabled";
289		};
290
291		bus@2000000 { /* AIPS1 */
292			compatible = "fsl,aips-bus", "simple-bus";
293			#address-cells = <1>;
294			#size-cells = <1>;
295			reg = <0x02000000 0x100000>;
296			ranges;
297
298			spba-bus@2000000 {
299				compatible = "fsl,spba-bus", "simple-bus";
300				#address-cells = <1>;
301				#size-cells = <1>;
302				reg = <0x02000000 0x40000>;
303				ranges;
304
305				spdif: spdif@2004000 {
306					compatible = "fsl,imx35-spdif";
307					reg = <0x02004000 0x4000>;
308					interrupts = <0 52 IRQ_TYPE_LEVEL_HIGH>;
309					dmas = <&sdma 14 18 0>,
310					       <&sdma 15 18 0>;
311					dma-names = "rx", "tx";
312					clocks = <&clks IMX6QDL_CLK_SPDIF_GCLK>, <&clks IMX6QDL_CLK_OSC>,
313						 <&clks IMX6QDL_CLK_SPDIF>, <&clks IMX6QDL_CLK_ASRC>,
314						 <&clks IMX6QDL_CLK_DUMMY>, <&clks IMX6QDL_CLK_ESAI_EXTAL>,
315						 <&clks IMX6QDL_CLK_IPG>, <&clks IMX6QDL_CLK_DUMMY>,
316						 <&clks IMX6QDL_CLK_DUMMY>, <&clks IMX6QDL_CLK_SPBA>;
317					clock-names = "core",  "rxtx0",
318						      "rxtx1", "rxtx2",
319						      "rxtx3", "rxtx4",
320						      "rxtx5", "rxtx6",
321						      "rxtx7", "spba";
322					status = "disabled";
323				};
324
325				ecspi1: spi@2008000 {
326					#address-cells = <1>;
327					#size-cells = <0>;
328					compatible = "fsl,imx6q-ecspi", "fsl,imx51-ecspi";
329					reg = <0x02008000 0x4000>;
330					interrupts = <0 31 IRQ_TYPE_LEVEL_HIGH>;
331					clocks = <&clks IMX6QDL_CLK_ECSPI1>,
332						 <&clks IMX6QDL_CLK_ECSPI1>;
333					clock-names = "ipg", "per";
334					dmas = <&sdma 3 8 1>, <&sdma 4 8 2>;
335					dma-names = "rx", "tx";
336					status = "disabled";
337				};
338
339				ecspi2: spi@200c000 {
340					#address-cells = <1>;
341					#size-cells = <0>;
342					compatible = "fsl,imx6q-ecspi", "fsl,imx51-ecspi";
343					reg = <0x0200c000 0x4000>;
344					interrupts = <0 32 IRQ_TYPE_LEVEL_HIGH>;
345					clocks = <&clks IMX6QDL_CLK_ECSPI2>,
346						 <&clks IMX6QDL_CLK_ECSPI2>;
347					clock-names = "ipg", "per";
348					dmas = <&sdma 5 8 1>, <&sdma 6 8 2>;
349					dma-names = "rx", "tx";
350					status = "disabled";
351				};
352
353				ecspi3: spi@2010000 {
354					#address-cells = <1>;
355					#size-cells = <0>;
356					compatible = "fsl,imx6q-ecspi", "fsl,imx51-ecspi";
357					reg = <0x02010000 0x4000>;
358					interrupts = <0 33 IRQ_TYPE_LEVEL_HIGH>;
359					clocks = <&clks IMX6QDL_CLK_ECSPI3>,
360						 <&clks IMX6QDL_CLK_ECSPI3>;
361					clock-names = "ipg", "per";
362					dmas = <&sdma 7 8 1>, <&sdma 8 8 2>;
363					dma-names = "rx", "tx";
364					status = "disabled";
365				};
366
367				ecspi4: spi@2014000 {
368					#address-cells = <1>;
369					#size-cells = <0>;
370					compatible = "fsl,imx6q-ecspi", "fsl,imx51-ecspi";
371					reg = <0x02014000 0x4000>;
372					interrupts = <0 34 IRQ_TYPE_LEVEL_HIGH>;
373					clocks = <&clks IMX6QDL_CLK_ECSPI4>,
374						 <&clks IMX6QDL_CLK_ECSPI4>;
375					clock-names = "ipg", "per";
376					dmas = <&sdma 9 8 1>, <&sdma 10 8 2>;
377					dma-names = "rx", "tx";
378					status = "disabled";
379				};
380
381				uart1: serial@2020000 {
382					compatible = "fsl,imx6q-uart", "fsl,imx21-uart";
383					reg = <0x02020000 0x4000>;
384					interrupts = <0 26 IRQ_TYPE_LEVEL_HIGH>;
385					clocks = <&clks IMX6QDL_CLK_UART_IPG>,
386						 <&clks IMX6QDL_CLK_UART_SERIAL>;
387					clock-names = "ipg", "per";
388					dmas = <&sdma 25 4 0>, <&sdma 26 4 0>;
389					dma-names = "rx", "tx";
390					status = "disabled";
391				};
392
393				esai: esai@2024000 {
394					#sound-dai-cells = <0>;
395					compatible = "fsl,imx35-esai";
396					reg = <0x02024000 0x4000>;
397					interrupts = <0 51 IRQ_TYPE_LEVEL_HIGH>;
398					clocks = <&clks IMX6QDL_CLK_ESAI_IPG>,
399						 <&clks IMX6QDL_CLK_ESAI_MEM>,
400						 <&clks IMX6QDL_CLK_ESAI_EXTAL>,
401						 <&clks IMX6QDL_CLK_ESAI_IPG>,
402						 <&clks IMX6QDL_CLK_SPBA>;
403					clock-names = "core", "mem", "extal", "fsys", "spba";
404					dmas = <&sdma 23 21 0>, <&sdma 24 21 0>;
405					dma-names = "rx", "tx";
406					status = "disabled";
407				};
408
409				ssi1: ssi@2028000 {
410					#sound-dai-cells = <0>;
411					compatible = "fsl,imx6q-ssi",
412							"fsl,imx51-ssi";
413					reg = <0x02028000 0x4000>;
414					interrupts = <0 46 IRQ_TYPE_LEVEL_HIGH>;
415					clocks = <&clks IMX6QDL_CLK_SSI1_IPG>,
416						 <&clks IMX6QDL_CLK_SSI1>;
417					clock-names = "ipg", "baud";
418					dmas = <&sdma 37 1 0>,
419					       <&sdma 38 1 0>;
420					dma-names = "rx", "tx";
421					fsl,fifo-depth = <15>;
422					status = "disabled";
423				};
424
425				ssi2: ssi@202c000 {
426					#sound-dai-cells = <0>;
427					compatible = "fsl,imx6q-ssi",
428							"fsl,imx51-ssi";
429					reg = <0x0202c000 0x4000>;
430					interrupts = <0 47 IRQ_TYPE_LEVEL_HIGH>;
431					clocks = <&clks IMX6QDL_CLK_SSI2_IPG>,
432						 <&clks IMX6QDL_CLK_SSI2>;
433					clock-names = "ipg", "baud";
434					dmas = <&sdma 41 1 0>,
435					       <&sdma 42 1 0>;
436					dma-names = "rx", "tx";
437					fsl,fifo-depth = <15>;
438					status = "disabled";
439				};
440
441				ssi3: ssi@2030000 {
442					#sound-dai-cells = <0>;
443					compatible = "fsl,imx6q-ssi",
444							"fsl,imx51-ssi";
445					reg = <0x02030000 0x4000>;
446					interrupts = <0 48 IRQ_TYPE_LEVEL_HIGH>;
447					clocks = <&clks IMX6QDL_CLK_SSI3_IPG>,
448						 <&clks IMX6QDL_CLK_SSI3>;
449					clock-names = "ipg", "baud";
450					dmas = <&sdma 45 1 0>,
451					       <&sdma 46 1 0>;
452					dma-names = "rx", "tx";
453					fsl,fifo-depth = <15>;
454					status = "disabled";
455				};
456
457				asrc: asrc@2034000 {
458					compatible = "fsl,imx53-asrc";
459					reg = <0x02034000 0x4000>;
460					interrupts = <0 50 IRQ_TYPE_LEVEL_HIGH>;
461					clocks = <&clks IMX6QDL_CLK_ASRC_IPG>,
462						<&clks IMX6QDL_CLK_ASRC_MEM>, <&clks 0>,
463						<&clks 0>, <&clks 0>, <&clks 0>, <&clks 0>,
464						<&clks 0>, <&clks 0>, <&clks 0>, <&clks 0>,
465						<&clks 0>, <&clks 0>, <&clks 0>, <&clks 0>,
466						<&clks IMX6QDL_CLK_ASRC>, <&clks 0>, <&clks 0>,
467						<&clks IMX6QDL_CLK_SPBA>;
468					clock-names = "mem", "ipg", "asrck_0",
469						"asrck_1", "asrck_2", "asrck_3", "asrck_4",
470						"asrck_5", "asrck_6", "asrck_7", "asrck_8",
471						"asrck_9", "asrck_a", "asrck_b", "asrck_c",
472						"asrck_d", "asrck_e", "asrck_f", "spba";
473					dmas = <&sdma 17 23 1>, <&sdma 18 23 1>, <&sdma 19 23 1>,
474						<&sdma 20 23 1>, <&sdma 21 23 1>, <&sdma 22 23 1>;
475					dma-names = "rxa", "rxb", "rxc",
476							"txa", "txb", "txc";
477					fsl,asrc-rate  = <48000>;
478					fsl,asrc-width = <16>;
479					status = "okay";
480				};
481
482				spba@203c000 {
483					reg = <0x0203c000 0x4000>;
484				};
485			};
486
487			vpu: vpu@2040000 {
488				compatible = "cnm,coda960";
489				reg = <0x02040000 0x3c000>;
490				interrupts = <0 12 IRQ_TYPE_LEVEL_HIGH>,
491					     <0 3 IRQ_TYPE_LEVEL_HIGH>;
492				interrupt-names = "bit", "jpeg";
493				clocks = <&clks IMX6QDL_CLK_VPU_AXI>,
494					 <&clks IMX6QDL_CLK_MMDC_CH0_AXI>;
495				clock-names = "per", "ahb";
496				power-domains = <&pd_pu>;
497				resets = <&src 1>;
498				iram = <&ocram>;
499			};
500
501			aipstz@207c000 { /* AIPSTZ1 */
502				reg = <0x0207c000 0x4000>;
503			};
504
505			pwm1: pwm@2080000 {
506				#pwm-cells = <3>;
507				compatible = "fsl,imx6q-pwm", "fsl,imx27-pwm";
508				reg = <0x02080000 0x4000>;
509				interrupts = <0 83 IRQ_TYPE_LEVEL_HIGH>;
510				clocks = <&clks IMX6QDL_CLK_IPG>,
511					 <&clks IMX6QDL_CLK_PWM1>;
512				clock-names = "ipg", "per";
513				status = "disabled";
514			};
515
516			pwm2: pwm@2084000 {
517				#pwm-cells = <3>;
518				compatible = "fsl,imx6q-pwm", "fsl,imx27-pwm";
519				reg = <0x02084000 0x4000>;
520				interrupts = <0 84 IRQ_TYPE_LEVEL_HIGH>;
521				clocks = <&clks IMX6QDL_CLK_IPG>,
522					 <&clks IMX6QDL_CLK_PWM2>;
523				clock-names = "ipg", "per";
524				status = "disabled";
525			};
526
527			pwm3: pwm@2088000 {
528				#pwm-cells = <3>;
529				compatible = "fsl,imx6q-pwm", "fsl,imx27-pwm";
530				reg = <0x02088000 0x4000>;
531				interrupts = <0 85 IRQ_TYPE_LEVEL_HIGH>;
532				clocks = <&clks IMX6QDL_CLK_IPG>,
533					 <&clks IMX6QDL_CLK_PWM3>;
534				clock-names = "ipg", "per";
535				status = "disabled";
536			};
537
538			pwm4: pwm@208c000 {
539				#pwm-cells = <3>;
540				compatible = "fsl,imx6q-pwm", "fsl,imx27-pwm";
541				reg = <0x0208c000 0x4000>;
542				interrupts = <0 86 IRQ_TYPE_LEVEL_HIGH>;
543				clocks = <&clks IMX6QDL_CLK_IPG>,
544					 <&clks IMX6QDL_CLK_PWM4>;
545				clock-names = "ipg", "per";
546				status = "disabled";
547			};
548
549			can1: flexcan@2090000 {
550				compatible = "fsl,imx6q-flexcan";
551				reg = <0x02090000 0x4000>;
552				interrupts = <0 110 IRQ_TYPE_LEVEL_HIGH>;
553				clocks = <&clks IMX6QDL_CLK_CAN1_IPG>,
554					 <&clks IMX6QDL_CLK_CAN1_SERIAL>;
555				clock-names = "ipg", "per";
556				fsl,stop-mode = <&gpr 0x34 28 0x10 17>;
557				status = "disabled";
558			};
559
560			can2: flexcan@2094000 {
561				compatible = "fsl,imx6q-flexcan";
562				reg = <0x02094000 0x4000>;
563				interrupts = <0 111 IRQ_TYPE_LEVEL_HIGH>;
564				clocks = <&clks IMX6QDL_CLK_CAN2_IPG>,
565					 <&clks IMX6QDL_CLK_CAN2_SERIAL>;
566				clock-names = "ipg", "per";
567				fsl,stop-mode = <&gpr 0x34 29 0x10 18>;
568				status = "disabled";
569			};
570
571			gpt: timer@2098000 {
572				compatible = "fsl,imx6q-gpt", "fsl,imx31-gpt";
573				reg = <0x02098000 0x4000>;
574				interrupts = <0 55 IRQ_TYPE_LEVEL_HIGH>;
575				clocks = <&clks IMX6QDL_CLK_GPT_IPG>,
576					 <&clks IMX6QDL_CLK_GPT_IPG_PER>,
577					 <&clks IMX6QDL_CLK_GPT_3M>;
578				clock-names = "ipg", "per", "osc_per";
579			};
580
581			gpio1: gpio@209c000 {
582				compatible = "fsl,imx6q-gpio", "fsl,imx35-gpio";
583				reg = <0x0209c000 0x4000>;
584				interrupts = <0 66 IRQ_TYPE_LEVEL_HIGH>,
585					     <0 67 IRQ_TYPE_LEVEL_HIGH>;
586				gpio-controller;
587				#gpio-cells = <2>;
588				interrupt-controller;
589				#interrupt-cells = <2>;
590			};
591
592			gpio2: gpio@20a0000 {
593				compatible = "fsl,imx6q-gpio", "fsl,imx35-gpio";
594				reg = <0x020a0000 0x4000>;
595				interrupts = <0 68 IRQ_TYPE_LEVEL_HIGH>,
596					     <0 69 IRQ_TYPE_LEVEL_HIGH>;
597				gpio-controller;
598				#gpio-cells = <2>;
599				interrupt-controller;
600				#interrupt-cells = <2>;
601			};
602
603			gpio3: gpio@20a4000 {
604				compatible = "fsl,imx6q-gpio", "fsl,imx35-gpio";
605				reg = <0x020a4000 0x4000>;
606				interrupts = <0 70 IRQ_TYPE_LEVEL_HIGH>,
607					     <0 71 IRQ_TYPE_LEVEL_HIGH>;
608				gpio-controller;
609				#gpio-cells = <2>;
610				interrupt-controller;
611				#interrupt-cells = <2>;
612			};
613
614			gpio4: gpio@20a8000 {
615				compatible = "fsl,imx6q-gpio", "fsl,imx35-gpio";
616				reg = <0x020a8000 0x4000>;
617				interrupts = <0 72 IRQ_TYPE_LEVEL_HIGH>,
618					     <0 73 IRQ_TYPE_LEVEL_HIGH>;
619				gpio-controller;
620				#gpio-cells = <2>;
621				interrupt-controller;
622				#interrupt-cells = <2>;
623			};
624
625			gpio5: gpio@20ac000 {
626				compatible = "fsl,imx6q-gpio", "fsl,imx35-gpio";
627				reg = <0x020ac000 0x4000>;
628				interrupts = <0 74 IRQ_TYPE_LEVEL_HIGH>,
629					     <0 75 IRQ_TYPE_LEVEL_HIGH>;
630				gpio-controller;
631				#gpio-cells = <2>;
632				interrupt-controller;
633				#interrupt-cells = <2>;
634			};
635
636			gpio6: gpio@20b0000 {
637				compatible = "fsl,imx6q-gpio", "fsl,imx35-gpio";
638				reg = <0x020b0000 0x4000>;
639				interrupts = <0 76 IRQ_TYPE_LEVEL_HIGH>,
640					     <0 77 IRQ_TYPE_LEVEL_HIGH>;
641				gpio-controller;
642				#gpio-cells = <2>;
643				interrupt-controller;
644				#interrupt-cells = <2>;
645			};
646
647			gpio7: gpio@20b4000 {
648				compatible = "fsl,imx6q-gpio", "fsl,imx35-gpio";
649				reg = <0x020b4000 0x4000>;
650				interrupts = <0 78 IRQ_TYPE_LEVEL_HIGH>,
651					     <0 79 IRQ_TYPE_LEVEL_HIGH>;
652				gpio-controller;
653				#gpio-cells = <2>;
654				interrupt-controller;
655				#interrupt-cells = <2>;
656			};
657
658			kpp: keypad@20b8000 {
659				compatible = "fsl,imx6q-kpp", "fsl,imx21-kpp";
660				reg = <0x020b8000 0x4000>;
661				interrupts = <0 82 IRQ_TYPE_LEVEL_HIGH>;
662				clocks = <&clks IMX6QDL_CLK_IPG>;
663				status = "disabled";
664			};
665
666			wdog1: watchdog@20bc000 {
667				compatible = "fsl,imx6q-wdt", "fsl,imx21-wdt";
668				reg = <0x020bc000 0x4000>;
669				interrupts = <0 80 IRQ_TYPE_LEVEL_HIGH>;
670				clocks = <&clks IMX6QDL_CLK_IPG>;
671			};
672
673			wdog2: watchdog@20c0000 {
674				compatible = "fsl,imx6q-wdt", "fsl,imx21-wdt";
675				reg = <0x020c0000 0x4000>;
676				interrupts = <0 81 IRQ_TYPE_LEVEL_HIGH>;
677				clocks = <&clks IMX6QDL_CLK_IPG>;
678				status = "disabled";
679			};
680
681			clks: clock-controller@20c4000 {
682				compatible = "fsl,imx6q-ccm";
683				reg = <0x020c4000 0x4000>;
684				interrupts = <0 87 IRQ_TYPE_LEVEL_HIGH>,
685					     <0 88 IRQ_TYPE_LEVEL_HIGH>;
686				#clock-cells = <1>;
687			};
688
689			anatop: anatop@20c8000 {
690				compatible = "fsl,imx6q-anatop", "syscon", "simple-mfd";
691				reg = <0x020c8000 0x1000>;
692				interrupts = <0 49 IRQ_TYPE_LEVEL_HIGH>,
693					     <0 54 IRQ_TYPE_LEVEL_HIGH>,
694					     <0 127 IRQ_TYPE_LEVEL_HIGH>;
695
696				reg_vdd1p1: regulator-1p1 {
697					compatible = "fsl,anatop-regulator";
698					regulator-name = "vdd1p1";
699					regulator-min-microvolt = <1000000>;
700					regulator-max-microvolt = <1200000>;
701					regulator-always-on;
702					anatop-reg-offset = <0x110>;
703					anatop-vol-bit-shift = <8>;
704					anatop-vol-bit-width = <5>;
705					anatop-min-bit-val = <4>;
706					anatop-min-voltage = <800000>;
707					anatop-max-voltage = <1375000>;
708					anatop-enable-bit = <0>;
709				};
710
711				reg_vdd3p0: regulator-3p0 {
712					compatible = "fsl,anatop-regulator";
713					regulator-name = "vdd3p0";
714					regulator-min-microvolt = <2800000>;
715					regulator-max-microvolt = <3150000>;
716					regulator-always-on;
717					anatop-reg-offset = <0x120>;
718					anatop-vol-bit-shift = <8>;
719					anatop-vol-bit-width = <5>;
720					anatop-min-bit-val = <0>;
721					anatop-min-voltage = <2625000>;
722					anatop-max-voltage = <3400000>;
723					anatop-enable-bit = <0>;
724				};
725
726				reg_vdd2p5: regulator-2p5 {
727					compatible = "fsl,anatop-regulator";
728					regulator-name = "vdd2p5";
729					regulator-min-microvolt = <2250000>;
730					regulator-max-microvolt = <2750000>;
731					regulator-always-on;
732					anatop-reg-offset = <0x130>;
733					anatop-vol-bit-shift = <8>;
734					anatop-vol-bit-width = <5>;
735					anatop-min-bit-val = <0>;
736					anatop-min-voltage = <2100000>;
737					anatop-max-voltage = <2875000>;
738					anatop-enable-bit = <0>;
739				};
740
741				reg_arm: regulator-vddcore {
742					compatible = "fsl,anatop-regulator";
743					regulator-name = "vddarm";
744					regulator-min-microvolt = <725000>;
745					regulator-max-microvolt = <1450000>;
746					regulator-always-on;
747					anatop-reg-offset = <0x140>;
748					anatop-vol-bit-shift = <0>;
749					anatop-vol-bit-width = <5>;
750					anatop-delay-reg-offset = <0x170>;
751					anatop-delay-bit-shift = <24>;
752					anatop-delay-bit-width = <2>;
753					anatop-min-bit-val = <1>;
754					anatop-min-voltage = <725000>;
755					anatop-max-voltage = <1450000>;
756				};
757
758				reg_pu: regulator-vddpu {
759					compatible = "fsl,anatop-regulator";
760					regulator-name = "vddpu";
761					regulator-min-microvolt = <725000>;
762					regulator-max-microvolt = <1450000>;
763					regulator-enable-ramp-delay = <380>;
764					anatop-reg-offset = <0x140>;
765					anatop-vol-bit-shift = <9>;
766					anatop-vol-bit-width = <5>;
767					anatop-delay-reg-offset = <0x170>;
768					anatop-delay-bit-shift = <26>;
769					anatop-delay-bit-width = <2>;
770					anatop-min-bit-val = <1>;
771					anatop-min-voltage = <725000>;
772					anatop-max-voltage = <1450000>;
773				};
774
775				reg_soc: regulator-vddsoc {
776					compatible = "fsl,anatop-regulator";
777					regulator-name = "vddsoc";
778					regulator-min-microvolt = <725000>;
779					regulator-max-microvolt = <1450000>;
780					regulator-always-on;
781					anatop-reg-offset = <0x140>;
782					anatop-vol-bit-shift = <18>;
783					anatop-vol-bit-width = <5>;
784					anatop-delay-reg-offset = <0x170>;
785					anatop-delay-bit-shift = <28>;
786					anatop-delay-bit-width = <2>;
787					anatop-min-bit-val = <1>;
788					anatop-min-voltage = <725000>;
789					anatop-max-voltage = <1450000>;
790				};
791
792				tempmon: tempmon {
793					compatible = "fsl,imx6q-tempmon";
794					interrupt-parent = <&gpc>;
795					interrupts = <0 49 IRQ_TYPE_LEVEL_HIGH>;
796					fsl,tempmon = <&anatop>;
797					nvmem-cells = <&tempmon_calib>, <&tempmon_temp_grade>;
798					nvmem-cell-names = "calib", "temp_grade";
799					clocks = <&clks IMX6QDL_CLK_PLL3_USB_OTG>;
800					#thermal-sensor-cells = <0>;
801				};
802			};
803
804			usbphy1: usbphy@20c9000 {
805				compatible = "fsl,imx6q-usbphy", "fsl,imx23-usbphy";
806				reg = <0x020c9000 0x1000>;
807				interrupts = <0 44 IRQ_TYPE_LEVEL_HIGH>;
808				clocks = <&clks IMX6QDL_CLK_USBPHY1>;
809				fsl,anatop = <&anatop>;
810			};
811
812			usbphy2: usbphy@20ca000 {
813				compatible = "fsl,imx6q-usbphy", "fsl,imx23-usbphy";
814				reg = <0x020ca000 0x1000>;
815				interrupts = <0 45 IRQ_TYPE_LEVEL_HIGH>;
816				clocks = <&clks IMX6QDL_CLK_USBPHY2>;
817				fsl,anatop = <&anatop>;
818			};
819
820			snvs: snvs@20cc000 {
821				compatible = "fsl,sec-v4.0-mon", "syscon", "simple-mfd";
822				reg = <0x020cc000 0x4000>;
823
824				snvs_rtc: snvs-rtc-lp {
825					compatible = "fsl,sec-v4.0-mon-rtc-lp";
826					regmap = <&snvs>;
827					offset = <0x34>;
828					interrupts = <0 19 IRQ_TYPE_LEVEL_HIGH>,
829						     <0 20 IRQ_TYPE_LEVEL_HIGH>;
830				};
831
832				snvs_poweroff: snvs-poweroff {
833					compatible = "syscon-poweroff";
834					regmap = <&snvs>;
835					offset = <0x38>;
836					value = <0x60>;
837					mask = <0x60>;
838					status = "disabled";
839				};
840
841				snvs_pwrkey: snvs-powerkey {
842					compatible = "fsl,sec-v4.0-pwrkey";
843					regmap = <&snvs>;
844					interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
845					linux,keycode = <KEY_POWER>;
846					wakeup-source;
847					status = "disabled";
848				};
849
850				snvs_lpgpr: snvs-lpgpr {
851					compatible = "fsl,imx6q-snvs-lpgpr";
852				};
853			};
854
855			epit1: epit@20d0000 { /* EPIT1 */
856				reg = <0x020d0000 0x4000>;
857				interrupts = <0 56 IRQ_TYPE_LEVEL_HIGH>;
858			};
859
860			epit2: epit@20d4000 { /* EPIT2 */
861				reg = <0x020d4000 0x4000>;
862				interrupts = <0 57 IRQ_TYPE_LEVEL_HIGH>;
863			};
864
865			src: reset-controller@20d8000 {
866				compatible = "fsl,imx6q-src", "fsl,imx51-src";
867				reg = <0x020d8000 0x4000>;
868				interrupts = <0 91 IRQ_TYPE_LEVEL_HIGH>,
869					     <0 96 IRQ_TYPE_LEVEL_HIGH>;
870				#reset-cells = <1>;
871			};
872
873			gpc: gpc@20dc000 {
874				compatible = "fsl,imx6q-gpc";
875				reg = <0x020dc000 0x4000>;
876				interrupt-controller;
877				#interrupt-cells = <3>;
878				interrupts = <0 89 IRQ_TYPE_LEVEL_HIGH>;
879				interrupt-parent = <&intc>;
880				clocks = <&clks IMX6QDL_CLK_IPG>;
881				clock-names = "ipg";
882
883				pgc {
884					#address-cells = <1>;
885					#size-cells = <0>;
886
887					power-domain@0 {
888						reg = <0>;
889						#power-domain-cells = <0>;
890					};
891					pd_pu: power-domain@1 {
892						reg = <1>;
893						#power-domain-cells = <0>;
894						power-supply = <&reg_pu>;
895						clocks = <&clks IMX6QDL_CLK_GPU3D_CORE>,
896						         <&clks IMX6QDL_CLK_GPU3D_SHADER>,
897						         <&clks IMX6QDL_CLK_GPU2D_CORE>,
898						         <&clks IMX6QDL_CLK_GPU2D_AXI>,
899						         <&clks IMX6QDL_CLK_OPENVG_AXI>,
900						         <&clks IMX6QDL_CLK_VPU_AXI>;
901					};
902				};
903			};
904
905			gpr: iomuxc-gpr@20e0000 {
906				compatible = "fsl,imx6q-iomuxc-gpr", "syscon", "simple-mfd";
907				reg = <0x20e0000 0x38>;
908
909				mux: mux-controller {
910					compatible = "mmio-mux";
911					#mux-control-cells = <1>;
912				};
913			};
914
915			iomuxc: pinctrl@20e0000 {
916				compatible = "fsl,imx6dl-iomuxc", "fsl,imx6q-iomuxc";
917				reg = <0x20e0000 0x4000>;
918			};
919
920			dcic1: dcic@20e4000 {
921				reg = <0x020e4000 0x4000>;
922				interrupts = <0 124 IRQ_TYPE_LEVEL_HIGH>;
923			};
924
925			dcic2: dcic@20e8000 {
926				reg = <0x020e8000 0x4000>;
927				interrupts = <0 125 IRQ_TYPE_LEVEL_HIGH>;
928			};
929
930			sdma: dma-controller@20ec000 {
931				compatible = "fsl,imx6q-sdma", "fsl,imx35-sdma";
932				reg = <0x020ec000 0x4000>;
933				interrupts = <0 2 IRQ_TYPE_LEVEL_HIGH>;
934				clocks = <&clks IMX6QDL_CLK_IPG>,
935					 <&clks IMX6QDL_CLK_SDMA>;
936				clock-names = "ipg", "ahb";
937				#dma-cells = <3>;
938				fsl,sdma-ram-script-name = "imx/sdma/sdma-imx6q.bin";
939			};
940		};
941
942		bus@2100000 { /* AIPS2 */
943			compatible = "fsl,aips-bus", "simple-bus";
944			#address-cells = <1>;
945			#size-cells = <1>;
946			reg = <0x02100000 0x100000>;
947			ranges;
948
949			crypto: crypto@2100000 {
950				compatible = "fsl,sec-v4.0";
951				#address-cells = <1>;
952				#size-cells = <1>;
953				reg = <0x2100000 0x10000>;
954				ranges = <0 0x2100000 0x10000>;
955				clocks = <&clks IMX6QDL_CLK_CAAM_MEM>,
956					 <&clks IMX6QDL_CLK_CAAM_ACLK>,
957					 <&clks IMX6QDL_CLK_CAAM_IPG>,
958					 <&clks IMX6QDL_CLK_EIM_SLOW>;
959				clock-names = "mem", "aclk", "ipg", "emi_slow";
960
961				sec_jr0: jr@1000 {
962					compatible = "fsl,sec-v4.0-job-ring";
963					reg = <0x1000 0x1000>;
964					interrupts = <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>;
965				};
966
967				sec_jr1: jr@2000 {
968					compatible = "fsl,sec-v4.0-job-ring";
969					reg = <0x2000 0x1000>;
970					interrupts = <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>;
971				};
972			};
973
974			aipstz@217c000 { /* AIPSTZ2 */
975				reg = <0x0217c000 0x4000>;
976			};
977
978			usbotg: usb@2184000 {
979				compatible = "fsl,imx6q-usb", "fsl,imx27-usb";
980				reg = <0x02184000 0x200>;
981				interrupts = <0 43 IRQ_TYPE_LEVEL_HIGH>;
982				clocks = <&clks IMX6QDL_CLK_USBOH3>;
983				fsl,usbphy = <&usbphy1>;
984				fsl,usbmisc = <&usbmisc 0>;
985				ahb-burst-config = <0x0>;
986				tx-burst-size-dword = <0x10>;
987				rx-burst-size-dword = <0x10>;
988				status = "disabled";
989			};
990
991			usbh1: usb@2184200 {
992				compatible = "fsl,imx6q-usb", "fsl,imx27-usb";
993				reg = <0x02184200 0x200>;
994				interrupts = <0 40 IRQ_TYPE_LEVEL_HIGH>;
995				clocks = <&clks IMX6QDL_CLK_USBOH3>;
996				fsl,usbphy = <&usbphy2>;
997				fsl,usbmisc = <&usbmisc 1>;
998				dr_mode = "host";
999				ahb-burst-config = <0x0>;
1000				tx-burst-size-dword = <0x10>;
1001				rx-burst-size-dword = <0x10>;
1002				status = "disabled";
1003			};
1004
1005			usbh2: usb@2184400 {
1006				compatible = "fsl,imx6q-usb", "fsl,imx27-usb";
1007				reg = <0x02184400 0x200>;
1008				interrupts = <0 41 IRQ_TYPE_LEVEL_HIGH>;
1009				clocks = <&clks IMX6QDL_CLK_USBOH3>;
1010				fsl,usbphy = <&usbphynop1>;
1011				phy_type = "hsic";
1012				fsl,usbmisc = <&usbmisc 2>;
1013				dr_mode = "host";
1014				ahb-burst-config = <0x0>;
1015				tx-burst-size-dword = <0x10>;
1016				rx-burst-size-dword = <0x10>;
1017				status = "disabled";
1018			};
1019
1020			usbh3: usb@2184600 {
1021				compatible = "fsl,imx6q-usb", "fsl,imx27-usb";
1022				reg = <0x02184600 0x200>;
1023				interrupts = <0 42 IRQ_TYPE_LEVEL_HIGH>;
1024				clocks = <&clks IMX6QDL_CLK_USBOH3>;
1025				fsl,usbphy = <&usbphynop2>;
1026				phy_type = "hsic";
1027				fsl,usbmisc = <&usbmisc 3>;
1028				dr_mode = "host";
1029				ahb-burst-config = <0x0>;
1030				tx-burst-size-dword = <0x10>;
1031				rx-burst-size-dword = <0x10>;
1032				status = "disabled";
1033			};
1034
1035			usbmisc: usbmisc@2184800 {
1036				#index-cells = <1>;
1037				compatible = "fsl,imx6q-usbmisc";
1038				reg = <0x02184800 0x200>;
1039				clocks = <&clks IMX6QDL_CLK_USBOH3>;
1040			};
1041
1042			fec: ethernet@2188000 {
1043				compatible = "fsl,imx6q-fec";
1044				reg = <0x02188000 0x4000>;
1045				interrupt-names = "int0", "pps";
1046				interrupts = <0 118 IRQ_TYPE_LEVEL_HIGH>,
1047					     <0 119 IRQ_TYPE_LEVEL_HIGH>;
1048				clocks = <&clks IMX6QDL_CLK_ENET>,
1049					 <&clks IMX6QDL_CLK_ENET>,
1050					 <&clks IMX6QDL_CLK_ENET_REF>,
1051					 <&clks IMX6QDL_CLK_ENET_REF>;
1052				clock-names = "ipg", "ahb", "ptp", "enet_out";
1053				fsl,stop-mode = <&gpr 0x34 27>;
1054				status = "disabled";
1055			};
1056
1057			mlb@218c000 {
1058				reg = <0x0218c000 0x4000>;
1059				interrupts = <0 53 IRQ_TYPE_LEVEL_HIGH>,
1060					     <0 117 IRQ_TYPE_LEVEL_HIGH>,
1061					     <0 126 IRQ_TYPE_LEVEL_HIGH>;
1062			};
1063
1064			usdhc1: mmc@2190000 {
1065				compatible = "fsl,imx6q-usdhc";
1066				reg = <0x02190000 0x4000>;
1067				interrupts = <0 22 IRQ_TYPE_LEVEL_HIGH>;
1068				clocks = <&clks IMX6QDL_CLK_USDHC1>,
1069					 <&clks IMX6QDL_CLK_USDHC1>,
1070					 <&clks IMX6QDL_CLK_USDHC1>;
1071				clock-names = "ipg", "ahb", "per";
1072				bus-width = <4>;
1073				status = "disabled";
1074			};
1075
1076			usdhc2: mmc@2194000 {
1077				compatible = "fsl,imx6q-usdhc";
1078				reg = <0x02194000 0x4000>;
1079				interrupts = <0 23 IRQ_TYPE_LEVEL_HIGH>;
1080				clocks = <&clks IMX6QDL_CLK_USDHC2>,
1081					 <&clks IMX6QDL_CLK_USDHC2>,
1082					 <&clks IMX6QDL_CLK_USDHC2>;
1083				clock-names = "ipg", "ahb", "per";
1084				bus-width = <4>;
1085				status = "disabled";
1086			};
1087
1088			usdhc3: mmc@2198000 {
1089				compatible = "fsl,imx6q-usdhc";
1090				reg = <0x02198000 0x4000>;
1091				interrupts = <0 24 IRQ_TYPE_LEVEL_HIGH>;
1092				clocks = <&clks IMX6QDL_CLK_USDHC3>,
1093					 <&clks IMX6QDL_CLK_USDHC3>,
1094					 <&clks IMX6QDL_CLK_USDHC3>;
1095				clock-names = "ipg", "ahb", "per";
1096				bus-width = <4>;
1097				status = "disabled";
1098			};
1099
1100			usdhc4: mmc@219c000 {
1101				compatible = "fsl,imx6q-usdhc";
1102				reg = <0x0219c000 0x4000>;
1103				interrupts = <0 25 IRQ_TYPE_LEVEL_HIGH>;
1104				clocks = <&clks IMX6QDL_CLK_USDHC4>,
1105					 <&clks IMX6QDL_CLK_USDHC4>,
1106					 <&clks IMX6QDL_CLK_USDHC4>;
1107				clock-names = "ipg", "ahb", "per";
1108				bus-width = <4>;
1109				status = "disabled";
1110			};
1111
1112			i2c1: i2c@21a0000 {
1113				#address-cells = <1>;
1114				#size-cells = <0>;
1115				compatible = "fsl,imx6q-i2c", "fsl,imx21-i2c";
1116				reg = <0x021a0000 0x4000>;
1117				interrupts = <0 36 IRQ_TYPE_LEVEL_HIGH>;
1118				clocks = <&clks IMX6QDL_CLK_I2C1>;
1119				status = "disabled";
1120			};
1121
1122			i2c2: i2c@21a4000 {
1123				#address-cells = <1>;
1124				#size-cells = <0>;
1125				compatible = "fsl,imx6q-i2c", "fsl,imx21-i2c";
1126				reg = <0x021a4000 0x4000>;
1127				interrupts = <0 37 IRQ_TYPE_LEVEL_HIGH>;
1128				clocks = <&clks IMX6QDL_CLK_I2C2>;
1129				status = "disabled";
1130			};
1131
1132			i2c3: i2c@21a8000 {
1133				#address-cells = <1>;
1134				#size-cells = <0>;
1135				compatible = "fsl,imx6q-i2c", "fsl,imx21-i2c";
1136				reg = <0x021a8000 0x4000>;
1137				interrupts = <0 38 IRQ_TYPE_LEVEL_HIGH>;
1138				clocks = <&clks IMX6QDL_CLK_I2C3>;
1139				status = "disabled";
1140			};
1141
1142			romcp@21ac000 {
1143				reg = <0x021ac000 0x4000>;
1144			};
1145
1146			mmdc0: memory-controller@21b0000 { /* MMDC0 */
1147				compatible = "fsl,imx6q-mmdc";
1148				reg = <0x021b0000 0x4000>;
1149				clocks = <&clks IMX6QDL_CLK_MMDC_P0_IPG>;
1150			};
1151
1152			mmdc1: memory-controller@21b4000 { /* MMDC1 */
1153				compatible = "fsl,imx6q-mmdc";
1154				reg = <0x021b4000 0x4000>;
1155				status = "disabled";
1156			};
1157
1158			weim: weim@21b8000 {
1159				#address-cells = <2>;
1160				#size-cells = <1>;
1161				compatible = "fsl,imx6q-weim";
1162				reg = <0x021b8000 0x4000>;
1163				interrupts = <0 14 IRQ_TYPE_LEVEL_HIGH>;
1164				clocks = <&clks IMX6QDL_CLK_EIM_SLOW>;
1165				fsl,weim-cs-gpr = <&gpr>;
1166				status = "disabled";
1167			};
1168
1169			ocotp: efuse@21bc000 {
1170				compatible = "fsl,imx6q-ocotp", "syscon";
1171				reg = <0x021bc000 0x4000>;
1172				clocks = <&clks IMX6QDL_CLK_IIM>;
1173				#address-cells = <1>;
1174				#size-cells = <1>;
1175
1176				cpu_speed_grade: speed-grade@10 {
1177					reg = <0x10 4>;
1178				};
1179
1180				tempmon_calib: calib@38 {
1181					reg = <0x38 4>;
1182				};
1183
1184				tempmon_temp_grade: temp-grade@20 {
1185					reg = <0x20 4>;
1186				};
1187			};
1188
1189			tzasc@21d0000 { /* TZASC1 */
1190				reg = <0x021d0000 0x4000>;
1191				interrupts = <0 108 IRQ_TYPE_LEVEL_HIGH>;
1192			};
1193
1194			tzasc@21d4000 { /* TZASC2 */
1195				reg = <0x021d4000 0x4000>;
1196				interrupts = <0 109 IRQ_TYPE_LEVEL_HIGH>;
1197			};
1198
1199			audmux: audmux@21d8000 {
1200				compatible = "fsl,imx6q-audmux", "fsl,imx31-audmux";
1201				reg = <0x021d8000 0x4000>;
1202				status = "disabled";
1203			};
1204
1205			mipi_csi: mipi@21dc000 {
1206				compatible = "fsl,imx6-mipi-csi2";
1207				reg = <0x021dc000 0x4000>;
1208				#address-cells = <1>;
1209				#size-cells = <0>;
1210				interrupts = <0 100 0x04>, <0 101 0x04>;
1211				clocks = <&clks IMX6QDL_CLK_HSI_TX>,
1212					 <&clks IMX6QDL_CLK_VIDEO_27M>,
1213					 <&clks IMX6QDL_CLK_EIM_PODF>;
1214				clock-names = "dphy", "ref", "pix";
1215				status = "disabled";
1216			};
1217
1218			mipi_dsi: mipi@21e0000 {
1219				reg = <0x021e0000 0x4000>;
1220				status = "disabled";
1221
1222				ports {
1223					#address-cells = <1>;
1224					#size-cells = <0>;
1225
1226					port@0 {
1227						reg = <0>;
1228
1229						mipi_mux_0: endpoint {
1230							remote-endpoint = <&ipu1_di0_mipi>;
1231						};
1232					};
1233
1234					port@1 {
1235						reg = <1>;
1236
1237						mipi_mux_1: endpoint {
1238							remote-endpoint = <&ipu1_di1_mipi>;
1239						};
1240					};
1241				};
1242			};
1243
1244			vdoa@21e4000 {
1245				compatible = "fsl,imx6q-vdoa";
1246				reg = <0x021e4000 0x4000>;
1247				interrupts = <0 18 IRQ_TYPE_LEVEL_HIGH>;
1248				clocks = <&clks IMX6QDL_CLK_VDOA>;
1249			};
1250
1251			uart2: serial@21e8000 {
1252				compatible = "fsl,imx6q-uart", "fsl,imx21-uart";
1253				reg = <0x021e8000 0x4000>;
1254				interrupts = <0 27 IRQ_TYPE_LEVEL_HIGH>;
1255				clocks = <&clks IMX6QDL_CLK_UART_IPG>,
1256					 <&clks IMX6QDL_CLK_UART_SERIAL>;
1257				clock-names = "ipg", "per";
1258				dmas = <&sdma 27 4 0>, <&sdma 28 4 0>;
1259				dma-names = "rx", "tx";
1260				status = "disabled";
1261			};
1262
1263			uart3: serial@21ec000 {
1264				compatible = "fsl,imx6q-uart", "fsl,imx21-uart";
1265				reg = <0x021ec000 0x4000>;
1266				interrupts = <0 28 IRQ_TYPE_LEVEL_HIGH>;
1267				clocks = <&clks IMX6QDL_CLK_UART_IPG>,
1268					 <&clks IMX6QDL_CLK_UART_SERIAL>;
1269				clock-names = "ipg", "per";
1270				dmas = <&sdma 29 4 0>, <&sdma 30 4 0>;
1271				dma-names = "rx", "tx";
1272				status = "disabled";
1273			};
1274
1275			uart4: serial@21f0000 {
1276				compatible = "fsl,imx6q-uart", "fsl,imx21-uart";
1277				reg = <0x021f0000 0x4000>;
1278				interrupts = <0 29 IRQ_TYPE_LEVEL_HIGH>;
1279				clocks = <&clks IMX6QDL_CLK_UART_IPG>,
1280					 <&clks IMX6QDL_CLK_UART_SERIAL>;
1281				clock-names = "ipg", "per";
1282				dmas = <&sdma 31 4 0>, <&sdma 32 4 0>;
1283				dma-names = "rx", "tx";
1284				status = "disabled";
1285			};
1286
1287			uart5: serial@21f4000 {
1288				compatible = "fsl,imx6q-uart", "fsl,imx21-uart";
1289				reg = <0x021f4000 0x4000>;
1290				interrupts = <0 30 IRQ_TYPE_LEVEL_HIGH>;
1291				clocks = <&clks IMX6QDL_CLK_UART_IPG>,
1292					 <&clks IMX6QDL_CLK_UART_SERIAL>;
1293				clock-names = "ipg", "per";
1294				dmas = <&sdma 33 4 0>, <&sdma 34 4 0>;
1295				dma-names = "rx", "tx";
1296				status = "disabled";
1297			};
1298		};
1299
1300		ipu1: ipu@2400000 {
1301			#address-cells = <1>;
1302			#size-cells = <0>;
1303			compatible = "fsl,imx6q-ipu";
1304			reg = <0x02400000 0x400000>;
1305			interrupts = <0 6 IRQ_TYPE_LEVEL_HIGH>,
1306				     <0 5 IRQ_TYPE_LEVEL_HIGH>;
1307			clocks = <&clks IMX6QDL_CLK_IPU1>,
1308				 <&clks IMX6QDL_CLK_IPU1_DI0>,
1309				 <&clks IMX6QDL_CLK_IPU1_DI1>;
1310			clock-names = "bus", "di0", "di1";
1311			resets = <&src 2>;
1312
1313			ipu1_csi0: port@0 {
1314				reg = <0>;
1315
1316				ipu1_csi0_from_ipu1_csi0_mux: endpoint {
1317					remote-endpoint = <&ipu1_csi0_mux_to_ipu1_csi0>;
1318				};
1319			};
1320
1321			ipu1_csi1: port@1 {
1322				reg = <1>;
1323			};
1324
1325			ipu1_di0: port@2 {
1326				#address-cells = <1>;
1327				#size-cells = <0>;
1328				reg = <2>;
1329
1330				ipu1_di0_disp0: endpoint@0 {
1331					reg = <0>;
1332				};
1333
1334				ipu1_di0_hdmi: endpoint@1 {
1335					reg = <1>;
1336					remote-endpoint = <&hdmi_mux_0>;
1337				};
1338
1339				ipu1_di0_mipi: endpoint@2 {
1340					reg = <2>;
1341					remote-endpoint = <&mipi_mux_0>;
1342				};
1343
1344				ipu1_di0_lvds0: endpoint@3 {
1345					reg = <3>;
1346					remote-endpoint = <&lvds0_mux_0>;
1347				};
1348
1349				ipu1_di0_lvds1: endpoint@4 {
1350					reg = <4>;
1351					remote-endpoint = <&lvds1_mux_0>;
1352				};
1353			};
1354
1355			ipu1_di1: port@3 {
1356				#address-cells = <1>;
1357				#size-cells = <0>;
1358				reg = <3>;
1359
1360				ipu1_di1_disp1: endpoint@0 {
1361					reg = <0>;
1362				};
1363
1364				ipu1_di1_hdmi: endpoint@1 {
1365					reg = <1>;
1366					remote-endpoint = <&hdmi_mux_1>;
1367				};
1368
1369				ipu1_di1_mipi: endpoint@2 {
1370					reg = <2>;
1371					remote-endpoint = <&mipi_mux_1>;
1372				};
1373
1374				ipu1_di1_lvds0: endpoint@3 {
1375					reg = <3>;
1376					remote-endpoint = <&lvds0_mux_1>;
1377				};
1378
1379				ipu1_di1_lvds1: endpoint@4 {
1380					reg = <4>;
1381					remote-endpoint = <&lvds1_mux_1>;
1382				};
1383			};
1384		};
1385	};
1386};
1387