imx6qdl.dtsi 30.5 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;
33 34 35 36
		mmc0 = &usdhc1;
		mmc1 = &usdhc2;
		mmc2 = &usdhc3;
		mmc3 = &usdhc4;
37 38 39 40 41 42 43 44 45
		serial0 = &uart1;
		serial1 = &uart2;
		serial2 = &uart3;
		serial3 = &uart4;
		serial4 = &uart5;
		spi0 = &ecspi1;
		spi1 = &ecspi2;
		spi2 = &ecspi3;
		spi3 = &ecspi4;
46 47
		usbphy0 = &usbphy1;
		usbphy1 = &usbphy2;
S
Shawn Guo 已提交
48 49 50 51 52 53 54 55
	};

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

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

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

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

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

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

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

102
		gpmi: gpmi-nand@00112000 {
103 104 105 106 107
			compatible = "fsl,imx6q-gpmi-nand";
			#address-cells = <1>;
			#size-cells = <1>;
			reg = <0x00112000 0x2000>, <0x00114000 0x2000>;
			reg-names = "gpmi-nand", "bch";
108
			interrupts = <0 15 IRQ_TYPE_LEVEL_HIGH>;
109
			interrupt-names = "bch";
110 111 112 113 114
			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>;
115 116
			clock-names = "gpmi_io", "gpmi_apb", "gpmi_bch",
				      "gpmi_bch_apb", "per1_bch";
117 118
			dmas = <&dma_apbh 0>;
			dma-names = "rx-tx";
119
			status = "disabled";
120 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
		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 已提交
150
		timer@00a00600 {
151 152 153
			compatible = "arm,cortex-a9-twd-timer";
			reg = <0x00a00600 0x20>;
			interrupts = <1 13 0xf01>;
154
			interrupt-parent = <&intc>;
155
			clocks = <&clks IMX6QDL_CLK_TWD>;
S
Shawn Guo 已提交
156 157 158 159 160
		};

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

168 169
		pcie: pcie@0x01000000 {
			compatible = "fsl,imx6q-pcie", "snps,dw-pcie";
170 171 172
			reg = <0x01ffc000 0x04000>,
			      <0x01f00000 0x80000>;
			reg-names = "dbi", "config";
173 174 175 176 177 178 179
			#address-cells = <3>;
			#size-cells = <2>;
			device_type = "pci";
			ranges = <0x00000800 0 0x01f00000 0x01f00000 0 0x00080000 /* configuration space */
				  0x81000000 0 0          0x01f80000 0 0x00010000 /* downstream I/O */
				  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 184 185 186 187
			#interrupt-cells = <1>;
			interrupt-map-mask = <0 0 0 0x7>;
			interrupt-map = <0 0 0 1 &intc GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>,
			                <0 0 0 2 &intc GIC_SPI 122 IRQ_TYPE_LEVEL_HIGH>,
			                <0 0 0 3 &intc GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>,
			                <0 0 0 4 &intc 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>, <&clks IMX6QDL_CLK_OSC>,
						 <&clks IMX6QDL_CLK_SPDIF>, <&clks IMX6QDL_CLK_DUMMY>,
						 <&clks IMX6QDL_CLK_DUMMY>, <&clks IMX6QDL_CLK_DUMMY>,
						 <&clks IMX6QDL_CLK_DUMMY>, <&clks IMX6QDL_CLK_DUMMY>,
						 <&clks IMX6QDL_CLK_DUMMY>;
226 227 228 229 230 231
					clock-names = "core",  "rxtx0",
						      "rxtx1", "rxtx2",
						      "rxtx3", "rxtx4",
						      "rxtx5", "rxtx6",
						      "rxtx7";
					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 {
S
Shawn Guo 已提交
303
					reg = <0x02024000 0x4000>;
304
					interrupts = <0 51 IRQ_TYPE_LEVEL_HIGH>;
S
Shawn Guo 已提交
305 306
				};

307
				ssi1: ssi@02028000 {
308
					#sound-dai-cells = <0>;
M
Markus Pargmann 已提交
309
					compatible = "fsl,imx6q-ssi",
310
							"fsl,imx51-ssi";
S
Shawn Guo 已提交
311
					reg = <0x02028000 0x4000>;
312
					interrupts = <0 46 IRQ_TYPE_LEVEL_HIGH>;
313 314 315
					clocks = <&clks IMX6QDL_CLK_SSI1_IPG>,
						 <&clks IMX6QDL_CLK_SSI1>;
					clock-names = "ipg", "baud";
316 317 318
					dmas = <&sdma 37 1 0>,
					       <&sdma 38 1 0>;
					dma-names = "rx", "tx";
319 320
					fsl,fifo-depth = <15>;
					status = "disabled";
S
Shawn Guo 已提交
321 322
				};

323
				ssi2: ssi@0202c000 {
324
					#sound-dai-cells = <0>;
M
Markus Pargmann 已提交
325
					compatible = "fsl,imx6q-ssi",
326
							"fsl,imx51-ssi";
S
Shawn Guo 已提交
327
					reg = <0x0202c000 0x4000>;
328
					interrupts = <0 47 IRQ_TYPE_LEVEL_HIGH>;
329 330 331
					clocks = <&clks IMX6QDL_CLK_SSI2_IPG>,
						 <&clks IMX6QDL_CLK_SSI2>;
					clock-names = "ipg", "baud";
332 333 334
					dmas = <&sdma 41 1 0>,
					       <&sdma 42 1 0>;
					dma-names = "rx", "tx";
335 336
					fsl,fifo-depth = <15>;
					status = "disabled";
S
Shawn Guo 已提交
337 338
				};

339
				ssi3: ssi@02030000 {
340
					#sound-dai-cells = <0>;
M
Markus Pargmann 已提交
341
					compatible = "fsl,imx6q-ssi",
342
							"fsl,imx51-ssi";
S
Shawn Guo 已提交
343
					reg = <0x02030000 0x4000>;
344
					interrupts = <0 48 IRQ_TYPE_LEVEL_HIGH>;
345 346 347
					clocks = <&clks IMX6QDL_CLK_SSI3_IPG>,
						 <&clks IMX6QDL_CLK_SSI3>;
					clock-names = "ipg", "baud";
348 349 350
					dmas = <&sdma 45 1 0>,
					       <&sdma 46 1 0>;
					dma-names = "rx", "tx";
351 352
					fsl,fifo-depth = <15>;
					status = "disabled";
S
Shawn Guo 已提交
353 354
				};

355
				asrc: asrc@02034000 {
S
Shawn Guo 已提交
356
					reg = <0x02034000 0x4000>;
357
					interrupts = <0 50 IRQ_TYPE_LEVEL_HIGH>;
S
Shawn Guo 已提交
358 359 360 361 362 363 364
				};

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

365
			vpu: vpu@02040000 {
366
				compatible = "cnm,coda960";
S
Shawn Guo 已提交
367
				reg = <0x02040000 0x3c000>;
368 369
				interrupts = <0 12 IRQ_TYPE_LEVEL_HIGH>,
					     <0 3 IRQ_TYPE_LEVEL_HIGH>;
370 371
				interrupt-names = "bit", "jpeg";
				clocks = <&clks IMX6QDL_CLK_VPU_AXI>,
372 373
					 <&clks IMX6QDL_CLK_MMDC_CH0_AXI>;
				clock-names = "per", "ahb";
374 375
				resets = <&src 1>;
				iram = <&ocram>;
S
Shawn Guo 已提交
376 377 378 379 380 381
			};

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

382
			pwm1: pwm@02080000 {
S
Sascha Hauer 已提交
383 384
				#pwm-cells = <2>;
				compatible = "fsl,imx6q-pwm", "fsl,imx27-pwm";
S
Shawn Guo 已提交
385
				reg = <0x02080000 0x4000>;
386
				interrupts = <0 83 IRQ_TYPE_LEVEL_HIGH>;
387 388
				clocks = <&clks IMX6QDL_CLK_IPG>,
					 <&clks IMX6QDL_CLK_PWM1>;
S
Sascha Hauer 已提交
389
				clock-names = "ipg", "per";
390
				status = "disabled";
S
Shawn Guo 已提交
391 392
			};

393
			pwm2: pwm@02084000 {
S
Sascha Hauer 已提交
394 395
				#pwm-cells = <2>;
				compatible = "fsl,imx6q-pwm", "fsl,imx27-pwm";
S
Shawn Guo 已提交
396
				reg = <0x02084000 0x4000>;
397
				interrupts = <0 84 IRQ_TYPE_LEVEL_HIGH>;
398 399
				clocks = <&clks IMX6QDL_CLK_IPG>,
					 <&clks IMX6QDL_CLK_PWM2>;
S
Sascha Hauer 已提交
400
				clock-names = "ipg", "per";
401
				status = "disabled";
S
Shawn Guo 已提交
402 403
			};

404
			pwm3: pwm@02088000 {
S
Sascha Hauer 已提交
405 406
				#pwm-cells = <2>;
				compatible = "fsl,imx6q-pwm", "fsl,imx27-pwm";
S
Shawn Guo 已提交
407
				reg = <0x02088000 0x4000>;
408
				interrupts = <0 85 IRQ_TYPE_LEVEL_HIGH>;
409 410
				clocks = <&clks IMX6QDL_CLK_IPG>,
					 <&clks IMX6QDL_CLK_PWM3>;
S
Sascha Hauer 已提交
411
				clock-names = "ipg", "per";
412
				status = "disabled";
S
Shawn Guo 已提交
413 414
			};

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

426
			can1: flexcan@02090000 {
427
				compatible = "fsl,imx6q-flexcan";
S
Shawn Guo 已提交
428
				reg = <0x02090000 0x4000>;
429
				interrupts = <0 110 IRQ_TYPE_LEVEL_HIGH>;
430 431
				clocks = <&clks IMX6QDL_CLK_CAN1_IPG>,
					 <&clks IMX6QDL_CLK_CAN1_SERIAL>;
432
				clock-names = "ipg", "per";
433
				status = "disabled";
S
Shawn Guo 已提交
434 435
			};

436
			can2: flexcan@02094000 {
437
				compatible = "fsl,imx6q-flexcan";
S
Shawn Guo 已提交
438
				reg = <0x02094000 0x4000>;
439
				interrupts = <0 111 IRQ_TYPE_LEVEL_HIGH>;
440 441
				clocks = <&clks IMX6QDL_CLK_CAN2_IPG>,
					 <&clks IMX6QDL_CLK_CAN2_SERIAL>;
442
				clock-names = "ipg", "per";
443
				status = "disabled";
S
Shawn Guo 已提交
444 445
			};

446
			gpt: gpt@02098000 {
447
				compatible = "fsl,imx6q-gpt", "fsl,imx31-gpt";
S
Shawn Guo 已提交
448
				reg = <0x02098000 0x4000>;
449
				interrupts = <0 55 IRQ_TYPE_LEVEL_HIGH>;
450
				clocks = <&clks IMX6QDL_CLK_GPT_IPG>,
451 452 453
					 <&clks IMX6QDL_CLK_GPT_IPG_PER>,
					 <&clks IMX6QDL_CLK_GPT_3M>;
				clock-names = "ipg", "per", "osc_per";
S
Shawn Guo 已提交
454 455
			};

456
			gpio1: gpio@0209c000 {
457
				compatible = "fsl,imx6q-gpio", "fsl,imx35-gpio";
S
Shawn Guo 已提交
458
				reg = <0x0209c000 0x4000>;
459 460
				interrupts = <0 66 IRQ_TYPE_LEVEL_HIGH>,
					     <0 67 IRQ_TYPE_LEVEL_HIGH>;
S
Shawn Guo 已提交
461 462 463
				gpio-controller;
				#gpio-cells = <2>;
				interrupt-controller;
464
				#interrupt-cells = <2>;
S
Shawn Guo 已提交
465 466
			};

467
			gpio2: gpio@020a0000 {
468
				compatible = "fsl,imx6q-gpio", "fsl,imx35-gpio";
S
Shawn Guo 已提交
469
				reg = <0x020a0000 0x4000>;
470 471
				interrupts = <0 68 IRQ_TYPE_LEVEL_HIGH>,
					     <0 69 IRQ_TYPE_LEVEL_HIGH>;
S
Shawn Guo 已提交
472 473 474
				gpio-controller;
				#gpio-cells = <2>;
				interrupt-controller;
475
				#interrupt-cells = <2>;
S
Shawn Guo 已提交
476 477
			};

478
			gpio3: gpio@020a4000 {
479
				compatible = "fsl,imx6q-gpio", "fsl,imx35-gpio";
S
Shawn Guo 已提交
480
				reg = <0x020a4000 0x4000>;
481 482
				interrupts = <0 70 IRQ_TYPE_LEVEL_HIGH>,
					     <0 71 IRQ_TYPE_LEVEL_HIGH>;
S
Shawn Guo 已提交
483 484 485
				gpio-controller;
				#gpio-cells = <2>;
				interrupt-controller;
486
				#interrupt-cells = <2>;
S
Shawn Guo 已提交
487 488
			};

489
			gpio4: gpio@020a8000 {
490
				compatible = "fsl,imx6q-gpio", "fsl,imx35-gpio";
S
Shawn Guo 已提交
491
				reg = <0x020a8000 0x4000>;
492 493
				interrupts = <0 72 IRQ_TYPE_LEVEL_HIGH>,
					     <0 73 IRQ_TYPE_LEVEL_HIGH>;
S
Shawn Guo 已提交
494 495 496
				gpio-controller;
				#gpio-cells = <2>;
				interrupt-controller;
497
				#interrupt-cells = <2>;
S
Shawn Guo 已提交
498 499
			};

500
			gpio5: gpio@020ac000 {
501
				compatible = "fsl,imx6q-gpio", "fsl,imx35-gpio";
S
Shawn Guo 已提交
502
				reg = <0x020ac000 0x4000>;
503 504
				interrupts = <0 74 IRQ_TYPE_LEVEL_HIGH>,
					     <0 75 IRQ_TYPE_LEVEL_HIGH>;
S
Shawn Guo 已提交
505 506 507
				gpio-controller;
				#gpio-cells = <2>;
				interrupt-controller;
508
				#interrupt-cells = <2>;
S
Shawn Guo 已提交
509 510
			};

511
			gpio6: gpio@020b0000 {
512
				compatible = "fsl,imx6q-gpio", "fsl,imx35-gpio";
S
Shawn Guo 已提交
513
				reg = <0x020b0000 0x4000>;
514 515
				interrupts = <0 76 IRQ_TYPE_LEVEL_HIGH>,
					     <0 77 IRQ_TYPE_LEVEL_HIGH>;
S
Shawn Guo 已提交
516 517 518
				gpio-controller;
				#gpio-cells = <2>;
				interrupt-controller;
519
				#interrupt-cells = <2>;
S
Shawn Guo 已提交
520 521
			};

522
			gpio7: gpio@020b4000 {
523
				compatible = "fsl,imx6q-gpio", "fsl,imx35-gpio";
S
Shawn Guo 已提交
524
				reg = <0x020b4000 0x4000>;
525 526
				interrupts = <0 78 IRQ_TYPE_LEVEL_HIGH>,
					     <0 79 IRQ_TYPE_LEVEL_HIGH>;
S
Shawn Guo 已提交
527 528 529
				gpio-controller;
				#gpio-cells = <2>;
				interrupt-controller;
530
				#interrupt-cells = <2>;
S
Shawn Guo 已提交
531 532
			};

533
			kpp: kpp@020b8000 {
534
				compatible = "fsl,imx6q-kpp", "fsl,imx21-kpp";
S
Shawn Guo 已提交
535
				reg = <0x020b8000 0x4000>;
536
				interrupts = <0 82 IRQ_TYPE_LEVEL_HIGH>;
537
				clocks = <&clks IMX6QDL_CLK_IPG>;
538
				status = "disabled";
S
Shawn Guo 已提交
539 540
			};

541
			wdog1: wdog@020bc000 {
S
Shawn Guo 已提交
542 543
				compatible = "fsl,imx6q-wdt", "fsl,imx21-wdt";
				reg = <0x020bc000 0x4000>;
544
				interrupts = <0 80 IRQ_TYPE_LEVEL_HIGH>;
545
				clocks = <&clks IMX6QDL_CLK_DUMMY>;
S
Shawn Guo 已提交
546 547
			};

548
			wdog2: wdog@020c0000 {
S
Shawn Guo 已提交
549 550
				compatible = "fsl,imx6q-wdt", "fsl,imx21-wdt";
				reg = <0x020c0000 0x4000>;
551
				interrupts = <0 81 IRQ_TYPE_LEVEL_HIGH>;
552
				clocks = <&clks IMX6QDL_CLK_DUMMY>;
S
Shawn Guo 已提交
553 554 555
				status = "disabled";
			};

556
			clks: ccm@020c4000 {
S
Shawn Guo 已提交
557 558
				compatible = "fsl,imx6q-ccm";
				reg = <0x020c4000 0x4000>;
559 560
				interrupts = <0 87 IRQ_TYPE_LEVEL_HIGH>,
					     <0 88 IRQ_TYPE_LEVEL_HIGH>;
561
				#clock-cells = <1>;
S
Shawn Guo 已提交
562 563
			};

564 565
			anatop: anatop@020c8000 {
				compatible = "fsl,imx6q-anatop", "syscon", "simple-bus";
S
Shawn Guo 已提交
566
				reg = <0x020c8000 0x1000>;
567 568 569
				interrupts = <0 49 IRQ_TYPE_LEVEL_HIGH>,
					     <0 54 IRQ_TYPE_LEVEL_HIGH>,
					     <0 127 IRQ_TYPE_LEVEL_HIGH>;
570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612

				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>;
				};

613
				reg_arm: regulator-vddcore@140 {
614
					compatible = "fsl,anatop-regulator";
615
					regulator-name = "vddarm";
616 617 618 619 620 621
					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>;
622 623 624
					anatop-delay-reg-offset = <0x170>;
					anatop-delay-bit-shift = <24>;
					anatop-delay-bit-width = <2>;
625 626 627 628 629
					anatop-min-bit-val = <1>;
					anatop-min-voltage = <725000>;
					anatop-max-voltage = <1450000>;
				};

630
				reg_pu: regulator-vddpu@140 {
631 632 633 634
					compatible = "fsl,anatop-regulator";
					regulator-name = "vddpu";
					regulator-min-microvolt = <725000>;
					regulator-max-microvolt = <1450000>;
635
					regulator-enable-ramp-delay = <150>;
636 637 638
					anatop-reg-offset = <0x140>;
					anatop-vol-bit-shift = <9>;
					anatop-vol-bit-width = <5>;
639 640 641
					anatop-delay-reg-offset = <0x170>;
					anatop-delay-bit-shift = <26>;
					anatop-delay-bit-width = <2>;
642 643 644 645 646
					anatop-min-bit-val = <1>;
					anatop-min-voltage = <725000>;
					anatop-max-voltage = <1450000>;
				};

647
				reg_soc: regulator-vddsoc@140 {
648 649 650 651 652 653 654 655
					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>;
656 657 658
					anatop-delay-reg-offset = <0x170>;
					anatop-delay-bit-shift = <28>;
					anatop-delay-bit-width = <2>;
659 660 661 662
					anatop-min-bit-val = <1>;
					anatop-min-voltage = <725000>;
					anatop-max-voltage = <1450000>;
				};
S
Shawn Guo 已提交
663 664
			};

665 666
			tempmon: tempmon {
				compatible = "fsl,imx6q-tempmon";
667
				interrupts = <0 49 IRQ_TYPE_LEVEL_HIGH>;
668 669
				fsl,tempmon = <&anatop>;
				fsl,tempmon-data = <&ocotp>;
670
				clocks = <&clks IMX6QDL_CLK_PLL3_USB_OTG>;
671 672
			};

673 674
			usbphy1: usbphy@020c9000 {
				compatible = "fsl,imx6q-usbphy", "fsl,imx23-usbphy";
S
Shawn Guo 已提交
675
				reg = <0x020c9000 0x1000>;
676
				interrupts = <0 44 IRQ_TYPE_LEVEL_HIGH>;
677
				clocks = <&clks IMX6QDL_CLK_USBPHY1>;
678
				fsl,anatop = <&anatop>;
S
Shawn Guo 已提交
679 680
			};

681 682
			usbphy2: usbphy@020ca000 {
				compatible = "fsl,imx6q-usbphy", "fsl,imx23-usbphy";
S
Shawn Guo 已提交
683
				reg = <0x020ca000 0x1000>;
684
				interrupts = <0 45 IRQ_TYPE_LEVEL_HIGH>;
685
				clocks = <&clks IMX6QDL_CLK_USBPHY2>;
686
				fsl,anatop = <&anatop>;
S
Shawn Guo 已提交
687 688 689
			};

			snvs@020cc000 {
S
Shawn Guo 已提交
690 691 692 693 694
				compatible = "fsl,sec-v4.0-mon", "simple-bus";
				#address-cells = <1>;
				#size-cells = <1>;
				ranges = <0 0x020cc000 0x4000>;

695
				snvs_rtc: snvs-rtc-lp@34 {
S
Shawn Guo 已提交
696 697
					compatible = "fsl,sec-v4.0-mon-rtc-lp";
					reg = <0x34 0x58>;
698 699
					interrupts = <0 19 IRQ_TYPE_LEVEL_HIGH>,
						     <0 20 IRQ_TYPE_LEVEL_HIGH>;
S
Shawn Guo 已提交
700
				};
701 702 703 704 705 706

				snvs_poweroff: snvs-poweroff@38 {
					compatible = "fsl,sec-v4.0-poweroff";
					reg = <0x38 0x4>;
					status = "disabled";
				};
S
Shawn Guo 已提交
707 708
			};

709
			epit1: epit@020d0000 { /* EPIT1 */
S
Shawn Guo 已提交
710
				reg = <0x020d0000 0x4000>;
711
				interrupts = <0 56 IRQ_TYPE_LEVEL_HIGH>;
S
Shawn Guo 已提交
712 713
			};

714
			epit2: epit@020d4000 { /* EPIT2 */
S
Shawn Guo 已提交
715
				reg = <0x020d4000 0x4000>;
716
				interrupts = <0 57 IRQ_TYPE_LEVEL_HIGH>;
S
Shawn Guo 已提交
717 718
			};

719
			src: src@020d8000 {
720
				compatible = "fsl,imx6q-src", "fsl,imx51-src";
S
Shawn Guo 已提交
721
				reg = <0x020d8000 0x4000>;
722 723
				interrupts = <0 91 IRQ_TYPE_LEVEL_HIGH>,
					     <0 96 IRQ_TYPE_LEVEL_HIGH>;
724
				#reset-cells = <1>;
S
Shawn Guo 已提交
725 726
			};

727
			gpc: gpc@020dc000 {
S
Shawn Guo 已提交
728 729
				compatible = "fsl,imx6q-gpc";
				reg = <0x020dc000 0x4000>;
730 731
				interrupt-controller;
				#interrupt-cells = <3>;
732 733
				interrupts = <0 89 IRQ_TYPE_LEVEL_HIGH>,
					     <0 90 IRQ_TYPE_LEVEL_HIGH>;
734
				interrupt-parent = <&intc>;
735 736 737 738 739 740 741 742
				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 已提交
743 744
			};

745 746 747 748 749
			gpr: iomuxc-gpr@020e0000 {
				compatible = "fsl,imx6q-iomuxc-gpr", "syscon";
				reg = <0x020e0000 0x38>;
			};

750 751 752 753 754
			iomuxc: iomuxc@020e0000 {
				compatible = "fsl,imx6dl-iomuxc", "fsl,imx6q-iomuxc";
				reg = <0x020e0000 0x4000>;
			};

755 756 757 758 759 760 761 762
			ldb: ldb@020e0008 {
				#address-cells = <1>;
				#size-cells = <0>;
				compatible = "fsl,imx6q-ldb", "fsl,imx53-ldb";
				gpr = <&gpr>;
				status = "disabled";

				lvds-channel@0 {
763 764
					#address-cells = <1>;
					#size-cells = <0>;
765 766
					reg = <0>;
					status = "disabled";
767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782

					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>;
						};
					};
783 784 785
				};

				lvds-channel@1 {
786 787
					#address-cells = <1>;
					#size-cells = <0>;
788 789
					reg = <1>;
					status = "disabled";
790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805

					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>;
						};
					};
806 807 808
				};
			};

809
			dcic1: dcic@020e4000 {
S
Shawn Guo 已提交
810
				reg = <0x020e4000 0x4000>;
811
				interrupts = <0 124 IRQ_TYPE_LEVEL_HIGH>;
S
Shawn Guo 已提交
812 813
			};

814
			dcic2: dcic@020e8000 {
S
Shawn Guo 已提交
815
				reg = <0x020e8000 0x4000>;
816
				interrupts = <0 125 IRQ_TYPE_LEVEL_HIGH>;
S
Shawn Guo 已提交
817 818
			};

819
			sdma: sdma@020ec000 {
S
Shawn Guo 已提交
820 821
				compatible = "fsl,imx6q-sdma", "fsl,imx35-sdma";
				reg = <0x020ec000 0x4000>;
822
				interrupts = <0 2 IRQ_TYPE_LEVEL_HIGH>;
823 824
				clocks = <&clks IMX6QDL_CLK_SDMA>,
					 <&clks IMX6QDL_CLK_SDMA>;
825
				clock-names = "ipg", "ahb";
826
				#dma-cells = <3>;
827
				fsl,sdma-ram-script-name = "imx/sdma/sdma-imx6q.bin";
S
Shawn Guo 已提交
828 829 830 831 832 833 834 835 836 837 838 839
			};
		};

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

			caam@02100000 {
				reg = <0x02100000 0x40000>;
840 841
				interrupts = <0 105 IRQ_TYPE_LEVEL_HIGH>,
					     <0 106 IRQ_TYPE_LEVEL_HIGH>;
S
Shawn Guo 已提交
842 843 844 845 846 847
			};

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

848
			usbotg: usb@02184000 {
849 850
				compatible = "fsl,imx6q-usb", "fsl,imx27-usb";
				reg = <0x02184000 0x200>;
851
				interrupts = <0 43 IRQ_TYPE_LEVEL_HIGH>;
852
				clocks = <&clks IMX6QDL_CLK_USBOH3>;
853
				fsl,usbphy = <&usbphy1>;
854
				fsl,usbmisc = <&usbmisc 0>;
855 856 857
				status = "disabled";
			};

858
			usbh1: usb@02184200 {
859 860
				compatible = "fsl,imx6q-usb", "fsl,imx27-usb";
				reg = <0x02184200 0x200>;
861
				interrupts = <0 40 IRQ_TYPE_LEVEL_HIGH>;
862
				clocks = <&clks IMX6QDL_CLK_USBOH3>;
863
				fsl,usbphy = <&usbphy2>;
864
				fsl,usbmisc = <&usbmisc 1>;
865
				dr_mode = "host";
866 867 868
				status = "disabled";
			};

869
			usbh2: usb@02184400 {
870 871
				compatible = "fsl,imx6q-usb", "fsl,imx27-usb";
				reg = <0x02184400 0x200>;
872
				interrupts = <0 41 IRQ_TYPE_LEVEL_HIGH>;
873
				clocks = <&clks IMX6QDL_CLK_USBOH3>;
874
				fsl,usbmisc = <&usbmisc 2>;
875
				dr_mode = "host";
876 877 878
				status = "disabled";
			};

879
			usbh3: usb@02184600 {
880 881
				compatible = "fsl,imx6q-usb", "fsl,imx27-usb";
				reg = <0x02184600 0x200>;
882
				interrupts = <0 42 IRQ_TYPE_LEVEL_HIGH>;
883
				clocks = <&clks IMX6QDL_CLK_USBOH3>;
884
				fsl,usbmisc = <&usbmisc 3>;
885
				dr_mode = "host";
886 887 888
				status = "disabled";
			};

889
			usbmisc: usbmisc@02184800 {
890 891 892
				#index-cells = <1>;
				compatible = "fsl,imx6q-usbmisc";
				reg = <0x02184800 0x200>;
893
				clocks = <&clks IMX6QDL_CLK_USBOH3>;
894 895
			};

896
			fec: ethernet@02188000 {
S
Shawn Guo 已提交
897 898
				compatible = "fsl,imx6q-fec";
				reg = <0x02188000 0x4000>;
899 900 901
				interrupts-extended =
					<&intc 0 118 IRQ_TYPE_LEVEL_HIGH>,
					<&intc 0 119 IRQ_TYPE_LEVEL_HIGH>;
902 903 904
				clocks = <&clks IMX6QDL_CLK_ENET>,
					 <&clks IMX6QDL_CLK_ENET>,
					 <&clks IMX6QDL_CLK_ENET_REF>;
905
				clock-names = "ipg", "ahb", "ptp";
S
Shawn Guo 已提交
906 907 908 909 910
				status = "disabled";
			};

			mlb@0218c000 {
				reg = <0x0218c000 0x4000>;
911 912 913
				interrupts = <0 53 IRQ_TYPE_LEVEL_HIGH>,
					     <0 117 IRQ_TYPE_LEVEL_HIGH>,
					     <0 126 IRQ_TYPE_LEVEL_HIGH>;
S
Shawn Guo 已提交
914 915
			};

916
			usdhc1: usdhc@02190000 {
S
Shawn Guo 已提交
917 918
				compatible = "fsl,imx6q-usdhc";
				reg = <0x02190000 0x4000>;
919
				interrupts = <0 22 IRQ_TYPE_LEVEL_HIGH>;
920 921 922
				clocks = <&clks IMX6QDL_CLK_USDHC1>,
					 <&clks IMX6QDL_CLK_USDHC1>,
					 <&clks IMX6QDL_CLK_USDHC1>;
923
				clock-names = "ipg", "ahb", "per";
924
				bus-width = <4>;
S
Shawn Guo 已提交
925 926 927
				status = "disabled";
			};

928
			usdhc2: usdhc@02194000 {
S
Shawn Guo 已提交
929 930
				compatible = "fsl,imx6q-usdhc";
				reg = <0x02194000 0x4000>;
931
				interrupts = <0 23 IRQ_TYPE_LEVEL_HIGH>;
932 933 934
				clocks = <&clks IMX6QDL_CLK_USDHC2>,
					 <&clks IMX6QDL_CLK_USDHC2>,
					 <&clks IMX6QDL_CLK_USDHC2>;
935
				clock-names = "ipg", "ahb", "per";
936
				bus-width = <4>;
S
Shawn Guo 已提交
937 938 939
				status = "disabled";
			};

940
			usdhc3: usdhc@02198000 {
S
Shawn Guo 已提交
941 942
				compatible = "fsl,imx6q-usdhc";
				reg = <0x02198000 0x4000>;
943
				interrupts = <0 24 IRQ_TYPE_LEVEL_HIGH>;
944 945 946
				clocks = <&clks IMX6QDL_CLK_USDHC3>,
					 <&clks IMX6QDL_CLK_USDHC3>,
					 <&clks IMX6QDL_CLK_USDHC3>;
947
				clock-names = "ipg", "ahb", "per";
948
				bus-width = <4>;
S
Shawn Guo 已提交
949 950 951
				status = "disabled";
			};

952
			usdhc4: usdhc@0219c000 {
S
Shawn Guo 已提交
953 954
				compatible = "fsl,imx6q-usdhc";
				reg = <0x0219c000 0x4000>;
955
				interrupts = <0 25 IRQ_TYPE_LEVEL_HIGH>;
956 957 958
				clocks = <&clks IMX6QDL_CLK_USDHC4>,
					 <&clks IMX6QDL_CLK_USDHC4>,
					 <&clks IMX6QDL_CLK_USDHC4>;
959
				clock-names = "ipg", "ahb", "per";
960
				bus-width = <4>;
S
Shawn Guo 已提交
961 962 963
				status = "disabled";
			};

964
			i2c1: i2c@021a0000 {
S
Shawn Guo 已提交
965 966
				#address-cells = <1>;
				#size-cells = <0>;
967
				compatible = "fsl,imx6q-i2c", "fsl,imx21-i2c";
S
Shawn Guo 已提交
968
				reg = <0x021a0000 0x4000>;
969
				interrupts = <0 36 IRQ_TYPE_LEVEL_HIGH>;
970
				clocks = <&clks IMX6QDL_CLK_I2C1>;
S
Shawn Guo 已提交
971 972 973
				status = "disabled";
			};

974
			i2c2: i2c@021a4000 {
S
Shawn Guo 已提交
975 976
				#address-cells = <1>;
				#size-cells = <0>;
977
				compatible = "fsl,imx6q-i2c", "fsl,imx21-i2c";
S
Shawn Guo 已提交
978
				reg = <0x021a4000 0x4000>;
979
				interrupts = <0 37 IRQ_TYPE_LEVEL_HIGH>;
980
				clocks = <&clks IMX6QDL_CLK_I2C2>;
S
Shawn Guo 已提交
981 982 983
				status = "disabled";
			};

984
			i2c3: i2c@021a8000 {
S
Shawn Guo 已提交
985 986
				#address-cells = <1>;
				#size-cells = <0>;
987
				compatible = "fsl,imx6q-i2c", "fsl,imx21-i2c";
S
Shawn Guo 已提交
988
				reg = <0x021a8000 0x4000>;
989
				interrupts = <0 38 IRQ_TYPE_LEVEL_HIGH>;
990
				clocks = <&clks IMX6QDL_CLK_I2C3>;
S
Shawn Guo 已提交
991 992 993 994 995 996 997
				status = "disabled";
			};

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

998
			mmdc0: mmdc@021b0000 { /* MMDC0 */
S
Shawn Guo 已提交
999 1000 1001 1002
				compatible = "fsl,imx6q-mmdc";
				reg = <0x021b0000 0x4000>;
			};

1003
			mmdc1: mmdc@021b4000 { /* MMDC1 */
S
Shawn Guo 已提交
1004 1005 1006
				reg = <0x021b4000 0x4000>;
			};

1007 1008
			weim: weim@021b8000 {
				compatible = "fsl,imx6q-weim";
S
Shawn Guo 已提交
1009
				reg = <0x021b8000 0x4000>;
1010
				interrupts = <0 14 IRQ_TYPE_LEVEL_HIGH>;
1011
				clocks = <&clks IMX6QDL_CLK_EIM_SLOW>;
S
Shawn Guo 已提交
1012 1013
			};

1014 1015
			ocotp: ocotp@021bc000 {
				compatible = "fsl,imx6q-ocotp", "syscon";
S
Shawn Guo 已提交
1016 1017 1018 1019 1020
				reg = <0x021bc000 0x4000>;
			};

			tzasc@021d0000 { /* TZASC1 */
				reg = <0x021d0000 0x4000>;
1021
				interrupts = <0 108 IRQ_TYPE_LEVEL_HIGH>;
S
Shawn Guo 已提交
1022 1023 1024 1025
			};

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

1029
			audmux: audmux@021d8000 {
1030
				compatible = "fsl,imx6q-audmux", "fsl,imx31-audmux";
S
Shawn Guo 已提交
1031
				reg = <0x021d8000 0x4000>;
1032
				status = "disabled";
S
Shawn Guo 已提交
1033 1034
			};

1035
			mipi_csi: mipi@021dc000 {
S
Shawn Guo 已提交
1036 1037 1038
				reg = <0x021dc000 0x4000>;
			};

1039 1040 1041
			mipi_dsi: mipi@021e0000 {
				#address-cells = <1>;
				#size-cells = <0>;
S
Shawn Guo 已提交
1042
				reg = <0x021e0000 0x4000>;
1043 1044
				status = "disabled";

1045 1046 1047 1048 1049 1050
				ports {
					#address-cells = <1>;
					#size-cells = <0>;

					port@0 {
						reg = <0>;
1051

1052 1053 1054
						mipi_mux_0: endpoint {
							remote-endpoint = <&ipu1_di0_mipi>;
						};
1055 1056
					};

1057 1058
					port@1 {
						reg = <1>;
1059

1060 1061 1062
						mipi_mux_1: endpoint {
							remote-endpoint = <&ipu1_di1_mipi>;
						};
1063 1064
					};
				};
S
Shawn Guo 已提交
1065 1066 1067 1068
			};

			vdoa@021e4000 {
				reg = <0x021e4000 0x4000>;
1069
				interrupts = <0 18 IRQ_TYPE_LEVEL_HIGH>;
S
Shawn Guo 已提交
1070 1071
			};

1072
			uart2: serial@021e8000 {
S
Shawn Guo 已提交
1073 1074
				compatible = "fsl,imx6q-uart", "fsl,imx21-uart";
				reg = <0x021e8000 0x4000>;
1075
				interrupts = <0 27 IRQ_TYPE_LEVEL_HIGH>;
1076 1077
				clocks = <&clks IMX6QDL_CLK_UART_IPG>,
					 <&clks IMX6QDL_CLK_UART_SERIAL>;
1078
				clock-names = "ipg", "per";
1079 1080
				dmas = <&sdma 27 4 0>, <&sdma 28 4 0>;
				dma-names = "rx", "tx";
S
Shawn Guo 已提交
1081 1082 1083
				status = "disabled";
			};

1084
			uart3: serial@021ec000 {
S
Shawn Guo 已提交
1085 1086
				compatible = "fsl,imx6q-uart", "fsl,imx21-uart";
				reg = <0x021ec000 0x4000>;
1087
				interrupts = <0 28 IRQ_TYPE_LEVEL_HIGH>;
1088 1089
				clocks = <&clks IMX6QDL_CLK_UART_IPG>,
					 <&clks IMX6QDL_CLK_UART_SERIAL>;
1090
				clock-names = "ipg", "per";
1091 1092
				dmas = <&sdma 29 4 0>, <&sdma 30 4 0>;
				dma-names = "rx", "tx";
S
Shawn Guo 已提交
1093 1094 1095
				status = "disabled";
			};

1096
			uart4: serial@021f0000 {
S
Shawn Guo 已提交
1097 1098
				compatible = "fsl,imx6q-uart", "fsl,imx21-uart";
				reg = <0x021f0000 0x4000>;
1099
				interrupts = <0 29 IRQ_TYPE_LEVEL_HIGH>;
1100 1101
				clocks = <&clks IMX6QDL_CLK_UART_IPG>,
					 <&clks IMX6QDL_CLK_UART_SERIAL>;
1102
				clock-names = "ipg", "per";
1103 1104
				dmas = <&sdma 31 4 0>, <&sdma 32 4 0>;
				dma-names = "rx", "tx";
S
Shawn Guo 已提交
1105 1106 1107
				status = "disabled";
			};

1108
			uart5: serial@021f4000 {
S
Shawn Guo 已提交
1109 1110
				compatible = "fsl,imx6q-uart", "fsl,imx21-uart";
				reg = <0x021f4000 0x4000>;
1111
				interrupts = <0 30 IRQ_TYPE_LEVEL_HIGH>;
1112 1113
				clocks = <&clks IMX6QDL_CLK_UART_IPG>,
					 <&clks IMX6QDL_CLK_UART_SERIAL>;
1114
				clock-names = "ipg", "per";
1115 1116
				dmas = <&sdma 33 4 0>, <&sdma 34 4 0>;
				dma-names = "rx", "tx";
S
Shawn Guo 已提交
1117 1118 1119
				status = "disabled";
			};
		};
S
Sascha Hauer 已提交
1120 1121

		ipu1: ipu@02400000 {
1122 1123
			#address-cells = <1>;
			#size-cells = <0>;
S
Sascha Hauer 已提交
1124 1125
			compatible = "fsl,imx6q-ipu";
			reg = <0x02400000 0x400000>;
1126 1127
			interrupts = <0 6 IRQ_TYPE_LEVEL_HIGH>,
				     <0 5 IRQ_TYPE_LEVEL_HIGH>;
1128 1129 1130
			clocks = <&clks IMX6QDL_CLK_IPU1>,
				 <&clks IMX6QDL_CLK_IPU1_DI0>,
				 <&clks IMX6QDL_CLK_IPU1_DI1>;
S
Sascha Hauer 已提交
1131
			clock-names = "bus", "di0", "di1";
1132
			resets = <&src 2>;
1133

1134 1135 1136 1137 1138 1139 1140 1141
			ipu1_csi0: port@0 {
				reg = <0>;
			};

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

1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190
			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 已提交
1191
		};
S
Shawn Guo 已提交
1192 1193
	};
};