imx6qdl.dtsi 33.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;
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
	};

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

		ckil {
			compatible = "fsl,imx-ckil", "fixed-clock";
57
			#clock-cells = <0>;
S
Shawn Guo 已提交
58 59 60 61 62
			clock-frequency = <32768>;
		};

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

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

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

81
		dma_apbh: dma-apbh@00110000 {
82 83
			compatible = "fsl,imx6q-dma-apbh", "fsl,imx28-dma-apbh";
			reg = <0x00110000 0x2000>;
84 85 86 87
			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>;
88 89 90
			interrupt-names = "gpmi0", "gpmi1", "gpmi2", "gpmi3";
			#dma-cells = <1>;
			dma-channels = <4>;
91
			clocks = <&clks IMX6QDL_CLK_APBH_DMA>;
92 93
		};

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

114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141
		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>;
				};
			};
		};

142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162
		gpu_3d: gpu@00130000 {
			compatible = "vivante,gc";
			reg = <0x00130000 0x4000>;
			interrupts = <0 9 IRQ_TYPE_LEVEL_HIGH>;
			clocks = <&clks IMX6QDL_CLK_GPU3D_AXI>,
				 <&clks IMX6QDL_CLK_GPU3D_CORE>,
				 <&clks IMX6QDL_CLK_GPU3D_SHADER>;
			clock-names = "bus", "core", "shader";
			power-domains = <&gpc 1>;
		};

		gpu_2d: gpu@00134000 {
			compatible = "vivante,gc";
			reg = <0x00134000 0x4000>;
			interrupts = <0 10 IRQ_TYPE_LEVEL_HIGH>;
			clocks = <&clks IMX6QDL_CLK_GPU2D_AXI>,
				 <&clks IMX6QDL_CLK_GPU2D_CORE>;
			clock-names = "bus", "core";
			power-domains = <&gpc 1>;
		};

S
Shawn Guo 已提交
163
		timer@00a00600 {
164 165 166
			compatible = "arm,cortex-a9-twd-timer";
			reg = <0x00a00600 0x20>;
			interrupts = <1 13 0xf01>;
167
			interrupt-parent = <&intc>;
168
			clocks = <&clks IMX6QDL_CLK_TWD>;
S
Shawn Guo 已提交
169 170
		};

171 172 173 174 175 176 177 178 179
		intc: interrupt-controller@00a01000 {
			compatible = "arm,cortex-a9-gic";
			#interrupt-cells = <3>;
			interrupt-controller;
			reg = <0x00a01000 0x1000>,
			      <0x00a00100 0x100>;
			interrupt-parent = <&intc>;
		};

S
Shawn Guo 已提交
180 181 182
		L2: l2-cache@00a02000 {
			compatible = "arm,pl310-cache";
			reg = <0x00a02000 0x1000>;
183
			interrupts = <0 92 IRQ_TYPE_LEVEL_HIGH>;
S
Shawn Guo 已提交
184 185
			cache-unified;
			cache-level = <2>;
186 187
			arm,tag-latency = <4 2 3>;
			arm,data-latency = <4 2 3>;
188
			arm,shared-override;
S
Shawn Guo 已提交
189 190
		};

191 192
		pcie: pcie@0x01000000 {
			compatible = "fsl,imx6q-pcie", "snps,dw-pcie";
193 194 195
			reg = <0x01ffc000 0x04000>,
			      <0x01f00000 0x80000>;
			reg-names = "dbi", "config";
196 197 198
			#address-cells = <3>;
			#size-cells = <2>;
			device_type = "pci";
199
			ranges = <0x81000000 0 0          0x01f80000 0 0x00010000 /* downstream I/O */
200 201
				  0x82000000 0 0x01000000 0x01000000 0 0x00f00000>; /* non-prefetchable memory */
			num-lanes = <1>;
202 203
			interrupts = <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>;
			interrupt-names = "msi";
204 205
			#interrupt-cells = <1>;
			interrupt-map-mask = <0 0 0 0x7>;
206
			interrupt-map = <0 0 0 1 &gpc GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>,
207 208 209
					<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>;
210 211 212
			clocks = <&clks IMX6QDL_CLK_PCIE_AXI>,
				 <&clks IMX6QDL_CLK_LVDS1_GATE>,
				 <&clks IMX6QDL_CLK_PCIE_REF_125M>;
213
			clock-names = "pcie", "pcie_bus", "pcie_phy";
214 215 216
			status = "disabled";
		};

D
Dirk Behme 已提交
217 218
		pmu {
			compatible = "arm,cortex-a9-pmu";
219
			interrupts = <0 94 IRQ_TYPE_LEVEL_HIGH>;
D
Dirk Behme 已提交
220 221
		};

S
Shawn Guo 已提交
222 223 224 225 226 227 228 229 230 231 232 233 234 235
		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;

236
				spdif: spdif@02004000 {
237
					compatible = "fsl,imx35-spdif";
S
Shawn Guo 已提交
238
					reg = <0x02004000 0x4000>;
239
					interrupts = <0 52 IRQ_TYPE_LEVEL_HIGH>;
240 241 242
					dmas = <&sdma 14 18 0>,
					       <&sdma 15 18 0>;
					dma-names = "rx", "tx";
243 244 245
					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>,
246
						 <&clks IMX6QDL_CLK_IPG>, <&clks IMX6QDL_CLK_DUMMY>,
247
						 <&clks IMX6QDL_CLK_DUMMY>, <&clks IMX6QDL_CLK_SPBA>;
248 249 250 251
					clock-names = "core",  "rxtx0",
						      "rxtx1", "rxtx2",
						      "rxtx3", "rxtx4",
						      "rxtx5", "rxtx6",
252
						      "rxtx7", "spba";
253
					status = "disabled";
S
Shawn Guo 已提交
254 255
				};

256
				ecspi1: ecspi@02008000 {
S
Shawn Guo 已提交
257 258 259 260
					#address-cells = <1>;
					#size-cells = <0>;
					compatible = "fsl,imx6q-ecspi", "fsl,imx51-ecspi";
					reg = <0x02008000 0x4000>;
261
					interrupts = <0 31 IRQ_TYPE_LEVEL_HIGH>;
262 263
					clocks = <&clks IMX6QDL_CLK_ECSPI1>,
						 <&clks IMX6QDL_CLK_ECSPI1>;
264
					clock-names = "ipg", "per";
265
					dmas = <&sdma 3 8 1>, <&sdma 4 8 2>;
F
Frank Li 已提交
266
					dma-names = "rx", "tx";
S
Shawn Guo 已提交
267 268 269
					status = "disabled";
				};

270
				ecspi2: ecspi@0200c000 {
S
Shawn Guo 已提交
271 272 273 274
					#address-cells = <1>;
					#size-cells = <0>;
					compatible = "fsl,imx6q-ecspi", "fsl,imx51-ecspi";
					reg = <0x0200c000 0x4000>;
275
					interrupts = <0 32 IRQ_TYPE_LEVEL_HIGH>;
276 277
					clocks = <&clks IMX6QDL_CLK_ECSPI2>,
						 <&clks IMX6QDL_CLK_ECSPI2>;
278
					clock-names = "ipg", "per";
279
					dmas = <&sdma 5 8 1>, <&sdma 6 8 2>;
F
Frank Li 已提交
280
					dma-names = "rx", "tx";
S
Shawn Guo 已提交
281 282 283
					status = "disabled";
				};

284
				ecspi3: ecspi@02010000 {
S
Shawn Guo 已提交
285 286 287 288
					#address-cells = <1>;
					#size-cells = <0>;
					compatible = "fsl,imx6q-ecspi", "fsl,imx51-ecspi";
					reg = <0x02010000 0x4000>;
289
					interrupts = <0 33 IRQ_TYPE_LEVEL_HIGH>;
290 291
					clocks = <&clks IMX6QDL_CLK_ECSPI3>,
						 <&clks IMX6QDL_CLK_ECSPI3>;
292
					clock-names = "ipg", "per";
293
					dmas = <&sdma 7 8 1>, <&sdma 8 8 2>;
F
Frank Li 已提交
294
					dma-names = "rx", "tx";
S
Shawn Guo 已提交
295 296 297
					status = "disabled";
				};

298
				ecspi4: ecspi@02014000 {
S
Shawn Guo 已提交
299 300 301 302
					#address-cells = <1>;
					#size-cells = <0>;
					compatible = "fsl,imx6q-ecspi", "fsl,imx51-ecspi";
					reg = <0x02014000 0x4000>;
303
					interrupts = <0 34 IRQ_TYPE_LEVEL_HIGH>;
304 305
					clocks = <&clks IMX6QDL_CLK_ECSPI4>,
						 <&clks IMX6QDL_CLK_ECSPI4>;
306
					clock-names = "ipg", "per";
307
					dmas = <&sdma 9 8 1>, <&sdma 10 8 2>;
F
Frank Li 已提交
308
					dma-names = "rx", "tx";
S
Shawn Guo 已提交
309 310 311
					status = "disabled";
				};

312
				uart1: serial@02020000 {
S
Shawn Guo 已提交
313 314
					compatible = "fsl,imx6q-uart", "fsl,imx21-uart";
					reg = <0x02020000 0x4000>;
315
					interrupts = <0 26 IRQ_TYPE_LEVEL_HIGH>;
316 317
					clocks = <&clks IMX6QDL_CLK_UART_IPG>,
						 <&clks IMX6QDL_CLK_UART_SERIAL>;
318
					clock-names = "ipg", "per";
319 320
					dmas = <&sdma 25 4 0>, <&sdma 26 4 0>;
					dma-names = "rx", "tx";
S
Shawn Guo 已提交
321 322 323
					status = "disabled";
				};

324
				esai: esai@02024000 {
325 326
					#sound-dai-cells = <0>;
					compatible = "fsl,imx35-esai";
S
Shawn Guo 已提交
327
					reg = <0x02024000 0x4000>;
328
					interrupts = <0 51 IRQ_TYPE_LEVEL_HIGH>;
329 330 331 332 333
					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>;
334
					clock-names = "core", "mem", "extal", "fsys", "spba";
335 336 337
					dmas = <&sdma 23 21 0>, <&sdma 24 21 0>;
					dma-names = "rx", "tx";
					status = "disabled";
S
Shawn Guo 已提交
338 339
				};

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

356
				ssi2: ssi@0202c000 {
357
					#sound-dai-cells = <0>;
M
Markus Pargmann 已提交
358
					compatible = "fsl,imx6q-ssi",
359
							"fsl,imx51-ssi";
S
Shawn Guo 已提交
360
					reg = <0x0202c000 0x4000>;
361
					interrupts = <0 47 IRQ_TYPE_LEVEL_HIGH>;
362 363 364
					clocks = <&clks IMX6QDL_CLK_SSI2_IPG>,
						 <&clks IMX6QDL_CLK_SSI2>;
					clock-names = "ipg", "baud";
365 366 367
					dmas = <&sdma 41 1 0>,
					       <&sdma 42 1 0>;
					dma-names = "rx", "tx";
368 369
					fsl,fifo-depth = <15>;
					status = "disabled";
S
Shawn Guo 已提交
370 371
				};

372
				ssi3: ssi@02030000 {
373
					#sound-dai-cells = <0>;
M
Markus Pargmann 已提交
374
					compatible = "fsl,imx6q-ssi",
375
							"fsl,imx51-ssi";
S
Shawn Guo 已提交
376
					reg = <0x02030000 0x4000>;
377
					interrupts = <0 48 IRQ_TYPE_LEVEL_HIGH>;
378 379 380
					clocks = <&clks IMX6QDL_CLK_SSI3_IPG>,
						 <&clks IMX6QDL_CLK_SSI3>;
					clock-names = "ipg", "baud";
381 382 383
					dmas = <&sdma 45 1 0>,
					       <&sdma 46 1 0>;
					dma-names = "rx", "tx";
384 385
					fsl,fifo-depth = <15>;
					status = "disabled";
S
Shawn Guo 已提交
386 387
				};

388
				asrc: asrc@02034000 {
389
					compatible = "fsl,imx53-asrc";
S
Shawn Guo 已提交
390
					reg = <0x02034000 0x4000>;
391
					interrupts = <0 50 IRQ_TYPE_LEVEL_HIGH>;
392 393 394 395 396 397 398 399 400 401 402
					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",
403
						"asrck_d", "asrck_e", "asrck_f", "spba";
404 405 406 407 408 409 410
					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 已提交
411 412 413 414 415 416 417
				};

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

418
			vpu: vpu@02040000 {
419
				compatible = "cnm,coda960";
S
Shawn Guo 已提交
420
				reg = <0x02040000 0x3c000>;
421 422
				interrupts = <0 12 IRQ_TYPE_LEVEL_HIGH>,
					     <0 3 IRQ_TYPE_LEVEL_HIGH>;
423 424
				interrupt-names = "bit", "jpeg";
				clocks = <&clks IMX6QDL_CLK_VPU_AXI>,
425 426
					 <&clks IMX6QDL_CLK_MMDC_CH0_AXI>;
				clock-names = "per", "ahb";
427
				power-domains = <&gpc 1>;
428 429
				resets = <&src 1>;
				iram = <&ocram>;
S
Shawn Guo 已提交
430 431 432 433 434 435
			};

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

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

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

458
			pwm3: pwm@02088000 {
S
Sascha Hauer 已提交
459 460
				#pwm-cells = <2>;
				compatible = "fsl,imx6q-pwm", "fsl,imx27-pwm";
S
Shawn Guo 已提交
461
				reg = <0x02088000 0x4000>;
462
				interrupts = <0 85 IRQ_TYPE_LEVEL_HIGH>;
463 464
				clocks = <&clks IMX6QDL_CLK_IPG>,
					 <&clks IMX6QDL_CLK_PWM3>;
S
Sascha Hauer 已提交
465
				clock-names = "ipg", "per";
466
				status = "disabled";
S
Shawn Guo 已提交
467 468
			};

469
			pwm4: pwm@0208c000 {
S
Sascha Hauer 已提交
470 471
				#pwm-cells = <2>;
				compatible = "fsl,imx6q-pwm", "fsl,imx27-pwm";
S
Shawn Guo 已提交
472
				reg = <0x0208c000 0x4000>;
473
				interrupts = <0 86 IRQ_TYPE_LEVEL_HIGH>;
474 475
				clocks = <&clks IMX6QDL_CLK_IPG>,
					 <&clks IMX6QDL_CLK_PWM4>;
S
Sascha Hauer 已提交
476
				clock-names = "ipg", "per";
477
				status = "disabled";
S
Shawn Guo 已提交
478 479
			};

480
			can1: flexcan@02090000 {
481
				compatible = "fsl,imx6q-flexcan";
S
Shawn Guo 已提交
482
				reg = <0x02090000 0x4000>;
483
				interrupts = <0 110 IRQ_TYPE_LEVEL_HIGH>;
484 485
				clocks = <&clks IMX6QDL_CLK_CAN1_IPG>,
					 <&clks IMX6QDL_CLK_CAN1_SERIAL>;
486
				clock-names = "ipg", "per";
487
				status = "disabled";
S
Shawn Guo 已提交
488 489
			};

490
			can2: flexcan@02094000 {
491
				compatible = "fsl,imx6q-flexcan";
S
Shawn Guo 已提交
492
				reg = <0x02094000 0x4000>;
493
				interrupts = <0 111 IRQ_TYPE_LEVEL_HIGH>;
494 495
				clocks = <&clks IMX6QDL_CLK_CAN2_IPG>,
					 <&clks IMX6QDL_CLK_CAN2_SERIAL>;
496
				clock-names = "ipg", "per";
497
				status = "disabled";
S
Shawn Guo 已提交
498 499
			};

500
			gpt: gpt@02098000 {
501
				compatible = "fsl,imx6q-gpt", "fsl,imx31-gpt";
S
Shawn Guo 已提交
502
				reg = <0x02098000 0x4000>;
503
				interrupts = <0 55 IRQ_TYPE_LEVEL_HIGH>;
504
				clocks = <&clks IMX6QDL_CLK_GPT_IPG>,
505 506 507
					 <&clks IMX6QDL_CLK_GPT_IPG_PER>,
					 <&clks IMX6QDL_CLK_GPT_3M>;
				clock-names = "ipg", "per", "osc_per";
S
Shawn Guo 已提交
508 509
			};

510
			gpio1: gpio@0209c000 {
511
				compatible = "fsl,imx6q-gpio", "fsl,imx35-gpio";
S
Shawn Guo 已提交
512
				reg = <0x0209c000 0x4000>;
513 514
				interrupts = <0 66 IRQ_TYPE_LEVEL_HIGH>,
					     <0 67 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
			gpio2: gpio@020a0000 {
522
				compatible = "fsl,imx6q-gpio", "fsl,imx35-gpio";
S
Shawn Guo 已提交
523
				reg = <0x020a0000 0x4000>;
524 525
				interrupts = <0 68 IRQ_TYPE_LEVEL_HIGH>,
					     <0 69 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
			gpio3: gpio@020a4000 {
533
				compatible = "fsl,imx6q-gpio", "fsl,imx35-gpio";
S
Shawn Guo 已提交
534
				reg = <0x020a4000 0x4000>;
535 536
				interrupts = <0 70 IRQ_TYPE_LEVEL_HIGH>,
					     <0 71 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
			gpio4: gpio@020a8000 {
544
				compatible = "fsl,imx6q-gpio", "fsl,imx35-gpio";
S
Shawn Guo 已提交
545
				reg = <0x020a8000 0x4000>;
546 547
				interrupts = <0 72 IRQ_TYPE_LEVEL_HIGH>,
					     <0 73 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
			gpio5: gpio@020ac000 {
555
				compatible = "fsl,imx6q-gpio", "fsl,imx35-gpio";
S
Shawn Guo 已提交
556
				reg = <0x020ac000 0x4000>;
557 558
				interrupts = <0 74 IRQ_TYPE_LEVEL_HIGH>,
					     <0 75 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
			gpio6: gpio@020b0000 {
566
				compatible = "fsl,imx6q-gpio", "fsl,imx35-gpio";
S
Shawn Guo 已提交
567
				reg = <0x020b0000 0x4000>;
568 569
				interrupts = <0 76 IRQ_TYPE_LEVEL_HIGH>,
					     <0 77 IRQ_TYPE_LEVEL_HIGH>;
S
Shawn Guo 已提交
570 571 572
				gpio-controller;
				#gpio-cells = <2>;
				interrupt-controller;
573
				#interrupt-cells = <2>;
S
Shawn Guo 已提交
574 575
			};

576
			gpio7: gpio@020b4000 {
577
				compatible = "fsl,imx6q-gpio", "fsl,imx35-gpio";
S
Shawn Guo 已提交
578
				reg = <0x020b4000 0x4000>;
579 580
				interrupts = <0 78 IRQ_TYPE_LEVEL_HIGH>,
					     <0 79 IRQ_TYPE_LEVEL_HIGH>;
S
Shawn Guo 已提交
581 582 583
				gpio-controller;
				#gpio-cells = <2>;
				interrupt-controller;
584
				#interrupt-cells = <2>;
S
Shawn Guo 已提交
585 586
			};

587
			kpp: kpp@020b8000 {
588
				compatible = "fsl,imx6q-kpp", "fsl,imx21-kpp";
S
Shawn Guo 已提交
589
				reg = <0x020b8000 0x4000>;
590
				interrupts = <0 82 IRQ_TYPE_LEVEL_HIGH>;
591
				clocks = <&clks IMX6QDL_CLK_IPG>;
592
				status = "disabled";
S
Shawn Guo 已提交
593 594
			};

595
			wdog1: wdog@020bc000 {
S
Shawn Guo 已提交
596 597
				compatible = "fsl,imx6q-wdt", "fsl,imx21-wdt";
				reg = <0x020bc000 0x4000>;
598
				interrupts = <0 80 IRQ_TYPE_LEVEL_HIGH>;
599
				clocks = <&clks IMX6QDL_CLK_DUMMY>;
S
Shawn Guo 已提交
600 601
			};

602
			wdog2: wdog@020c0000 {
S
Shawn Guo 已提交
603 604
				compatible = "fsl,imx6q-wdt", "fsl,imx21-wdt";
				reg = <0x020c0000 0x4000>;
605
				interrupts = <0 81 IRQ_TYPE_LEVEL_HIGH>;
606
				clocks = <&clks IMX6QDL_CLK_DUMMY>;
S
Shawn Guo 已提交
607 608 609
				status = "disabled";
			};

610
			clks: ccm@020c4000 {
S
Shawn Guo 已提交
611 612
				compatible = "fsl,imx6q-ccm";
				reg = <0x020c4000 0x4000>;
613 614
				interrupts = <0 87 IRQ_TYPE_LEVEL_HIGH>,
					     <0 88 IRQ_TYPE_LEVEL_HIGH>;
615
				#clock-cells = <1>;
S
Shawn Guo 已提交
616 617
			};

618 619
			anatop: anatop@020c8000 {
				compatible = "fsl,imx6q-anatop", "syscon", "simple-bus";
S
Shawn Guo 已提交
620
				reg = <0x020c8000 0x1000>;
621 622 623
				interrupts = <0 49 IRQ_TYPE_LEVEL_HIGH>,
					     <0 54 IRQ_TYPE_LEVEL_HIGH>,
					     <0 127 IRQ_TYPE_LEVEL_HIGH>;
624

625
				regulator-1p1 {
626 627 628 629 630 631 632 633 634 635 636 637 638
					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>;
				};

639
				regulator-3p0 {
640 641 642 643 644 645 646 647 648 649 650 651 652
					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>;
				};

653
				regulator-2p5 {
654 655 656 657 658 659 660 661 662 663 664 665 666
					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>;
				};

667
				reg_arm: regulator-vddcore {
668
					compatible = "fsl,anatop-regulator";
669
					regulator-name = "vddarm";
670 671 672 673 674 675
					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>;
676 677 678
					anatop-delay-reg-offset = <0x170>;
					anatop-delay-bit-shift = <24>;
					anatop-delay-bit-width = <2>;
679 680 681 682 683
					anatop-min-bit-val = <1>;
					anatop-min-voltage = <725000>;
					anatop-max-voltage = <1450000>;
				};

684
				reg_pu: regulator-vddpu {
685 686 687 688
					compatible = "fsl,anatop-regulator";
					regulator-name = "vddpu";
					regulator-min-microvolt = <725000>;
					regulator-max-microvolt = <1450000>;
689
					regulator-enable-ramp-delay = <150>;
690 691 692
					anatop-reg-offset = <0x140>;
					anatop-vol-bit-shift = <9>;
					anatop-vol-bit-width = <5>;
693 694 695
					anatop-delay-reg-offset = <0x170>;
					anatop-delay-bit-shift = <26>;
					anatop-delay-bit-width = <2>;
696 697 698 699 700
					anatop-min-bit-val = <1>;
					anatop-min-voltage = <725000>;
					anatop-max-voltage = <1450000>;
				};

701
				reg_soc: regulator-vddsoc {
702 703 704 705 706 707 708 709
					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>;
710 711 712
					anatop-delay-reg-offset = <0x170>;
					anatop-delay-bit-shift = <28>;
					anatop-delay-bit-width = <2>;
713 714 715 716
					anatop-min-bit-val = <1>;
					anatop-min-voltage = <725000>;
					anatop-max-voltage = <1450000>;
				};
S
Shawn Guo 已提交
717 718
			};

719 720
			tempmon: tempmon {
				compatible = "fsl,imx6q-tempmon";
721
				interrupts = <0 49 IRQ_TYPE_LEVEL_HIGH>;
722 723
				fsl,tempmon = <&anatop>;
				fsl,tempmon-data = <&ocotp>;
724
				clocks = <&clks IMX6QDL_CLK_PLL3_USB_OTG>;
725 726
			};

727 728
			usbphy1: usbphy@020c9000 {
				compatible = "fsl,imx6q-usbphy", "fsl,imx23-usbphy";
S
Shawn Guo 已提交
729
				reg = <0x020c9000 0x1000>;
730
				interrupts = <0 44 IRQ_TYPE_LEVEL_HIGH>;
731
				clocks = <&clks IMX6QDL_CLK_USBPHY1>;
732
				fsl,anatop = <&anatop>;
S
Shawn Guo 已提交
733 734
			};

735 736
			usbphy2: usbphy@020ca000 {
				compatible = "fsl,imx6q-usbphy", "fsl,imx23-usbphy";
S
Shawn Guo 已提交
737
				reg = <0x020ca000 0x1000>;
738
				interrupts = <0 45 IRQ_TYPE_LEVEL_HIGH>;
739
				clocks = <&clks IMX6QDL_CLK_USBPHY2>;
740
				fsl,anatop = <&anatop>;
S
Shawn Guo 已提交
741 742
			};

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

747
				snvs_rtc: snvs-rtc-lp {
S
Shawn Guo 已提交
748
					compatible = "fsl,sec-v4.0-mon-rtc-lp";
749 750
					regmap = <&snvs>;
					offset = <0x34>;
751 752
					interrupts = <0 19 IRQ_TYPE_LEVEL_HIGH>,
						     <0 20 IRQ_TYPE_LEVEL_HIGH>;
S
Shawn Guo 已提交
753
				};
754

755 756 757 758 759
				snvs_poweroff: snvs-poweroff {
					compatible = "syscon-poweroff";
					regmap = <&snvs>;
					offset = <0x38>;
					mask = <0x60>;
760 761
					status = "disabled";
				};
S
Shawn Guo 已提交
762 763
			};

764
			epit1: epit@020d0000 { /* EPIT1 */
S
Shawn Guo 已提交
765
				reg = <0x020d0000 0x4000>;
766
				interrupts = <0 56 IRQ_TYPE_LEVEL_HIGH>;
S
Shawn Guo 已提交
767 768
			};

769
			epit2: epit@020d4000 { /* EPIT2 */
S
Shawn Guo 已提交
770
				reg = <0x020d4000 0x4000>;
771
				interrupts = <0 57 IRQ_TYPE_LEVEL_HIGH>;
S
Shawn Guo 已提交
772 773
			};

774
			src: src@020d8000 {
775
				compatible = "fsl,imx6q-src", "fsl,imx51-src";
S
Shawn Guo 已提交
776
				reg = <0x020d8000 0x4000>;
777 778
				interrupts = <0 91 IRQ_TYPE_LEVEL_HIGH>,
					     <0 96 IRQ_TYPE_LEVEL_HIGH>;
779
				#reset-cells = <1>;
S
Shawn Guo 已提交
780 781
			};

782
			gpc: gpc@020dc000 {
S
Shawn Guo 已提交
783 784
				compatible = "fsl,imx6q-gpc";
				reg = <0x020dc000 0x4000>;
785 786
				interrupt-controller;
				#interrupt-cells = <3>;
787 788
				interrupts = <0 89 IRQ_TYPE_LEVEL_HIGH>,
					     <0 90 IRQ_TYPE_LEVEL_HIGH>;
789
				interrupt-parent = <&intc>;
790 791 792 793 794 795 796 797
				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 已提交
798 799
			};

800 801 802 803 804
			gpr: iomuxc-gpr@020e0000 {
				compatible = "fsl,imx6q-iomuxc-gpr", "syscon";
				reg = <0x020e0000 0x38>;
			};

805 806 807 808 809
			iomuxc: iomuxc@020e0000 {
				compatible = "fsl,imx6dl-iomuxc", "fsl,imx6q-iomuxc";
				reg = <0x020e0000 0x4000>;
			};

810 811 812 813 814 815 816 817
			ldb: ldb@020e0008 {
				#address-cells = <1>;
				#size-cells = <0>;
				compatible = "fsl,imx6q-ldb", "fsl,imx53-ldb";
				gpr = <&gpr>;
				status = "disabled";

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

					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>;
						};
					};
838 839 840
				};

				lvds-channel@1 {
841 842
					#address-cells = <1>;
					#size-cells = <0>;
843 844
					reg = <1>;
					status = "disabled";
845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860

					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>;
						};
					};
861 862 863
				};
			};

864
			dcic1: dcic@020e4000 {
S
Shawn Guo 已提交
865
				reg = <0x020e4000 0x4000>;
866
				interrupts = <0 124 IRQ_TYPE_LEVEL_HIGH>;
S
Shawn Guo 已提交
867 868
			};

869
			dcic2: dcic@020e8000 {
S
Shawn Guo 已提交
870
				reg = <0x020e8000 0x4000>;
871
				interrupts = <0 125 IRQ_TYPE_LEVEL_HIGH>;
S
Shawn Guo 已提交
872 873
			};

874
			sdma: sdma@020ec000 {
S
Shawn Guo 已提交
875 876
				compatible = "fsl,imx6q-sdma", "fsl,imx35-sdma";
				reg = <0x020ec000 0x4000>;
877
				interrupts = <0 2 IRQ_TYPE_LEVEL_HIGH>;
878 879
				clocks = <&clks IMX6QDL_CLK_SDMA>,
					 <&clks IMX6QDL_CLK_SDMA>;
880
				clock-names = "ipg", "ahb";
881
				#dma-cells = <3>;
882
				fsl,sdma-ram-script-name = "imx/sdma/sdma-imx6q.bin";
S
Shawn Guo 已提交
883 884 885 886 887 888 889 890 891 892
			};
		};

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

893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916
			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>;
				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 已提交
917 918 919 920 921 922
			};

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

923
			usbotg: usb@02184000 {
924 925
				compatible = "fsl,imx6q-usb", "fsl,imx27-usb";
				reg = <0x02184000 0x200>;
926
				interrupts = <0 43 IRQ_TYPE_LEVEL_HIGH>;
927
				clocks = <&clks IMX6QDL_CLK_USBOH3>;
928
				fsl,usbphy = <&usbphy1>;
929
				fsl,usbmisc = <&usbmisc 0>;
930
				ahb-burst-config = <0x0>;
931 932
				tx-burst-size-dword = <0x10>;
				rx-burst-size-dword = <0x10>;
933 934 935
				status = "disabled";
			};

936
			usbh1: usb@02184200 {
937 938
				compatible = "fsl,imx6q-usb", "fsl,imx27-usb";
				reg = <0x02184200 0x200>;
939
				interrupts = <0 40 IRQ_TYPE_LEVEL_HIGH>;
940
				clocks = <&clks IMX6QDL_CLK_USBOH3>;
941
				fsl,usbphy = <&usbphy2>;
942
				fsl,usbmisc = <&usbmisc 1>;
943
				dr_mode = "host";
944
				ahb-burst-config = <0x0>;
945 946
				tx-burst-size-dword = <0x10>;
				rx-burst-size-dword = <0x10>;
947 948 949
				status = "disabled";
			};

950
			usbh2: usb@02184400 {
951 952
				compatible = "fsl,imx6q-usb", "fsl,imx27-usb";
				reg = <0x02184400 0x200>;
953
				interrupts = <0 41 IRQ_TYPE_LEVEL_HIGH>;
954
				clocks = <&clks IMX6QDL_CLK_USBOH3>;
955
				fsl,usbmisc = <&usbmisc 2>;
956
				dr_mode = "host";
957
				ahb-burst-config = <0x0>;
958 959
				tx-burst-size-dword = <0x10>;
				rx-burst-size-dword = <0x10>;
960 961 962
				status = "disabled";
			};

963
			usbh3: usb@02184600 {
964 965
				compatible = "fsl,imx6q-usb", "fsl,imx27-usb";
				reg = <0x02184600 0x200>;
966
				interrupts = <0 42 IRQ_TYPE_LEVEL_HIGH>;
967
				clocks = <&clks IMX6QDL_CLK_USBOH3>;
968
				fsl,usbmisc = <&usbmisc 3>;
969
				dr_mode = "host";
970
				ahb-burst-config = <0x0>;
971 972
				tx-burst-size-dword = <0x10>;
				rx-burst-size-dword = <0x10>;
973 974 975
				status = "disabled";
			};

976
			usbmisc: usbmisc@02184800 {
977 978 979
				#index-cells = <1>;
				compatible = "fsl,imx6q-usbmisc";
				reg = <0x02184800 0x200>;
980
				clocks = <&clks IMX6QDL_CLK_USBOH3>;
981 982
			};

983
			fec: ethernet@02188000 {
S
Shawn Guo 已提交
984 985
				compatible = "fsl,imx6q-fec";
				reg = <0x02188000 0x4000>;
986 987 988
				interrupts-extended =
					<&intc 0 118 IRQ_TYPE_LEVEL_HIGH>,
					<&intc 0 119 IRQ_TYPE_LEVEL_HIGH>;
989 990 991
				clocks = <&clks IMX6QDL_CLK_ENET>,
					 <&clks IMX6QDL_CLK_ENET>,
					 <&clks IMX6QDL_CLK_ENET_REF>;
992
				clock-names = "ipg", "ahb", "ptp";
S
Shawn Guo 已提交
993 994 995 996 997
				status = "disabled";
			};

			mlb@0218c000 {
				reg = <0x0218c000 0x4000>;
998 999 1000
				interrupts = <0 53 IRQ_TYPE_LEVEL_HIGH>,
					     <0 117 IRQ_TYPE_LEVEL_HIGH>,
					     <0 126 IRQ_TYPE_LEVEL_HIGH>;
S
Shawn Guo 已提交
1001 1002
			};

1003
			usdhc1: usdhc@02190000 {
S
Shawn Guo 已提交
1004 1005
				compatible = "fsl,imx6q-usdhc";
				reg = <0x02190000 0x4000>;
1006
				interrupts = <0 22 IRQ_TYPE_LEVEL_HIGH>;
1007 1008 1009
				clocks = <&clks IMX6QDL_CLK_USDHC1>,
					 <&clks IMX6QDL_CLK_USDHC1>,
					 <&clks IMX6QDL_CLK_USDHC1>;
1010
				clock-names = "ipg", "ahb", "per";
1011
				bus-width = <4>;
S
Shawn Guo 已提交
1012 1013 1014
				status = "disabled";
			};

1015
			usdhc2: usdhc@02194000 {
S
Shawn Guo 已提交
1016 1017
				compatible = "fsl,imx6q-usdhc";
				reg = <0x02194000 0x4000>;
1018
				interrupts = <0 23 IRQ_TYPE_LEVEL_HIGH>;
1019 1020 1021
				clocks = <&clks IMX6QDL_CLK_USDHC2>,
					 <&clks IMX6QDL_CLK_USDHC2>,
					 <&clks IMX6QDL_CLK_USDHC2>;
1022
				clock-names = "ipg", "ahb", "per";
1023
				bus-width = <4>;
S
Shawn Guo 已提交
1024 1025 1026
				status = "disabled";
			};

1027
			usdhc3: usdhc@02198000 {
S
Shawn Guo 已提交
1028 1029
				compatible = "fsl,imx6q-usdhc";
				reg = <0x02198000 0x4000>;
1030
				interrupts = <0 24 IRQ_TYPE_LEVEL_HIGH>;
1031 1032 1033
				clocks = <&clks IMX6QDL_CLK_USDHC3>,
					 <&clks IMX6QDL_CLK_USDHC3>,
					 <&clks IMX6QDL_CLK_USDHC3>;
1034
				clock-names = "ipg", "ahb", "per";
1035
				bus-width = <4>;
S
Shawn Guo 已提交
1036 1037 1038
				status = "disabled";
			};

1039
			usdhc4: usdhc@0219c000 {
S
Shawn Guo 已提交
1040 1041
				compatible = "fsl,imx6q-usdhc";
				reg = <0x0219c000 0x4000>;
1042
				interrupts = <0 25 IRQ_TYPE_LEVEL_HIGH>;
1043 1044 1045
				clocks = <&clks IMX6QDL_CLK_USDHC4>,
					 <&clks IMX6QDL_CLK_USDHC4>,
					 <&clks IMX6QDL_CLK_USDHC4>;
1046
				clock-names = "ipg", "ahb", "per";
1047
				bus-width = <4>;
S
Shawn Guo 已提交
1048 1049 1050
				status = "disabled";
			};

1051
			i2c1: i2c@021a0000 {
S
Shawn Guo 已提交
1052 1053
				#address-cells = <1>;
				#size-cells = <0>;
1054
				compatible = "fsl,imx6q-i2c", "fsl,imx21-i2c";
S
Shawn Guo 已提交
1055
				reg = <0x021a0000 0x4000>;
1056
				interrupts = <0 36 IRQ_TYPE_LEVEL_HIGH>;
1057
				clocks = <&clks IMX6QDL_CLK_I2C1>;
S
Shawn Guo 已提交
1058 1059 1060
				status = "disabled";
			};

1061
			i2c2: i2c@021a4000 {
S
Shawn Guo 已提交
1062 1063
				#address-cells = <1>;
				#size-cells = <0>;
1064
				compatible = "fsl,imx6q-i2c", "fsl,imx21-i2c";
S
Shawn Guo 已提交
1065
				reg = <0x021a4000 0x4000>;
1066
				interrupts = <0 37 IRQ_TYPE_LEVEL_HIGH>;
1067
				clocks = <&clks IMX6QDL_CLK_I2C2>;
S
Shawn Guo 已提交
1068 1069 1070
				status = "disabled";
			};

1071
			i2c3: i2c@021a8000 {
S
Shawn Guo 已提交
1072 1073
				#address-cells = <1>;
				#size-cells = <0>;
1074
				compatible = "fsl,imx6q-i2c", "fsl,imx21-i2c";
S
Shawn Guo 已提交
1075
				reg = <0x021a8000 0x4000>;
1076
				interrupts = <0 38 IRQ_TYPE_LEVEL_HIGH>;
1077
				clocks = <&clks IMX6QDL_CLK_I2C3>;
S
Shawn Guo 已提交
1078 1079 1080 1081 1082 1083 1084
				status = "disabled";
			};

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

1085
			mmdc0: mmdc@021b0000 { /* MMDC0 */
S
Shawn Guo 已提交
1086 1087 1088 1089
				compatible = "fsl,imx6q-mmdc";
				reg = <0x021b0000 0x4000>;
			};

1090
			mmdc1: mmdc@021b4000 { /* MMDC1 */
S
Shawn Guo 已提交
1091 1092 1093
				reg = <0x021b4000 0x4000>;
			};

1094
			weim: weim@021b8000 {
1095 1096
				#address-cells = <2>;
				#size-cells = <1>;
1097
				compatible = "fsl,imx6q-weim";
S
Shawn Guo 已提交
1098
				reg = <0x021b8000 0x4000>;
1099
				interrupts = <0 14 IRQ_TYPE_LEVEL_HIGH>;
1100
				clocks = <&clks IMX6QDL_CLK_EIM_SLOW>;
1101
				fsl,weim-cs-gpr = <&gpr>;
S
Shawn Guo 已提交
1102 1103
			};

1104 1105
			ocotp: ocotp@021bc000 {
				compatible = "fsl,imx6q-ocotp", "syscon";
S
Shawn Guo 已提交
1106
				reg = <0x021bc000 0x4000>;
1107
				clocks = <&clks IMX6QDL_CLK_IIM>;
S
Shawn Guo 已提交
1108 1109 1110 1111
			};

			tzasc@021d0000 { /* TZASC1 */
				reg = <0x021d0000 0x4000>;
1112
				interrupts = <0 108 IRQ_TYPE_LEVEL_HIGH>;
S
Shawn Guo 已提交
1113 1114 1115 1116
			};

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

1120
			audmux: audmux@021d8000 {
1121
				compatible = "fsl,imx6q-audmux", "fsl,imx31-audmux";
S
Shawn Guo 已提交
1122
				reg = <0x021d8000 0x4000>;
1123
				status = "disabled";
S
Shawn Guo 已提交
1124 1125
			};

1126
			mipi_csi: mipi@021dc000 {
S
Shawn Guo 已提交
1127 1128 1129
				reg = <0x021dc000 0x4000>;
			};

1130 1131 1132
			mipi_dsi: mipi@021e0000 {
				#address-cells = <1>;
				#size-cells = <0>;
S
Shawn Guo 已提交
1133
				reg = <0x021e0000 0x4000>;
1134 1135
				status = "disabled";

1136 1137 1138 1139 1140 1141
				ports {
					#address-cells = <1>;
					#size-cells = <0>;

					port@0 {
						reg = <0>;
1142

1143 1144 1145
						mipi_mux_0: endpoint {
							remote-endpoint = <&ipu1_di0_mipi>;
						};
1146 1147
					};

1148 1149
					port@1 {
						reg = <1>;
1150

1151 1152 1153
						mipi_mux_1: endpoint {
							remote-endpoint = <&ipu1_di1_mipi>;
						};
1154 1155
					};
				};
S
Shawn Guo 已提交
1156 1157 1158 1159
			};

			vdoa@021e4000 {
				reg = <0x021e4000 0x4000>;
1160
				interrupts = <0 18 IRQ_TYPE_LEVEL_HIGH>;
S
Shawn Guo 已提交
1161 1162
			};

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

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

1187
			uart4: serial@021f0000 {
S
Shawn Guo 已提交
1188 1189
				compatible = "fsl,imx6q-uart", "fsl,imx21-uart";
				reg = <0x021f0000 0x4000>;
1190
				interrupts = <0 29 IRQ_TYPE_LEVEL_HIGH>;
1191 1192
				clocks = <&clks IMX6QDL_CLK_UART_IPG>,
					 <&clks IMX6QDL_CLK_UART_SERIAL>;
1193
				clock-names = "ipg", "per";
1194 1195
				dmas = <&sdma 31 4 0>, <&sdma 32 4 0>;
				dma-names = "rx", "tx";
S
Shawn Guo 已提交
1196 1197 1198
				status = "disabled";
			};

1199
			uart5: serial@021f4000 {
S
Shawn Guo 已提交
1200 1201
				compatible = "fsl,imx6q-uart", "fsl,imx21-uart";
				reg = <0x021f4000 0x4000>;
1202
				interrupts = <0 30 IRQ_TYPE_LEVEL_HIGH>;
1203 1204
				clocks = <&clks IMX6QDL_CLK_UART_IPG>,
					 <&clks IMX6QDL_CLK_UART_SERIAL>;
1205
				clock-names = "ipg", "per";
1206 1207
				dmas = <&sdma 33 4 0>, <&sdma 34 4 0>;
				dma-names = "rx", "tx";
S
Shawn Guo 已提交
1208 1209 1210
				status = "disabled";
			};
		};
S
Sascha Hauer 已提交
1211 1212

		ipu1: ipu@02400000 {
1213 1214
			#address-cells = <1>;
			#size-cells = <0>;
S
Sascha Hauer 已提交
1215 1216
			compatible = "fsl,imx6q-ipu";
			reg = <0x02400000 0x400000>;
1217 1218
			interrupts = <0 6 IRQ_TYPE_LEVEL_HIGH>,
				     <0 5 IRQ_TYPE_LEVEL_HIGH>;
1219 1220 1221
			clocks = <&clks IMX6QDL_CLK_IPU1>,
				 <&clks IMX6QDL_CLK_IPU1_DI0>,
				 <&clks IMX6QDL_CLK_IPU1_DI1>;
S
Sascha Hauer 已提交
1222
			clock-names = "bus", "di0", "di1";
1223
			resets = <&src 2>;
1224

1225 1226 1227 1228 1229 1230 1231 1232
			ipu1_csi0: port@0 {
				reg = <0>;
			};

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

1233 1234 1235 1236 1237
			ipu1_di0: port@2 {
				#address-cells = <1>;
				#size-cells = <0>;
				reg = <2>;

1238
				ipu1_di0_disp0: disp0-endpoint {
1239 1240
				};

1241
				ipu1_di0_hdmi: hdmi-endpoint {
1242 1243 1244
					remote-endpoint = <&hdmi_mux_0>;
				};

1245
				ipu1_di0_mipi: mipi-endpoint {
1246 1247 1248
					remote-endpoint = <&mipi_mux_0>;
				};

1249
				ipu1_di0_lvds0: lvds0-endpoint {
1250 1251 1252
					remote-endpoint = <&lvds0_mux_0>;
				};

1253
				ipu1_di0_lvds1: lvds1-endpoint {
1254 1255 1256 1257 1258 1259 1260 1261 1262
					remote-endpoint = <&lvds1_mux_0>;
				};
			};

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

1263
				ipu1_di1_disp1: disp1-endpoint {
1264 1265
				};

1266
				ipu1_di1_hdmi: hdmi-endpoint {
1267 1268 1269
					remote-endpoint = <&hdmi_mux_1>;
				};

1270
				ipu1_di1_mipi: mipi-endpoint {
1271 1272 1273
					remote-endpoint = <&mipi_mux_1>;
				};

1274
				ipu1_di1_lvds0: lvds0-endpoint {
1275 1276 1277
					remote-endpoint = <&lvds0_mux_1>;
				};

1278
				ipu1_di1_lvds1: lvds1-endpoint {
1279 1280 1281
					remote-endpoint = <&lvds1_mux_1>;
				};
			};
S
Sascha Hauer 已提交
1282
		};
S
Shawn Guo 已提交
1283 1284
	};
};