imx6qdl.dtsi 35.6 KB
Newer Older
1 2 3 4
// SPDX-License-Identifier: GPL-2.0+
//
// Copyright 2011 Freescale Semiconductor, Inc.
// Copyright 2011 Linaro Ltd.
S
Shawn Guo 已提交
5

6
#include <dt-bindings/clock/imx6qdl-clock.h>
7
#include <dt-bindings/input/input.h>
8 9
#include <dt-bindings/interrupt-controller/arm-gic.h>

S
Shawn Guo 已提交
10
/ {
11 12
	#address-cells = <1>;
	#size-cells = <1>;
13 14 15 16 17 18
	/*
	 * 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.
	 */
	chosen {};
19

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

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

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

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

72 73 74 75 76
	tempmon: tempmon {
		compatible = "fsl,imx6q-tempmon";
		interrupt-parent = <&gpc>;
		interrupts = <0 49 IRQ_TYPE_LEVEL_HIGH>;
		fsl,tempmon = <&anatop>;
77 78
		nvmem-cells = <&tempmon_calib>, <&tempmon_temp_grade>;
		nvmem-cell-names = "calib", "temp_grade";
79
		clocks = <&clks IMX6QDL_CLK_PLL3_USB_OTG>;
80
		#thermal-sensor-cells = <0>;
81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 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
	};

	ldb: ldb {
		#address-cells = <1>;
		#size-cells = <0>;
		compatible = "fsl,imx6q-ldb", "fsl,imx53-ldb";
		gpr = <&gpr>;
		status = "disabled";

		lvds-channel@0 {
			#address-cells = <1>;
			#size-cells = <0>;
			reg = <0>;
			status = "disabled";

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

		lvds-channel@1 {
			#address-cells = <1>;
			#size-cells = <0>;
			reg = <1>;
			status = "disabled";

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

137
	pmu: pmu {
138 139 140 141 142
		compatible = "arm,cortex-a9-pmu";
		interrupt-parent = <&gpc>;
		interrupts = <0 94 IRQ_TYPE_LEVEL_HIGH>;
	};

143 144 145 146 147 148 149 150 151 152
	usbphynop1: usbphynop1 {
		compatible = "usb-nop-xceiv";
		#phy-cells = <0>;
	};

	usbphynop2: usbphynop2 {
		compatible = "usb-nop-xceiv";
		#phy-cells = <0>;
	};

S
Shawn Guo 已提交
153 154 155 156
	soc {
		#address-cells = <1>;
		#size-cells = <1>;
		compatible = "simple-bus";
157
		interrupt-parent = <&gpc>;
S
Shawn Guo 已提交
158 159
		ranges;

160
		dma_apbh: dma-apbh@110000 {
161 162
			compatible = "fsl,imx6q-dma-apbh", "fsl,imx28-dma-apbh";
			reg = <0x00110000 0x2000>;
163 164 165 166
			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>;
167 168 169
			interrupt-names = "gpmi0", "gpmi1", "gpmi2", "gpmi3";
			#dma-cells = <1>;
			dma-channels = <4>;
170
			clocks = <&clks IMX6QDL_CLK_APBH_DMA>;
171 172
		};

173
		gpmi: gpmi-nand@112000 {
174 175 176
			compatible = "fsl,imx6q-gpmi-nand";
			reg = <0x00112000 0x2000>, <0x00114000 0x2000>;
			reg-names = "gpmi-nand", "bch";
177
			interrupts = <0 15 IRQ_TYPE_LEVEL_HIGH>;
178
			interrupt-names = "bch";
179 180 181 182 183
			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>;
184 185
			clock-names = "gpmi_io", "gpmi_apb", "gpmi_bch",
				      "gpmi_bch_apb", "per1_bch";
186 187
			dmas = <&dma_apbh 0>;
			dma-names = "rx-tx";
188
			status = "disabled";
189 190
		};

191
		hdmi: hdmi@120000 {
192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218
			#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>;
				};
			};
		};

219
		gpu_3d: gpu@130000 {
220 221 222 223 224 225 226
			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";
227
			power-domains = <&pd_pu>;
228
			#cooling-cells = <2>;
229 230
		};

231
		gpu_2d: gpu@134000 {
232 233 234 235 236 237
			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";
238
			power-domains = <&pd_pu>;
239
			#cooling-cells = <2>;
240 241
		};

242
		timer@a00600 {
243 244 245
			compatible = "arm,cortex-a9-twd-timer";
			reg = <0x00a00600 0x20>;
			interrupts = <1 13 0xf01>;
246
			interrupt-parent = <&intc>;
247
			clocks = <&clks IMX6QDL_CLK_TWD>;
S
Shawn Guo 已提交
248 249
		};

250
		intc: interrupt-controller@a01000 {
251 252 253 254 255 256 257 258
			compatible = "arm,cortex-a9-gic";
			#interrupt-cells = <3>;
			interrupt-controller;
			reg = <0x00a01000 0x1000>,
			      <0x00a00100 0x100>;
			interrupt-parent = <&intc>;
		};

259
		L2: l2-cache@a02000 {
S
Shawn Guo 已提交
260 261
			compatible = "arm,pl310-cache";
			reg = <0x00a02000 0x1000>;
262
			interrupts = <0 92 IRQ_TYPE_LEVEL_HIGH>;
S
Shawn Guo 已提交
263 264
			cache-unified;
			cache-level = <2>;
265 266
			arm,tag-latency = <4 2 3>;
			arm,data-latency = <4 2 3>;
267
			arm,shared-override;
S
Shawn Guo 已提交
268 269
		};

270
		pcie: pcie@1ffc000 {
271
			compatible = "fsl,imx6q-pcie", "snps,dw-pcie";
272 273 274
			reg = <0x01ffc000 0x04000>,
			      <0x01f00000 0x80000>;
			reg-names = "dbi", "config";
275 276 277
			#address-cells = <3>;
			#size-cells = <2>;
			device_type = "pci";
278
			bus-range = <0x00 0xff>;
279
			ranges = <0x81000000 0 0          0x01f80000 0 0x00010000 /* downstream I/O */
280 281
				  0x82000000 0 0x01000000 0x01000000 0 0x00f00000>; /* non-prefetchable memory */
			num-lanes = <1>;
282
			num-viewport = <4>;
283 284
			interrupts = <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>;
			interrupt-names = "msi";
285 286
			#interrupt-cells = <1>;
			interrupt-map-mask = <0 0 0 0x7>;
287
			interrupt-map = <0 0 0 1 &gpc GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>,
288 289 290
					<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>;
291 292 293
			clocks = <&clks IMX6QDL_CLK_PCIE_AXI>,
				 <&clks IMX6QDL_CLK_LVDS1_GATE>,
				 <&clks IMX6QDL_CLK_PCIE_REF_125M>;
294
			clock-names = "pcie", "pcie_bus", "pcie_phy";
295 296 297
			status = "disabled";
		};

P
Peng Fan 已提交
298
		bus@2000000 { /* AIPS1 */
S
Shawn Guo 已提交
299 300 301 302 303 304
			compatible = "fsl,aips-bus", "simple-bus";
			#address-cells = <1>;
			#size-cells = <1>;
			reg = <0x02000000 0x100000>;
			ranges;

305
			spba-bus@2000000 {
S
Shawn Guo 已提交
306 307 308 309 310 311
				compatible = "fsl,spba-bus", "simple-bus";
				#address-cells = <1>;
				#size-cells = <1>;
				reg = <0x02000000 0x40000>;
				ranges;

312
				spdif: spdif@2004000 {
313
					compatible = "fsl,imx35-spdif";
S
Shawn Guo 已提交
314
					reg = <0x02004000 0x4000>;
315
					interrupts = <0 52 IRQ_TYPE_LEVEL_HIGH>;
316 317 318
					dmas = <&sdma 14 18 0>,
					       <&sdma 15 18 0>;
					dma-names = "rx", "tx";
319 320 321
					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>,
322
						 <&clks IMX6QDL_CLK_IPG>, <&clks IMX6QDL_CLK_DUMMY>,
323
						 <&clks IMX6QDL_CLK_DUMMY>, <&clks IMX6QDL_CLK_SPBA>;
324 325 326 327
					clock-names = "core",  "rxtx0",
						      "rxtx1", "rxtx2",
						      "rxtx3", "rxtx4",
						      "rxtx5", "rxtx6",
328
						      "rxtx7", "spba";
329
					status = "disabled";
S
Shawn Guo 已提交
330 331
				};

332
				ecspi1: spi@2008000 {
S
Shawn Guo 已提交
333 334 335 336
					#address-cells = <1>;
					#size-cells = <0>;
					compatible = "fsl,imx6q-ecspi", "fsl,imx51-ecspi";
					reg = <0x02008000 0x4000>;
337
					interrupts = <0 31 IRQ_TYPE_LEVEL_HIGH>;
338 339
					clocks = <&clks IMX6QDL_CLK_ECSPI1>,
						 <&clks IMX6QDL_CLK_ECSPI1>;
340
					clock-names = "ipg", "per";
341
					dmas = <&sdma 3 8 1>, <&sdma 4 8 2>;
F
Frank Li 已提交
342
					dma-names = "rx", "tx";
S
Shawn Guo 已提交
343 344 345
					status = "disabled";
				};

346
				ecspi2: spi@200c000 {
S
Shawn Guo 已提交
347 348 349 350
					#address-cells = <1>;
					#size-cells = <0>;
					compatible = "fsl,imx6q-ecspi", "fsl,imx51-ecspi";
					reg = <0x0200c000 0x4000>;
351
					interrupts = <0 32 IRQ_TYPE_LEVEL_HIGH>;
352 353
					clocks = <&clks IMX6QDL_CLK_ECSPI2>,
						 <&clks IMX6QDL_CLK_ECSPI2>;
354
					clock-names = "ipg", "per";
355
					dmas = <&sdma 5 8 1>, <&sdma 6 8 2>;
F
Frank Li 已提交
356
					dma-names = "rx", "tx";
S
Shawn Guo 已提交
357 358 359
					status = "disabled";
				};

360
				ecspi3: spi@2010000 {
S
Shawn Guo 已提交
361 362 363 364
					#address-cells = <1>;
					#size-cells = <0>;
					compatible = "fsl,imx6q-ecspi", "fsl,imx51-ecspi";
					reg = <0x02010000 0x4000>;
365
					interrupts = <0 33 IRQ_TYPE_LEVEL_HIGH>;
366 367
					clocks = <&clks IMX6QDL_CLK_ECSPI3>,
						 <&clks IMX6QDL_CLK_ECSPI3>;
368
					clock-names = "ipg", "per";
369
					dmas = <&sdma 7 8 1>, <&sdma 8 8 2>;
F
Frank Li 已提交
370
					dma-names = "rx", "tx";
S
Shawn Guo 已提交
371 372 373
					status = "disabled";
				};

374
				ecspi4: spi@2014000 {
S
Shawn Guo 已提交
375 376 377 378
					#address-cells = <1>;
					#size-cells = <0>;
					compatible = "fsl,imx6q-ecspi", "fsl,imx51-ecspi";
					reg = <0x02014000 0x4000>;
379
					interrupts = <0 34 IRQ_TYPE_LEVEL_HIGH>;
380 381
					clocks = <&clks IMX6QDL_CLK_ECSPI4>,
						 <&clks IMX6QDL_CLK_ECSPI4>;
382
					clock-names = "ipg", "per";
383
					dmas = <&sdma 9 8 1>, <&sdma 10 8 2>;
F
Frank Li 已提交
384
					dma-names = "rx", "tx";
S
Shawn Guo 已提交
385 386 387
					status = "disabled";
				};

388
				uart1: serial@2020000 {
S
Shawn Guo 已提交
389 390
					compatible = "fsl,imx6q-uart", "fsl,imx21-uart";
					reg = <0x02020000 0x4000>;
391
					interrupts = <0 26 IRQ_TYPE_LEVEL_HIGH>;
392 393
					clocks = <&clks IMX6QDL_CLK_UART_IPG>,
						 <&clks IMX6QDL_CLK_UART_SERIAL>;
394
					clock-names = "ipg", "per";
395 396
					dmas = <&sdma 25 4 0>, <&sdma 26 4 0>;
					dma-names = "rx", "tx";
S
Shawn Guo 已提交
397 398 399
					status = "disabled";
				};

400
				esai: esai@2024000 {
401 402
					#sound-dai-cells = <0>;
					compatible = "fsl,imx35-esai";
S
Shawn Guo 已提交
403
					reg = <0x02024000 0x4000>;
404
					interrupts = <0 51 IRQ_TYPE_LEVEL_HIGH>;
405 406 407 408 409
					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>;
410
					clock-names = "core", "mem", "extal", "fsys", "spba";
411 412 413
					dmas = <&sdma 23 21 0>, <&sdma 24 21 0>;
					dma-names = "rx", "tx";
					status = "disabled";
S
Shawn Guo 已提交
414 415
				};

416
				ssi1: ssi@2028000 {
417
					#sound-dai-cells = <0>;
M
Markus Pargmann 已提交
418
					compatible = "fsl,imx6q-ssi",
419
							"fsl,imx51-ssi";
S
Shawn Guo 已提交
420
					reg = <0x02028000 0x4000>;
421
					interrupts = <0 46 IRQ_TYPE_LEVEL_HIGH>;
422 423 424
					clocks = <&clks IMX6QDL_CLK_SSI1_IPG>,
						 <&clks IMX6QDL_CLK_SSI1>;
					clock-names = "ipg", "baud";
425 426 427
					dmas = <&sdma 37 1 0>,
					       <&sdma 38 1 0>;
					dma-names = "rx", "tx";
428 429
					fsl,fifo-depth = <15>;
					status = "disabled";
S
Shawn Guo 已提交
430 431
				};

432
				ssi2: ssi@202c000 {
433
					#sound-dai-cells = <0>;
M
Markus Pargmann 已提交
434
					compatible = "fsl,imx6q-ssi",
435
							"fsl,imx51-ssi";
S
Shawn Guo 已提交
436
					reg = <0x0202c000 0x4000>;
437
					interrupts = <0 47 IRQ_TYPE_LEVEL_HIGH>;
438 439 440
					clocks = <&clks IMX6QDL_CLK_SSI2_IPG>,
						 <&clks IMX6QDL_CLK_SSI2>;
					clock-names = "ipg", "baud";
441 442 443
					dmas = <&sdma 41 1 0>,
					       <&sdma 42 1 0>;
					dma-names = "rx", "tx";
444 445
					fsl,fifo-depth = <15>;
					status = "disabled";
S
Shawn Guo 已提交
446 447
				};

448
				ssi3: ssi@2030000 {
449
					#sound-dai-cells = <0>;
M
Markus Pargmann 已提交
450
					compatible = "fsl,imx6q-ssi",
451
							"fsl,imx51-ssi";
S
Shawn Guo 已提交
452
					reg = <0x02030000 0x4000>;
453
					interrupts = <0 48 IRQ_TYPE_LEVEL_HIGH>;
454 455 456
					clocks = <&clks IMX6QDL_CLK_SSI3_IPG>,
						 <&clks IMX6QDL_CLK_SSI3>;
					clock-names = "ipg", "baud";
457 458 459
					dmas = <&sdma 45 1 0>,
					       <&sdma 46 1 0>;
					dma-names = "rx", "tx";
460 461
					fsl,fifo-depth = <15>;
					status = "disabled";
S
Shawn Guo 已提交
462 463
				};

464
				asrc: asrc@2034000 {
465
					compatible = "fsl,imx53-asrc";
S
Shawn Guo 已提交
466
					reg = <0x02034000 0x4000>;
467
					interrupts = <0 50 IRQ_TYPE_LEVEL_HIGH>;
468 469 470 471 472 473 474 475 476 477 478
					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",
479
						"asrck_d", "asrck_e", "asrck_f", "spba";
480 481 482 483 484 485 486
					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 已提交
487 488
				};

489
				spba@203c000 {
S
Shawn Guo 已提交
490 491 492 493
					reg = <0x0203c000 0x4000>;
				};
			};

494
			vpu: vpu@2040000 {
495
				compatible = "cnm,coda960";
S
Shawn Guo 已提交
496
				reg = <0x02040000 0x3c000>;
497 498
				interrupts = <0 12 IRQ_TYPE_LEVEL_HIGH>,
					     <0 3 IRQ_TYPE_LEVEL_HIGH>;
499 500
				interrupt-names = "bit", "jpeg";
				clocks = <&clks IMX6QDL_CLK_VPU_AXI>,
501 502
					 <&clks IMX6QDL_CLK_MMDC_CH0_AXI>;
				clock-names = "per", "ahb";
503
				power-domains = <&pd_pu>;
504 505
				resets = <&src 1>;
				iram = <&ocram>;
S
Shawn Guo 已提交
506 507
			};

508
			aipstz@207c000 { /* AIPSTZ1 */
S
Shawn Guo 已提交
509 510 511
				reg = <0x0207c000 0x4000>;
			};

512
			pwm1: pwm@2080000 {
S
Sascha Hauer 已提交
513 514
				#pwm-cells = <2>;
				compatible = "fsl,imx6q-pwm", "fsl,imx27-pwm";
S
Shawn Guo 已提交
515
				reg = <0x02080000 0x4000>;
516
				interrupts = <0 83 IRQ_TYPE_LEVEL_HIGH>;
517 518
				clocks = <&clks IMX6QDL_CLK_IPG>,
					 <&clks IMX6QDL_CLK_PWM1>;
S
Sascha Hauer 已提交
519
				clock-names = "ipg", "per";
520
				status = "disabled";
S
Shawn Guo 已提交
521 522
			};

523
			pwm2: pwm@2084000 {
S
Sascha Hauer 已提交
524 525
				#pwm-cells = <2>;
				compatible = "fsl,imx6q-pwm", "fsl,imx27-pwm";
S
Shawn Guo 已提交
526
				reg = <0x02084000 0x4000>;
527
				interrupts = <0 84 IRQ_TYPE_LEVEL_HIGH>;
528 529
				clocks = <&clks IMX6QDL_CLK_IPG>,
					 <&clks IMX6QDL_CLK_PWM2>;
S
Sascha Hauer 已提交
530
				clock-names = "ipg", "per";
531
				status = "disabled";
S
Shawn Guo 已提交
532 533
			};

534
			pwm3: pwm@2088000 {
S
Sascha Hauer 已提交
535 536
				#pwm-cells = <2>;
				compatible = "fsl,imx6q-pwm", "fsl,imx27-pwm";
S
Shawn Guo 已提交
537
				reg = <0x02088000 0x4000>;
538
				interrupts = <0 85 IRQ_TYPE_LEVEL_HIGH>;
539 540
				clocks = <&clks IMX6QDL_CLK_IPG>,
					 <&clks IMX6QDL_CLK_PWM3>;
S
Sascha Hauer 已提交
541
				clock-names = "ipg", "per";
542
				status = "disabled";
S
Shawn Guo 已提交
543 544
			};

545
			pwm4: pwm@208c000 {
S
Sascha Hauer 已提交
546 547
				#pwm-cells = <2>;
				compatible = "fsl,imx6q-pwm", "fsl,imx27-pwm";
S
Shawn Guo 已提交
548
				reg = <0x0208c000 0x4000>;
549
				interrupts = <0 86 IRQ_TYPE_LEVEL_HIGH>;
550 551
				clocks = <&clks IMX6QDL_CLK_IPG>,
					 <&clks IMX6QDL_CLK_PWM4>;
S
Sascha Hauer 已提交
552
				clock-names = "ipg", "per";
553
				status = "disabled";
S
Shawn Guo 已提交
554 555
			};

556
			can1: flexcan@2090000 {
557
				compatible = "fsl,imx6q-flexcan";
S
Shawn Guo 已提交
558
				reg = <0x02090000 0x4000>;
559
				interrupts = <0 110 IRQ_TYPE_LEVEL_HIGH>;
560 561
				clocks = <&clks IMX6QDL_CLK_CAN1_IPG>,
					 <&clks IMX6QDL_CLK_CAN1_SERIAL>;
562
				clock-names = "ipg", "per";
563
				fsl,stop-mode = <&gpr 0x34 28 0x10 17>;
564
				status = "disabled";
S
Shawn Guo 已提交
565 566
			};

567
			can2: flexcan@2094000 {
568
				compatible = "fsl,imx6q-flexcan";
S
Shawn Guo 已提交
569
				reg = <0x02094000 0x4000>;
570
				interrupts = <0 111 IRQ_TYPE_LEVEL_HIGH>;
571 572
				clocks = <&clks IMX6QDL_CLK_CAN2_IPG>,
					 <&clks IMX6QDL_CLK_CAN2_SERIAL>;
573
				clock-names = "ipg", "per";
574
				fsl,stop-mode = <&gpr 0x34 29 0x10 18>;
575
				status = "disabled";
S
Shawn Guo 已提交
576 577
			};

578
			gpt: timer@2098000 {
579
				compatible = "fsl,imx6q-gpt", "fsl,imx31-gpt";
S
Shawn Guo 已提交
580
				reg = <0x02098000 0x4000>;
581
				interrupts = <0 55 IRQ_TYPE_LEVEL_HIGH>;
582
				clocks = <&clks IMX6QDL_CLK_GPT_IPG>,
583 584 585
					 <&clks IMX6QDL_CLK_GPT_IPG_PER>,
					 <&clks IMX6QDL_CLK_GPT_3M>;
				clock-names = "ipg", "per", "osc_per";
S
Shawn Guo 已提交
586 587
			};

588
			gpio1: gpio@209c000 {
589
				compatible = "fsl,imx6q-gpio", "fsl,imx35-gpio";
S
Shawn Guo 已提交
590
				reg = <0x0209c000 0x4000>;
591 592
				interrupts = <0 66 IRQ_TYPE_LEVEL_HIGH>,
					     <0 67 IRQ_TYPE_LEVEL_HIGH>;
S
Shawn Guo 已提交
593 594 595
				gpio-controller;
				#gpio-cells = <2>;
				interrupt-controller;
596
				#interrupt-cells = <2>;
S
Shawn Guo 已提交
597 598
			};

599
			gpio2: gpio@20a0000 {
600
				compatible = "fsl,imx6q-gpio", "fsl,imx35-gpio";
S
Shawn Guo 已提交
601
				reg = <0x020a0000 0x4000>;
602 603
				interrupts = <0 68 IRQ_TYPE_LEVEL_HIGH>,
					     <0 69 IRQ_TYPE_LEVEL_HIGH>;
S
Shawn Guo 已提交
604 605 606
				gpio-controller;
				#gpio-cells = <2>;
				interrupt-controller;
607
				#interrupt-cells = <2>;
S
Shawn Guo 已提交
608 609
			};

610
			gpio3: gpio@20a4000 {
611
				compatible = "fsl,imx6q-gpio", "fsl,imx35-gpio";
S
Shawn Guo 已提交
612
				reg = <0x020a4000 0x4000>;
613 614
				interrupts = <0 70 IRQ_TYPE_LEVEL_HIGH>,
					     <0 71 IRQ_TYPE_LEVEL_HIGH>;
S
Shawn Guo 已提交
615 616 617
				gpio-controller;
				#gpio-cells = <2>;
				interrupt-controller;
618
				#interrupt-cells = <2>;
S
Shawn Guo 已提交
619 620
			};

621
			gpio4: gpio@20a8000 {
622
				compatible = "fsl,imx6q-gpio", "fsl,imx35-gpio";
S
Shawn Guo 已提交
623
				reg = <0x020a8000 0x4000>;
624 625
				interrupts = <0 72 IRQ_TYPE_LEVEL_HIGH>,
					     <0 73 IRQ_TYPE_LEVEL_HIGH>;
S
Shawn Guo 已提交
626 627 628
				gpio-controller;
				#gpio-cells = <2>;
				interrupt-controller;
629
				#interrupt-cells = <2>;
S
Shawn Guo 已提交
630 631
			};

632
			gpio5: gpio@20ac000 {
633
				compatible = "fsl,imx6q-gpio", "fsl,imx35-gpio";
S
Shawn Guo 已提交
634
				reg = <0x020ac000 0x4000>;
635 636
				interrupts = <0 74 IRQ_TYPE_LEVEL_HIGH>,
					     <0 75 IRQ_TYPE_LEVEL_HIGH>;
S
Shawn Guo 已提交
637 638 639
				gpio-controller;
				#gpio-cells = <2>;
				interrupt-controller;
640
				#interrupt-cells = <2>;
S
Shawn Guo 已提交
641 642
			};

643
			gpio6: gpio@20b0000 {
644
				compatible = "fsl,imx6q-gpio", "fsl,imx35-gpio";
S
Shawn Guo 已提交
645
				reg = <0x020b0000 0x4000>;
646 647
				interrupts = <0 76 IRQ_TYPE_LEVEL_HIGH>,
					     <0 77 IRQ_TYPE_LEVEL_HIGH>;
S
Shawn Guo 已提交
648 649 650
				gpio-controller;
				#gpio-cells = <2>;
				interrupt-controller;
651
				#interrupt-cells = <2>;
S
Shawn Guo 已提交
652 653
			};

654
			gpio7: gpio@20b4000 {
655
				compatible = "fsl,imx6q-gpio", "fsl,imx35-gpio";
S
Shawn Guo 已提交
656
				reg = <0x020b4000 0x4000>;
657 658
				interrupts = <0 78 IRQ_TYPE_LEVEL_HIGH>,
					     <0 79 IRQ_TYPE_LEVEL_HIGH>;
S
Shawn Guo 已提交
659 660 661
				gpio-controller;
				#gpio-cells = <2>;
				interrupt-controller;
662
				#interrupt-cells = <2>;
S
Shawn Guo 已提交
663 664
			};

665
			kpp: keypad@20b8000 {
666
				compatible = "fsl,imx6q-kpp", "fsl,imx21-kpp";
S
Shawn Guo 已提交
667
				reg = <0x020b8000 0x4000>;
668
				interrupts = <0 82 IRQ_TYPE_LEVEL_HIGH>;
669
				clocks = <&clks IMX6QDL_CLK_IPG>;
670
				status = "disabled";
S
Shawn Guo 已提交
671 672
			};

673
			wdog1: watchdog@20bc000 {
S
Shawn Guo 已提交
674 675
				compatible = "fsl,imx6q-wdt", "fsl,imx21-wdt";
				reg = <0x020bc000 0x4000>;
676
				interrupts = <0 80 IRQ_TYPE_LEVEL_HIGH>;
677
				clocks = <&clks IMX6QDL_CLK_IPG>;
S
Shawn Guo 已提交
678 679
			};

680
			wdog2: watchdog@20c0000 {
S
Shawn Guo 已提交
681 682
				compatible = "fsl,imx6q-wdt", "fsl,imx21-wdt";
				reg = <0x020c0000 0x4000>;
683
				interrupts = <0 81 IRQ_TYPE_LEVEL_HIGH>;
684
				clocks = <&clks IMX6QDL_CLK_IPG>;
S
Shawn Guo 已提交
685 686 687
				status = "disabled";
			};

688
			clks: clock-controller@20c4000 {
S
Shawn Guo 已提交
689 690
				compatible = "fsl,imx6q-ccm";
				reg = <0x020c4000 0x4000>;
691 692
				interrupts = <0 87 IRQ_TYPE_LEVEL_HIGH>,
					     <0 88 IRQ_TYPE_LEVEL_HIGH>;
693
				#clock-cells = <1>;
S
Shawn Guo 已提交
694 695
			};

696
			anatop: anatop@20c8000 {
697
				compatible = "fsl,imx6q-anatop", "syscon", "simple-mfd";
S
Shawn Guo 已提交
698
				reg = <0x020c8000 0x1000>;
699 700 701
				interrupts = <0 49 IRQ_TYPE_LEVEL_HIGH>,
					     <0 54 IRQ_TYPE_LEVEL_HIGH>,
					     <0 127 IRQ_TYPE_LEVEL_HIGH>;
702

703
				reg_vdd1p1: regulator-1p1 {
704 705
					compatible = "fsl,anatop-regulator";
					regulator-name = "vdd1p1";
706 707
					regulator-min-microvolt = <1000000>;
					regulator-max-microvolt = <1200000>;
708 709 710 711 712 713 714
					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>;
715
					anatop-enable-bit = <0>;
716 717
				};

718
				reg_vdd3p0: regulator-3p0 {
719 720 721 722 723 724 725 726 727 728 729
					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>;
730
					anatop-enable-bit = <0>;
731 732
				};

733
				reg_vdd2p5: regulator-2p5 {
734 735
					compatible = "fsl,anatop-regulator";
					regulator-name = "vdd2p5";
736
					regulator-min-microvolt = <2250000>;
737 738 739 740 741 742
					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>;
743 744
					anatop-min-voltage = <2100000>;
					anatop-max-voltage = <2875000>;
745
					anatop-enable-bit = <0>;
746 747
				};

748
				reg_arm: regulator-vddcore {
749
					compatible = "fsl,anatop-regulator";
750
					regulator-name = "vddarm";
751 752 753 754 755 756
					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>;
757 758 759
					anatop-delay-reg-offset = <0x170>;
					anatop-delay-bit-shift = <24>;
					anatop-delay-bit-width = <2>;
760 761 762 763 764
					anatop-min-bit-val = <1>;
					anatop-min-voltage = <725000>;
					anatop-max-voltage = <1450000>;
				};

765
				reg_pu: regulator-vddpu {
766 767 768 769
					compatible = "fsl,anatop-regulator";
					regulator-name = "vddpu";
					regulator-min-microvolt = <725000>;
					regulator-max-microvolt = <1450000>;
770
					regulator-enable-ramp-delay = <150>;
771 772 773
					anatop-reg-offset = <0x140>;
					anatop-vol-bit-shift = <9>;
					anatop-vol-bit-width = <5>;
774 775 776
					anatop-delay-reg-offset = <0x170>;
					anatop-delay-bit-shift = <26>;
					anatop-delay-bit-width = <2>;
777 778 779 780 781
					anatop-min-bit-val = <1>;
					anatop-min-voltage = <725000>;
					anatop-max-voltage = <1450000>;
				};

782
				reg_soc: regulator-vddsoc {
783 784 785 786 787 788 789 790
					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>;
791 792 793
					anatop-delay-reg-offset = <0x170>;
					anatop-delay-bit-shift = <28>;
					anatop-delay-bit-width = <2>;
794 795 796 797
					anatop-min-bit-val = <1>;
					anatop-min-voltage = <725000>;
					anatop-max-voltage = <1450000>;
				};
S
Shawn Guo 已提交
798 799
			};

800
			usbphy1: usbphy@20c9000 {
801
				compatible = "fsl,imx6q-usbphy", "fsl,imx23-usbphy";
S
Shawn Guo 已提交
802
				reg = <0x020c9000 0x1000>;
803
				interrupts = <0 44 IRQ_TYPE_LEVEL_HIGH>;
804
				clocks = <&clks IMX6QDL_CLK_USBPHY1>;
805
				fsl,anatop = <&anatop>;
S
Shawn Guo 已提交
806 807
			};

808
			usbphy2: usbphy@20ca000 {
809
				compatible = "fsl,imx6q-usbphy", "fsl,imx23-usbphy";
S
Shawn Guo 已提交
810
				reg = <0x020ca000 0x1000>;
811
				interrupts = <0 45 IRQ_TYPE_LEVEL_HIGH>;
812
				clocks = <&clks IMX6QDL_CLK_USBPHY2>;
813
				fsl,anatop = <&anatop>;
S
Shawn Guo 已提交
814 815
			};

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

820
				snvs_rtc: snvs-rtc-lp {
S
Shawn Guo 已提交
821
					compatible = "fsl,sec-v4.0-mon-rtc-lp";
822 823
					regmap = <&snvs>;
					offset = <0x34>;
824 825
					interrupts = <0 19 IRQ_TYPE_LEVEL_HIGH>,
						     <0 20 IRQ_TYPE_LEVEL_HIGH>;
S
Shawn Guo 已提交
826
				};
827

828 829 830 831
				snvs_poweroff: snvs-poweroff {
					compatible = "syscon-poweroff";
					regmap = <&snvs>;
					offset = <0x38>;
832
					value = <0x60>;
833
					mask = <0x60>;
834 835
					status = "disabled";
				};
836

837 838 839 840 841 842
				snvs_pwrkey: snvs-powerkey {
					compatible = "fsl,sec-v4.0-pwrkey";
					regmap = <&snvs>;
					interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
					linux,keycode = <KEY_POWER>;
					wakeup-source;
843
					status = "disabled";
844 845
				};

846 847 848
				snvs_lpgpr: snvs-lpgpr {
					compatible = "fsl,imx6q-snvs-lpgpr";
				};
S
Shawn Guo 已提交
849 850
			};

851
			epit1: epit@20d0000 { /* EPIT1 */
S
Shawn Guo 已提交
852
				reg = <0x020d0000 0x4000>;
853
				interrupts = <0 56 IRQ_TYPE_LEVEL_HIGH>;
S
Shawn Guo 已提交
854 855
			};

856
			epit2: epit@20d4000 { /* EPIT2 */
S
Shawn Guo 已提交
857
				reg = <0x020d4000 0x4000>;
858
				interrupts = <0 57 IRQ_TYPE_LEVEL_HIGH>;
S
Shawn Guo 已提交
859 860
			};

861
			src: reset-controller@20d8000 {
862
				compatible = "fsl,imx6q-src", "fsl,imx51-src";
S
Shawn Guo 已提交
863
				reg = <0x020d8000 0x4000>;
864 865
				interrupts = <0 91 IRQ_TYPE_LEVEL_HIGH>,
					     <0 96 IRQ_TYPE_LEVEL_HIGH>;
866
				#reset-cells = <1>;
S
Shawn Guo 已提交
867 868
			};

869
			gpc: gpc@20dc000 {
S
Shawn Guo 已提交
870 871
				compatible = "fsl,imx6q-gpc";
				reg = <0x020dc000 0x4000>;
872 873
				interrupt-controller;
				#interrupt-cells = <3>;
874 875
				interrupts = <0 89 IRQ_TYPE_LEVEL_HIGH>,
					     <0 90 IRQ_TYPE_LEVEL_HIGH>;
876
				interrupt-parent = <&intc>;
877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899
				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 已提交
900 901
			};

902
			gpr: iomuxc-gpr@20e0000 {
903
				compatible = "fsl,imx6q-iomuxc-gpr", "syscon", "simple-mfd";
904
				reg = <0x20e0000 0x38>;
905 906 907 908 909

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

912
			iomuxc: pinctrl@20e0000 {
913
				compatible = "fsl,imx6dl-iomuxc", "fsl,imx6q-iomuxc";
914
				reg = <0x20e0000 0x4000>;
915 916
			};

917
			dcic1: dcic@20e4000 {
S
Shawn Guo 已提交
918
				reg = <0x020e4000 0x4000>;
919
				interrupts = <0 124 IRQ_TYPE_LEVEL_HIGH>;
S
Shawn Guo 已提交
920 921
			};

922
			dcic2: dcic@20e8000 {
S
Shawn Guo 已提交
923
				reg = <0x020e8000 0x4000>;
924
				interrupts = <0 125 IRQ_TYPE_LEVEL_HIGH>;
S
Shawn Guo 已提交
925 926
			};

927
			sdma: sdma@20ec000 {
S
Shawn Guo 已提交
928 929
				compatible = "fsl,imx6q-sdma", "fsl,imx35-sdma";
				reg = <0x020ec000 0x4000>;
930
				interrupts = <0 2 IRQ_TYPE_LEVEL_HIGH>;
931
				clocks = <&clks IMX6QDL_CLK_IPG>,
932
					 <&clks IMX6QDL_CLK_SDMA>;
933
				clock-names = "ipg", "ahb";
934
				#dma-cells = <3>;
935
				fsl,sdma-ram-script-name = "imx/sdma/sdma-imx6q.bin";
S
Shawn Guo 已提交
936 937 938
			};
		};

P
Peng Fan 已提交
939
		bus@2100000 { /* AIPS2 */
S
Shawn Guo 已提交
940 941 942 943 944 945
			compatible = "fsl,aips-bus", "simple-bus";
			#address-cells = <1>;
			#size-cells = <1>;
			reg = <0x02100000 0x100000>;
			ranges;

946
			crypto: crypto@2100000 {
947 948 949 950 951 952 953 954 955 956 957
				compatible = "fsl,sec-v4.0";
				#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";

958
				sec_jr0: jr@1000 {
959 960 961 962 963
					compatible = "fsl,sec-v4.0-job-ring";
					reg = <0x1000 0x1000>;
					interrupts = <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>;
				};

964
				sec_jr1: jr@2000 {
965 966 967 968
					compatible = "fsl,sec-v4.0-job-ring";
					reg = <0x2000 0x1000>;
					interrupts = <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>;
				};
S
Shawn Guo 已提交
969 970
			};

971
			aipstz@217c000 { /* AIPSTZ2 */
S
Shawn Guo 已提交
972 973 974
				reg = <0x0217c000 0x4000>;
			};

975
			usbotg: usb@2184000 {
976 977
				compatible = "fsl,imx6q-usb", "fsl,imx27-usb";
				reg = <0x02184000 0x200>;
978
				interrupts = <0 43 IRQ_TYPE_LEVEL_HIGH>;
979
				clocks = <&clks IMX6QDL_CLK_USBOH3>;
980
				fsl,usbphy = <&usbphy1>;
981
				fsl,usbmisc = <&usbmisc 0>;
982
				ahb-burst-config = <0x0>;
983 984
				tx-burst-size-dword = <0x10>;
				rx-burst-size-dword = <0x10>;
985 986 987
				status = "disabled";
			};

988
			usbh1: usb@2184200 {
989 990
				compatible = "fsl,imx6q-usb", "fsl,imx27-usb";
				reg = <0x02184200 0x200>;
991
				interrupts = <0 40 IRQ_TYPE_LEVEL_HIGH>;
992
				clocks = <&clks IMX6QDL_CLK_USBOH3>;
993
				fsl,usbphy = <&usbphy2>;
994
				fsl,usbmisc = <&usbmisc 1>;
995
				dr_mode = "host";
996
				ahb-burst-config = <0x0>;
997 998
				tx-burst-size-dword = <0x10>;
				rx-burst-size-dword = <0x10>;
999 1000 1001
				status = "disabled";
			};

1002
			usbh2: usb@2184400 {
1003 1004
				compatible = "fsl,imx6q-usb", "fsl,imx27-usb";
				reg = <0x02184400 0x200>;
1005
				interrupts = <0 41 IRQ_TYPE_LEVEL_HIGH>;
1006
				clocks = <&clks IMX6QDL_CLK_USBOH3>;
1007 1008
				fsl,usbphy = <&usbphynop1>;
				phy_type = "hsic";
1009
				fsl,usbmisc = <&usbmisc 2>;
1010
				dr_mode = "host";
1011
				ahb-burst-config = <0x0>;
1012 1013
				tx-burst-size-dword = <0x10>;
				rx-burst-size-dword = <0x10>;
1014 1015 1016
				status = "disabled";
			};

1017
			usbh3: usb@2184600 {
1018 1019
				compatible = "fsl,imx6q-usb", "fsl,imx27-usb";
				reg = <0x02184600 0x200>;
1020
				interrupts = <0 42 IRQ_TYPE_LEVEL_HIGH>;
1021
				clocks = <&clks IMX6QDL_CLK_USBOH3>;
1022 1023
				fsl,usbphy = <&usbphynop2>;
				phy_type = "hsic";
1024
				fsl,usbmisc = <&usbmisc 3>;
1025
				dr_mode = "host";
1026
				ahb-burst-config = <0x0>;
1027 1028
				tx-burst-size-dword = <0x10>;
				rx-burst-size-dword = <0x10>;
1029 1030 1031
				status = "disabled";
			};

1032
			usbmisc: usbmisc@2184800 {
1033 1034 1035
				#index-cells = <1>;
				compatible = "fsl,imx6q-usbmisc";
				reg = <0x02184800 0x200>;
1036
				clocks = <&clks IMX6QDL_CLK_USBOH3>;
1037 1038
			};

1039
			fec: ethernet@2188000 {
S
Shawn Guo 已提交
1040 1041
				compatible = "fsl,imx6q-fec";
				reg = <0x02188000 0x4000>;
1042
				interrupt-names = "int0", "pps";
1043 1044
				interrupts = <0 118 IRQ_TYPE_LEVEL_HIGH>,
					     <0 119 IRQ_TYPE_LEVEL_HIGH>;
1045 1046 1047
				clocks = <&clks IMX6QDL_CLK_ENET>,
					 <&clks IMX6QDL_CLK_ENET>,
					 <&clks IMX6QDL_CLK_ENET_REF>;
1048
				clock-names = "ipg", "ahb", "ptp";
1049
				fsl,stop-mode = <&gpr 0x34 27>;
S
Shawn Guo 已提交
1050 1051 1052
				status = "disabled";
			};

1053
			mlb@218c000 {
S
Shawn Guo 已提交
1054
				reg = <0x0218c000 0x4000>;
1055 1056 1057
				interrupts = <0 53 IRQ_TYPE_LEVEL_HIGH>,
					     <0 117 IRQ_TYPE_LEVEL_HIGH>,
					     <0 126 IRQ_TYPE_LEVEL_HIGH>;
S
Shawn Guo 已提交
1058 1059
			};

1060
			usdhc1: usdhc@2190000 {
S
Shawn Guo 已提交
1061 1062
				compatible = "fsl,imx6q-usdhc";
				reg = <0x02190000 0x4000>;
1063
				interrupts = <0 22 IRQ_TYPE_LEVEL_HIGH>;
1064 1065 1066
				clocks = <&clks IMX6QDL_CLK_USDHC1>,
					 <&clks IMX6QDL_CLK_USDHC1>,
					 <&clks IMX6QDL_CLK_USDHC1>;
1067
				clock-names = "ipg", "ahb", "per";
1068
				bus-width = <4>;
S
Shawn Guo 已提交
1069 1070 1071
				status = "disabled";
			};

1072
			usdhc2: usdhc@2194000 {
S
Shawn Guo 已提交
1073 1074
				compatible = "fsl,imx6q-usdhc";
				reg = <0x02194000 0x4000>;
1075
				interrupts = <0 23 IRQ_TYPE_LEVEL_HIGH>;
1076 1077 1078
				clocks = <&clks IMX6QDL_CLK_USDHC2>,
					 <&clks IMX6QDL_CLK_USDHC2>,
					 <&clks IMX6QDL_CLK_USDHC2>;
1079
				clock-names = "ipg", "ahb", "per";
1080
				bus-width = <4>;
S
Shawn Guo 已提交
1081 1082 1083
				status = "disabled";
			};

1084
			usdhc3: usdhc@2198000 {
S
Shawn Guo 已提交
1085 1086
				compatible = "fsl,imx6q-usdhc";
				reg = <0x02198000 0x4000>;
1087
				interrupts = <0 24 IRQ_TYPE_LEVEL_HIGH>;
1088 1089 1090
				clocks = <&clks IMX6QDL_CLK_USDHC3>,
					 <&clks IMX6QDL_CLK_USDHC3>,
					 <&clks IMX6QDL_CLK_USDHC3>;
1091
				clock-names = "ipg", "ahb", "per";
1092
				bus-width = <4>;
S
Shawn Guo 已提交
1093 1094 1095
				status = "disabled";
			};

1096
			usdhc4: usdhc@219c000 {
S
Shawn Guo 已提交
1097 1098
				compatible = "fsl,imx6q-usdhc";
				reg = <0x0219c000 0x4000>;
1099
				interrupts = <0 25 IRQ_TYPE_LEVEL_HIGH>;
1100 1101 1102
				clocks = <&clks IMX6QDL_CLK_USDHC4>,
					 <&clks IMX6QDL_CLK_USDHC4>,
					 <&clks IMX6QDL_CLK_USDHC4>;
1103
				clock-names = "ipg", "ahb", "per";
1104
				bus-width = <4>;
S
Shawn Guo 已提交
1105 1106 1107
				status = "disabled";
			};

1108
			i2c1: i2c@21a0000 {
S
Shawn Guo 已提交
1109 1110
				#address-cells = <1>;
				#size-cells = <0>;
1111
				compatible = "fsl,imx6q-i2c", "fsl,imx21-i2c";
S
Shawn Guo 已提交
1112
				reg = <0x021a0000 0x4000>;
1113
				interrupts = <0 36 IRQ_TYPE_LEVEL_HIGH>;
1114
				clocks = <&clks IMX6QDL_CLK_I2C1>;
S
Shawn Guo 已提交
1115 1116 1117
				status = "disabled";
			};

1118
			i2c2: i2c@21a4000 {
S
Shawn Guo 已提交
1119 1120
				#address-cells = <1>;
				#size-cells = <0>;
1121
				compatible = "fsl,imx6q-i2c", "fsl,imx21-i2c";
S
Shawn Guo 已提交
1122
				reg = <0x021a4000 0x4000>;
1123
				interrupts = <0 37 IRQ_TYPE_LEVEL_HIGH>;
1124
				clocks = <&clks IMX6QDL_CLK_I2C2>;
S
Shawn Guo 已提交
1125 1126 1127
				status = "disabled";
			};

1128
			i2c3: i2c@21a8000 {
S
Shawn Guo 已提交
1129 1130
				#address-cells = <1>;
				#size-cells = <0>;
1131
				compatible = "fsl,imx6q-i2c", "fsl,imx21-i2c";
S
Shawn Guo 已提交
1132
				reg = <0x021a8000 0x4000>;
1133
				interrupts = <0 38 IRQ_TYPE_LEVEL_HIGH>;
1134
				clocks = <&clks IMX6QDL_CLK_I2C3>;
S
Shawn Guo 已提交
1135 1136 1137
				status = "disabled";
			};

1138
			romcp@21ac000 {
S
Shawn Guo 已提交
1139 1140 1141
				reg = <0x021ac000 0x4000>;
			};

1142
			mmdc0: memory-controller@21b0000 { /* MMDC0 */
S
Shawn Guo 已提交
1143 1144
				compatible = "fsl,imx6q-mmdc";
				reg = <0x021b0000 0x4000>;
A
Anson Huang 已提交
1145
				clocks = <&clks IMX6QDL_CLK_MMDC_P0_IPG>;
S
Shawn Guo 已提交
1146 1147
			};

1148
			mmdc1: memory-controller@21b4000 { /* MMDC1 */
1149
				compatible = "fsl,imx6q-mmdc";
S
Shawn Guo 已提交
1150
				reg = <0x021b4000 0x4000>;
1151
				status = "disabled";
S
Shawn Guo 已提交
1152 1153
			};

1154
			weim: weim@21b8000 {
1155 1156
				#address-cells = <2>;
				#size-cells = <1>;
1157
				compatible = "fsl,imx6q-weim";
S
Shawn Guo 已提交
1158
				reg = <0x021b8000 0x4000>;
1159
				interrupts = <0 14 IRQ_TYPE_LEVEL_HIGH>;
1160
				clocks = <&clks IMX6QDL_CLK_EIM_SLOW>;
1161
				fsl,weim-cs-gpr = <&gpr>;
1162
				status = "disabled";
S
Shawn Guo 已提交
1163 1164
			};

1165
			ocotp: ocotp-ctrl@21bc000 {
1166
				compatible = "fsl,imx6q-ocotp", "syscon";
S
Shawn Guo 已提交
1167
				reg = <0x021bc000 0x4000>;
1168
				clocks = <&clks IMX6QDL_CLK_IIM>;
1169 1170 1171 1172 1173 1174
				#address-cells = <1>;
				#size-cells = <1>;

				cpu_speed_grade: speed-grade@10 {
					reg = <0x10 4>;
				};
1175 1176 1177 1178 1179 1180 1181 1182

				tempmon_calib: calib@38 {
					reg = <0x38 4>;
				};

				tempmon_temp_grade: temp-grade@20 {
					reg = <0x20 4>;
				};
S
Shawn Guo 已提交
1183 1184
			};

1185
			tzasc@21d0000 { /* TZASC1 */
S
Shawn Guo 已提交
1186
				reg = <0x021d0000 0x4000>;
1187
				interrupts = <0 108 IRQ_TYPE_LEVEL_HIGH>;
S
Shawn Guo 已提交
1188 1189
			};

1190
			tzasc@21d4000 { /* TZASC2 */
S
Shawn Guo 已提交
1191
				reg = <0x021d4000 0x4000>;
1192
				interrupts = <0 109 IRQ_TYPE_LEVEL_HIGH>;
S
Shawn Guo 已提交
1193 1194
			};

1195
			audmux: audmux@21d8000 {
1196
				compatible = "fsl,imx6q-audmux", "fsl,imx31-audmux";
S
Shawn Guo 已提交
1197
				reg = <0x021d8000 0x4000>;
1198
				status = "disabled";
S
Shawn Guo 已提交
1199 1200
			};

1201
			mipi_csi: mipi@21dc000 {
1202
				compatible = "fsl,imx6-mipi-csi2";
S
Shawn Guo 已提交
1203
				reg = <0x021dc000 0x4000>;
1204 1205
				#address-cells = <1>;
				#size-cells = <0>;
1206 1207 1208 1209 1210 1211
				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 已提交
1212 1213
			};

1214
			mipi_dsi: mipi@21e0000 {
S
Shawn Guo 已提交
1215
				reg = <0x021e0000 0x4000>;
1216 1217
				status = "disabled";

1218 1219 1220 1221 1222 1223
				ports {
					#address-cells = <1>;
					#size-cells = <0>;

					port@0 {
						reg = <0>;
1224

1225 1226 1227
						mipi_mux_0: endpoint {
							remote-endpoint = <&ipu1_di0_mipi>;
						};
1228 1229
					};

1230 1231
					port@1 {
						reg = <1>;
1232

1233 1234 1235
						mipi_mux_1: endpoint {
							remote-endpoint = <&ipu1_di1_mipi>;
						};
1236 1237
					};
				};
S
Shawn Guo 已提交
1238 1239
			};

1240
			vdoa@21e4000 {
1241
				compatible = "fsl,imx6q-vdoa";
S
Shawn Guo 已提交
1242
				reg = <0x021e4000 0x4000>;
1243
				interrupts = <0 18 IRQ_TYPE_LEVEL_HIGH>;
1244
				clocks = <&clks IMX6QDL_CLK_VDOA>;
S
Shawn Guo 已提交
1245 1246
			};

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

1259
			uart3: serial@21ec000 {
S
Shawn Guo 已提交
1260 1261
				compatible = "fsl,imx6q-uart", "fsl,imx21-uart";
				reg = <0x021ec000 0x4000>;
1262
				interrupts = <0 28 IRQ_TYPE_LEVEL_HIGH>;
1263 1264
				clocks = <&clks IMX6QDL_CLK_UART_IPG>,
					 <&clks IMX6QDL_CLK_UART_SERIAL>;
1265
				clock-names = "ipg", "per";
1266 1267
				dmas = <&sdma 29 4 0>, <&sdma 30 4 0>;
				dma-names = "rx", "tx";
S
Shawn Guo 已提交
1268 1269 1270
				status = "disabled";
			};

1271
			uart4: serial@21f0000 {
S
Shawn Guo 已提交
1272 1273
				compatible = "fsl,imx6q-uart", "fsl,imx21-uart";
				reg = <0x021f0000 0x4000>;
1274
				interrupts = <0 29 IRQ_TYPE_LEVEL_HIGH>;
1275 1276
				clocks = <&clks IMX6QDL_CLK_UART_IPG>,
					 <&clks IMX6QDL_CLK_UART_SERIAL>;
1277
				clock-names = "ipg", "per";
1278 1279
				dmas = <&sdma 31 4 0>, <&sdma 32 4 0>;
				dma-names = "rx", "tx";
S
Shawn Guo 已提交
1280 1281 1282
				status = "disabled";
			};

1283
			uart5: serial@21f4000 {
S
Shawn Guo 已提交
1284 1285
				compatible = "fsl,imx6q-uart", "fsl,imx21-uart";
				reg = <0x021f4000 0x4000>;
1286
				interrupts = <0 30 IRQ_TYPE_LEVEL_HIGH>;
1287 1288
				clocks = <&clks IMX6QDL_CLK_UART_IPG>,
					 <&clks IMX6QDL_CLK_UART_SERIAL>;
1289
				clock-names = "ipg", "per";
1290 1291
				dmas = <&sdma 33 4 0>, <&sdma 34 4 0>;
				dma-names = "rx", "tx";
S
Shawn Guo 已提交
1292 1293 1294
				status = "disabled";
			};
		};
S
Sascha Hauer 已提交
1295

1296
		ipu1: ipu@2400000 {
1297 1298
			#address-cells = <1>;
			#size-cells = <0>;
S
Sascha Hauer 已提交
1299 1300
			compatible = "fsl,imx6q-ipu";
			reg = <0x02400000 0x400000>;
1301 1302
			interrupts = <0 6 IRQ_TYPE_LEVEL_HIGH>,
				     <0 5 IRQ_TYPE_LEVEL_HIGH>;
1303 1304 1305
			clocks = <&clks IMX6QDL_CLK_IPU1>,
				 <&clks IMX6QDL_CLK_IPU1_DI0>,
				 <&clks IMX6QDL_CLK_IPU1_DI1>;
S
Sascha Hauer 已提交
1306
			clock-names = "bus", "di0", "di1";
1307
			resets = <&src 2>;
1308

1309 1310
			ipu1_csi0: port@0 {
				reg = <0>;
1311 1312 1313 1314

				ipu1_csi0_from_ipu1_csi0_mux: endpoint {
					remote-endpoint = <&ipu1_csi0_mux_to_ipu1_csi0>;
				};
1315 1316 1317 1318 1319 1320
			};

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

1321 1322 1323 1324 1325
			ipu1_di0: port@2 {
				#address-cells = <1>;
				#size-cells = <0>;
				reg = <2>;

1326 1327
				ipu1_di0_disp0: endpoint@0 {
					reg = <0>;
1328 1329
				};

1330 1331
				ipu1_di0_hdmi: endpoint@1 {
					reg = <1>;
1332 1333 1334
					remote-endpoint = <&hdmi_mux_0>;
				};

1335 1336
				ipu1_di0_mipi: endpoint@2 {
					reg = <2>;
1337 1338 1339
					remote-endpoint = <&mipi_mux_0>;
				};

1340 1341
				ipu1_di0_lvds0: endpoint@3 {
					reg = <3>;
1342 1343 1344
					remote-endpoint = <&lvds0_mux_0>;
				};

1345 1346
				ipu1_di0_lvds1: endpoint@4 {
					reg = <4>;
1347 1348 1349 1350 1351 1352 1353 1354 1355
					remote-endpoint = <&lvds1_mux_0>;
				};
			};

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

1356 1357
				ipu1_di1_disp1: endpoint@0 {
					reg = <0>;
1358 1359
				};

1360 1361
				ipu1_di1_hdmi: endpoint@1 {
					reg = <1>;
1362 1363 1364
					remote-endpoint = <&hdmi_mux_1>;
				};

1365 1366
				ipu1_di1_mipi: endpoint@2 {
					reg = <2>;
1367 1368 1369
					remote-endpoint = <&mipi_mux_1>;
				};

1370 1371
				ipu1_di1_lvds0: endpoint@3 {
					reg = <3>;
1372 1373 1374
					remote-endpoint = <&lvds0_mux_1>;
				};

1375 1376
				ipu1_di1_lvds1: endpoint@4 {
					reg = <4>;
1377 1378 1379
					remote-endpoint = <&lvds1_mux_1>;
				};
			};
S
Sascha Hauer 已提交
1380
		};
S
Shawn Guo 已提交
1381 1382
	};
};