imx6qdl.dtsi 29.4 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 56 57 58 59 60 61 62 63
	};

	intc: interrupt-controller@00a01000 {
		compatible = "arm,cortex-a9-gic";
		#interrupt-cells = <3>;
		interrupt-controller;
		reg = <0x00a01000 0x1000>,
		      <0x00a00100 0x100>;
	};

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

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

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

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

	soc {
		#address-cells = <1>;
		#size-cells = <1>;
		compatible = "simple-bus";
		interrupt-parent = <&intc>;
		ranges;

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

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

S
Shawn Guo 已提交
121
		timer@00a00600 {
122 123 124
			compatible = "arm,cortex-a9-twd-timer";
			reg = <0x00a00600 0x20>;
			interrupts = <1 13 0xf01>;
125
			clocks = <&clks IMX6QDL_CLK_TWD>;
S
Shawn Guo 已提交
126 127 128 129 130
		};

		L2: l2-cache@00a02000 {
			compatible = "arm,pl310-cache";
			reg = <0x00a02000 0x1000>;
131
			interrupts = <0 92 IRQ_TYPE_LEVEL_HIGH>;
S
Shawn Guo 已提交
132 133
			cache-unified;
			cache-level = <2>;
134 135
			arm,tag-latency = <4 2 3>;
			arm,data-latency = <4 2 3>;
S
Shawn Guo 已提交
136 137
		};

138 139
		pcie: pcie@0x01000000 {
			compatible = "fsl,imx6q-pcie", "snps,dw-pcie";
140 141 142
			reg = <0x01ffc000 0x04000>,
			      <0x01f00000 0x80000>;
			reg-names = "dbi", "config";
143 144 145 146 147 148 149
			#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>;
150 151
			interrupts = <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>;
			interrupt-names = "msi";
152 153 154 155 156 157
			#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>;
158 159 160
			clocks = <&clks IMX6QDL_CLK_PCIE_AXI>,
				 <&clks IMX6QDL_CLK_LVDS1_GATE>,
				 <&clks IMX6QDL_CLK_PCIE_REF_125M>;
161
			clock-names = "pcie", "pcie_bus", "pcie_phy";
162 163 164
			status = "disabled";
		};

D
Dirk Behme 已提交
165 166
		pmu {
			compatible = "arm,cortex-a9-pmu";
167
			interrupts = <0 94 IRQ_TYPE_LEVEL_HIGH>;
D
Dirk Behme 已提交
168 169
		};

S
Shawn Guo 已提交
170 171 172 173 174 175 176 177 178 179 180 181 182 183
		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;

184
				spdif: spdif@02004000 {
185
					compatible = "fsl,imx35-spdif";
S
Shawn Guo 已提交
186
					reg = <0x02004000 0x4000>;
187
					interrupts = <0 52 IRQ_TYPE_LEVEL_HIGH>;
188 189 190
					dmas = <&sdma 14 18 0>,
					       <&sdma 15 18 0>;
					dma-names = "rx", "tx";
191 192 193 194 195
					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>;
196 197 198 199 200 201
					clock-names = "core",  "rxtx0",
						      "rxtx1", "rxtx2",
						      "rxtx3", "rxtx4",
						      "rxtx5", "rxtx6",
						      "rxtx7";
					status = "disabled";
S
Shawn Guo 已提交
202 203
				};

204
				ecspi1: ecspi@02008000 {
S
Shawn Guo 已提交
205 206 207 208
					#address-cells = <1>;
					#size-cells = <0>;
					compatible = "fsl,imx6q-ecspi", "fsl,imx51-ecspi";
					reg = <0x02008000 0x4000>;
209
					interrupts = <0 31 IRQ_TYPE_LEVEL_HIGH>;
210 211
					clocks = <&clks IMX6QDL_CLK_ECSPI1>,
						 <&clks IMX6QDL_CLK_ECSPI1>;
212
					clock-names = "ipg", "per";
F
Frank Li 已提交
213 214
					dmas = <&sdma 3 7 1>, <&sdma 4 7 2>;
					dma-names = "rx", "tx";
S
Shawn Guo 已提交
215 216 217
					status = "disabled";
				};

218
				ecspi2: ecspi@0200c000 {
S
Shawn Guo 已提交
219 220 221 222
					#address-cells = <1>;
					#size-cells = <0>;
					compatible = "fsl,imx6q-ecspi", "fsl,imx51-ecspi";
					reg = <0x0200c000 0x4000>;
223
					interrupts = <0 32 IRQ_TYPE_LEVEL_HIGH>;
224 225
					clocks = <&clks IMX6QDL_CLK_ECSPI2>,
						 <&clks IMX6QDL_CLK_ECSPI2>;
226
					clock-names = "ipg", "per";
F
Frank Li 已提交
227 228
					dmas = <&sdma 5 7 1>, <&sdma 6 7 2>;
					dma-names = "rx", "tx";
S
Shawn Guo 已提交
229 230 231
					status = "disabled";
				};

232
				ecspi3: ecspi@02010000 {
S
Shawn Guo 已提交
233 234 235 236
					#address-cells = <1>;
					#size-cells = <0>;
					compatible = "fsl,imx6q-ecspi", "fsl,imx51-ecspi";
					reg = <0x02010000 0x4000>;
237
					interrupts = <0 33 IRQ_TYPE_LEVEL_HIGH>;
238 239
					clocks = <&clks IMX6QDL_CLK_ECSPI3>,
						 <&clks IMX6QDL_CLK_ECSPI3>;
240
					clock-names = "ipg", "per";
F
Frank Li 已提交
241 242
					dmas = <&sdma 7 7 1>, <&sdma 8 7 2>;
					dma-names = "rx", "tx";
S
Shawn Guo 已提交
243 244 245
					status = "disabled";
				};

246
				ecspi4: ecspi@02014000 {
S
Shawn Guo 已提交
247 248 249 250
					#address-cells = <1>;
					#size-cells = <0>;
					compatible = "fsl,imx6q-ecspi", "fsl,imx51-ecspi";
					reg = <0x02014000 0x4000>;
251
					interrupts = <0 34 IRQ_TYPE_LEVEL_HIGH>;
252 253
					clocks = <&clks IMX6QDL_CLK_ECSPI4>,
						 <&clks IMX6QDL_CLK_ECSPI4>;
254
					clock-names = "ipg", "per";
F
Frank Li 已提交
255 256
					dmas = <&sdma 9 7 1>, <&sdma 10 7 2>;
					dma-names = "rx", "tx";
S
Shawn Guo 已提交
257 258 259
					status = "disabled";
				};

260
				uart1: serial@02020000 {
S
Shawn Guo 已提交
261 262
					compatible = "fsl,imx6q-uart", "fsl,imx21-uart";
					reg = <0x02020000 0x4000>;
263
					interrupts = <0 26 IRQ_TYPE_LEVEL_HIGH>;
264 265
					clocks = <&clks IMX6QDL_CLK_UART_IPG>,
						 <&clks IMX6QDL_CLK_UART_SERIAL>;
266
					clock-names = "ipg", "per";
267 268
					dmas = <&sdma 25 4 0>, <&sdma 26 4 0>;
					dma-names = "rx", "tx";
S
Shawn Guo 已提交
269 270 271
					status = "disabled";
				};

272
				esai: esai@02024000 {
S
Shawn Guo 已提交
273
					reg = <0x02024000 0x4000>;
274
					interrupts = <0 51 IRQ_TYPE_LEVEL_HIGH>;
S
Shawn Guo 已提交
275 276
				};

277
				ssi1: ssi@02028000 {
278
					#sound-dai-cells = <0>;
M
Markus Pargmann 已提交
279
					compatible = "fsl,imx6q-ssi",
280
							"fsl,imx51-ssi";
S
Shawn Guo 已提交
281
					reg = <0x02028000 0x4000>;
282
					interrupts = <0 46 IRQ_TYPE_LEVEL_HIGH>;
283 284 285
					clocks = <&clks IMX6QDL_CLK_SSI1_IPG>,
						 <&clks IMX6QDL_CLK_SSI1>;
					clock-names = "ipg", "baud";
286 287 288
					dmas = <&sdma 37 1 0>,
					       <&sdma 38 1 0>;
					dma-names = "rx", "tx";
289 290
					fsl,fifo-depth = <15>;
					status = "disabled";
S
Shawn Guo 已提交
291 292
				};

293
				ssi2: ssi@0202c000 {
294
					#sound-dai-cells = <0>;
M
Markus Pargmann 已提交
295
					compatible = "fsl,imx6q-ssi",
296
							"fsl,imx51-ssi";
S
Shawn Guo 已提交
297
					reg = <0x0202c000 0x4000>;
298
					interrupts = <0 47 IRQ_TYPE_LEVEL_HIGH>;
299 300 301
					clocks = <&clks IMX6QDL_CLK_SSI2_IPG>,
						 <&clks IMX6QDL_CLK_SSI2>;
					clock-names = "ipg", "baud";
302 303 304
					dmas = <&sdma 41 1 0>,
					       <&sdma 42 1 0>;
					dma-names = "rx", "tx";
305 306
					fsl,fifo-depth = <15>;
					status = "disabled";
S
Shawn Guo 已提交
307 308
				};

309
				ssi3: ssi@02030000 {
310
					#sound-dai-cells = <0>;
M
Markus Pargmann 已提交
311
					compatible = "fsl,imx6q-ssi",
312
							"fsl,imx51-ssi";
S
Shawn Guo 已提交
313
					reg = <0x02030000 0x4000>;
314
					interrupts = <0 48 IRQ_TYPE_LEVEL_HIGH>;
315 316 317
					clocks = <&clks IMX6QDL_CLK_SSI3_IPG>,
						 <&clks IMX6QDL_CLK_SSI3>;
					clock-names = "ipg", "baud";
318 319 320
					dmas = <&sdma 45 1 0>,
					       <&sdma 46 1 0>;
					dma-names = "rx", "tx";
321 322
					fsl,fifo-depth = <15>;
					status = "disabled";
S
Shawn Guo 已提交
323 324
				};

325
				asrc: asrc@02034000 {
S
Shawn Guo 已提交
326
					reg = <0x02034000 0x4000>;
327
					interrupts = <0 50 IRQ_TYPE_LEVEL_HIGH>;
S
Shawn Guo 已提交
328 329 330 331 332 333 334
				};

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

335
			vpu: vpu@02040000 {
S
Shawn Guo 已提交
336
				reg = <0x02040000 0x3c000>;
337 338
				interrupts = <0 3 IRQ_TYPE_LEVEL_HIGH>,
				             <0 12 IRQ_TYPE_LEVEL_HIGH>;
S
Shawn Guo 已提交
339 340 341 342 343 344
			};

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

345
			pwm1: pwm@02080000 {
S
Sascha Hauer 已提交
346 347
				#pwm-cells = <2>;
				compatible = "fsl,imx6q-pwm", "fsl,imx27-pwm";
S
Shawn Guo 已提交
348
				reg = <0x02080000 0x4000>;
349
				interrupts = <0 83 IRQ_TYPE_LEVEL_HIGH>;
350 351
				clocks = <&clks IMX6QDL_CLK_IPG>,
					 <&clks IMX6QDL_CLK_PWM1>;
S
Sascha Hauer 已提交
352
				clock-names = "ipg", "per";
S
Shawn Guo 已提交
353 354
			};

355
			pwm2: pwm@02084000 {
S
Sascha Hauer 已提交
356 357
				#pwm-cells = <2>;
				compatible = "fsl,imx6q-pwm", "fsl,imx27-pwm";
S
Shawn Guo 已提交
358
				reg = <0x02084000 0x4000>;
359
				interrupts = <0 84 IRQ_TYPE_LEVEL_HIGH>;
360 361
				clocks = <&clks IMX6QDL_CLK_IPG>,
					 <&clks IMX6QDL_CLK_PWM2>;
S
Sascha Hauer 已提交
362
				clock-names = "ipg", "per";
S
Shawn Guo 已提交
363 364
			};

365
			pwm3: pwm@02088000 {
S
Sascha Hauer 已提交
366 367
				#pwm-cells = <2>;
				compatible = "fsl,imx6q-pwm", "fsl,imx27-pwm";
S
Shawn Guo 已提交
368
				reg = <0x02088000 0x4000>;
369
				interrupts = <0 85 IRQ_TYPE_LEVEL_HIGH>;
370 371
				clocks = <&clks IMX6QDL_CLK_IPG>,
					 <&clks IMX6QDL_CLK_PWM3>;
S
Sascha Hauer 已提交
372
				clock-names = "ipg", "per";
S
Shawn Guo 已提交
373 374
			};

375
			pwm4: pwm@0208c000 {
S
Sascha Hauer 已提交
376 377
				#pwm-cells = <2>;
				compatible = "fsl,imx6q-pwm", "fsl,imx27-pwm";
S
Shawn Guo 已提交
378
				reg = <0x0208c000 0x4000>;
379
				interrupts = <0 86 IRQ_TYPE_LEVEL_HIGH>;
380 381
				clocks = <&clks IMX6QDL_CLK_IPG>,
					 <&clks IMX6QDL_CLK_PWM4>;
S
Sascha Hauer 已提交
382
				clock-names = "ipg", "per";
S
Shawn Guo 已提交
383 384
			};

385
			can1: flexcan@02090000 {
386
				compatible = "fsl,imx6q-flexcan";
S
Shawn Guo 已提交
387
				reg = <0x02090000 0x4000>;
388
				interrupts = <0 110 IRQ_TYPE_LEVEL_HIGH>;
389 390
				clocks = <&clks IMX6QDL_CLK_CAN1_IPG>,
					 <&clks IMX6QDL_CLK_CAN1_SERIAL>;
391
				clock-names = "ipg", "per";
392
				status = "disabled";
S
Shawn Guo 已提交
393 394
			};

395
			can2: flexcan@02094000 {
396
				compatible = "fsl,imx6q-flexcan";
S
Shawn Guo 已提交
397
				reg = <0x02094000 0x4000>;
398
				interrupts = <0 111 IRQ_TYPE_LEVEL_HIGH>;
399 400
				clocks = <&clks IMX6QDL_CLK_CAN2_IPG>,
					 <&clks IMX6QDL_CLK_CAN2_SERIAL>;
401
				clock-names = "ipg", "per";
402
				status = "disabled";
S
Shawn Guo 已提交
403 404
			};

405
			gpt: gpt@02098000 {
406
				compatible = "fsl,imx6q-gpt", "fsl,imx31-gpt";
S
Shawn Guo 已提交
407
				reg = <0x02098000 0x4000>;
408
				interrupts = <0 55 IRQ_TYPE_LEVEL_HIGH>;
409 410
				clocks = <&clks IMX6QDL_CLK_GPT_IPG>,
					 <&clks IMX6QDL_CLK_GPT_IPG_PER>;
411
				clock-names = "ipg", "per";
S
Shawn Guo 已提交
412 413
			};

414
			gpio1: gpio@0209c000 {
415
				compatible = "fsl,imx6q-gpio", "fsl,imx35-gpio";
S
Shawn Guo 已提交
416
				reg = <0x0209c000 0x4000>;
417 418
				interrupts = <0 66 IRQ_TYPE_LEVEL_HIGH>,
					     <0 67 IRQ_TYPE_LEVEL_HIGH>;
S
Shawn Guo 已提交
419 420 421
				gpio-controller;
				#gpio-cells = <2>;
				interrupt-controller;
422
				#interrupt-cells = <2>;
S
Shawn Guo 已提交
423 424
			};

425
			gpio2: gpio@020a0000 {
426
				compatible = "fsl,imx6q-gpio", "fsl,imx35-gpio";
S
Shawn Guo 已提交
427
				reg = <0x020a0000 0x4000>;
428 429
				interrupts = <0 68 IRQ_TYPE_LEVEL_HIGH>,
					     <0 69 IRQ_TYPE_LEVEL_HIGH>;
S
Shawn Guo 已提交
430 431 432
				gpio-controller;
				#gpio-cells = <2>;
				interrupt-controller;
433
				#interrupt-cells = <2>;
S
Shawn Guo 已提交
434 435
			};

436
			gpio3: gpio@020a4000 {
437
				compatible = "fsl,imx6q-gpio", "fsl,imx35-gpio";
S
Shawn Guo 已提交
438
				reg = <0x020a4000 0x4000>;
439 440
				interrupts = <0 70 IRQ_TYPE_LEVEL_HIGH>,
					     <0 71 IRQ_TYPE_LEVEL_HIGH>;
S
Shawn Guo 已提交
441 442 443
				gpio-controller;
				#gpio-cells = <2>;
				interrupt-controller;
444
				#interrupt-cells = <2>;
S
Shawn Guo 已提交
445 446
			};

447
			gpio4: gpio@020a8000 {
448
				compatible = "fsl,imx6q-gpio", "fsl,imx35-gpio";
S
Shawn Guo 已提交
449
				reg = <0x020a8000 0x4000>;
450 451
				interrupts = <0 72 IRQ_TYPE_LEVEL_HIGH>,
					     <0 73 IRQ_TYPE_LEVEL_HIGH>;
S
Shawn Guo 已提交
452 453 454
				gpio-controller;
				#gpio-cells = <2>;
				interrupt-controller;
455
				#interrupt-cells = <2>;
S
Shawn Guo 已提交
456 457
			};

458
			gpio5: gpio@020ac000 {
459
				compatible = "fsl,imx6q-gpio", "fsl,imx35-gpio";
S
Shawn Guo 已提交
460
				reg = <0x020ac000 0x4000>;
461 462
				interrupts = <0 74 IRQ_TYPE_LEVEL_HIGH>,
					     <0 75 IRQ_TYPE_LEVEL_HIGH>;
S
Shawn Guo 已提交
463 464 465
				gpio-controller;
				#gpio-cells = <2>;
				interrupt-controller;
466
				#interrupt-cells = <2>;
S
Shawn Guo 已提交
467 468
			};

469
			gpio6: gpio@020b0000 {
470
				compatible = "fsl,imx6q-gpio", "fsl,imx35-gpio";
S
Shawn Guo 已提交
471
				reg = <0x020b0000 0x4000>;
472 473
				interrupts = <0 76 IRQ_TYPE_LEVEL_HIGH>,
					     <0 77 IRQ_TYPE_LEVEL_HIGH>;
S
Shawn Guo 已提交
474 475 476
				gpio-controller;
				#gpio-cells = <2>;
				interrupt-controller;
477
				#interrupt-cells = <2>;
S
Shawn Guo 已提交
478 479
			};

480
			gpio7: gpio@020b4000 {
481
				compatible = "fsl,imx6q-gpio", "fsl,imx35-gpio";
S
Shawn Guo 已提交
482
				reg = <0x020b4000 0x4000>;
483 484
				interrupts = <0 78 IRQ_TYPE_LEVEL_HIGH>,
					     <0 79 IRQ_TYPE_LEVEL_HIGH>;
S
Shawn Guo 已提交
485 486 487
				gpio-controller;
				#gpio-cells = <2>;
				interrupt-controller;
488
				#interrupt-cells = <2>;
S
Shawn Guo 已提交
489 490
			};

491
			kpp: kpp@020b8000 {
492
				compatible = "fsl,imx6q-kpp", "fsl,imx21-kpp";
S
Shawn Guo 已提交
493
				reg = <0x020b8000 0x4000>;
494
				interrupts = <0 82 IRQ_TYPE_LEVEL_HIGH>;
495
				clocks = <&clks IMX6QDL_CLK_IPG>;
496
				status = "disabled";
S
Shawn Guo 已提交
497 498
			};

499
			wdog1: wdog@020bc000 {
S
Shawn Guo 已提交
500 501
				compatible = "fsl,imx6q-wdt", "fsl,imx21-wdt";
				reg = <0x020bc000 0x4000>;
502
				interrupts = <0 80 IRQ_TYPE_LEVEL_HIGH>;
503
				clocks = <&clks IMX6QDL_CLK_DUMMY>;
S
Shawn Guo 已提交
504 505
			};

506
			wdog2: wdog@020c0000 {
S
Shawn Guo 已提交
507 508
				compatible = "fsl,imx6q-wdt", "fsl,imx21-wdt";
				reg = <0x020c0000 0x4000>;
509
				interrupts = <0 81 IRQ_TYPE_LEVEL_HIGH>;
510
				clocks = <&clks IMX6QDL_CLK_DUMMY>;
S
Shawn Guo 已提交
511 512 513
				status = "disabled";
			};

514
			clks: ccm@020c4000 {
S
Shawn Guo 已提交
515 516
				compatible = "fsl,imx6q-ccm";
				reg = <0x020c4000 0x4000>;
517 518
				interrupts = <0 87 IRQ_TYPE_LEVEL_HIGH>,
					     <0 88 IRQ_TYPE_LEVEL_HIGH>;
519
				#clock-cells = <1>;
S
Shawn Guo 已提交
520 521
			};

522 523
			anatop: anatop@020c8000 {
				compatible = "fsl,imx6q-anatop", "syscon", "simple-bus";
S
Shawn Guo 已提交
524
				reg = <0x020c8000 0x1000>;
525 526 527
				interrupts = <0 49 IRQ_TYPE_LEVEL_HIGH>,
					     <0 54 IRQ_TYPE_LEVEL_HIGH>,
					     <0 127 IRQ_TYPE_LEVEL_HIGH>;
528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570

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

571
				reg_arm: regulator-vddcore@140 {
572
					compatible = "fsl,anatop-regulator";
573
					regulator-name = "vddarm";
574 575 576 577 578 579
					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>;
580 581 582
					anatop-delay-reg-offset = <0x170>;
					anatop-delay-bit-shift = <24>;
					anatop-delay-bit-width = <2>;
583 584 585 586 587
					anatop-min-bit-val = <1>;
					anatop-min-voltage = <725000>;
					anatop-max-voltage = <1450000>;
				};

588
				reg_pu: regulator-vddpu@140 {
589 590 591 592 593 594 595 596
					compatible = "fsl,anatop-regulator";
					regulator-name = "vddpu";
					regulator-min-microvolt = <725000>;
					regulator-max-microvolt = <1450000>;
					regulator-always-on;
					anatop-reg-offset = <0x140>;
					anatop-vol-bit-shift = <9>;
					anatop-vol-bit-width = <5>;
597 598 599
					anatop-delay-reg-offset = <0x170>;
					anatop-delay-bit-shift = <26>;
					anatop-delay-bit-width = <2>;
600 601 602 603 604
					anatop-min-bit-val = <1>;
					anatop-min-voltage = <725000>;
					anatop-max-voltage = <1450000>;
				};

605
				reg_soc: regulator-vddsoc@140 {
606 607 608 609 610 611 612 613
					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>;
614 615 616
					anatop-delay-reg-offset = <0x170>;
					anatop-delay-bit-shift = <28>;
					anatop-delay-bit-width = <2>;
617 618 619 620
					anatop-min-bit-val = <1>;
					anatop-min-voltage = <725000>;
					anatop-max-voltage = <1450000>;
				};
S
Shawn Guo 已提交
621 622
			};

623 624
			tempmon: tempmon {
				compatible = "fsl,imx6q-tempmon";
625
				interrupts = <0 49 IRQ_TYPE_LEVEL_HIGH>;
626 627
				fsl,tempmon = <&anatop>;
				fsl,tempmon-data = <&ocotp>;
628
				clocks = <&clks IMX6QDL_CLK_PLL3_USB_OTG>;
629 630
			};

631 632
			usbphy1: usbphy@020c9000 {
				compatible = "fsl,imx6q-usbphy", "fsl,imx23-usbphy";
S
Shawn Guo 已提交
633
				reg = <0x020c9000 0x1000>;
634
				interrupts = <0 44 IRQ_TYPE_LEVEL_HIGH>;
635
				clocks = <&clks IMX6QDL_CLK_USBPHY1>;
636
				fsl,anatop = <&anatop>;
S
Shawn Guo 已提交
637 638
			};

639 640
			usbphy2: usbphy@020ca000 {
				compatible = "fsl,imx6q-usbphy", "fsl,imx23-usbphy";
S
Shawn Guo 已提交
641
				reg = <0x020ca000 0x1000>;
642
				interrupts = <0 45 IRQ_TYPE_LEVEL_HIGH>;
643
				clocks = <&clks IMX6QDL_CLK_USBPHY2>;
644
				fsl,anatop = <&anatop>;
S
Shawn Guo 已提交
645 646 647
			};

			snvs@020cc000 {
S
Shawn Guo 已提交
648 649 650 651 652 653 654 655
				compatible = "fsl,sec-v4.0-mon", "simple-bus";
				#address-cells = <1>;
				#size-cells = <1>;
				ranges = <0 0x020cc000 0x4000>;

				snvs-rtc-lp@34 {
					compatible = "fsl,sec-v4.0-mon-rtc-lp";
					reg = <0x34 0x58>;
656 657
					interrupts = <0 19 IRQ_TYPE_LEVEL_HIGH>,
						     <0 20 IRQ_TYPE_LEVEL_HIGH>;
S
Shawn Guo 已提交
658
				};
S
Shawn Guo 已提交
659 660
			};

661
			epit1: epit@020d0000 { /* EPIT1 */
S
Shawn Guo 已提交
662
				reg = <0x020d0000 0x4000>;
663
				interrupts = <0 56 IRQ_TYPE_LEVEL_HIGH>;
S
Shawn Guo 已提交
664 665
			};

666
			epit2: epit@020d4000 { /* EPIT2 */
S
Shawn Guo 已提交
667
				reg = <0x020d4000 0x4000>;
668
				interrupts = <0 57 IRQ_TYPE_LEVEL_HIGH>;
S
Shawn Guo 已提交
669 670
			};

671
			src: src@020d8000 {
672
				compatible = "fsl,imx6q-src", "fsl,imx51-src";
S
Shawn Guo 已提交
673
				reg = <0x020d8000 0x4000>;
674 675
				interrupts = <0 91 IRQ_TYPE_LEVEL_HIGH>,
					     <0 96 IRQ_TYPE_LEVEL_HIGH>;
676
				#reset-cells = <1>;
S
Shawn Guo 已提交
677 678
			};

679
			gpc: gpc@020dc000 {
S
Shawn Guo 已提交
680 681
				compatible = "fsl,imx6q-gpc";
				reg = <0x020dc000 0x4000>;
682 683
				interrupts = <0 89 IRQ_TYPE_LEVEL_HIGH>,
					     <0 90 IRQ_TYPE_LEVEL_HIGH>;
S
Shawn Guo 已提交
684 685
			};

686 687 688 689 690
			gpr: iomuxc-gpr@020e0000 {
				compatible = "fsl,imx6q-iomuxc-gpr", "syscon";
				reg = <0x020e0000 0x38>;
			};

691 692 693 694 695
			iomuxc: iomuxc@020e0000 {
				compatible = "fsl,imx6dl-iomuxc", "fsl,imx6q-iomuxc";
				reg = <0x020e0000 0x4000>;
			};

696 697 698 699 700 701 702 703
			ldb: ldb@020e0008 {
				#address-cells = <1>;
				#size-cells = <0>;
				compatible = "fsl,imx6q-ldb", "fsl,imx53-ldb";
				gpr = <&gpr>;
				status = "disabled";

				lvds-channel@0 {
704 705
					#address-cells = <1>;
					#size-cells = <0>;
706 707
					reg = <0>;
					status = "disabled";
708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723

					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>;
						};
					};
724 725 726
				};

				lvds-channel@1 {
727 728
					#address-cells = <1>;
					#size-cells = <0>;
729 730
					reg = <1>;
					status = "disabled";
731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746

					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>;
						};
					};
747 748 749
				};
			};

750
			hdmi: hdmi@0120000 {
751 752
				#address-cells = <1>;
				#size-cells = <0>;
753 754 755
				reg = <0x00120000 0x9000>;
				interrupts = <0 115 0x04>;
				gpr = <&gpr>;
756 757
				clocks = <&clks IMX6QDL_CLK_HDMI_IAHB>,
					 <&clks IMX6QDL_CLK_HDMI_ISFR>;
758 759
				clock-names = "iahb", "isfr";
				status = "disabled";
760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775

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

778
			dcic1: dcic@020e4000 {
S
Shawn Guo 已提交
779
				reg = <0x020e4000 0x4000>;
780
				interrupts = <0 124 IRQ_TYPE_LEVEL_HIGH>;
S
Shawn Guo 已提交
781 782
			};

783
			dcic2: dcic@020e8000 {
S
Shawn Guo 已提交
784
				reg = <0x020e8000 0x4000>;
785
				interrupts = <0 125 IRQ_TYPE_LEVEL_HIGH>;
S
Shawn Guo 已提交
786 787
			};

788
			sdma: sdma@020ec000 {
S
Shawn Guo 已提交
789 790
				compatible = "fsl,imx6q-sdma", "fsl,imx35-sdma";
				reg = <0x020ec000 0x4000>;
791
				interrupts = <0 2 IRQ_TYPE_LEVEL_HIGH>;
792 793
				clocks = <&clks IMX6QDL_CLK_SDMA>,
					 <&clks IMX6QDL_CLK_SDMA>;
794
				clock-names = "ipg", "ahb";
795
				#dma-cells = <3>;
796
				fsl,sdma-ram-script-name = "imx/sdma/sdma-imx6q.bin";
S
Shawn Guo 已提交
797 798 799 800 801 802 803 804 805 806 807 808
			};
		};

		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>;
809 810
				interrupts = <0 105 IRQ_TYPE_LEVEL_HIGH>,
					     <0 106 IRQ_TYPE_LEVEL_HIGH>;
S
Shawn Guo 已提交
811 812 813 814 815 816
			};

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

817
			usbotg: usb@02184000 {
818 819
				compatible = "fsl,imx6q-usb", "fsl,imx27-usb";
				reg = <0x02184000 0x200>;
820
				interrupts = <0 43 IRQ_TYPE_LEVEL_HIGH>;
821
				clocks = <&clks IMX6QDL_CLK_USBOH3>;
822
				fsl,usbphy = <&usbphy1>;
823
				fsl,usbmisc = <&usbmisc 0>;
824 825 826
				status = "disabled";
			};

827
			usbh1: usb@02184200 {
828 829
				compatible = "fsl,imx6q-usb", "fsl,imx27-usb";
				reg = <0x02184200 0x200>;
830
				interrupts = <0 40 IRQ_TYPE_LEVEL_HIGH>;
831
				clocks = <&clks IMX6QDL_CLK_USBOH3>;
832
				fsl,usbphy = <&usbphy2>;
833
				fsl,usbmisc = <&usbmisc 1>;
834 835 836
				status = "disabled";
			};

837
			usbh2: usb@02184400 {
838 839
				compatible = "fsl,imx6q-usb", "fsl,imx27-usb";
				reg = <0x02184400 0x200>;
840
				interrupts = <0 41 IRQ_TYPE_LEVEL_HIGH>;
841
				clocks = <&clks IMX6QDL_CLK_USBOH3>;
842
				fsl,usbmisc = <&usbmisc 2>;
843 844 845
				status = "disabled";
			};

846
			usbh3: usb@02184600 {
847 848
				compatible = "fsl,imx6q-usb", "fsl,imx27-usb";
				reg = <0x02184600 0x200>;
849
				interrupts = <0 42 IRQ_TYPE_LEVEL_HIGH>;
850
				clocks = <&clks IMX6QDL_CLK_USBOH3>;
851
				fsl,usbmisc = <&usbmisc 3>;
852 853 854
				status = "disabled";
			};

855
			usbmisc: usbmisc@02184800 {
856 857 858
				#index-cells = <1>;
				compatible = "fsl,imx6q-usbmisc";
				reg = <0x02184800 0x200>;
859
				clocks = <&clks IMX6QDL_CLK_USBOH3>;
860 861
			};

862
			fec: ethernet@02188000 {
S
Shawn Guo 已提交
863 864
				compatible = "fsl,imx6q-fec";
				reg = <0x02188000 0x4000>;
865 866 867
				interrupts-extended =
					<&intc 0 118 IRQ_TYPE_LEVEL_HIGH>,
					<&intc 0 119 IRQ_TYPE_LEVEL_HIGH>;
868 869 870
				clocks = <&clks IMX6QDL_CLK_ENET>,
					 <&clks IMX6QDL_CLK_ENET>,
					 <&clks IMX6QDL_CLK_ENET_REF>;
871
				clock-names = "ipg", "ahb", "ptp";
S
Shawn Guo 已提交
872 873 874 875 876
				status = "disabled";
			};

			mlb@0218c000 {
				reg = <0x0218c000 0x4000>;
877 878 879
				interrupts = <0 53 IRQ_TYPE_LEVEL_HIGH>,
					     <0 117 IRQ_TYPE_LEVEL_HIGH>,
					     <0 126 IRQ_TYPE_LEVEL_HIGH>;
S
Shawn Guo 已提交
880 881
			};

882
			usdhc1: usdhc@02190000 {
S
Shawn Guo 已提交
883 884
				compatible = "fsl,imx6q-usdhc";
				reg = <0x02190000 0x4000>;
885
				interrupts = <0 22 IRQ_TYPE_LEVEL_HIGH>;
886 887 888
				clocks = <&clks IMX6QDL_CLK_USDHC1>,
					 <&clks IMX6QDL_CLK_USDHC1>,
					 <&clks IMX6QDL_CLK_USDHC1>;
889
				clock-names = "ipg", "ahb", "per";
890
				bus-width = <4>;
S
Shawn Guo 已提交
891 892 893
				status = "disabled";
			};

894
			usdhc2: usdhc@02194000 {
S
Shawn Guo 已提交
895 896
				compatible = "fsl,imx6q-usdhc";
				reg = <0x02194000 0x4000>;
897
				interrupts = <0 23 IRQ_TYPE_LEVEL_HIGH>;
898 899 900
				clocks = <&clks IMX6QDL_CLK_USDHC2>,
					 <&clks IMX6QDL_CLK_USDHC2>,
					 <&clks IMX6QDL_CLK_USDHC2>;
901
				clock-names = "ipg", "ahb", "per";
902
				bus-width = <4>;
S
Shawn Guo 已提交
903 904 905
				status = "disabled";
			};

906
			usdhc3: usdhc@02198000 {
S
Shawn Guo 已提交
907 908
				compatible = "fsl,imx6q-usdhc";
				reg = <0x02198000 0x4000>;
909
				interrupts = <0 24 IRQ_TYPE_LEVEL_HIGH>;
910 911 912
				clocks = <&clks IMX6QDL_CLK_USDHC3>,
					 <&clks IMX6QDL_CLK_USDHC3>,
					 <&clks IMX6QDL_CLK_USDHC3>;
913
				clock-names = "ipg", "ahb", "per";
914
				bus-width = <4>;
S
Shawn Guo 已提交
915 916 917
				status = "disabled";
			};

918
			usdhc4: usdhc@0219c000 {
S
Shawn Guo 已提交
919 920
				compatible = "fsl,imx6q-usdhc";
				reg = <0x0219c000 0x4000>;
921
				interrupts = <0 25 IRQ_TYPE_LEVEL_HIGH>;
922 923 924
				clocks = <&clks IMX6QDL_CLK_USDHC4>,
					 <&clks IMX6QDL_CLK_USDHC4>,
					 <&clks IMX6QDL_CLK_USDHC4>;
925
				clock-names = "ipg", "ahb", "per";
926
				bus-width = <4>;
S
Shawn Guo 已提交
927 928 929
				status = "disabled";
			};

930
			i2c1: i2c@021a0000 {
S
Shawn Guo 已提交
931 932
				#address-cells = <1>;
				#size-cells = <0>;
933
				compatible = "fsl,imx6q-i2c", "fsl,imx21-i2c";
S
Shawn Guo 已提交
934
				reg = <0x021a0000 0x4000>;
935
				interrupts = <0 36 IRQ_TYPE_LEVEL_HIGH>;
936
				clocks = <&clks IMX6QDL_CLK_I2C1>;
S
Shawn Guo 已提交
937 938 939
				status = "disabled";
			};

940
			i2c2: i2c@021a4000 {
S
Shawn Guo 已提交
941 942
				#address-cells = <1>;
				#size-cells = <0>;
943
				compatible = "fsl,imx6q-i2c", "fsl,imx21-i2c";
S
Shawn Guo 已提交
944
				reg = <0x021a4000 0x4000>;
945
				interrupts = <0 37 IRQ_TYPE_LEVEL_HIGH>;
946
				clocks = <&clks IMX6QDL_CLK_I2C2>;
S
Shawn Guo 已提交
947 948 949
				status = "disabled";
			};

950
			i2c3: i2c@021a8000 {
S
Shawn Guo 已提交
951 952
				#address-cells = <1>;
				#size-cells = <0>;
953
				compatible = "fsl,imx6q-i2c", "fsl,imx21-i2c";
S
Shawn Guo 已提交
954
				reg = <0x021a8000 0x4000>;
955
				interrupts = <0 38 IRQ_TYPE_LEVEL_HIGH>;
956
				clocks = <&clks IMX6QDL_CLK_I2C3>;
S
Shawn Guo 已提交
957 958 959 960 961 962 963
				status = "disabled";
			};

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

964
			mmdc0: mmdc@021b0000 { /* MMDC0 */
S
Shawn Guo 已提交
965 966 967 968
				compatible = "fsl,imx6q-mmdc";
				reg = <0x021b0000 0x4000>;
			};

969
			mmdc1: mmdc@021b4000 { /* MMDC1 */
S
Shawn Guo 已提交
970 971 972
				reg = <0x021b4000 0x4000>;
			};

973 974
			weim: weim@021b8000 {
				compatible = "fsl,imx6q-weim";
S
Shawn Guo 已提交
975
				reg = <0x021b8000 0x4000>;
976
				interrupts = <0 14 IRQ_TYPE_LEVEL_HIGH>;
977
				clocks = <&clks IMX6QDL_CLK_EIM_SLOW>;
S
Shawn Guo 已提交
978 979
			};

980 981
			ocotp: ocotp@021bc000 {
				compatible = "fsl,imx6q-ocotp", "syscon";
S
Shawn Guo 已提交
982 983 984 985 986
				reg = <0x021bc000 0x4000>;
			};

			tzasc@021d0000 { /* TZASC1 */
				reg = <0x021d0000 0x4000>;
987
				interrupts = <0 108 IRQ_TYPE_LEVEL_HIGH>;
S
Shawn Guo 已提交
988 989 990 991
			};

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

995
			audmux: audmux@021d8000 {
996
				compatible = "fsl,imx6q-audmux", "fsl,imx31-audmux";
S
Shawn Guo 已提交
997
				reg = <0x021d8000 0x4000>;
998
				status = "disabled";
S
Shawn Guo 已提交
999 1000
			};

1001
			mipi_csi: mipi@021dc000 {
S
Shawn Guo 已提交
1002 1003 1004
				reg = <0x021dc000 0x4000>;
			};

1005 1006 1007
			mipi_dsi: mipi@021e0000 {
				#address-cells = <1>;
				#size-cells = <0>;
S
Shawn Guo 已提交
1008
				reg = <0x021e0000 0x4000>;
1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025
				status = "disabled";

				port@0 {
					reg = <0>;

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

				port@1 {
					reg = <1>;

					mipi_mux_1: endpoint {
						remote-endpoint = <&ipu1_di1_mipi>;
					};
				};
S
Shawn Guo 已提交
1026 1027 1028 1029
			};

			vdoa@021e4000 {
				reg = <0x021e4000 0x4000>;
1030
				interrupts = <0 18 IRQ_TYPE_LEVEL_HIGH>;
S
Shawn Guo 已提交
1031 1032
			};

1033
			uart2: serial@021e8000 {
S
Shawn Guo 已提交
1034 1035
				compatible = "fsl,imx6q-uart", "fsl,imx21-uart";
				reg = <0x021e8000 0x4000>;
1036
				interrupts = <0 27 IRQ_TYPE_LEVEL_HIGH>;
1037 1038
				clocks = <&clks IMX6QDL_CLK_UART_IPG>,
					 <&clks IMX6QDL_CLK_UART_SERIAL>;
1039
				clock-names = "ipg", "per";
1040 1041
				dmas = <&sdma 27 4 0>, <&sdma 28 4 0>;
				dma-names = "rx", "tx";
S
Shawn Guo 已提交
1042 1043 1044
				status = "disabled";
			};

1045
			uart3: serial@021ec000 {
S
Shawn Guo 已提交
1046 1047
				compatible = "fsl,imx6q-uart", "fsl,imx21-uart";
				reg = <0x021ec000 0x4000>;
1048
				interrupts = <0 28 IRQ_TYPE_LEVEL_HIGH>;
1049 1050
				clocks = <&clks IMX6QDL_CLK_UART_IPG>,
					 <&clks IMX6QDL_CLK_UART_SERIAL>;
1051
				clock-names = "ipg", "per";
1052 1053
				dmas = <&sdma 29 4 0>, <&sdma 30 4 0>;
				dma-names = "rx", "tx";
S
Shawn Guo 已提交
1054 1055 1056
				status = "disabled";
			};

1057
			uart4: serial@021f0000 {
S
Shawn Guo 已提交
1058 1059
				compatible = "fsl,imx6q-uart", "fsl,imx21-uart";
				reg = <0x021f0000 0x4000>;
1060
				interrupts = <0 29 IRQ_TYPE_LEVEL_HIGH>;
1061 1062
				clocks = <&clks IMX6QDL_CLK_UART_IPG>,
					 <&clks IMX6QDL_CLK_UART_SERIAL>;
1063
				clock-names = "ipg", "per";
1064 1065
				dmas = <&sdma 31 4 0>, <&sdma 32 4 0>;
				dma-names = "rx", "tx";
S
Shawn Guo 已提交
1066 1067 1068
				status = "disabled";
			};

1069
			uart5: serial@021f4000 {
S
Shawn Guo 已提交
1070 1071
				compatible = "fsl,imx6q-uart", "fsl,imx21-uart";
				reg = <0x021f4000 0x4000>;
1072
				interrupts = <0 30 IRQ_TYPE_LEVEL_HIGH>;
1073 1074
				clocks = <&clks IMX6QDL_CLK_UART_IPG>,
					 <&clks IMX6QDL_CLK_UART_SERIAL>;
1075
				clock-names = "ipg", "per";
1076 1077
				dmas = <&sdma 33 4 0>, <&sdma 34 4 0>;
				dma-names = "rx", "tx";
S
Shawn Guo 已提交
1078 1079 1080
				status = "disabled";
			};
		};
S
Sascha Hauer 已提交
1081 1082

		ipu1: ipu@02400000 {
1083 1084
			#address-cells = <1>;
			#size-cells = <0>;
S
Sascha Hauer 已提交
1085 1086
			compatible = "fsl,imx6q-ipu";
			reg = <0x02400000 0x400000>;
1087 1088
			interrupts = <0 6 IRQ_TYPE_LEVEL_HIGH>,
				     <0 5 IRQ_TYPE_LEVEL_HIGH>;
1089 1090 1091
			clocks = <&clks IMX6QDL_CLK_IPU1>,
				 <&clks IMX6QDL_CLK_IPU1_DI0>,
				 <&clks IMX6QDL_CLK_IPU1_DI1>;
S
Sascha Hauer 已提交
1092
			clock-names = "bus", "di0", "di1";
1093
			resets = <&src 2>;
1094

1095 1096 1097 1098 1099 1100 1101 1102
			ipu1_csi0: port@0 {
				reg = <0>;
			};

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

1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151
			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 已提交
1152
		};
S
Shawn Guo 已提交
1153 1154
	};
};