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

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

S
Shawn Guo 已提交
16
/ {
17 18
	#address-cells = <1>;
	#size-cells = <1>;
19 20 21 22 23 24 25 26
	/*
	 * The decompressor and also some bootloaders rely on a
	 * pre-existing /chosen node to be available to insert the
	 * command line and merge other ATAGS info.
	 * Also for U-Boot there must be a pre-existing /memory node.
	 */
	chosen {};
	memory { device_type = "memory"; reg = <0 0>; };
27

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

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

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

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

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

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

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

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

123
		hdmi: hdmi@120000 {
124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150
			#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>;
				};
			};
		};

151
		gpu_3d: gpu@130000 {
152 153 154 155 156 157 158
			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";
159
			power-domains = <&pd_pu>;
160 161
		};

162
		gpu_2d: gpu@134000 {
163 164 165 166 167 168
			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";
169
			power-domains = <&pd_pu>;
170 171
		};

172
		timer@a00600 {
173 174 175
			compatible = "arm,cortex-a9-twd-timer";
			reg = <0x00a00600 0x20>;
			interrupts = <1 13 0xf01>;
176
			interrupt-parent = <&intc>;
177
			clocks = <&clks IMX6QDL_CLK_TWD>;
S
Shawn Guo 已提交
178 179
		};

180
		intc: interrupt-controller@a01000 {
181 182 183 184 185 186 187 188
			compatible = "arm,cortex-a9-gic";
			#interrupt-cells = <3>;
			interrupt-controller;
			reg = <0x00a01000 0x1000>,
			      <0x00a00100 0x100>;
			interrupt-parent = <&intc>;
		};

189
		L2: l2-cache@a02000 {
S
Shawn Guo 已提交
190 191
			compatible = "arm,pl310-cache";
			reg = <0x00a02000 0x1000>;
192
			interrupts = <0 92 IRQ_TYPE_LEVEL_HIGH>;
S
Shawn Guo 已提交
193 194
			cache-unified;
			cache-level = <2>;
195 196
			arm,tag-latency = <4 2 3>;
			arm,data-latency = <4 2 3>;
197
			arm,shared-override;
S
Shawn Guo 已提交
198 199
		};

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

D
Dirk Behme 已提交
227 228
		pmu {
			compatible = "arm,cortex-a9-pmu";
229
			interrupts = <0 94 IRQ_TYPE_LEVEL_HIGH>;
D
Dirk Behme 已提交
230 231
		};

232
		aips-bus@2000000 { /* AIPS1 */
S
Shawn Guo 已提交
233 234 235 236 237 238
			compatible = "fsl,aips-bus", "simple-bus";
			#address-cells = <1>;
			#size-cells = <1>;
			reg = <0x02000000 0x100000>;
			ranges;

239
			spba-bus@2000000 {
S
Shawn Guo 已提交
240 241 242 243 244 245
				compatible = "fsl,spba-bus", "simple-bus";
				#address-cells = <1>;
				#size-cells = <1>;
				reg = <0x02000000 0x40000>;
				ranges;

246
				spdif: spdif@2004000 {
247
					compatible = "fsl,imx35-spdif";
S
Shawn Guo 已提交
248
					reg = <0x02004000 0x4000>;
249
					interrupts = <0 52 IRQ_TYPE_LEVEL_HIGH>;
250 251 252
					dmas = <&sdma 14 18 0>,
					       <&sdma 15 18 0>;
					dma-names = "rx", "tx";
253 254 255
					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>,
256
						 <&clks IMX6QDL_CLK_IPG>, <&clks IMX6QDL_CLK_DUMMY>,
257
						 <&clks IMX6QDL_CLK_DUMMY>, <&clks IMX6QDL_CLK_SPBA>;
258 259 260 261
					clock-names = "core",  "rxtx0",
						      "rxtx1", "rxtx2",
						      "rxtx3", "rxtx4",
						      "rxtx5", "rxtx6",
262
						      "rxtx7", "spba";
263
					status = "disabled";
S
Shawn Guo 已提交
264 265
				};

266
				ecspi1: ecspi@2008000 {
S
Shawn Guo 已提交
267 268 269 270
					#address-cells = <1>;
					#size-cells = <0>;
					compatible = "fsl,imx6q-ecspi", "fsl,imx51-ecspi";
					reg = <0x02008000 0x4000>;
271
					interrupts = <0 31 IRQ_TYPE_LEVEL_HIGH>;
272 273
					clocks = <&clks IMX6QDL_CLK_ECSPI1>,
						 <&clks IMX6QDL_CLK_ECSPI1>;
274
					clock-names = "ipg", "per";
275
					dmas = <&sdma 3 8 1>, <&sdma 4 8 2>;
F
Frank Li 已提交
276
					dma-names = "rx", "tx";
S
Shawn Guo 已提交
277 278 279
					status = "disabled";
				};

280
				ecspi2: ecspi@200c000 {
S
Shawn Guo 已提交
281 282 283 284
					#address-cells = <1>;
					#size-cells = <0>;
					compatible = "fsl,imx6q-ecspi", "fsl,imx51-ecspi";
					reg = <0x0200c000 0x4000>;
285
					interrupts = <0 32 IRQ_TYPE_LEVEL_HIGH>;
286 287
					clocks = <&clks IMX6QDL_CLK_ECSPI2>,
						 <&clks IMX6QDL_CLK_ECSPI2>;
288
					clock-names = "ipg", "per";
289
					dmas = <&sdma 5 8 1>, <&sdma 6 8 2>;
F
Frank Li 已提交
290
					dma-names = "rx", "tx";
S
Shawn Guo 已提交
291 292 293
					status = "disabled";
				};

294
				ecspi3: ecspi@2010000 {
S
Shawn Guo 已提交
295 296 297 298
					#address-cells = <1>;
					#size-cells = <0>;
					compatible = "fsl,imx6q-ecspi", "fsl,imx51-ecspi";
					reg = <0x02010000 0x4000>;
299
					interrupts = <0 33 IRQ_TYPE_LEVEL_HIGH>;
300 301
					clocks = <&clks IMX6QDL_CLK_ECSPI3>,
						 <&clks IMX6QDL_CLK_ECSPI3>;
302
					clock-names = "ipg", "per";
303
					dmas = <&sdma 7 8 1>, <&sdma 8 8 2>;
F
Frank Li 已提交
304
					dma-names = "rx", "tx";
S
Shawn Guo 已提交
305 306 307
					status = "disabled";
				};

308
				ecspi4: ecspi@2014000 {
S
Shawn Guo 已提交
309 310 311 312
					#address-cells = <1>;
					#size-cells = <0>;
					compatible = "fsl,imx6q-ecspi", "fsl,imx51-ecspi";
					reg = <0x02014000 0x4000>;
313
					interrupts = <0 34 IRQ_TYPE_LEVEL_HIGH>;
314 315
					clocks = <&clks IMX6QDL_CLK_ECSPI4>,
						 <&clks IMX6QDL_CLK_ECSPI4>;
316
					clock-names = "ipg", "per";
317
					dmas = <&sdma 9 8 1>, <&sdma 10 8 2>;
F
Frank Li 已提交
318
					dma-names = "rx", "tx";
S
Shawn Guo 已提交
319 320 321
					status = "disabled";
				};

322
				uart1: serial@2020000 {
S
Shawn Guo 已提交
323 324
					compatible = "fsl,imx6q-uart", "fsl,imx21-uart";
					reg = <0x02020000 0x4000>;
325
					interrupts = <0 26 IRQ_TYPE_LEVEL_HIGH>;
326 327
					clocks = <&clks IMX6QDL_CLK_UART_IPG>,
						 <&clks IMX6QDL_CLK_UART_SERIAL>;
328
					clock-names = "ipg", "per";
329 330
					dmas = <&sdma 25 4 0>, <&sdma 26 4 0>;
					dma-names = "rx", "tx";
S
Shawn Guo 已提交
331 332 333
					status = "disabled";
				};

334
				esai: esai@2024000 {
335 336
					#sound-dai-cells = <0>;
					compatible = "fsl,imx35-esai";
S
Shawn Guo 已提交
337
					reg = <0x02024000 0x4000>;
338
					interrupts = <0 51 IRQ_TYPE_LEVEL_HIGH>;
339 340 341 342 343
					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>;
344
					clock-names = "core", "mem", "extal", "fsys", "spba";
345 346 347
					dmas = <&sdma 23 21 0>, <&sdma 24 21 0>;
					dma-names = "rx", "tx";
					status = "disabled";
S
Shawn Guo 已提交
348 349
				};

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

366
				ssi2: ssi@202c000 {
367
					#sound-dai-cells = <0>;
M
Markus Pargmann 已提交
368
					compatible = "fsl,imx6q-ssi",
369
							"fsl,imx51-ssi";
S
Shawn Guo 已提交
370
					reg = <0x0202c000 0x4000>;
371
					interrupts = <0 47 IRQ_TYPE_LEVEL_HIGH>;
372 373 374
					clocks = <&clks IMX6QDL_CLK_SSI2_IPG>,
						 <&clks IMX6QDL_CLK_SSI2>;
					clock-names = "ipg", "baud";
375 376 377
					dmas = <&sdma 41 1 0>,
					       <&sdma 42 1 0>;
					dma-names = "rx", "tx";
378 379
					fsl,fifo-depth = <15>;
					status = "disabled";
S
Shawn Guo 已提交
380 381
				};

382
				ssi3: ssi@2030000 {
383
					#sound-dai-cells = <0>;
M
Markus Pargmann 已提交
384
					compatible = "fsl,imx6q-ssi",
385
							"fsl,imx51-ssi";
S
Shawn Guo 已提交
386
					reg = <0x02030000 0x4000>;
387
					interrupts = <0 48 IRQ_TYPE_LEVEL_HIGH>;
388 389 390
					clocks = <&clks IMX6QDL_CLK_SSI3_IPG>,
						 <&clks IMX6QDL_CLK_SSI3>;
					clock-names = "ipg", "baud";
391 392 393
					dmas = <&sdma 45 1 0>,
					       <&sdma 46 1 0>;
					dma-names = "rx", "tx";
394 395
					fsl,fifo-depth = <15>;
					status = "disabled";
S
Shawn Guo 已提交
396 397
				};

398
				asrc: asrc@2034000 {
399
					compatible = "fsl,imx53-asrc";
S
Shawn Guo 已提交
400
					reg = <0x02034000 0x4000>;
401
					interrupts = <0 50 IRQ_TYPE_LEVEL_HIGH>;
402 403 404 405 406 407 408 409 410 411 412
					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",
413
						"asrck_d", "asrck_e", "asrck_f", "spba";
414 415 416 417 418 419 420
					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 已提交
421 422
				};

423
				spba@203c000 {
S
Shawn Guo 已提交
424 425 426 427
					reg = <0x0203c000 0x4000>;
				};
			};

428
			vpu: vpu@2040000 {
429
				compatible = "cnm,coda960";
S
Shawn Guo 已提交
430
				reg = <0x02040000 0x3c000>;
431 432
				interrupts = <0 12 IRQ_TYPE_LEVEL_HIGH>,
					     <0 3 IRQ_TYPE_LEVEL_HIGH>;
433 434
				interrupt-names = "bit", "jpeg";
				clocks = <&clks IMX6QDL_CLK_VPU_AXI>,
435 436
					 <&clks IMX6QDL_CLK_MMDC_CH0_AXI>;
				clock-names = "per", "ahb";
437
				power-domains = <&pd_pu>;
438 439
				resets = <&src 1>;
				iram = <&ocram>;
S
Shawn Guo 已提交
440 441
			};

442
			aipstz@207c000 { /* AIPSTZ1 */
S
Shawn Guo 已提交
443 444 445
				reg = <0x0207c000 0x4000>;
			};

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

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

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

479
			pwm4: pwm@208c000 {
S
Sascha Hauer 已提交
480 481
				#pwm-cells = <2>;
				compatible = "fsl,imx6q-pwm", "fsl,imx27-pwm";
S
Shawn Guo 已提交
482
				reg = <0x0208c000 0x4000>;
483
				interrupts = <0 86 IRQ_TYPE_LEVEL_HIGH>;
484 485
				clocks = <&clks IMX6QDL_CLK_IPG>,
					 <&clks IMX6QDL_CLK_PWM4>;
S
Sascha Hauer 已提交
486
				clock-names = "ipg", "per";
487
				status = "disabled";
S
Shawn Guo 已提交
488 489
			};

490
			can1: flexcan@2090000 {
491
				compatible = "fsl,imx6q-flexcan";
S
Shawn Guo 已提交
492
				reg = <0x02090000 0x4000>;
493
				interrupts = <0 110 IRQ_TYPE_LEVEL_HIGH>;
494 495
				clocks = <&clks IMX6QDL_CLK_CAN1_IPG>,
					 <&clks IMX6QDL_CLK_CAN1_SERIAL>;
496
				clock-names = "ipg", "per";
497
				status = "disabled";
S
Shawn Guo 已提交
498 499
			};

500
			can2: flexcan@2094000 {
501
				compatible = "fsl,imx6q-flexcan";
S
Shawn Guo 已提交
502
				reg = <0x02094000 0x4000>;
503
				interrupts = <0 111 IRQ_TYPE_LEVEL_HIGH>;
504 505
				clocks = <&clks IMX6QDL_CLK_CAN2_IPG>,
					 <&clks IMX6QDL_CLK_CAN2_SERIAL>;
506
				clock-names = "ipg", "per";
507
				status = "disabled";
S
Shawn Guo 已提交
508 509
			};

510
			gpt: gpt@2098000 {
511
				compatible = "fsl,imx6q-gpt", "fsl,imx31-gpt";
S
Shawn Guo 已提交
512
				reg = <0x02098000 0x4000>;
513
				interrupts = <0 55 IRQ_TYPE_LEVEL_HIGH>;
514
				clocks = <&clks IMX6QDL_CLK_GPT_IPG>,
515 516 517
					 <&clks IMX6QDL_CLK_GPT_IPG_PER>,
					 <&clks IMX6QDL_CLK_GPT_3M>;
				clock-names = "ipg", "per", "osc_per";
S
Shawn Guo 已提交
518 519
			};

520
			gpio1: gpio@209c000 {
521
				compatible = "fsl,imx6q-gpio", "fsl,imx35-gpio";
S
Shawn Guo 已提交
522
				reg = <0x0209c000 0x4000>;
523 524
				interrupts = <0 66 IRQ_TYPE_LEVEL_HIGH>,
					     <0 67 IRQ_TYPE_LEVEL_HIGH>;
S
Shawn Guo 已提交
525 526 527
				gpio-controller;
				#gpio-cells = <2>;
				interrupt-controller;
528
				#interrupt-cells = <2>;
S
Shawn Guo 已提交
529 530
			};

531
			gpio2: gpio@20a0000 {
532
				compatible = "fsl,imx6q-gpio", "fsl,imx35-gpio";
S
Shawn Guo 已提交
533
				reg = <0x020a0000 0x4000>;
534 535
				interrupts = <0 68 IRQ_TYPE_LEVEL_HIGH>,
					     <0 69 IRQ_TYPE_LEVEL_HIGH>;
S
Shawn Guo 已提交
536 537 538
				gpio-controller;
				#gpio-cells = <2>;
				interrupt-controller;
539
				#interrupt-cells = <2>;
S
Shawn Guo 已提交
540 541
			};

542
			gpio3: gpio@20a4000 {
543
				compatible = "fsl,imx6q-gpio", "fsl,imx35-gpio";
S
Shawn Guo 已提交
544
				reg = <0x020a4000 0x4000>;
545 546
				interrupts = <0 70 IRQ_TYPE_LEVEL_HIGH>,
					     <0 71 IRQ_TYPE_LEVEL_HIGH>;
S
Shawn Guo 已提交
547 548 549
				gpio-controller;
				#gpio-cells = <2>;
				interrupt-controller;
550
				#interrupt-cells = <2>;
S
Shawn Guo 已提交
551 552
			};

553
			gpio4: gpio@20a8000 {
554
				compatible = "fsl,imx6q-gpio", "fsl,imx35-gpio";
S
Shawn Guo 已提交
555
				reg = <0x020a8000 0x4000>;
556 557
				interrupts = <0 72 IRQ_TYPE_LEVEL_HIGH>,
					     <0 73 IRQ_TYPE_LEVEL_HIGH>;
S
Shawn Guo 已提交
558 559 560
				gpio-controller;
				#gpio-cells = <2>;
				interrupt-controller;
561
				#interrupt-cells = <2>;
S
Shawn Guo 已提交
562 563
			};

564
			gpio5: gpio@20ac000 {
565
				compatible = "fsl,imx6q-gpio", "fsl,imx35-gpio";
S
Shawn Guo 已提交
566
				reg = <0x020ac000 0x4000>;
567 568
				interrupts = <0 74 IRQ_TYPE_LEVEL_HIGH>,
					     <0 75 IRQ_TYPE_LEVEL_HIGH>;
S
Shawn Guo 已提交
569 570 571
				gpio-controller;
				#gpio-cells = <2>;
				interrupt-controller;
572
				#interrupt-cells = <2>;
S
Shawn Guo 已提交
573 574
			};

575
			gpio6: gpio@20b0000 {
576
				compatible = "fsl,imx6q-gpio", "fsl,imx35-gpio";
S
Shawn Guo 已提交
577
				reg = <0x020b0000 0x4000>;
578 579
				interrupts = <0 76 IRQ_TYPE_LEVEL_HIGH>,
					     <0 77 IRQ_TYPE_LEVEL_HIGH>;
S
Shawn Guo 已提交
580 581 582
				gpio-controller;
				#gpio-cells = <2>;
				interrupt-controller;
583
				#interrupt-cells = <2>;
S
Shawn Guo 已提交
584 585
			};

586
			gpio7: gpio@20b4000 {
587
				compatible = "fsl,imx6q-gpio", "fsl,imx35-gpio";
S
Shawn Guo 已提交
588
				reg = <0x020b4000 0x4000>;
589 590
				interrupts = <0 78 IRQ_TYPE_LEVEL_HIGH>,
					     <0 79 IRQ_TYPE_LEVEL_HIGH>;
S
Shawn Guo 已提交
591 592 593
				gpio-controller;
				#gpio-cells = <2>;
				interrupt-controller;
594
				#interrupt-cells = <2>;
S
Shawn Guo 已提交
595 596
			};

597
			kpp: kpp@20b8000 {
598
				compatible = "fsl,imx6q-kpp", "fsl,imx21-kpp";
S
Shawn Guo 已提交
599
				reg = <0x020b8000 0x4000>;
600
				interrupts = <0 82 IRQ_TYPE_LEVEL_HIGH>;
601
				clocks = <&clks IMX6QDL_CLK_IPG>;
602
				status = "disabled";
S
Shawn Guo 已提交
603 604
			};

605
			wdog1: wdog@20bc000 {
S
Shawn Guo 已提交
606 607
				compatible = "fsl,imx6q-wdt", "fsl,imx21-wdt";
				reg = <0x020bc000 0x4000>;
608
				interrupts = <0 80 IRQ_TYPE_LEVEL_HIGH>;
609
				clocks = <&clks IMX6QDL_CLK_DUMMY>;
S
Shawn Guo 已提交
610 611
			};

612
			wdog2: wdog@20c0000 {
S
Shawn Guo 已提交
613 614
				compatible = "fsl,imx6q-wdt", "fsl,imx21-wdt";
				reg = <0x020c0000 0x4000>;
615
				interrupts = <0 81 IRQ_TYPE_LEVEL_HIGH>;
616
				clocks = <&clks IMX6QDL_CLK_DUMMY>;
S
Shawn Guo 已提交
617 618 619
				status = "disabled";
			};

620
			clks: ccm@20c4000 {
S
Shawn Guo 已提交
621 622
				compatible = "fsl,imx6q-ccm";
				reg = <0x020c4000 0x4000>;
623 624
				interrupts = <0 87 IRQ_TYPE_LEVEL_HIGH>,
					     <0 88 IRQ_TYPE_LEVEL_HIGH>;
625
				#clock-cells = <1>;
S
Shawn Guo 已提交
626 627
			};

628
			anatop: anatop@20c8000 {
629
				compatible = "fsl,imx6q-anatop", "syscon", "simple-bus";
S
Shawn Guo 已提交
630
				reg = <0x020c8000 0x1000>;
631 632 633
				interrupts = <0 49 IRQ_TYPE_LEVEL_HIGH>,
					     <0 54 IRQ_TYPE_LEVEL_HIGH>,
					     <0 127 IRQ_TYPE_LEVEL_HIGH>;
634

635
				regulator-1p1 {
636 637
					compatible = "fsl,anatop-regulator";
					regulator-name = "vdd1p1";
638 639
					regulator-min-microvolt = <1000000>;
					regulator-max-microvolt = <1200000>;
640 641 642 643 644 645 646
					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>;
647
					anatop-enable-bit = <0>;
648 649
				};

650
				regulator-3p0 {
651 652 653 654 655 656 657 658 659 660 661
					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>;
662
					anatop-enable-bit = <0>;
663 664
				};

665
				regulator-2p5 {
666 667
					compatible = "fsl,anatop-regulator";
					regulator-name = "vdd2p5";
668
					regulator-min-microvolt = <2250000>;
669 670 671 672 673 674
					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>;
675 676
					anatop-min-voltage = <2100000>;
					anatop-max-voltage = <2875000>;
677
					anatop-enable-bit = <0>;
678 679
				};

680
				reg_arm: regulator-vddcore {
681
					compatible = "fsl,anatop-regulator";
682
					regulator-name = "vddarm";
683 684 685 686 687 688
					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>;
689 690 691
					anatop-delay-reg-offset = <0x170>;
					anatop-delay-bit-shift = <24>;
					anatop-delay-bit-width = <2>;
692 693 694 695 696
					anatop-min-bit-val = <1>;
					anatop-min-voltage = <725000>;
					anatop-max-voltage = <1450000>;
				};

697
				reg_pu: regulator-vddpu {
698 699 700 701
					compatible = "fsl,anatop-regulator";
					regulator-name = "vddpu";
					regulator-min-microvolt = <725000>;
					regulator-max-microvolt = <1450000>;
702
					regulator-enable-ramp-delay = <150>;
703 704 705
					anatop-reg-offset = <0x140>;
					anatop-vol-bit-shift = <9>;
					anatop-vol-bit-width = <5>;
706 707 708
					anatop-delay-reg-offset = <0x170>;
					anatop-delay-bit-shift = <26>;
					anatop-delay-bit-width = <2>;
709 710 711 712 713
					anatop-min-bit-val = <1>;
					anatop-min-voltage = <725000>;
					anatop-max-voltage = <1450000>;
				};

714
				reg_soc: regulator-vddsoc {
715 716 717 718 719 720 721 722
					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>;
723 724 725
					anatop-delay-reg-offset = <0x170>;
					anatop-delay-bit-shift = <28>;
					anatop-delay-bit-width = <2>;
726 727 728 729
					anatop-min-bit-val = <1>;
					anatop-min-voltage = <725000>;
					anatop-max-voltage = <1450000>;
				};
S
Shawn Guo 已提交
730 731
			};

732 733
			tempmon: tempmon {
				compatible = "fsl,imx6q-tempmon";
734
				interrupts = <0 49 IRQ_TYPE_LEVEL_HIGH>;
735 736
				fsl,tempmon = <&anatop>;
				fsl,tempmon-data = <&ocotp>;
737
				clocks = <&clks IMX6QDL_CLK_PLL3_USB_OTG>;
738 739
			};

740
			usbphy1: usbphy@20c9000 {
741
				compatible = "fsl,imx6q-usbphy", "fsl,imx23-usbphy";
S
Shawn Guo 已提交
742
				reg = <0x020c9000 0x1000>;
743
				interrupts = <0 44 IRQ_TYPE_LEVEL_HIGH>;
744
				clocks = <&clks IMX6QDL_CLK_USBPHY1>;
745
				fsl,anatop = <&anatop>;
S
Shawn Guo 已提交
746 747
			};

748
			usbphy2: usbphy@20ca000 {
749
				compatible = "fsl,imx6q-usbphy", "fsl,imx23-usbphy";
S
Shawn Guo 已提交
750
				reg = <0x020ca000 0x1000>;
751
				interrupts = <0 45 IRQ_TYPE_LEVEL_HIGH>;
752
				clocks = <&clks IMX6QDL_CLK_USBPHY2>;
753
				fsl,anatop = <&anatop>;
S
Shawn Guo 已提交
754 755
			};

756
			snvs: snvs@20cc000 {
757 758
				compatible = "fsl,sec-v4.0-mon", "syscon", "simple-mfd";
				reg = <0x020cc000 0x4000>;
S
Shawn Guo 已提交
759

760
				snvs_rtc: snvs-rtc-lp {
S
Shawn Guo 已提交
761
					compatible = "fsl,sec-v4.0-mon-rtc-lp";
762 763
					regmap = <&snvs>;
					offset = <0x34>;
764 765
					interrupts = <0 19 IRQ_TYPE_LEVEL_HIGH>,
						     <0 20 IRQ_TYPE_LEVEL_HIGH>;
S
Shawn Guo 已提交
766
				};
767

768 769 770 771
				snvs_poweroff: snvs-poweroff {
					compatible = "syscon-poweroff";
					regmap = <&snvs>;
					offset = <0x38>;
772
					value = <0x60>;
773
					mask = <0x60>;
774 775
					status = "disabled";
				};
S
Shawn Guo 已提交
776 777
			};

778
			epit1: epit@20d0000 { /* EPIT1 */
S
Shawn Guo 已提交
779
				reg = <0x020d0000 0x4000>;
780
				interrupts = <0 56 IRQ_TYPE_LEVEL_HIGH>;
S
Shawn Guo 已提交
781 782
			};

783
			epit2: epit@20d4000 { /* EPIT2 */
S
Shawn Guo 已提交
784
				reg = <0x020d4000 0x4000>;
785
				interrupts = <0 57 IRQ_TYPE_LEVEL_HIGH>;
S
Shawn Guo 已提交
786 787
			};

788
			src: src@20d8000 {
789
				compatible = "fsl,imx6q-src", "fsl,imx51-src";
S
Shawn Guo 已提交
790
				reg = <0x020d8000 0x4000>;
791 792
				interrupts = <0 91 IRQ_TYPE_LEVEL_HIGH>,
					     <0 96 IRQ_TYPE_LEVEL_HIGH>;
793
				#reset-cells = <1>;
S
Shawn Guo 已提交
794 795
			};

796
			gpc: gpc@20dc000 {
S
Shawn Guo 已提交
797 798
				compatible = "fsl,imx6q-gpc";
				reg = <0x020dc000 0x4000>;
799 800
				interrupt-controller;
				#interrupt-cells = <3>;
801 802
				interrupts = <0 89 IRQ_TYPE_LEVEL_HIGH>,
					     <0 90 IRQ_TYPE_LEVEL_HIGH>;
803
				interrupt-parent = <&intc>;
804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826
				clocks = <&clks IMX6QDL_CLK_IPG>;
				clock-names = "ipg";

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

					power-domain@0 {
						reg = <0>;
						#power-domain-cells = <0>;
					};
					pd_pu: power-domain@1 {
						reg = <1>;
						#power-domain-cells = <0>;
						power-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>;
					};
				};
S
Shawn Guo 已提交
827 828
			};

829
			gpr: iomuxc-gpr@20e0000 {
830
				compatible = "fsl,imx6q-iomuxc-gpr", "syscon", "simple-mfd";
831
				reg = <0x20e0000 0x38>;
832 833 834 835 836

				mux: mux-controller {
					compatible = "mmio-mux";
					#mux-control-cells = <1>;
				};
837 838
			};

839
			iomuxc: iomuxc@20e0000 {
840
				compatible = "fsl,imx6dl-iomuxc", "fsl,imx6q-iomuxc";
841
				reg = <0x20e0000 0x4000>;
842 843
			};

844
			ldb: ldb {
845 846 847 848 849 850 851
				#address-cells = <1>;
				#size-cells = <0>;
				compatible = "fsl,imx6q-ldb", "fsl,imx53-ldb";
				gpr = <&gpr>;
				status = "disabled";

				lvds-channel@0 {
852 853
					#address-cells = <1>;
					#size-cells = <0>;
854 855
					reg = <0>;
					status = "disabled";
856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871

					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>;
						};
					};
872 873 874
				};

				lvds-channel@1 {
875 876
					#address-cells = <1>;
					#size-cells = <0>;
877 878
					reg = <1>;
					status = "disabled";
879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894

					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>;
						};
					};
895 896 897
				};
			};

898
			dcic1: dcic@20e4000 {
S
Shawn Guo 已提交
899
				reg = <0x020e4000 0x4000>;
900
				interrupts = <0 124 IRQ_TYPE_LEVEL_HIGH>;
S
Shawn Guo 已提交
901 902
			};

903
			dcic2: dcic@20e8000 {
S
Shawn Guo 已提交
904
				reg = <0x020e8000 0x4000>;
905
				interrupts = <0 125 IRQ_TYPE_LEVEL_HIGH>;
S
Shawn Guo 已提交
906 907
			};

908
			sdma: sdma@20ec000 {
S
Shawn Guo 已提交
909 910
				compatible = "fsl,imx6q-sdma", "fsl,imx35-sdma";
				reg = <0x020ec000 0x4000>;
911
				interrupts = <0 2 IRQ_TYPE_LEVEL_HIGH>;
912 913
				clocks = <&clks IMX6QDL_CLK_SDMA>,
					 <&clks IMX6QDL_CLK_SDMA>;
914
				clock-names = "ipg", "ahb";
915
				#dma-cells = <3>;
916
				fsl,sdma-ram-script-name = "imx/sdma/sdma-imx6q.bin";
S
Shawn Guo 已提交
917 918 919
			};
		};

920
		aips-bus@2100000 { /* AIPS2 */
S
Shawn Guo 已提交
921 922 923 924 925 926
			compatible = "fsl,aips-bus", "simple-bus";
			#address-cells = <1>;
			#size-cells = <1>;
			reg = <0x02100000 0x100000>;
			ranges;

927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950
			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 已提交
951 952
			};

953
			aipstz@217c000 { /* AIPSTZ2 */
S
Shawn Guo 已提交
954 955 956
				reg = <0x0217c000 0x4000>;
			};

957
			usbotg: usb@2184000 {
958 959
				compatible = "fsl,imx6q-usb", "fsl,imx27-usb";
				reg = <0x02184000 0x200>;
960
				interrupts = <0 43 IRQ_TYPE_LEVEL_HIGH>;
961
				clocks = <&clks IMX6QDL_CLK_USBOH3>;
962
				fsl,usbphy = <&usbphy1>;
963
				fsl,usbmisc = <&usbmisc 0>;
964
				ahb-burst-config = <0x0>;
965 966
				tx-burst-size-dword = <0x10>;
				rx-burst-size-dword = <0x10>;
967 968 969
				status = "disabled";
			};

970
			usbh1: usb@2184200 {
971 972
				compatible = "fsl,imx6q-usb", "fsl,imx27-usb";
				reg = <0x02184200 0x200>;
973
				interrupts = <0 40 IRQ_TYPE_LEVEL_HIGH>;
974
				clocks = <&clks IMX6QDL_CLK_USBOH3>;
975
				fsl,usbphy = <&usbphy2>;
976
				fsl,usbmisc = <&usbmisc 1>;
977
				dr_mode = "host";
978
				ahb-burst-config = <0x0>;
979 980
				tx-burst-size-dword = <0x10>;
				rx-burst-size-dword = <0x10>;
981 982 983
				status = "disabled";
			};

984
			usbh2: usb@2184400 {
985 986
				compatible = "fsl,imx6q-usb", "fsl,imx27-usb";
				reg = <0x02184400 0x200>;
987
				interrupts = <0 41 IRQ_TYPE_LEVEL_HIGH>;
988
				clocks = <&clks IMX6QDL_CLK_USBOH3>;
989
				fsl,usbmisc = <&usbmisc 2>;
990
				dr_mode = "host";
991
				ahb-burst-config = <0x0>;
992 993
				tx-burst-size-dword = <0x10>;
				rx-burst-size-dword = <0x10>;
994 995 996
				status = "disabled";
			};

997
			usbh3: usb@2184600 {
998 999
				compatible = "fsl,imx6q-usb", "fsl,imx27-usb";
				reg = <0x02184600 0x200>;
1000
				interrupts = <0 42 IRQ_TYPE_LEVEL_HIGH>;
1001
				clocks = <&clks IMX6QDL_CLK_USBOH3>;
1002
				fsl,usbmisc = <&usbmisc 3>;
1003
				dr_mode = "host";
1004
				ahb-burst-config = <0x0>;
1005 1006
				tx-burst-size-dword = <0x10>;
				rx-burst-size-dword = <0x10>;
1007 1008 1009
				status = "disabled";
			};

1010
			usbmisc: usbmisc@2184800 {
1011 1012 1013
				#index-cells = <1>;
				compatible = "fsl,imx6q-usbmisc";
				reg = <0x02184800 0x200>;
1014
				clocks = <&clks IMX6QDL_CLK_USBOH3>;
1015 1016
			};

1017
			fec: ethernet@2188000 {
S
Shawn Guo 已提交
1018 1019
				compatible = "fsl,imx6q-fec";
				reg = <0x02188000 0x4000>;
1020
				interrupt-names = "int0", "pps";
1021 1022 1023
				interrupts-extended =
					<&intc 0 118 IRQ_TYPE_LEVEL_HIGH>,
					<&intc 0 119 IRQ_TYPE_LEVEL_HIGH>;
1024 1025 1026
				clocks = <&clks IMX6QDL_CLK_ENET>,
					 <&clks IMX6QDL_CLK_ENET>,
					 <&clks IMX6QDL_CLK_ENET_REF>;
1027
				clock-names = "ipg", "ahb", "ptp";
S
Shawn Guo 已提交
1028 1029 1030
				status = "disabled";
			};

1031
			mlb@218c000 {
S
Shawn Guo 已提交
1032
				reg = <0x0218c000 0x4000>;
1033 1034 1035
				interrupts = <0 53 IRQ_TYPE_LEVEL_HIGH>,
					     <0 117 IRQ_TYPE_LEVEL_HIGH>,
					     <0 126 IRQ_TYPE_LEVEL_HIGH>;
S
Shawn Guo 已提交
1036 1037
			};

1038
			usdhc1: usdhc@2190000 {
S
Shawn Guo 已提交
1039 1040
				compatible = "fsl,imx6q-usdhc";
				reg = <0x02190000 0x4000>;
1041
				interrupts = <0 22 IRQ_TYPE_LEVEL_HIGH>;
1042 1043 1044
				clocks = <&clks IMX6QDL_CLK_USDHC1>,
					 <&clks IMX6QDL_CLK_USDHC1>,
					 <&clks IMX6QDL_CLK_USDHC1>;
1045
				clock-names = "ipg", "ahb", "per";
1046
				bus-width = <4>;
S
Shawn Guo 已提交
1047 1048 1049
				status = "disabled";
			};

1050
			usdhc2: usdhc@2194000 {
S
Shawn Guo 已提交
1051 1052
				compatible = "fsl,imx6q-usdhc";
				reg = <0x02194000 0x4000>;
1053
				interrupts = <0 23 IRQ_TYPE_LEVEL_HIGH>;
1054 1055 1056
				clocks = <&clks IMX6QDL_CLK_USDHC2>,
					 <&clks IMX6QDL_CLK_USDHC2>,
					 <&clks IMX6QDL_CLK_USDHC2>;
1057
				clock-names = "ipg", "ahb", "per";
1058
				bus-width = <4>;
S
Shawn Guo 已提交
1059 1060 1061
				status = "disabled";
			};

1062
			usdhc3: usdhc@2198000 {
S
Shawn Guo 已提交
1063 1064
				compatible = "fsl,imx6q-usdhc";
				reg = <0x02198000 0x4000>;
1065
				interrupts = <0 24 IRQ_TYPE_LEVEL_HIGH>;
1066 1067 1068
				clocks = <&clks IMX6QDL_CLK_USDHC3>,
					 <&clks IMX6QDL_CLK_USDHC3>,
					 <&clks IMX6QDL_CLK_USDHC3>;
1069
				clock-names = "ipg", "ahb", "per";
1070
				bus-width = <4>;
S
Shawn Guo 已提交
1071 1072 1073
				status = "disabled";
			};

1074
			usdhc4: usdhc@219c000 {
S
Shawn Guo 已提交
1075 1076
				compatible = "fsl,imx6q-usdhc";
				reg = <0x0219c000 0x4000>;
1077
				interrupts = <0 25 IRQ_TYPE_LEVEL_HIGH>;
1078 1079 1080
				clocks = <&clks IMX6QDL_CLK_USDHC4>,
					 <&clks IMX6QDL_CLK_USDHC4>,
					 <&clks IMX6QDL_CLK_USDHC4>;
1081
				clock-names = "ipg", "ahb", "per";
1082
				bus-width = <4>;
S
Shawn Guo 已提交
1083 1084 1085
				status = "disabled";
			};

1086
			i2c1: i2c@21a0000 {
S
Shawn Guo 已提交
1087 1088
				#address-cells = <1>;
				#size-cells = <0>;
1089
				compatible = "fsl,imx6q-i2c", "fsl,imx21-i2c";
S
Shawn Guo 已提交
1090
				reg = <0x021a0000 0x4000>;
1091
				interrupts = <0 36 IRQ_TYPE_LEVEL_HIGH>;
1092
				clocks = <&clks IMX6QDL_CLK_I2C1>;
S
Shawn Guo 已提交
1093 1094 1095
				status = "disabled";
			};

1096
			i2c2: i2c@21a4000 {
S
Shawn Guo 已提交
1097 1098
				#address-cells = <1>;
				#size-cells = <0>;
1099
				compatible = "fsl,imx6q-i2c", "fsl,imx21-i2c";
S
Shawn Guo 已提交
1100
				reg = <0x021a4000 0x4000>;
1101
				interrupts = <0 37 IRQ_TYPE_LEVEL_HIGH>;
1102
				clocks = <&clks IMX6QDL_CLK_I2C2>;
S
Shawn Guo 已提交
1103 1104 1105
				status = "disabled";
			};

1106
			i2c3: i2c@21a8000 {
S
Shawn Guo 已提交
1107 1108
				#address-cells = <1>;
				#size-cells = <0>;
1109
				compatible = "fsl,imx6q-i2c", "fsl,imx21-i2c";
S
Shawn Guo 已提交
1110
				reg = <0x021a8000 0x4000>;
1111
				interrupts = <0 38 IRQ_TYPE_LEVEL_HIGH>;
1112
				clocks = <&clks IMX6QDL_CLK_I2C3>;
S
Shawn Guo 已提交
1113 1114 1115
				status = "disabled";
			};

1116
			romcp@21ac000 {
S
Shawn Guo 已提交
1117 1118 1119
				reg = <0x021ac000 0x4000>;
			};

1120
			mmdc0: mmdc@21b0000 { /* MMDC0 */
S
Shawn Guo 已提交
1121 1122 1123 1124
				compatible = "fsl,imx6q-mmdc";
				reg = <0x021b0000 0x4000>;
			};

1125
			mmdc1: mmdc@21b4000 { /* MMDC1 */
S
Shawn Guo 已提交
1126 1127 1128
				reg = <0x021b4000 0x4000>;
			};

1129
			weim: weim@21b8000 {
1130 1131
				#address-cells = <2>;
				#size-cells = <1>;
1132
				compatible = "fsl,imx6q-weim";
S
Shawn Guo 已提交
1133
				reg = <0x021b8000 0x4000>;
1134
				interrupts = <0 14 IRQ_TYPE_LEVEL_HIGH>;
1135
				clocks = <&clks IMX6QDL_CLK_EIM_SLOW>;
1136
				fsl,weim-cs-gpr = <&gpr>;
1137
				status = "disabled";
S
Shawn Guo 已提交
1138 1139
			};

1140
			ocotp: ocotp@21bc000 {
1141
				compatible = "fsl,imx6q-ocotp", "syscon";
S
Shawn Guo 已提交
1142
				reg = <0x021bc000 0x4000>;
1143
				clocks = <&clks IMX6QDL_CLK_IIM>;
S
Shawn Guo 已提交
1144 1145
			};

1146
			tzasc@21d0000 { /* TZASC1 */
S
Shawn Guo 已提交
1147
				reg = <0x021d0000 0x4000>;
1148
				interrupts = <0 108 IRQ_TYPE_LEVEL_HIGH>;
S
Shawn Guo 已提交
1149 1150
			};

1151
			tzasc@21d4000 { /* TZASC2 */
S
Shawn Guo 已提交
1152
				reg = <0x021d4000 0x4000>;
1153
				interrupts = <0 109 IRQ_TYPE_LEVEL_HIGH>;
S
Shawn Guo 已提交
1154 1155
			};

1156
			audmux: audmux@21d8000 {
1157
				compatible = "fsl,imx6q-audmux", "fsl,imx31-audmux";
S
Shawn Guo 已提交
1158
				reg = <0x021d8000 0x4000>;
1159
				status = "disabled";
S
Shawn Guo 已提交
1160 1161
			};

1162
			mipi_csi: mipi@21dc000 {
1163
				compatible = "fsl,imx6-mipi-csi2";
S
Shawn Guo 已提交
1164
				reg = <0x021dc000 0x4000>;
1165 1166
				#address-cells = <1>;
				#size-cells = <0>;
1167 1168 1169 1170 1171 1172
				interrupts = <0 100 0x04>, <0 101 0x04>;
				clocks = <&clks IMX6QDL_CLK_HSI_TX>,
					 <&clks IMX6QDL_CLK_VIDEO_27M>,
					 <&clks IMX6QDL_CLK_EIM_PODF>;
				clock-names = "dphy", "ref", "pix";
				status = "disabled";
S
Shawn Guo 已提交
1173 1174
			};

1175
			mipi_dsi: mipi@21e0000 {
1176 1177
				#address-cells = <1>;
				#size-cells = <0>;
S
Shawn Guo 已提交
1178
				reg = <0x021e0000 0x4000>;
1179 1180
				status = "disabled";

1181 1182 1183 1184 1185 1186
				ports {
					#address-cells = <1>;
					#size-cells = <0>;

					port@0 {
						reg = <0>;
1187

1188 1189 1190
						mipi_mux_0: endpoint {
							remote-endpoint = <&ipu1_di0_mipi>;
						};
1191 1192
					};

1193 1194
					port@1 {
						reg = <1>;
1195

1196 1197 1198
						mipi_mux_1: endpoint {
							remote-endpoint = <&ipu1_di1_mipi>;
						};
1199 1200
					};
				};
S
Shawn Guo 已提交
1201 1202
			};

1203
			vdoa@21e4000 {
1204
				compatible = "fsl,imx6q-vdoa";
S
Shawn Guo 已提交
1205
				reg = <0x021e4000 0x4000>;
1206
				interrupts = <0 18 IRQ_TYPE_LEVEL_HIGH>;
1207
				clocks = <&clks IMX6QDL_CLK_VDOA>;
S
Shawn Guo 已提交
1208 1209
			};

1210
			uart2: serial@21e8000 {
S
Shawn Guo 已提交
1211 1212
				compatible = "fsl,imx6q-uart", "fsl,imx21-uart";
				reg = <0x021e8000 0x4000>;
1213
				interrupts = <0 27 IRQ_TYPE_LEVEL_HIGH>;
1214 1215
				clocks = <&clks IMX6QDL_CLK_UART_IPG>,
					 <&clks IMX6QDL_CLK_UART_SERIAL>;
1216
				clock-names = "ipg", "per";
1217 1218
				dmas = <&sdma 27 4 0>, <&sdma 28 4 0>;
				dma-names = "rx", "tx";
S
Shawn Guo 已提交
1219 1220 1221
				status = "disabled";
			};

1222
			uart3: serial@21ec000 {
S
Shawn Guo 已提交
1223 1224
				compatible = "fsl,imx6q-uart", "fsl,imx21-uart";
				reg = <0x021ec000 0x4000>;
1225
				interrupts = <0 28 IRQ_TYPE_LEVEL_HIGH>;
1226 1227
				clocks = <&clks IMX6QDL_CLK_UART_IPG>,
					 <&clks IMX6QDL_CLK_UART_SERIAL>;
1228
				clock-names = "ipg", "per";
1229 1230
				dmas = <&sdma 29 4 0>, <&sdma 30 4 0>;
				dma-names = "rx", "tx";
S
Shawn Guo 已提交
1231 1232 1233
				status = "disabled";
			};

1234
			uart4: serial@21f0000 {
S
Shawn Guo 已提交
1235 1236
				compatible = "fsl,imx6q-uart", "fsl,imx21-uart";
				reg = <0x021f0000 0x4000>;
1237
				interrupts = <0 29 IRQ_TYPE_LEVEL_HIGH>;
1238 1239
				clocks = <&clks IMX6QDL_CLK_UART_IPG>,
					 <&clks IMX6QDL_CLK_UART_SERIAL>;
1240
				clock-names = "ipg", "per";
1241 1242
				dmas = <&sdma 31 4 0>, <&sdma 32 4 0>;
				dma-names = "rx", "tx";
S
Shawn Guo 已提交
1243 1244 1245
				status = "disabled";
			};

1246
			uart5: serial@21f4000 {
S
Shawn Guo 已提交
1247 1248
				compatible = "fsl,imx6q-uart", "fsl,imx21-uart";
				reg = <0x021f4000 0x4000>;
1249
				interrupts = <0 30 IRQ_TYPE_LEVEL_HIGH>;
1250 1251
				clocks = <&clks IMX6QDL_CLK_UART_IPG>,
					 <&clks IMX6QDL_CLK_UART_SERIAL>;
1252
				clock-names = "ipg", "per";
1253 1254
				dmas = <&sdma 33 4 0>, <&sdma 34 4 0>;
				dma-names = "rx", "tx";
S
Shawn Guo 已提交
1255 1256 1257
				status = "disabled";
			};
		};
S
Sascha Hauer 已提交
1258

1259
		ipu1: ipu@2400000 {
1260 1261
			#address-cells = <1>;
			#size-cells = <0>;
S
Sascha Hauer 已提交
1262 1263
			compatible = "fsl,imx6q-ipu";
			reg = <0x02400000 0x400000>;
1264 1265
			interrupts = <0 6 IRQ_TYPE_LEVEL_HIGH>,
				     <0 5 IRQ_TYPE_LEVEL_HIGH>;
1266 1267 1268
			clocks = <&clks IMX6QDL_CLK_IPU1>,
				 <&clks IMX6QDL_CLK_IPU1_DI0>,
				 <&clks IMX6QDL_CLK_IPU1_DI1>;
S
Sascha Hauer 已提交
1269
			clock-names = "bus", "di0", "di1";
1270
			resets = <&src 2>;
1271

1272 1273
			ipu1_csi0: port@0 {
				reg = <0>;
1274 1275 1276 1277

				ipu1_csi0_from_ipu1_csi0_mux: endpoint {
					remote-endpoint = <&ipu1_csi0_mux_to_ipu1_csi0>;
				};
1278 1279 1280 1281 1282 1283
			};

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

1284 1285 1286 1287 1288
			ipu1_di0: port@2 {
				#address-cells = <1>;
				#size-cells = <0>;
				reg = <2>;

1289
				ipu1_di0_disp0: disp0-endpoint {
1290 1291
				};

1292
				ipu1_di0_hdmi: hdmi-endpoint {
1293 1294 1295
					remote-endpoint = <&hdmi_mux_0>;
				};

1296
				ipu1_di0_mipi: mipi-endpoint {
1297 1298 1299
					remote-endpoint = <&mipi_mux_0>;
				};

1300
				ipu1_di0_lvds0: lvds0-endpoint {
1301 1302 1303
					remote-endpoint = <&lvds0_mux_0>;
				};

1304
				ipu1_di0_lvds1: lvds1-endpoint {
1305 1306 1307 1308 1309 1310 1311 1312 1313
					remote-endpoint = <&lvds1_mux_0>;
				};
			};

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

1314
				ipu1_di1_disp1: disp1-endpoint {
1315 1316
				};

1317
				ipu1_di1_hdmi: hdmi-endpoint {
1318 1319 1320
					remote-endpoint = <&hdmi_mux_1>;
				};

1321
				ipu1_di1_mipi: mipi-endpoint {
1322 1323 1324
					remote-endpoint = <&mipi_mux_1>;
				};

1325
				ipu1_di1_lvds0: lvds0-endpoint {
1326 1327 1328
					remote-endpoint = <&lvds0_mux_1>;
				};

1329
				ipu1_di1_lvds1: lvds1-endpoint {
1330 1331 1332
					remote-endpoint = <&lvds1_mux_1>;
				};
			};
S
Sascha Hauer 已提交
1333
		};
S
Shawn Guo 已提交
1334 1335
	};
};