imx6qdl.dtsi 32.7 KB
Newer Older
S
Shawn Guo 已提交
1 2 3 4 5 6 7 8 9 10 11 12
/*
 * Copyright 2011 Freescale Semiconductor, Inc.
 * Copyright 2011 Linaro Ltd.
 *
 * The code contained herein is licensed under the GNU General Public
 * License. You may obtain a copy of the GNU General Public License
 * Version 2 or later at the following locations:
 *
 * http://www.opensource.org/licenses/gpl-license.html
 * http://www.gnu.org/copyleft/gpl.html
 */

13
#include <dt-bindings/clock/imx6qdl-clock.h>
14 15
#include <dt-bindings/interrupt-controller/arm-gic.h>

16
#include "skeleton.dtsi"
S
Shawn Guo 已提交
17 18 19

/ {
	aliases {
20
		ethernet0 = &fec;
21 22
		can0 = &can1;
		can1 = &can2;
S
Shawn Guo 已提交
23 24 25 26 27 28 29
		gpio0 = &gpio1;
		gpio1 = &gpio2;
		gpio2 = &gpio3;
		gpio3 = &gpio4;
		gpio4 = &gpio5;
		gpio5 = &gpio6;
		gpio6 = &gpio7;
30 31 32
		i2c0 = &i2c1;
		i2c1 = &i2c2;
		i2c2 = &i2c3;
P
Philipp Zabel 已提交
33
		ipu0 = &ipu1;
34 35 36 37
		mmc0 = &usdhc1;
		mmc1 = &usdhc2;
		mmc2 = &usdhc3;
		mmc3 = &usdhc4;
38 39 40 41 42 43 44 45 46
		serial0 = &uart1;
		serial1 = &uart2;
		serial2 = &uart3;
		serial3 = &uart4;
		serial4 = &uart5;
		spi0 = &ecspi1;
		spi1 = &ecspi2;
		spi2 = &ecspi3;
		spi3 = &ecspi4;
47 48
		usbphy0 = &usbphy1;
		usbphy1 = &usbphy2;
S
Shawn Guo 已提交
49 50 51 52 53 54 55 56
	};

	intc: interrupt-controller@00a01000 {
		compatible = "arm,cortex-a9-gic";
		#interrupt-cells = <3>;
		interrupt-controller;
		reg = <0x00a01000 0x1000>,
		      <0x00a00100 0x100>;
57
		interrupt-parent = <&intc>;
S
Shawn Guo 已提交
58 59 60 61 62 63 64 65
	};

	clocks {
		#address-cells = <1>;
		#size-cells = <0>;

		ckil {
			compatible = "fsl,imx-ckil", "fixed-clock";
66
			#clock-cells = <0>;
S
Shawn Guo 已提交
67 68 69 70 71
			clock-frequency = <32768>;
		};

		ckih1 {
			compatible = "fsl,imx-ckih1", "fixed-clock";
72
			#clock-cells = <0>;
S
Shawn Guo 已提交
73 74 75 76 77
			clock-frequency = <0>;
		};

		osc {
			compatible = "fsl,imx-osc", "fixed-clock";
78
			#clock-cells = <0>;
S
Shawn Guo 已提交
79 80 81 82 83 84 85 86
			clock-frequency = <24000000>;
		};
	};

	soc {
		#address-cells = <1>;
		#size-cells = <1>;
		compatible = "simple-bus";
87
		interrupt-parent = <&gpc>;
S
Shawn Guo 已提交
88 89
		ranges;

90
		dma_apbh: dma-apbh@00110000 {
91 92
			compatible = "fsl,imx6q-dma-apbh", "fsl,imx28-dma-apbh";
			reg = <0x00110000 0x2000>;
93 94 95 96
			interrupts = <0 13 IRQ_TYPE_LEVEL_HIGH>,
				     <0 13 IRQ_TYPE_LEVEL_HIGH>,
				     <0 13 IRQ_TYPE_LEVEL_HIGH>,
				     <0 13 IRQ_TYPE_LEVEL_HIGH>;
97 98 99
			interrupt-names = "gpmi0", "gpmi1", "gpmi2", "gpmi3";
			#dma-cells = <1>;
			dma-channels = <4>;
100
			clocks = <&clks IMX6QDL_CLK_APBH_DMA>;
101 102
		};

103
		gpmi: gpmi-nand@00112000 {
104 105 106 107 108
			compatible = "fsl,imx6q-gpmi-nand";
			#address-cells = <1>;
			#size-cells = <1>;
			reg = <0x00112000 0x2000>, <0x00114000 0x2000>;
			reg-names = "gpmi-nand", "bch";
109
			interrupts = <0 15 IRQ_TYPE_LEVEL_HIGH>;
110
			interrupt-names = "bch";
111 112 113 114 115
			clocks = <&clks IMX6QDL_CLK_GPMI_IO>,
				 <&clks IMX6QDL_CLK_GPMI_APB>,
				 <&clks IMX6QDL_CLK_GPMI_BCH>,
				 <&clks IMX6QDL_CLK_GPMI_BCH_APB>,
				 <&clks IMX6QDL_CLK_PER1_BCH>;
116 117
			clock-names = "gpmi_io", "gpmi_apb", "gpmi_bch",
				      "gpmi_bch_apb", "per1_bch";
118 119
			dmas = <&dma_apbh 0>;
			dma-names = "rx-tx";
120
			status = "disabled";
121 122
		};

123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150
		hdmi: hdmi@0120000 {
			#address-cells = <1>;
			#size-cells = <0>;
			reg = <0x00120000 0x9000>;
			interrupts = <0 115 0x04>;
			gpr = <&gpr>;
			clocks = <&clks IMX6QDL_CLK_HDMI_IAHB>,
				 <&clks IMX6QDL_CLK_HDMI_ISFR>;
			clock-names = "iahb", "isfr";
			status = "disabled";

			port@0 {
				reg = <0>;

				hdmi_mux_0: endpoint {
					remote-endpoint = <&ipu1_di0_hdmi>;
				};
			};

			port@1 {
				reg = <1>;

				hdmi_mux_1: endpoint {
					remote-endpoint = <&ipu1_di1_hdmi>;
				};
			};
		};

S
Shawn Guo 已提交
151
		timer@00a00600 {
152 153 154
			compatible = "arm,cortex-a9-twd-timer";
			reg = <0x00a00600 0x20>;
			interrupts = <1 13 0xf01>;
155
			interrupt-parent = <&intc>;
156
			clocks = <&clks IMX6QDL_CLK_TWD>;
S
Shawn Guo 已提交
157 158 159 160 161
		};

		L2: l2-cache@00a02000 {
			compatible = "arm,pl310-cache";
			reg = <0x00a02000 0x1000>;
162
			interrupts = <0 92 IRQ_TYPE_LEVEL_HIGH>;
S
Shawn Guo 已提交
163 164
			cache-unified;
			cache-level = <2>;
165 166
			arm,tag-latency = <4 2 3>;
			arm,data-latency = <4 2 3>;
S
Shawn Guo 已提交
167 168
		};

169 170
		pcie: pcie@0x01000000 {
			compatible = "fsl,imx6q-pcie", "snps,dw-pcie";
171 172 173
			reg = <0x01ffc000 0x04000>,
			      <0x01f00000 0x80000>;
			reg-names = "dbi", "config";
174 175 176
			#address-cells = <3>;
			#size-cells = <2>;
			device_type = "pci";
177
			ranges = <0x81000000 0 0          0x01f80000 0 0x00010000 /* downstream I/O */
178 179
				  0x82000000 0 0x01000000 0x01000000 0 0x00f00000>; /* non-prefetchable memory */
			num-lanes = <1>;
180 181
			interrupts = <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>;
			interrupt-names = "msi";
182 183
			#interrupt-cells = <1>;
			interrupt-map-mask = <0 0 0 0x7>;
184 185 186 187
			interrupt-map = <0 0 0 1 &gpc GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>,
			                <0 0 0 2 &gpc GIC_SPI 122 IRQ_TYPE_LEVEL_HIGH>,
			                <0 0 0 3 &gpc GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>,
			                <0 0 0 4 &gpc GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>;
188 189 190
			clocks = <&clks IMX6QDL_CLK_PCIE_AXI>,
				 <&clks IMX6QDL_CLK_LVDS1_GATE>,
				 <&clks IMX6QDL_CLK_PCIE_REF_125M>;
191
			clock-names = "pcie", "pcie_bus", "pcie_phy";
192 193 194
			status = "disabled";
		};

D
Dirk Behme 已提交
195 196
		pmu {
			compatible = "arm,cortex-a9-pmu";
197
			interrupts = <0 94 IRQ_TYPE_LEVEL_HIGH>;
D
Dirk Behme 已提交
198 199
		};

S
Shawn Guo 已提交
200 201 202 203 204 205 206 207 208 209 210 211 212 213
		aips-bus@02000000 { /* AIPS1 */
			compatible = "fsl,aips-bus", "simple-bus";
			#address-cells = <1>;
			#size-cells = <1>;
			reg = <0x02000000 0x100000>;
			ranges;

			spba-bus@02000000 {
				compatible = "fsl,spba-bus", "simple-bus";
				#address-cells = <1>;
				#size-cells = <1>;
				reg = <0x02000000 0x40000>;
				ranges;

214
				spdif: spdif@02004000 {
215
					compatible = "fsl,imx35-spdif";
S
Shawn Guo 已提交
216
					reg = <0x02004000 0x4000>;
217
					interrupts = <0 52 IRQ_TYPE_LEVEL_HIGH>;
218 219 220
					dmas = <&sdma 14 18 0>,
					       <&sdma 15 18 0>;
					dma-names = "rx", "tx";
221 222 223 224 225
					clocks = <&clks IMX6QDL_CLK_SPDIF_GCLK>, <&clks IMX6QDL_CLK_OSC>,
						 <&clks IMX6QDL_CLK_SPDIF>, <&clks IMX6QDL_CLK_ASRC>,
						 <&clks IMX6QDL_CLK_DUMMY>, <&clks IMX6QDL_CLK_ESAI_EXTAL>,
						 <&clks IMX6QDL_CLK_IPG>, <&clks IMX6QDL_CLK_MLB>,
						 <&clks IMX6QDL_CLK_DUMMY>, <&clks IMX6QDL_CLK_SPBA>;
226 227 228 229
					clock-names = "core",  "rxtx0",
						      "rxtx1", "rxtx2",
						      "rxtx3", "rxtx4",
						      "rxtx5", "rxtx6",
230
						      "rxtx7", "spba";
231
					status = "disabled";
S
Shawn Guo 已提交
232 233
				};

234
				ecspi1: ecspi@02008000 {
S
Shawn Guo 已提交
235 236 237 238
					#address-cells = <1>;
					#size-cells = <0>;
					compatible = "fsl,imx6q-ecspi", "fsl,imx51-ecspi";
					reg = <0x02008000 0x4000>;
239
					interrupts = <0 31 IRQ_TYPE_LEVEL_HIGH>;
240 241
					clocks = <&clks IMX6QDL_CLK_ECSPI1>,
						 <&clks IMX6QDL_CLK_ECSPI1>;
242
					clock-names = "ipg", "per";
F
Frank Li 已提交
243 244
					dmas = <&sdma 3 7 1>, <&sdma 4 7 2>;
					dma-names = "rx", "tx";
S
Shawn Guo 已提交
245 246 247
					status = "disabled";
				};

248
				ecspi2: ecspi@0200c000 {
S
Shawn Guo 已提交
249 250 251 252
					#address-cells = <1>;
					#size-cells = <0>;
					compatible = "fsl,imx6q-ecspi", "fsl,imx51-ecspi";
					reg = <0x0200c000 0x4000>;
253
					interrupts = <0 32 IRQ_TYPE_LEVEL_HIGH>;
254 255
					clocks = <&clks IMX6QDL_CLK_ECSPI2>,
						 <&clks IMX6QDL_CLK_ECSPI2>;
256
					clock-names = "ipg", "per";
F
Frank Li 已提交
257 258
					dmas = <&sdma 5 7 1>, <&sdma 6 7 2>;
					dma-names = "rx", "tx";
S
Shawn Guo 已提交
259 260 261
					status = "disabled";
				};

262
				ecspi3: ecspi@02010000 {
S
Shawn Guo 已提交
263 264 265 266
					#address-cells = <1>;
					#size-cells = <0>;
					compatible = "fsl,imx6q-ecspi", "fsl,imx51-ecspi";
					reg = <0x02010000 0x4000>;
267
					interrupts = <0 33 IRQ_TYPE_LEVEL_HIGH>;
268 269
					clocks = <&clks IMX6QDL_CLK_ECSPI3>,
						 <&clks IMX6QDL_CLK_ECSPI3>;
270
					clock-names = "ipg", "per";
F
Frank Li 已提交
271 272
					dmas = <&sdma 7 7 1>, <&sdma 8 7 2>;
					dma-names = "rx", "tx";
S
Shawn Guo 已提交
273 274 275
					status = "disabled";
				};

276
				ecspi4: ecspi@02014000 {
S
Shawn Guo 已提交
277 278 279 280
					#address-cells = <1>;
					#size-cells = <0>;
					compatible = "fsl,imx6q-ecspi", "fsl,imx51-ecspi";
					reg = <0x02014000 0x4000>;
281
					interrupts = <0 34 IRQ_TYPE_LEVEL_HIGH>;
282 283
					clocks = <&clks IMX6QDL_CLK_ECSPI4>,
						 <&clks IMX6QDL_CLK_ECSPI4>;
284
					clock-names = "ipg", "per";
F
Frank Li 已提交
285 286
					dmas = <&sdma 9 7 1>, <&sdma 10 7 2>;
					dma-names = "rx", "tx";
S
Shawn Guo 已提交
287 288 289
					status = "disabled";
				};

290
				uart1: serial@02020000 {
S
Shawn Guo 已提交
291 292
					compatible = "fsl,imx6q-uart", "fsl,imx21-uart";
					reg = <0x02020000 0x4000>;
293
					interrupts = <0 26 IRQ_TYPE_LEVEL_HIGH>;
294 295
					clocks = <&clks IMX6QDL_CLK_UART_IPG>,
						 <&clks IMX6QDL_CLK_UART_SERIAL>;
296
					clock-names = "ipg", "per";
297 298
					dmas = <&sdma 25 4 0>, <&sdma 26 4 0>;
					dma-names = "rx", "tx";
S
Shawn Guo 已提交
299 300 301
					status = "disabled";
				};

302
				esai: esai@02024000 {
303 304
					#sound-dai-cells = <0>;
					compatible = "fsl,imx35-esai";
S
Shawn Guo 已提交
305
					reg = <0x02024000 0x4000>;
306
					interrupts = <0 51 IRQ_TYPE_LEVEL_HIGH>;
307 308 309 310 311
					clocks = <&clks IMX6QDL_CLK_ESAI_IPG>,
						 <&clks IMX6QDL_CLK_ESAI_MEM>,
						 <&clks IMX6QDL_CLK_ESAI_EXTAL>,
						 <&clks IMX6QDL_CLK_ESAI_IPG>,
						 <&clks IMX6QDL_CLK_SPBA>;
312
					clock-names = "core", "mem", "extal", "fsys", "spba";
313 314 315
					dmas = <&sdma 23 21 0>, <&sdma 24 21 0>;
					dma-names = "rx", "tx";
					status = "disabled";
S
Shawn Guo 已提交
316 317
				};

318
				ssi1: ssi@02028000 {
319
					#sound-dai-cells = <0>;
M
Markus Pargmann 已提交
320
					compatible = "fsl,imx6q-ssi",
321
							"fsl,imx51-ssi";
S
Shawn Guo 已提交
322
					reg = <0x02028000 0x4000>;
323
					interrupts = <0 46 IRQ_TYPE_LEVEL_HIGH>;
324 325 326
					clocks = <&clks IMX6QDL_CLK_SSI1_IPG>,
						 <&clks IMX6QDL_CLK_SSI1>;
					clock-names = "ipg", "baud";
327 328 329
					dmas = <&sdma 37 1 0>,
					       <&sdma 38 1 0>;
					dma-names = "rx", "tx";
330 331
					fsl,fifo-depth = <15>;
					status = "disabled";
S
Shawn Guo 已提交
332 333
				};

334
				ssi2: ssi@0202c000 {
335
					#sound-dai-cells = <0>;
M
Markus Pargmann 已提交
336
					compatible = "fsl,imx6q-ssi",
337
							"fsl,imx51-ssi";
S
Shawn Guo 已提交
338
					reg = <0x0202c000 0x4000>;
339
					interrupts = <0 47 IRQ_TYPE_LEVEL_HIGH>;
340 341 342
					clocks = <&clks IMX6QDL_CLK_SSI2_IPG>,
						 <&clks IMX6QDL_CLK_SSI2>;
					clock-names = "ipg", "baud";
343 344 345
					dmas = <&sdma 41 1 0>,
					       <&sdma 42 1 0>;
					dma-names = "rx", "tx";
346 347
					fsl,fifo-depth = <15>;
					status = "disabled";
S
Shawn Guo 已提交
348 349
				};

350
				ssi3: ssi@02030000 {
351
					#sound-dai-cells = <0>;
M
Markus Pargmann 已提交
352
					compatible = "fsl,imx6q-ssi",
353
							"fsl,imx51-ssi";
S
Shawn Guo 已提交
354
					reg = <0x02030000 0x4000>;
355
					interrupts = <0 48 IRQ_TYPE_LEVEL_HIGH>;
356 357 358
					clocks = <&clks IMX6QDL_CLK_SSI3_IPG>,
						 <&clks IMX6QDL_CLK_SSI3>;
					clock-names = "ipg", "baud";
359 360 361
					dmas = <&sdma 45 1 0>,
					       <&sdma 46 1 0>;
					dma-names = "rx", "tx";
362 363
					fsl,fifo-depth = <15>;
					status = "disabled";
S
Shawn Guo 已提交
364 365
				};

366
				asrc: asrc@02034000 {
367
					compatible = "fsl,imx53-asrc";
S
Shawn Guo 已提交
368
					reg = <0x02034000 0x4000>;
369
					interrupts = <0 50 IRQ_TYPE_LEVEL_HIGH>;
370 371 372 373 374 375 376 377 378 379 380
					clocks = <&clks IMX6QDL_CLK_ASRC_IPG>,
						<&clks IMX6QDL_CLK_ASRC_MEM>, <&clks 0>,
						<&clks 0>, <&clks 0>, <&clks 0>, <&clks 0>,
						<&clks 0>, <&clks 0>, <&clks 0>, <&clks 0>,
						<&clks 0>, <&clks 0>, <&clks 0>, <&clks 0>,
						<&clks IMX6QDL_CLK_ASRC>, <&clks 0>, <&clks 0>,
						<&clks IMX6QDL_CLK_SPBA>;
					clock-names = "mem", "ipg", "asrck_0",
						"asrck_1", "asrck_2", "asrck_3", "asrck_4",
						"asrck_5", "asrck_6", "asrck_7", "asrck_8",
						"asrck_9", "asrck_a", "asrck_b", "asrck_c",
381
						"asrck_d", "asrck_e", "asrck_f", "spba";
382 383 384 385 386 387 388
					dmas = <&sdma 17 23 1>, <&sdma 18 23 1>, <&sdma 19 23 1>,
						<&sdma 20 23 1>, <&sdma 21 23 1>, <&sdma 22 23 1>;
					dma-names = "rxa", "rxb", "rxc",
							"txa", "txb", "txc";
					fsl,asrc-rate  = <48000>;
					fsl,asrc-width = <16>;
					status = "okay";
S
Shawn Guo 已提交
389 390 391 392 393 394 395
				};

				spba@0203c000 {
					reg = <0x0203c000 0x4000>;
				};
			};

396
			vpu: vpu@02040000 {
397
				compatible = "cnm,coda960";
S
Shawn Guo 已提交
398
				reg = <0x02040000 0x3c000>;
399 400
				interrupts = <0 12 IRQ_TYPE_LEVEL_HIGH>,
					     <0 3 IRQ_TYPE_LEVEL_HIGH>;
401 402
				interrupt-names = "bit", "jpeg";
				clocks = <&clks IMX6QDL_CLK_VPU_AXI>,
403 404
					 <&clks IMX6QDL_CLK_MMDC_CH0_AXI>;
				clock-names = "per", "ahb";
405
				power-domains = <&gpc 1>;
406 407
				resets = <&src 1>;
				iram = <&ocram>;
S
Shawn Guo 已提交
408 409 410 411 412 413
			};

			aipstz@0207c000 { /* AIPSTZ1 */
				reg = <0x0207c000 0x4000>;
			};

414
			pwm1: pwm@02080000 {
S
Sascha Hauer 已提交
415 416
				#pwm-cells = <2>;
				compatible = "fsl,imx6q-pwm", "fsl,imx27-pwm";
S
Shawn Guo 已提交
417
				reg = <0x02080000 0x4000>;
418
				interrupts = <0 83 IRQ_TYPE_LEVEL_HIGH>;
419 420
				clocks = <&clks IMX6QDL_CLK_IPG>,
					 <&clks IMX6QDL_CLK_PWM1>;
S
Sascha Hauer 已提交
421
				clock-names = "ipg", "per";
422
				status = "disabled";
S
Shawn Guo 已提交
423 424
			};

425
			pwm2: pwm@02084000 {
S
Sascha Hauer 已提交
426 427
				#pwm-cells = <2>;
				compatible = "fsl,imx6q-pwm", "fsl,imx27-pwm";
S
Shawn Guo 已提交
428
				reg = <0x02084000 0x4000>;
429
				interrupts = <0 84 IRQ_TYPE_LEVEL_HIGH>;
430 431
				clocks = <&clks IMX6QDL_CLK_IPG>,
					 <&clks IMX6QDL_CLK_PWM2>;
S
Sascha Hauer 已提交
432
				clock-names = "ipg", "per";
433
				status = "disabled";
S
Shawn Guo 已提交
434 435
			};

436
			pwm3: pwm@02088000 {
S
Sascha Hauer 已提交
437 438
				#pwm-cells = <2>;
				compatible = "fsl,imx6q-pwm", "fsl,imx27-pwm";
S
Shawn Guo 已提交
439
				reg = <0x02088000 0x4000>;
440
				interrupts = <0 85 IRQ_TYPE_LEVEL_HIGH>;
441 442
				clocks = <&clks IMX6QDL_CLK_IPG>,
					 <&clks IMX6QDL_CLK_PWM3>;
S
Sascha Hauer 已提交
443
				clock-names = "ipg", "per";
444
				status = "disabled";
S
Shawn Guo 已提交
445 446
			};

447
			pwm4: pwm@0208c000 {
S
Sascha Hauer 已提交
448 449
				#pwm-cells = <2>;
				compatible = "fsl,imx6q-pwm", "fsl,imx27-pwm";
S
Shawn Guo 已提交
450
				reg = <0x0208c000 0x4000>;
451
				interrupts = <0 86 IRQ_TYPE_LEVEL_HIGH>;
452 453
				clocks = <&clks IMX6QDL_CLK_IPG>,
					 <&clks IMX6QDL_CLK_PWM4>;
S
Sascha Hauer 已提交
454
				clock-names = "ipg", "per";
455
				status = "disabled";
S
Shawn Guo 已提交
456 457
			};

458
			can1: flexcan@02090000 {
459
				compatible = "fsl,imx6q-flexcan";
S
Shawn Guo 已提交
460
				reg = <0x02090000 0x4000>;
461
				interrupts = <0 110 IRQ_TYPE_LEVEL_HIGH>;
462 463
				clocks = <&clks IMX6QDL_CLK_CAN1_IPG>,
					 <&clks IMX6QDL_CLK_CAN1_SERIAL>;
464
				clock-names = "ipg", "per";
465
				status = "disabled";
S
Shawn Guo 已提交
466 467
			};

468
			can2: flexcan@02094000 {
469
				compatible = "fsl,imx6q-flexcan";
S
Shawn Guo 已提交
470
				reg = <0x02094000 0x4000>;
471
				interrupts = <0 111 IRQ_TYPE_LEVEL_HIGH>;
472 473
				clocks = <&clks IMX6QDL_CLK_CAN2_IPG>,
					 <&clks IMX6QDL_CLK_CAN2_SERIAL>;
474
				clock-names = "ipg", "per";
475
				status = "disabled";
S
Shawn Guo 已提交
476 477
			};

478
			gpt: gpt@02098000 {
479
				compatible = "fsl,imx6q-gpt", "fsl,imx31-gpt";
S
Shawn Guo 已提交
480
				reg = <0x02098000 0x4000>;
481
				interrupts = <0 55 IRQ_TYPE_LEVEL_HIGH>;
482
				clocks = <&clks IMX6QDL_CLK_GPT_IPG>,
483 484 485
					 <&clks IMX6QDL_CLK_GPT_IPG_PER>,
					 <&clks IMX6QDL_CLK_GPT_3M>;
				clock-names = "ipg", "per", "osc_per";
S
Shawn Guo 已提交
486 487
			};

488
			gpio1: gpio@0209c000 {
489
				compatible = "fsl,imx6q-gpio", "fsl,imx35-gpio";
S
Shawn Guo 已提交
490
				reg = <0x0209c000 0x4000>;
491 492
				interrupts = <0 66 IRQ_TYPE_LEVEL_HIGH>,
					     <0 67 IRQ_TYPE_LEVEL_HIGH>;
S
Shawn Guo 已提交
493 494 495
				gpio-controller;
				#gpio-cells = <2>;
				interrupt-controller;
496
				#interrupt-cells = <2>;
S
Shawn Guo 已提交
497 498
			};

499
			gpio2: gpio@020a0000 {
500
				compatible = "fsl,imx6q-gpio", "fsl,imx35-gpio";
S
Shawn Guo 已提交
501
				reg = <0x020a0000 0x4000>;
502 503
				interrupts = <0 68 IRQ_TYPE_LEVEL_HIGH>,
					     <0 69 IRQ_TYPE_LEVEL_HIGH>;
S
Shawn Guo 已提交
504 505 506
				gpio-controller;
				#gpio-cells = <2>;
				interrupt-controller;
507
				#interrupt-cells = <2>;
S
Shawn Guo 已提交
508 509
			};

510
			gpio3: gpio@020a4000 {
511
				compatible = "fsl,imx6q-gpio", "fsl,imx35-gpio";
S
Shawn Guo 已提交
512
				reg = <0x020a4000 0x4000>;
513 514
				interrupts = <0 70 IRQ_TYPE_LEVEL_HIGH>,
					     <0 71 IRQ_TYPE_LEVEL_HIGH>;
S
Shawn Guo 已提交
515 516 517
				gpio-controller;
				#gpio-cells = <2>;
				interrupt-controller;
518
				#interrupt-cells = <2>;
S
Shawn Guo 已提交
519 520
			};

521
			gpio4: gpio@020a8000 {
522
				compatible = "fsl,imx6q-gpio", "fsl,imx35-gpio";
S
Shawn Guo 已提交
523
				reg = <0x020a8000 0x4000>;
524 525
				interrupts = <0 72 IRQ_TYPE_LEVEL_HIGH>,
					     <0 73 IRQ_TYPE_LEVEL_HIGH>;
S
Shawn Guo 已提交
526 527 528
				gpio-controller;
				#gpio-cells = <2>;
				interrupt-controller;
529
				#interrupt-cells = <2>;
S
Shawn Guo 已提交
530 531
			};

532
			gpio5: gpio@020ac000 {
533
				compatible = "fsl,imx6q-gpio", "fsl,imx35-gpio";
S
Shawn Guo 已提交
534
				reg = <0x020ac000 0x4000>;
535 536
				interrupts = <0 74 IRQ_TYPE_LEVEL_HIGH>,
					     <0 75 IRQ_TYPE_LEVEL_HIGH>;
S
Shawn Guo 已提交
537 538 539
				gpio-controller;
				#gpio-cells = <2>;
				interrupt-controller;
540
				#interrupt-cells = <2>;
S
Shawn Guo 已提交
541 542
			};

543
			gpio6: gpio@020b0000 {
544
				compatible = "fsl,imx6q-gpio", "fsl,imx35-gpio";
S
Shawn Guo 已提交
545
				reg = <0x020b0000 0x4000>;
546 547
				interrupts = <0 76 IRQ_TYPE_LEVEL_HIGH>,
					     <0 77 IRQ_TYPE_LEVEL_HIGH>;
S
Shawn Guo 已提交
548 549 550
				gpio-controller;
				#gpio-cells = <2>;
				interrupt-controller;
551
				#interrupt-cells = <2>;
S
Shawn Guo 已提交
552 553
			};

554
			gpio7: gpio@020b4000 {
555
				compatible = "fsl,imx6q-gpio", "fsl,imx35-gpio";
S
Shawn Guo 已提交
556
				reg = <0x020b4000 0x4000>;
557 558
				interrupts = <0 78 IRQ_TYPE_LEVEL_HIGH>,
					     <0 79 IRQ_TYPE_LEVEL_HIGH>;
S
Shawn Guo 已提交
559 560 561
				gpio-controller;
				#gpio-cells = <2>;
				interrupt-controller;
562
				#interrupt-cells = <2>;
S
Shawn Guo 已提交
563 564
			};

565
			kpp: kpp@020b8000 {
566
				compatible = "fsl,imx6q-kpp", "fsl,imx21-kpp";
S
Shawn Guo 已提交
567
				reg = <0x020b8000 0x4000>;
568
				interrupts = <0 82 IRQ_TYPE_LEVEL_HIGH>;
569
				clocks = <&clks IMX6QDL_CLK_IPG>;
570
				status = "disabled";
S
Shawn Guo 已提交
571 572
			};

573
			wdog1: wdog@020bc000 {
S
Shawn Guo 已提交
574 575
				compatible = "fsl,imx6q-wdt", "fsl,imx21-wdt";
				reg = <0x020bc000 0x4000>;
576
				interrupts = <0 80 IRQ_TYPE_LEVEL_HIGH>;
577
				clocks = <&clks IMX6QDL_CLK_DUMMY>;
S
Shawn Guo 已提交
578 579
			};

580
			wdog2: wdog@020c0000 {
S
Shawn Guo 已提交
581 582
				compatible = "fsl,imx6q-wdt", "fsl,imx21-wdt";
				reg = <0x020c0000 0x4000>;
583
				interrupts = <0 81 IRQ_TYPE_LEVEL_HIGH>;
584
				clocks = <&clks IMX6QDL_CLK_DUMMY>;
S
Shawn Guo 已提交
585 586 587
				status = "disabled";
			};

588
			clks: ccm@020c4000 {
S
Shawn Guo 已提交
589 590
				compatible = "fsl,imx6q-ccm";
				reg = <0x020c4000 0x4000>;
591 592
				interrupts = <0 87 IRQ_TYPE_LEVEL_HIGH>,
					     <0 88 IRQ_TYPE_LEVEL_HIGH>;
593
				#clock-cells = <1>;
S
Shawn Guo 已提交
594 595
			};

596 597
			anatop: anatop@020c8000 {
				compatible = "fsl,imx6q-anatop", "syscon", "simple-bus";
S
Shawn Guo 已提交
598
				reg = <0x020c8000 0x1000>;
599 600 601
				interrupts = <0 49 IRQ_TYPE_LEVEL_HIGH>,
					     <0 54 IRQ_TYPE_LEVEL_HIGH>,
					     <0 127 IRQ_TYPE_LEVEL_HIGH>;
602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644

				regulator-1p1@110 {
					compatible = "fsl,anatop-regulator";
					regulator-name = "vdd1p1";
					regulator-min-microvolt = <800000>;
					regulator-max-microvolt = <1375000>;
					regulator-always-on;
					anatop-reg-offset = <0x110>;
					anatop-vol-bit-shift = <8>;
					anatop-vol-bit-width = <5>;
					anatop-min-bit-val = <4>;
					anatop-min-voltage = <800000>;
					anatop-max-voltage = <1375000>;
				};

				regulator-3p0@120 {
					compatible = "fsl,anatop-regulator";
					regulator-name = "vdd3p0";
					regulator-min-microvolt = <2800000>;
					regulator-max-microvolt = <3150000>;
					regulator-always-on;
					anatop-reg-offset = <0x120>;
					anatop-vol-bit-shift = <8>;
					anatop-vol-bit-width = <5>;
					anatop-min-bit-val = <0>;
					anatop-min-voltage = <2625000>;
					anatop-max-voltage = <3400000>;
				};

				regulator-2p5@130 {
					compatible = "fsl,anatop-regulator";
					regulator-name = "vdd2p5";
					regulator-min-microvolt = <2000000>;
					regulator-max-microvolt = <2750000>;
					regulator-always-on;
					anatop-reg-offset = <0x130>;
					anatop-vol-bit-shift = <8>;
					anatop-vol-bit-width = <5>;
					anatop-min-bit-val = <0>;
					anatop-min-voltage = <2000000>;
					anatop-max-voltage = <2750000>;
				};

645
				reg_arm: regulator-vddcore@140 {
646
					compatible = "fsl,anatop-regulator";
647
					regulator-name = "vddarm";
648 649 650 651 652 653
					regulator-min-microvolt = <725000>;
					regulator-max-microvolt = <1450000>;
					regulator-always-on;
					anatop-reg-offset = <0x140>;
					anatop-vol-bit-shift = <0>;
					anatop-vol-bit-width = <5>;
654 655 656
					anatop-delay-reg-offset = <0x170>;
					anatop-delay-bit-shift = <24>;
					anatop-delay-bit-width = <2>;
657 658 659 660 661
					anatop-min-bit-val = <1>;
					anatop-min-voltage = <725000>;
					anatop-max-voltage = <1450000>;
				};

662
				reg_pu: regulator-vddpu@140 {
663 664 665 666
					compatible = "fsl,anatop-regulator";
					regulator-name = "vddpu";
					regulator-min-microvolt = <725000>;
					regulator-max-microvolt = <1450000>;
667
					regulator-enable-ramp-delay = <150>;
668 669 670
					anatop-reg-offset = <0x140>;
					anatop-vol-bit-shift = <9>;
					anatop-vol-bit-width = <5>;
671 672 673
					anatop-delay-reg-offset = <0x170>;
					anatop-delay-bit-shift = <26>;
					anatop-delay-bit-width = <2>;
674 675 676 677 678
					anatop-min-bit-val = <1>;
					anatop-min-voltage = <725000>;
					anatop-max-voltage = <1450000>;
				};

679
				reg_soc: regulator-vddsoc@140 {
680 681 682 683 684 685 686 687
					compatible = "fsl,anatop-regulator";
					regulator-name = "vddsoc";
					regulator-min-microvolt = <725000>;
					regulator-max-microvolt = <1450000>;
					regulator-always-on;
					anatop-reg-offset = <0x140>;
					anatop-vol-bit-shift = <18>;
					anatop-vol-bit-width = <5>;
688 689 690
					anatop-delay-reg-offset = <0x170>;
					anatop-delay-bit-shift = <28>;
					anatop-delay-bit-width = <2>;
691 692 693 694
					anatop-min-bit-val = <1>;
					anatop-min-voltage = <725000>;
					anatop-max-voltage = <1450000>;
				};
S
Shawn Guo 已提交
695 696
			};

697 698
			tempmon: tempmon {
				compatible = "fsl,imx6q-tempmon";
699
				interrupts = <0 49 IRQ_TYPE_LEVEL_HIGH>;
700 701
				fsl,tempmon = <&anatop>;
				fsl,tempmon-data = <&ocotp>;
702
				clocks = <&clks IMX6QDL_CLK_PLL3_USB_OTG>;
703 704
			};

705 706
			usbphy1: usbphy@020c9000 {
				compatible = "fsl,imx6q-usbphy", "fsl,imx23-usbphy";
S
Shawn Guo 已提交
707
				reg = <0x020c9000 0x1000>;
708
				interrupts = <0 44 IRQ_TYPE_LEVEL_HIGH>;
709
				clocks = <&clks IMX6QDL_CLK_USBPHY1>;
710
				fsl,anatop = <&anatop>;
S
Shawn Guo 已提交
711 712
			};

713 714
			usbphy2: usbphy@020ca000 {
				compatible = "fsl,imx6q-usbphy", "fsl,imx23-usbphy";
S
Shawn Guo 已提交
715
				reg = <0x020ca000 0x1000>;
716
				interrupts = <0 45 IRQ_TYPE_LEVEL_HIGH>;
717
				clocks = <&clks IMX6QDL_CLK_USBPHY2>;
718
				fsl,anatop = <&anatop>;
S
Shawn Guo 已提交
719 720
			};

721 722 723
			snvs: snvs@020cc000 {
				compatible = "fsl,sec-v4.0-mon", "syscon", "simple-mfd";
				reg = <0x020cc000 0x4000>;
S
Shawn Guo 已提交
724

725
				snvs_rtc: snvs-rtc-lp {
S
Shawn Guo 已提交
726
					compatible = "fsl,sec-v4.0-mon-rtc-lp";
727 728
					regmap = <&snvs>;
					offset = <0x34>;
729 730
					interrupts = <0 19 IRQ_TYPE_LEVEL_HIGH>,
						     <0 20 IRQ_TYPE_LEVEL_HIGH>;
S
Shawn Guo 已提交
731
				};
732

733 734 735 736 737
				snvs_poweroff: snvs-poweroff {
					compatible = "syscon-poweroff";
					regmap = <&snvs>;
					offset = <0x38>;
					mask = <0x60>;
738 739
					status = "disabled";
				};
S
Shawn Guo 已提交
740 741
			};

742
			epit1: epit@020d0000 { /* EPIT1 */
S
Shawn Guo 已提交
743
				reg = <0x020d0000 0x4000>;
744
				interrupts = <0 56 IRQ_TYPE_LEVEL_HIGH>;
S
Shawn Guo 已提交
745 746
			};

747
			epit2: epit@020d4000 { /* EPIT2 */
S
Shawn Guo 已提交
748
				reg = <0x020d4000 0x4000>;
749
				interrupts = <0 57 IRQ_TYPE_LEVEL_HIGH>;
S
Shawn Guo 已提交
750 751
			};

752
			src: src@020d8000 {
753
				compatible = "fsl,imx6q-src", "fsl,imx51-src";
S
Shawn Guo 已提交
754
				reg = <0x020d8000 0x4000>;
755 756
				interrupts = <0 91 IRQ_TYPE_LEVEL_HIGH>,
					     <0 96 IRQ_TYPE_LEVEL_HIGH>;
757
				#reset-cells = <1>;
S
Shawn Guo 已提交
758 759
			};

760
			gpc: gpc@020dc000 {
S
Shawn Guo 已提交
761 762
				compatible = "fsl,imx6q-gpc";
				reg = <0x020dc000 0x4000>;
763 764
				interrupt-controller;
				#interrupt-cells = <3>;
765 766
				interrupts = <0 89 IRQ_TYPE_LEVEL_HIGH>,
					     <0 90 IRQ_TYPE_LEVEL_HIGH>;
767
				interrupt-parent = <&intc>;
768 769 770 771 772 773 774 775
				pu-supply = <&reg_pu>;
				clocks = <&clks IMX6QDL_CLK_GPU3D_CORE>,
					 <&clks IMX6QDL_CLK_GPU3D_SHADER>,
					 <&clks IMX6QDL_CLK_GPU2D_CORE>,
					 <&clks IMX6QDL_CLK_GPU2D_AXI>,
					 <&clks IMX6QDL_CLK_OPENVG_AXI>,
					 <&clks IMX6QDL_CLK_VPU_AXI>;
				#power-domain-cells = <1>;
S
Shawn Guo 已提交
776 777
			};

778 779 780 781 782
			gpr: iomuxc-gpr@020e0000 {
				compatible = "fsl,imx6q-iomuxc-gpr", "syscon";
				reg = <0x020e0000 0x38>;
			};

783 784 785 786 787
			iomuxc: iomuxc@020e0000 {
				compatible = "fsl,imx6dl-iomuxc", "fsl,imx6q-iomuxc";
				reg = <0x020e0000 0x4000>;
			};

788 789 790 791 792 793 794 795
			ldb: ldb@020e0008 {
				#address-cells = <1>;
				#size-cells = <0>;
				compatible = "fsl,imx6q-ldb", "fsl,imx53-ldb";
				gpr = <&gpr>;
				status = "disabled";

				lvds-channel@0 {
796 797
					#address-cells = <1>;
					#size-cells = <0>;
798 799
					reg = <0>;
					status = "disabled";
800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815

					port@0 {
						reg = <0>;

						lvds0_mux_0: endpoint {
							remote-endpoint = <&ipu1_di0_lvds0>;
						};
					};

					port@1 {
						reg = <1>;

						lvds0_mux_1: endpoint {
							remote-endpoint = <&ipu1_di1_lvds0>;
						};
					};
816 817 818
				};

				lvds-channel@1 {
819 820
					#address-cells = <1>;
					#size-cells = <0>;
821 822
					reg = <1>;
					status = "disabled";
823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838

					port@0 {
						reg = <0>;

						lvds1_mux_0: endpoint {
							remote-endpoint = <&ipu1_di0_lvds1>;
						};
					};

					port@1 {
						reg = <1>;

						lvds1_mux_1: endpoint {
							remote-endpoint = <&ipu1_di1_lvds1>;
						};
					};
839 840 841
				};
			};

842
			dcic1: dcic@020e4000 {
S
Shawn Guo 已提交
843
				reg = <0x020e4000 0x4000>;
844
				interrupts = <0 124 IRQ_TYPE_LEVEL_HIGH>;
S
Shawn Guo 已提交
845 846
			};

847
			dcic2: dcic@020e8000 {
S
Shawn Guo 已提交
848
				reg = <0x020e8000 0x4000>;
849
				interrupts = <0 125 IRQ_TYPE_LEVEL_HIGH>;
S
Shawn Guo 已提交
850 851
			};

852
			sdma: sdma@020ec000 {
S
Shawn Guo 已提交
853 854
				compatible = "fsl,imx6q-sdma", "fsl,imx35-sdma";
				reg = <0x020ec000 0x4000>;
855
				interrupts = <0 2 IRQ_TYPE_LEVEL_HIGH>;
856 857
				clocks = <&clks IMX6QDL_CLK_SDMA>,
					 <&clks IMX6QDL_CLK_SDMA>;
858
				clock-names = "ipg", "ahb";
859
				#dma-cells = <3>;
860
				fsl,sdma-ram-script-name = "imx/sdma/sdma-imx6q.bin";
S
Shawn Guo 已提交
861 862 863 864 865 866 867 868 869 870
			};
		};

		aips-bus@02100000 { /* AIPS2 */
			compatible = "fsl,aips-bus", "simple-bus";
			#address-cells = <1>;
			#size-cells = <1>;
			reg = <0x02100000 0x100000>;
			ranges;

871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895
			crypto: caam@2100000 {
				compatible = "fsl,sec-v4.0";
				fsl,sec-era = <4>;
				#address-cells = <1>;
				#size-cells = <1>;
				reg = <0x2100000 0x10000>;
				ranges = <0 0x2100000 0x10000>;
				interrupt-parent = <&intc>;
				clocks = <&clks IMX6QDL_CLK_CAAM_MEM>,
					 <&clks IMX6QDL_CLK_CAAM_ACLK>,
					 <&clks IMX6QDL_CLK_CAAM_IPG>,
					 <&clks IMX6QDL_CLK_EIM_SLOW>;
				clock-names = "mem", "aclk", "ipg", "emi_slow";

				sec_jr0: jr0@1000 {
					compatible = "fsl,sec-v4.0-job-ring";
					reg = <0x1000 0x1000>;
					interrupts = <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>;
				};

				sec_jr1: jr1@2000 {
					compatible = "fsl,sec-v4.0-job-ring";
					reg = <0x2000 0x1000>;
					interrupts = <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>;
				};
S
Shawn Guo 已提交
896 897 898 899 900 901
			};

			aipstz@0217c000 { /* AIPSTZ2 */
				reg = <0x0217c000 0x4000>;
			};

902
			usbotg: usb@02184000 {
903 904
				compatible = "fsl,imx6q-usb", "fsl,imx27-usb";
				reg = <0x02184000 0x200>;
905
				interrupts = <0 43 IRQ_TYPE_LEVEL_HIGH>;
906
				clocks = <&clks IMX6QDL_CLK_USBOH3>;
907
				fsl,usbphy = <&usbphy1>;
908
				fsl,usbmisc = <&usbmisc 0>;
909
				ahb-burst-config = <0x0>;
910 911
				tx-burst-size-dword = <0x10>;
				rx-burst-size-dword = <0x10>;
912 913 914
				status = "disabled";
			};

915
			usbh1: usb@02184200 {
916 917
				compatible = "fsl,imx6q-usb", "fsl,imx27-usb";
				reg = <0x02184200 0x200>;
918
				interrupts = <0 40 IRQ_TYPE_LEVEL_HIGH>;
919
				clocks = <&clks IMX6QDL_CLK_USBOH3>;
920
				fsl,usbphy = <&usbphy2>;
921
				fsl,usbmisc = <&usbmisc 1>;
922
				dr_mode = "host";
923
				ahb-burst-config = <0x0>;
924 925
				tx-burst-size-dword = <0x10>;
				rx-burst-size-dword = <0x10>;
926 927 928
				status = "disabled";
			};

929
			usbh2: usb@02184400 {
930 931
				compatible = "fsl,imx6q-usb", "fsl,imx27-usb";
				reg = <0x02184400 0x200>;
932
				interrupts = <0 41 IRQ_TYPE_LEVEL_HIGH>;
933
				clocks = <&clks IMX6QDL_CLK_USBOH3>;
934
				fsl,usbmisc = <&usbmisc 2>;
935
				dr_mode = "host";
936
				ahb-burst-config = <0x0>;
937 938
				tx-burst-size-dword = <0x10>;
				rx-burst-size-dword = <0x10>;
939 940 941
				status = "disabled";
			};

942
			usbh3: usb@02184600 {
943 944
				compatible = "fsl,imx6q-usb", "fsl,imx27-usb";
				reg = <0x02184600 0x200>;
945
				interrupts = <0 42 IRQ_TYPE_LEVEL_HIGH>;
946
				clocks = <&clks IMX6QDL_CLK_USBOH3>;
947
				fsl,usbmisc = <&usbmisc 3>;
948
				dr_mode = "host";
949
				ahb-burst-config = <0x0>;
950 951
				tx-burst-size-dword = <0x10>;
				rx-burst-size-dword = <0x10>;
952 953 954
				status = "disabled";
			};

955
			usbmisc: usbmisc@02184800 {
956 957 958
				#index-cells = <1>;
				compatible = "fsl,imx6q-usbmisc";
				reg = <0x02184800 0x200>;
959
				clocks = <&clks IMX6QDL_CLK_USBOH3>;
960 961
			};

962
			fec: ethernet@02188000 {
S
Shawn Guo 已提交
963 964
				compatible = "fsl,imx6q-fec";
				reg = <0x02188000 0x4000>;
965 966 967
				interrupts-extended =
					<&intc 0 118 IRQ_TYPE_LEVEL_HIGH>,
					<&intc 0 119 IRQ_TYPE_LEVEL_HIGH>;
968 969 970
				clocks = <&clks IMX6QDL_CLK_ENET>,
					 <&clks IMX6QDL_CLK_ENET>,
					 <&clks IMX6QDL_CLK_ENET_REF>;
971
				clock-names = "ipg", "ahb", "ptp";
S
Shawn Guo 已提交
972 973 974 975 976
				status = "disabled";
			};

			mlb@0218c000 {
				reg = <0x0218c000 0x4000>;
977 978 979
				interrupts = <0 53 IRQ_TYPE_LEVEL_HIGH>,
					     <0 117 IRQ_TYPE_LEVEL_HIGH>,
					     <0 126 IRQ_TYPE_LEVEL_HIGH>;
S
Shawn Guo 已提交
980 981
			};

982
			usdhc1: usdhc@02190000 {
S
Shawn Guo 已提交
983 984
				compatible = "fsl,imx6q-usdhc";
				reg = <0x02190000 0x4000>;
985
				interrupts = <0 22 IRQ_TYPE_LEVEL_HIGH>;
986 987 988
				clocks = <&clks IMX6QDL_CLK_USDHC1>,
					 <&clks IMX6QDL_CLK_USDHC1>,
					 <&clks IMX6QDL_CLK_USDHC1>;
989
				clock-names = "ipg", "ahb", "per";
990
				bus-width = <4>;
S
Shawn Guo 已提交
991 992 993
				status = "disabled";
			};

994
			usdhc2: usdhc@02194000 {
S
Shawn Guo 已提交
995 996
				compatible = "fsl,imx6q-usdhc";
				reg = <0x02194000 0x4000>;
997
				interrupts = <0 23 IRQ_TYPE_LEVEL_HIGH>;
998 999 1000
				clocks = <&clks IMX6QDL_CLK_USDHC2>,
					 <&clks IMX6QDL_CLK_USDHC2>,
					 <&clks IMX6QDL_CLK_USDHC2>;
1001
				clock-names = "ipg", "ahb", "per";
1002
				bus-width = <4>;
S
Shawn Guo 已提交
1003 1004 1005
				status = "disabled";
			};

1006
			usdhc3: usdhc@02198000 {
S
Shawn Guo 已提交
1007 1008
				compatible = "fsl,imx6q-usdhc";
				reg = <0x02198000 0x4000>;
1009
				interrupts = <0 24 IRQ_TYPE_LEVEL_HIGH>;
1010 1011 1012
				clocks = <&clks IMX6QDL_CLK_USDHC3>,
					 <&clks IMX6QDL_CLK_USDHC3>,
					 <&clks IMX6QDL_CLK_USDHC3>;
1013
				clock-names = "ipg", "ahb", "per";
1014
				bus-width = <4>;
S
Shawn Guo 已提交
1015 1016 1017
				status = "disabled";
			};

1018
			usdhc4: usdhc@0219c000 {
S
Shawn Guo 已提交
1019 1020
				compatible = "fsl,imx6q-usdhc";
				reg = <0x0219c000 0x4000>;
1021
				interrupts = <0 25 IRQ_TYPE_LEVEL_HIGH>;
1022 1023 1024
				clocks = <&clks IMX6QDL_CLK_USDHC4>,
					 <&clks IMX6QDL_CLK_USDHC4>,
					 <&clks IMX6QDL_CLK_USDHC4>;
1025
				clock-names = "ipg", "ahb", "per";
1026
				bus-width = <4>;
S
Shawn Guo 已提交
1027 1028 1029
				status = "disabled";
			};

1030
			i2c1: i2c@021a0000 {
S
Shawn Guo 已提交
1031 1032
				#address-cells = <1>;
				#size-cells = <0>;
1033
				compatible = "fsl,imx6q-i2c", "fsl,imx21-i2c";
S
Shawn Guo 已提交
1034
				reg = <0x021a0000 0x4000>;
1035
				interrupts = <0 36 IRQ_TYPE_LEVEL_HIGH>;
1036
				clocks = <&clks IMX6QDL_CLK_I2C1>;
S
Shawn Guo 已提交
1037 1038 1039
				status = "disabled";
			};

1040
			i2c2: i2c@021a4000 {
S
Shawn Guo 已提交
1041 1042
				#address-cells = <1>;
				#size-cells = <0>;
1043
				compatible = "fsl,imx6q-i2c", "fsl,imx21-i2c";
S
Shawn Guo 已提交
1044
				reg = <0x021a4000 0x4000>;
1045
				interrupts = <0 37 IRQ_TYPE_LEVEL_HIGH>;
1046
				clocks = <&clks IMX6QDL_CLK_I2C2>;
S
Shawn Guo 已提交
1047 1048 1049
				status = "disabled";
			};

1050
			i2c3: i2c@021a8000 {
S
Shawn Guo 已提交
1051 1052
				#address-cells = <1>;
				#size-cells = <0>;
1053
				compatible = "fsl,imx6q-i2c", "fsl,imx21-i2c";
S
Shawn Guo 已提交
1054
				reg = <0x021a8000 0x4000>;
1055
				interrupts = <0 38 IRQ_TYPE_LEVEL_HIGH>;
1056
				clocks = <&clks IMX6QDL_CLK_I2C3>;
S
Shawn Guo 已提交
1057 1058 1059 1060 1061 1062 1063
				status = "disabled";
			};

			romcp@021ac000 {
				reg = <0x021ac000 0x4000>;
			};

1064
			mmdc0: mmdc@021b0000 { /* MMDC0 */
S
Shawn Guo 已提交
1065 1066 1067 1068
				compatible = "fsl,imx6q-mmdc";
				reg = <0x021b0000 0x4000>;
			};

1069
			mmdc1: mmdc@021b4000 { /* MMDC1 */
S
Shawn Guo 已提交
1070 1071 1072
				reg = <0x021b4000 0x4000>;
			};

1073 1074
			weim: weim@021b8000 {
				compatible = "fsl,imx6q-weim";
S
Shawn Guo 已提交
1075
				reg = <0x021b8000 0x4000>;
1076
				interrupts = <0 14 IRQ_TYPE_LEVEL_HIGH>;
1077
				clocks = <&clks IMX6QDL_CLK_EIM_SLOW>;
S
Shawn Guo 已提交
1078 1079
			};

1080 1081
			ocotp: ocotp@021bc000 {
				compatible = "fsl,imx6q-ocotp", "syscon";
S
Shawn Guo 已提交
1082 1083 1084 1085 1086
				reg = <0x021bc000 0x4000>;
			};

			tzasc@021d0000 { /* TZASC1 */
				reg = <0x021d0000 0x4000>;
1087
				interrupts = <0 108 IRQ_TYPE_LEVEL_HIGH>;
S
Shawn Guo 已提交
1088 1089 1090 1091
			};

			tzasc@021d4000 { /* TZASC2 */
				reg = <0x021d4000 0x4000>;
1092
				interrupts = <0 109 IRQ_TYPE_LEVEL_HIGH>;
S
Shawn Guo 已提交
1093 1094
			};

1095
			audmux: audmux@021d8000 {
1096
				compatible = "fsl,imx6q-audmux", "fsl,imx31-audmux";
S
Shawn Guo 已提交
1097
				reg = <0x021d8000 0x4000>;
1098
				status = "disabled";
S
Shawn Guo 已提交
1099 1100
			};

1101
			mipi_csi: mipi@021dc000 {
S
Shawn Guo 已提交
1102 1103 1104
				reg = <0x021dc000 0x4000>;
			};

1105 1106 1107
			mipi_dsi: mipi@021e0000 {
				#address-cells = <1>;
				#size-cells = <0>;
S
Shawn Guo 已提交
1108
				reg = <0x021e0000 0x4000>;
1109 1110
				status = "disabled";

1111 1112 1113 1114 1115 1116
				ports {
					#address-cells = <1>;
					#size-cells = <0>;

					port@0 {
						reg = <0>;
1117

1118 1119 1120
						mipi_mux_0: endpoint {
							remote-endpoint = <&ipu1_di0_mipi>;
						};
1121 1122
					};

1123 1124
					port@1 {
						reg = <1>;
1125

1126 1127 1128
						mipi_mux_1: endpoint {
							remote-endpoint = <&ipu1_di1_mipi>;
						};
1129 1130
					};
				};
S
Shawn Guo 已提交
1131 1132 1133 1134
			};

			vdoa@021e4000 {
				reg = <0x021e4000 0x4000>;
1135
				interrupts = <0 18 IRQ_TYPE_LEVEL_HIGH>;
S
Shawn Guo 已提交
1136 1137
			};

1138
			uart2: serial@021e8000 {
S
Shawn Guo 已提交
1139 1140
				compatible = "fsl,imx6q-uart", "fsl,imx21-uart";
				reg = <0x021e8000 0x4000>;
1141
				interrupts = <0 27 IRQ_TYPE_LEVEL_HIGH>;
1142 1143
				clocks = <&clks IMX6QDL_CLK_UART_IPG>,
					 <&clks IMX6QDL_CLK_UART_SERIAL>;
1144
				clock-names = "ipg", "per";
1145 1146
				dmas = <&sdma 27 4 0>, <&sdma 28 4 0>;
				dma-names = "rx", "tx";
S
Shawn Guo 已提交
1147 1148 1149
				status = "disabled";
			};

1150
			uart3: serial@021ec000 {
S
Shawn Guo 已提交
1151 1152
				compatible = "fsl,imx6q-uart", "fsl,imx21-uart";
				reg = <0x021ec000 0x4000>;
1153
				interrupts = <0 28 IRQ_TYPE_LEVEL_HIGH>;
1154 1155
				clocks = <&clks IMX6QDL_CLK_UART_IPG>,
					 <&clks IMX6QDL_CLK_UART_SERIAL>;
1156
				clock-names = "ipg", "per";
1157 1158
				dmas = <&sdma 29 4 0>, <&sdma 30 4 0>;
				dma-names = "rx", "tx";
S
Shawn Guo 已提交
1159 1160 1161
				status = "disabled";
			};

1162
			uart4: serial@021f0000 {
S
Shawn Guo 已提交
1163 1164
				compatible = "fsl,imx6q-uart", "fsl,imx21-uart";
				reg = <0x021f0000 0x4000>;
1165
				interrupts = <0 29 IRQ_TYPE_LEVEL_HIGH>;
1166 1167
				clocks = <&clks IMX6QDL_CLK_UART_IPG>,
					 <&clks IMX6QDL_CLK_UART_SERIAL>;
1168
				clock-names = "ipg", "per";
1169 1170
				dmas = <&sdma 31 4 0>, <&sdma 32 4 0>;
				dma-names = "rx", "tx";
S
Shawn Guo 已提交
1171 1172 1173
				status = "disabled";
			};

1174
			uart5: serial@021f4000 {
S
Shawn Guo 已提交
1175 1176
				compatible = "fsl,imx6q-uart", "fsl,imx21-uart";
				reg = <0x021f4000 0x4000>;
1177
				interrupts = <0 30 IRQ_TYPE_LEVEL_HIGH>;
1178 1179
				clocks = <&clks IMX6QDL_CLK_UART_IPG>,
					 <&clks IMX6QDL_CLK_UART_SERIAL>;
1180
				clock-names = "ipg", "per";
1181 1182
				dmas = <&sdma 33 4 0>, <&sdma 34 4 0>;
				dma-names = "rx", "tx";
S
Shawn Guo 已提交
1183 1184 1185
				status = "disabled";
			};
		};
S
Sascha Hauer 已提交
1186 1187

		ipu1: ipu@02400000 {
1188 1189
			#address-cells = <1>;
			#size-cells = <0>;
S
Sascha Hauer 已提交
1190 1191
			compatible = "fsl,imx6q-ipu";
			reg = <0x02400000 0x400000>;
1192 1193
			interrupts = <0 6 IRQ_TYPE_LEVEL_HIGH>,
				     <0 5 IRQ_TYPE_LEVEL_HIGH>;
1194 1195 1196
			clocks = <&clks IMX6QDL_CLK_IPU1>,
				 <&clks IMX6QDL_CLK_IPU1_DI0>,
				 <&clks IMX6QDL_CLK_IPU1_DI1>;
S
Sascha Hauer 已提交
1197
			clock-names = "bus", "di0", "di1";
1198
			resets = <&src 2>;
1199

1200 1201 1202 1203 1204 1205 1206 1207
			ipu1_csi0: port@0 {
				reg = <0>;
			};

			ipu1_csi1: port@1 {
				reg = <1>;
			};

1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256
			ipu1_di0: port@2 {
				#address-cells = <1>;
				#size-cells = <0>;
				reg = <2>;

				ipu1_di0_disp0: endpoint@0 {
				};

				ipu1_di0_hdmi: endpoint@1 {
					remote-endpoint = <&hdmi_mux_0>;
				};

				ipu1_di0_mipi: endpoint@2 {
					remote-endpoint = <&mipi_mux_0>;
				};

				ipu1_di0_lvds0: endpoint@3 {
					remote-endpoint = <&lvds0_mux_0>;
				};

				ipu1_di0_lvds1: endpoint@4 {
					remote-endpoint = <&lvds1_mux_0>;
				};
			};

			ipu1_di1: port@3 {
				#address-cells = <1>;
				#size-cells = <0>;
				reg = <3>;

				ipu1_di0_disp1: endpoint@0 {
				};

				ipu1_di1_hdmi: endpoint@1 {
					remote-endpoint = <&hdmi_mux_1>;
				};

				ipu1_di1_mipi: endpoint@2 {
					remote-endpoint = <&mipi_mux_1>;
				};

				ipu1_di1_lvds0: endpoint@3 {
					remote-endpoint = <&lvds0_mux_1>;
				};

				ipu1_di1_lvds1: endpoint@4 {
					remote-endpoint = <&lvds1_mux_1>;
				};
			};
S
Sascha Hauer 已提交
1257
		};
S
Shawn Guo 已提交
1258 1259
	};
};