imx6qdl.dtsi 33.8 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@00110000 {
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@00112000 {
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 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
		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>;
				};
			};
		};

151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171
		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 已提交
172
		timer@00a00600 {
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 181 182 183 184 185 186 187 188
		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 已提交
189 190 191
		L2: l2-cache@00a02000 {
			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 201
		pcie: pcie@0x01000000 {
			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
			ranges = <0x81000000 0 0          0x01f80000 0 0x00010000 /* downstream I/O */
209 210
				  0x82000000 0 0x01000000 0x01000000 0 0x00f00000>; /* non-prefetchable memory */
			num-lanes = <1>;
211 212
			interrupts = <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>;
			interrupt-names = "msi";
213 214
			#interrupt-cells = <1>;
			interrupt-map-mask = <0 0 0 0x7>;
215
			interrupt-map = <0 0 0 1 &gpc GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>,
216 217 218
					<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>;
219 220 221
			clocks = <&clks IMX6QDL_CLK_PCIE_AXI>,
				 <&clks IMX6QDL_CLK_LVDS1_GATE>,
				 <&clks IMX6QDL_CLK_PCIE_REF_125M>;
222
			clock-names = "pcie", "pcie_bus", "pcie_phy";
223 224 225
			status = "disabled";
		};

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

S
Shawn Guo 已提交
231 232 233 234 235 236 237 238 239 240 241 242 243 244
		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;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

648
				regulator-3p0 {
649 650 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
				regulator-2p5 {
663 664
					compatible = "fsl,anatop-regulator";
					regulator-name = "vdd2p5";
665
					regulator-min-microvolt = <2250000>;
666 667 668 669 670 671
					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>;
672 673
					anatop-min-voltage = <2100000>;
					anatop-max-voltage = <2875000>;
674 675
				};

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

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

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

728 729
			tempmon: tempmon {
				compatible = "fsl,imx6q-tempmon";
730
				interrupts = <0 49 IRQ_TYPE_LEVEL_HIGH>;
731 732
				fsl,tempmon = <&anatop>;
				fsl,tempmon-data = <&ocotp>;
733
				clocks = <&clks IMX6QDL_CLK_PLL3_USB_OTG>;
734 735
			};

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

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

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

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

764 765 766 767 768
				snvs_poweroff: snvs-poweroff {
					compatible = "syscon-poweroff";
					regmap = <&snvs>;
					offset = <0x38>;
					mask = <0x60>;
769 770
					status = "disabled";
				};
S
Shawn Guo 已提交
771 772
			};

773
			epit1: epit@020d0000 { /* EPIT1 */
S
Shawn Guo 已提交
774
				reg = <0x020d0000 0x4000>;
775
				interrupts = <0 56 IRQ_TYPE_LEVEL_HIGH>;
S
Shawn Guo 已提交
776 777
			};

778
			epit2: epit@020d4000 { /* EPIT2 */
S
Shawn Guo 已提交
779
				reg = <0x020d4000 0x4000>;
780
				interrupts = <0 57 IRQ_TYPE_LEVEL_HIGH>;
S
Shawn Guo 已提交
781 782
			};

783
			src: src@020d8000 {
784
				compatible = "fsl,imx6q-src", "fsl,imx51-src";
S
Shawn Guo 已提交
785
				reg = <0x020d8000 0x4000>;
786 787
				interrupts = <0 91 IRQ_TYPE_LEVEL_HIGH>,
					     <0 96 IRQ_TYPE_LEVEL_HIGH>;
788
				#reset-cells = <1>;
S
Shawn Guo 已提交
789 790
			};

791
			gpc: gpc@020dc000 {
S
Shawn Guo 已提交
792 793
				compatible = "fsl,imx6q-gpc";
				reg = <0x020dc000 0x4000>;
794 795
				interrupt-controller;
				#interrupt-cells = <3>;
796 797
				interrupts = <0 89 IRQ_TYPE_LEVEL_HIGH>,
					     <0 90 IRQ_TYPE_LEVEL_HIGH>;
798
				interrupt-parent = <&intc>;
799 800 801 802 803 804 805 806
				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 已提交
807 808
			};

809 810 811 812 813
			gpr: iomuxc-gpr@020e0000 {
				compatible = "fsl,imx6q-iomuxc-gpr", "syscon";
				reg = <0x020e0000 0x38>;
			};

814 815 816 817 818
			iomuxc: iomuxc@020e0000 {
				compatible = "fsl,imx6dl-iomuxc", "fsl,imx6q-iomuxc";
				reg = <0x020e0000 0x4000>;
			};

819
			ldb: ldb {
820 821 822 823 824 825 826
				#address-cells = <1>;
				#size-cells = <0>;
				compatible = "fsl,imx6q-ldb", "fsl,imx53-ldb";
				gpr = <&gpr>;
				status = "disabled";

				lvds-channel@0 {
827 828
					#address-cells = <1>;
					#size-cells = <0>;
829 830
					reg = <0>;
					status = "disabled";
831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846

					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>;
						};
					};
847 848 849
				};

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

					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>;
						};
					};
870 871 872
				};
			};

873
			dcic1: dcic@020e4000 {
S
Shawn Guo 已提交
874
				reg = <0x020e4000 0x4000>;
875
				interrupts = <0 124 IRQ_TYPE_LEVEL_HIGH>;
S
Shawn Guo 已提交
876 877
			};

878
			dcic2: dcic@020e8000 {
S
Shawn Guo 已提交
879
				reg = <0x020e8000 0x4000>;
880
				interrupts = <0 125 IRQ_TYPE_LEVEL_HIGH>;
S
Shawn Guo 已提交
881 882
			};

883
			sdma: sdma@020ec000 {
S
Shawn Guo 已提交
884 885
				compatible = "fsl,imx6q-sdma", "fsl,imx35-sdma";
				reg = <0x020ec000 0x4000>;
886
				interrupts = <0 2 IRQ_TYPE_LEVEL_HIGH>;
887 888
				clocks = <&clks IMX6QDL_CLK_SDMA>,
					 <&clks IMX6QDL_CLK_SDMA>;
889
				clock-names = "ipg", "ahb";
890
				#dma-cells = <3>;
891
				fsl,sdma-ram-script-name = "imx/sdma/sdma-imx6q.bin";
S
Shawn Guo 已提交
892 893 894 895 896 897 898 899 900 901
			};
		};

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

902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925
			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 已提交
926 927 928 929 930 931
			};

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

932
			usbotg: usb@02184000 {
933 934
				compatible = "fsl,imx6q-usb", "fsl,imx27-usb";
				reg = <0x02184000 0x200>;
935
				interrupts = <0 43 IRQ_TYPE_LEVEL_HIGH>;
936
				clocks = <&clks IMX6QDL_CLK_USBOH3>;
937
				fsl,usbphy = <&usbphy1>;
938
				fsl,usbmisc = <&usbmisc 0>;
939
				ahb-burst-config = <0x0>;
940 941
				tx-burst-size-dword = <0x10>;
				rx-burst-size-dword = <0x10>;
942 943 944
				status = "disabled";
			};

945
			usbh1: usb@02184200 {
946 947
				compatible = "fsl,imx6q-usb", "fsl,imx27-usb";
				reg = <0x02184200 0x200>;
948
				interrupts = <0 40 IRQ_TYPE_LEVEL_HIGH>;
949
				clocks = <&clks IMX6QDL_CLK_USBOH3>;
950
				fsl,usbphy = <&usbphy2>;
951
				fsl,usbmisc = <&usbmisc 1>;
952
				dr_mode = "host";
953
				ahb-burst-config = <0x0>;
954 955
				tx-burst-size-dword = <0x10>;
				rx-burst-size-dword = <0x10>;
956 957 958
				status = "disabled";
			};

959
			usbh2: usb@02184400 {
960 961
				compatible = "fsl,imx6q-usb", "fsl,imx27-usb";
				reg = <0x02184400 0x200>;
962
				interrupts = <0 41 IRQ_TYPE_LEVEL_HIGH>;
963
				clocks = <&clks IMX6QDL_CLK_USBOH3>;
964
				fsl,usbmisc = <&usbmisc 2>;
965
				dr_mode = "host";
966
				ahb-burst-config = <0x0>;
967 968
				tx-burst-size-dword = <0x10>;
				rx-burst-size-dword = <0x10>;
969 970 971
				status = "disabled";
			};

972
			usbh3: usb@02184600 {
973 974
				compatible = "fsl,imx6q-usb", "fsl,imx27-usb";
				reg = <0x02184600 0x200>;
975
				interrupts = <0 42 IRQ_TYPE_LEVEL_HIGH>;
976
				clocks = <&clks IMX6QDL_CLK_USBOH3>;
977
				fsl,usbmisc = <&usbmisc 3>;
978
				dr_mode = "host";
979
				ahb-burst-config = <0x0>;
980 981
				tx-burst-size-dword = <0x10>;
				rx-burst-size-dword = <0x10>;
982 983 984
				status = "disabled";
			};

985
			usbmisc: usbmisc@02184800 {
986 987 988
				#index-cells = <1>;
				compatible = "fsl,imx6q-usbmisc";
				reg = <0x02184800 0x200>;
989
				clocks = <&clks IMX6QDL_CLK_USBOH3>;
990 991
			};

992
			fec: ethernet@02188000 {
S
Shawn Guo 已提交
993 994
				compatible = "fsl,imx6q-fec";
				reg = <0x02188000 0x4000>;
995 996 997
				interrupts-extended =
					<&intc 0 118 IRQ_TYPE_LEVEL_HIGH>,
					<&intc 0 119 IRQ_TYPE_LEVEL_HIGH>;
998 999 1000
				clocks = <&clks IMX6QDL_CLK_ENET>,
					 <&clks IMX6QDL_CLK_ENET>,
					 <&clks IMX6QDL_CLK_ENET_REF>;
1001
				clock-names = "ipg", "ahb", "ptp";
S
Shawn Guo 已提交
1002 1003 1004 1005 1006
				status = "disabled";
			};

			mlb@0218c000 {
				reg = <0x0218c000 0x4000>;
1007 1008 1009
				interrupts = <0 53 IRQ_TYPE_LEVEL_HIGH>,
					     <0 117 IRQ_TYPE_LEVEL_HIGH>,
					     <0 126 IRQ_TYPE_LEVEL_HIGH>;
S
Shawn Guo 已提交
1010 1011
			};

1012
			usdhc1: usdhc@02190000 {
S
Shawn Guo 已提交
1013 1014
				compatible = "fsl,imx6q-usdhc";
				reg = <0x02190000 0x4000>;
1015
				interrupts = <0 22 IRQ_TYPE_LEVEL_HIGH>;
1016 1017 1018
				clocks = <&clks IMX6QDL_CLK_USDHC1>,
					 <&clks IMX6QDL_CLK_USDHC1>,
					 <&clks IMX6QDL_CLK_USDHC1>;
1019
				clock-names = "ipg", "ahb", "per";
1020
				bus-width = <4>;
S
Shawn Guo 已提交
1021 1022 1023
				status = "disabled";
			};

1024
			usdhc2: usdhc@02194000 {
S
Shawn Guo 已提交
1025 1026
				compatible = "fsl,imx6q-usdhc";
				reg = <0x02194000 0x4000>;
1027
				interrupts = <0 23 IRQ_TYPE_LEVEL_HIGH>;
1028 1029 1030
				clocks = <&clks IMX6QDL_CLK_USDHC2>,
					 <&clks IMX6QDL_CLK_USDHC2>,
					 <&clks IMX6QDL_CLK_USDHC2>;
1031
				clock-names = "ipg", "ahb", "per";
1032
				bus-width = <4>;
S
Shawn Guo 已提交
1033 1034 1035
				status = "disabled";
			};

1036
			usdhc3: usdhc@02198000 {
S
Shawn Guo 已提交
1037 1038
				compatible = "fsl,imx6q-usdhc";
				reg = <0x02198000 0x4000>;
1039
				interrupts = <0 24 IRQ_TYPE_LEVEL_HIGH>;
1040 1041 1042
				clocks = <&clks IMX6QDL_CLK_USDHC3>,
					 <&clks IMX6QDL_CLK_USDHC3>,
					 <&clks IMX6QDL_CLK_USDHC3>;
1043
				clock-names = "ipg", "ahb", "per";
1044
				bus-width = <4>;
S
Shawn Guo 已提交
1045 1046 1047
				status = "disabled";
			};

1048
			usdhc4: usdhc@0219c000 {
S
Shawn Guo 已提交
1049 1050
				compatible = "fsl,imx6q-usdhc";
				reg = <0x0219c000 0x4000>;
1051
				interrupts = <0 25 IRQ_TYPE_LEVEL_HIGH>;
1052 1053 1054
				clocks = <&clks IMX6QDL_CLK_USDHC4>,
					 <&clks IMX6QDL_CLK_USDHC4>,
					 <&clks IMX6QDL_CLK_USDHC4>;
1055
				clock-names = "ipg", "ahb", "per";
1056
				bus-width = <4>;
S
Shawn Guo 已提交
1057 1058 1059
				status = "disabled";
			};

1060
			i2c1: i2c@021a0000 {
S
Shawn Guo 已提交
1061 1062
				#address-cells = <1>;
				#size-cells = <0>;
1063
				compatible = "fsl,imx6q-i2c", "fsl,imx21-i2c";
S
Shawn Guo 已提交
1064
				reg = <0x021a0000 0x4000>;
1065
				interrupts = <0 36 IRQ_TYPE_LEVEL_HIGH>;
1066
				clocks = <&clks IMX6QDL_CLK_I2C1>;
S
Shawn Guo 已提交
1067 1068 1069
				status = "disabled";
			};

1070
			i2c2: i2c@021a4000 {
S
Shawn Guo 已提交
1071 1072
				#address-cells = <1>;
				#size-cells = <0>;
1073
				compatible = "fsl,imx6q-i2c", "fsl,imx21-i2c";
S
Shawn Guo 已提交
1074
				reg = <0x021a4000 0x4000>;
1075
				interrupts = <0 37 IRQ_TYPE_LEVEL_HIGH>;
1076
				clocks = <&clks IMX6QDL_CLK_I2C2>;
S
Shawn Guo 已提交
1077 1078 1079
				status = "disabled";
			};

1080
			i2c3: i2c@021a8000 {
S
Shawn Guo 已提交
1081 1082
				#address-cells = <1>;
				#size-cells = <0>;
1083
				compatible = "fsl,imx6q-i2c", "fsl,imx21-i2c";
S
Shawn Guo 已提交
1084
				reg = <0x021a8000 0x4000>;
1085
				interrupts = <0 38 IRQ_TYPE_LEVEL_HIGH>;
1086
				clocks = <&clks IMX6QDL_CLK_I2C3>;
S
Shawn Guo 已提交
1087 1088 1089 1090 1091 1092 1093
				status = "disabled";
			};

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

1094
			mmdc0: mmdc@021b0000 { /* MMDC0 */
S
Shawn Guo 已提交
1095 1096 1097 1098
				compatible = "fsl,imx6q-mmdc";
				reg = <0x021b0000 0x4000>;
			};

1099
			mmdc1: mmdc@021b4000 { /* MMDC1 */
S
Shawn Guo 已提交
1100 1101 1102
				reg = <0x021b4000 0x4000>;
			};

1103
			weim: weim@021b8000 {
1104 1105
				#address-cells = <2>;
				#size-cells = <1>;
1106
				compatible = "fsl,imx6q-weim";
S
Shawn Guo 已提交
1107
				reg = <0x021b8000 0x4000>;
1108
				interrupts = <0 14 IRQ_TYPE_LEVEL_HIGH>;
1109
				clocks = <&clks IMX6QDL_CLK_EIM_SLOW>;
1110
				fsl,weim-cs-gpr = <&gpr>;
1111
				status = "disabled";
S
Shawn Guo 已提交
1112 1113
			};

1114 1115
			ocotp: ocotp@021bc000 {
				compatible = "fsl,imx6q-ocotp", "syscon";
S
Shawn Guo 已提交
1116
				reg = <0x021bc000 0x4000>;
1117
				clocks = <&clks IMX6QDL_CLK_IIM>;
S
Shawn Guo 已提交
1118 1119 1120 1121
			};

			tzasc@021d0000 { /* TZASC1 */
				reg = <0x021d0000 0x4000>;
1122
				interrupts = <0 108 IRQ_TYPE_LEVEL_HIGH>;
S
Shawn Guo 已提交
1123 1124 1125 1126
			};

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

1130
			audmux: audmux@021d8000 {
1131
				compatible = "fsl,imx6q-audmux", "fsl,imx31-audmux";
S
Shawn Guo 已提交
1132
				reg = <0x021d8000 0x4000>;
1133
				status = "disabled";
S
Shawn Guo 已提交
1134 1135
			};

1136
			mipi_csi: mipi@021dc000 {
S
Shawn Guo 已提交
1137 1138 1139
				reg = <0x021dc000 0x4000>;
			};

1140 1141 1142
			mipi_dsi: mipi@021e0000 {
				#address-cells = <1>;
				#size-cells = <0>;
S
Shawn Guo 已提交
1143
				reg = <0x021e0000 0x4000>;
1144 1145
				status = "disabled";

1146 1147 1148 1149 1150 1151
				ports {
					#address-cells = <1>;
					#size-cells = <0>;

					port@0 {
						reg = <0>;
1152

1153 1154 1155
						mipi_mux_0: endpoint {
							remote-endpoint = <&ipu1_di0_mipi>;
						};
1156 1157
					};

1158 1159
					port@1 {
						reg = <1>;
1160

1161 1162 1163
						mipi_mux_1: endpoint {
							remote-endpoint = <&ipu1_di1_mipi>;
						};
1164 1165
					};
				};
S
Shawn Guo 已提交
1166 1167 1168
			};

			vdoa@021e4000 {
1169
				compatible = "fsl,imx6q-vdoa";
S
Shawn Guo 已提交
1170
				reg = <0x021e4000 0x4000>;
1171
				interrupts = <0 18 IRQ_TYPE_LEVEL_HIGH>;
1172
				clocks = <&clks IMX6QDL_CLK_VDOA>;
S
Shawn Guo 已提交
1173 1174
			};

1175
			uart2: serial@021e8000 {
S
Shawn Guo 已提交
1176 1177
				compatible = "fsl,imx6q-uart", "fsl,imx21-uart";
				reg = <0x021e8000 0x4000>;
1178
				interrupts = <0 27 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 27 4 0>, <&sdma 28 4 0>;
				dma-names = "rx", "tx";
S
Shawn Guo 已提交
1184 1185 1186
				status = "disabled";
			};

1187
			uart3: serial@021ec000 {
S
Shawn Guo 已提交
1188 1189
				compatible = "fsl,imx6q-uart", "fsl,imx21-uart";
				reg = <0x021ec000 0x4000>;
1190
				interrupts = <0 28 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 29 4 0>, <&sdma 30 4 0>;
				dma-names = "rx", "tx";
S
Shawn Guo 已提交
1196 1197 1198
				status = "disabled";
			};

1199
			uart4: serial@021f0000 {
S
Shawn Guo 已提交
1200 1201
				compatible = "fsl,imx6q-uart", "fsl,imx21-uart";
				reg = <0x021f0000 0x4000>;
1202
				interrupts = <0 29 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 31 4 0>, <&sdma 32 4 0>;
				dma-names = "rx", "tx";
S
Shawn Guo 已提交
1208 1209 1210
				status = "disabled";
			};

1211
			uart5: serial@021f4000 {
S
Shawn Guo 已提交
1212 1213
				compatible = "fsl,imx6q-uart", "fsl,imx21-uart";
				reg = <0x021f4000 0x4000>;
1214
				interrupts = <0 30 IRQ_TYPE_LEVEL_HIGH>;
1215 1216
				clocks = <&clks IMX6QDL_CLK_UART_IPG>,
					 <&clks IMX6QDL_CLK_UART_SERIAL>;
1217
				clock-names = "ipg", "per";
1218 1219
				dmas = <&sdma 33 4 0>, <&sdma 34 4 0>;
				dma-names = "rx", "tx";
S
Shawn Guo 已提交
1220 1221 1222
				status = "disabled";
			};
		};
S
Sascha Hauer 已提交
1223 1224

		ipu1: ipu@02400000 {
1225 1226
			#address-cells = <1>;
			#size-cells = <0>;
S
Sascha Hauer 已提交
1227 1228
			compatible = "fsl,imx6q-ipu";
			reg = <0x02400000 0x400000>;
1229 1230
			interrupts = <0 6 IRQ_TYPE_LEVEL_HIGH>,
				     <0 5 IRQ_TYPE_LEVEL_HIGH>;
1231 1232 1233
			clocks = <&clks IMX6QDL_CLK_IPU1>,
				 <&clks IMX6QDL_CLK_IPU1_DI0>,
				 <&clks IMX6QDL_CLK_IPU1_DI1>;
S
Sascha Hauer 已提交
1234
			clock-names = "bus", "di0", "di1";
1235
			resets = <&src 2>;
1236

1237 1238 1239 1240 1241 1242 1243 1244
			ipu1_csi0: port@0 {
				reg = <0>;
			};

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

1245 1246 1247 1248 1249
			ipu1_di0: port@2 {
				#address-cells = <1>;
				#size-cells = <0>;
				reg = <2>;

1250
				ipu1_di0_disp0: disp0-endpoint {
1251 1252
				};

1253
				ipu1_di0_hdmi: hdmi-endpoint {
1254 1255 1256
					remote-endpoint = <&hdmi_mux_0>;
				};

1257
				ipu1_di0_mipi: mipi-endpoint {
1258 1259 1260
					remote-endpoint = <&mipi_mux_0>;
				};

1261
				ipu1_di0_lvds0: lvds0-endpoint {
1262 1263 1264
					remote-endpoint = <&lvds0_mux_0>;
				};

1265
				ipu1_di0_lvds1: lvds1-endpoint {
1266 1267 1268 1269 1270 1271 1272 1273 1274
					remote-endpoint = <&lvds1_mux_0>;
				};
			};

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

1275
				ipu1_di1_disp1: disp1-endpoint {
1276 1277
				};

1278
				ipu1_di1_hdmi: hdmi-endpoint {
1279 1280 1281
					remote-endpoint = <&hdmi_mux_1>;
				};

1282
				ipu1_di1_mipi: mipi-endpoint {
1283 1284 1285
					remote-endpoint = <&mipi_mux_1>;
				};

1286
				ipu1_di1_lvds0: lvds0-endpoint {
1287 1288 1289
					remote-endpoint = <&lvds0_mux_1>;
				};

1290
				ipu1_di1_lvds1: lvds1-endpoint {
1291 1292 1293
					remote-endpoint = <&lvds1_mux_1>;
				};
			};
S
Sascha Hauer 已提交
1294
		};
S
Shawn Guo 已提交
1295 1296
	};
};