Blame view

arch/arm/boot/dts/imx6qdl.dtsi 39.4 KB
7d740f87f   Shawn Guo   arm/imx6q: add de...
1
  /*
fb88f88cc   Anson Huang   MLK-12675 ARM: dt...
2
   * Copyright 2011-2016 Freescale Semiconductor, Inc.
7d740f87f   Shawn Guo   arm/imx6q: add de...
3
4
5
6
7
8
9
10
11
   * 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
   */
8888f6513   Shawn Guo   ARM: dts: imx6qdl...
12
  #include <dt-bindings/clock/imx6qdl-clock.h>
07134a365   Lucas Stach   ARM: dts: imx6: a...
13
  #include <dt-bindings/interrupt-controller/arm-gic.h>
7d740f87f   Shawn Guo   arm/imx6q: add de...
14
  / {
7f107887d   Fabio Estevam   ARM: dts: imx: Re...
15
16
  	#address-cells = <1>;
  	#size-cells = <1>;
a971c5545   Fabio Estevam   ARM: dts: imx: Pa...
17
18
19
20
21
22
23
24
  	/*
  	 * 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>; };
7f107887d   Fabio Estevam   ARM: dts: imx: Re...
25

7d740f87f   Shawn Guo   arm/imx6q: add de...
26
  	aliases {
22970070e   Marek Vasut   ARM: dts: imx: Ad...
27
  		ethernet0 = &fec;
5f8fbc2cd   Lothar Waßmann   ARM: dts: imx6qdl...
28
29
  		can0 = &can1;
  		can1 = &can2;
5230f8fe9   Shawn Guo   ARM: dts: imx: ad...
30
31
32
33
34
35
36
  		gpio0 = &gpio1;
  		gpio1 = &gpio2;
  		gpio2 = &gpio3;
  		gpio3 = &gpio4;
  		gpio4 = &gpio5;
  		gpio5 = &gpio6;
  		gpio6 = &gpio7;
80fa05847   Sascha Hauer   ARM: dts: i.MX6: ...
37
38
39
  		i2c0 = &i2c1;
  		i2c1 = &i2c2;
  		i2c2 = &i2c3;
41beef39c   Philipp Zabel   ARM: dts: imx6qdl...
40
  		ipu0 = &ipu1;
fb06d65cc   Sascha Hauer   ARM: dts: imx6qdl...
41
42
43
44
  		mmc0 = &usdhc1;
  		mmc1 = &usdhc2;
  		mmc2 = &usdhc3;
  		mmc3 = &usdhc4;
80fa05847   Sascha Hauer   ARM: dts: i.MX6: ...
45
46
47
48
49
50
51
52
53
  		serial0 = &uart1;
  		serial1 = &uart2;
  		serial2 = &uart3;
  		serial3 = &uart4;
  		serial4 = &uart5;
  		spi0 = &ecspi1;
  		spi1 = &ecspi2;
  		spi2 = &ecspi3;
  		spi3 = &ecspi4;
8189c51f1   Peter Chen   ARM: dts: imx6: a...
54
55
  		usbphy0 = &usbphy1;
  		usbphy1 = &usbphy2;
7d740f87f   Shawn Guo   arm/imx6q: add de...
56
  	};
7d740f87f   Shawn Guo   arm/imx6q: add de...
57
58
59
60
61
62
  	clocks {
  		#address-cells = <1>;
  		#size-cells = <0>;
  
  		ckil {
  			compatible = "fsl,imx-ckil", "fixed-clock";
4b2b40430   Shawn Guo   ARM: dts: imx: ad...
63
  			#clock-cells = <0>;
7d740f87f   Shawn Guo   arm/imx6q: add de...
64
65
66
67
68
  			clock-frequency = <32768>;
  		};
  
  		ckih1 {
  			compatible = "fsl,imx-ckih1", "fixed-clock";
4b2b40430   Shawn Guo   ARM: dts: imx: ad...
69
  			#clock-cells = <0>;
7d740f87f   Shawn Guo   arm/imx6q: add de...
70
71
72
73
74
  			clock-frequency = <0>;
  		};
  
  		osc {
  			compatible = "fsl,imx-osc", "fixed-clock";
4b2b40430   Shawn Guo   ARM: dts: imx: ad...
75
  			#clock-cells = <0>;
7d740f87f   Shawn Guo   arm/imx6q: add de...
76
77
78
79
80
81
82
83
  			clock-frequency = <24000000>;
  		};
  	};
  
  	soc {
  		#address-cells = <1>;
  		#size-cells = <1>;
  		compatible = "simple-bus";
b923ff6af   Marc Zyngier   ARM: imx6: conver...
84
  		interrupt-parent = <&gpc>;
7d740f87f   Shawn Guo   arm/imx6q: add de...
85
  		ranges;
f20383579   Dan Douglass   ENGR00289885 [iMX...
86
87
  		caam_sm: caam-sm@00100000 {
  			compatible = "fsl,imx6q-caam-sm";
ccf09512f   Franck LENORMAND   MLK-18082: ARM: d...
88
  			reg = <0x00100000 0x4000>;
f20383579   Dan Douglass   ENGR00289885 [iMX...
89
  		};
f30fb03d4   Shawn Guo   ARM: dts: add gen...
90
  		dma_apbh: dma-apbh@00110000 {
e5d0f9f57   Huang Shijie   ARM: imx6q: add D...
91
92
  			compatible = "fsl,imx6q-dma-apbh", "fsl,imx28-dma-apbh";
  			reg = <0x00110000 0x2000>;
275c08b56   Troy Kisky   ARM: dts: imx: im...
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>;
f30fb03d4   Shawn Guo   ARM: dts: add gen...
97
98
99
  			interrupt-names = "gpmi0", "gpmi1", "gpmi2", "gpmi3";
  			#dma-cells = <1>;
  			dma-channels = <4>;
8888f6513   Shawn Guo   ARM: dts: imx6qdl...
100
  			clocks = <&clks IMX6QDL_CLK_APBH_DMA>;
e5d0f9f57   Huang Shijie   ARM: imx6q: add D...
101
  		};
f20383579   Dan Douglass   ENGR00289885 [iMX...
102
103
104
105
  		irq_sec_vio: caam_secvio {
  			compatible = "fsl,imx6q-caam-secvio";
  			interrupts = <0 20 0x04>;
  			secvio_src = <0x8000001d>;
3bf1080a9   ulises   MLK-11922 i.mx6: ...
106
107
108
109
  			jtag-tamper = "disabled";
  			watchdog-tamper = "enabled";
  			internal-boot-tamper = "enabled";
  			external-pin-tamper = "disabled";
f20383579   Dan Douglass   ENGR00289885 [iMX...
110
  		};
be4ccfcec   Shawn Guo   ARM: dts: imx: us...
111
  		gpmi: gpmi-nand@00112000 {
0e87e0436   Shawn Guo   ARM: imx6q: repla...
112
113
114
115
116
  			compatible = "fsl,imx6q-gpmi-nand";
  			#address-cells = <1>;
  			#size-cells = <1>;
  			reg = <0x00112000 0x2000>, <0x00114000 0x2000>;
  			reg-names = "gpmi-nand", "bch";
275c08b56   Troy Kisky   ARM: dts: imx: im...
117
  			interrupts = <0 15 IRQ_TYPE_LEVEL_HIGH>;
c7aa12a62   Shawn Guo   ARM: dts: imx: re...
118
  			interrupt-names = "bch";
8888f6513   Shawn Guo   ARM: dts: imx6qdl...
119
120
121
122
123
  			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>;
0e87e0436   Shawn Guo   ARM: imx6q: repla...
124
125
  			clock-names = "gpmi_io", "gpmi_apb", "gpmi_bch",
  				      "gpmi_bch_apb", "per1_bch";
f30fb03d4   Shawn Guo   ARM: dts: add gen...
126
127
  			dmas = <&dma_apbh 0>;
  			dma-names = "rx-tx";
0e87e0436   Shawn Guo   ARM: imx6q: repla...
128
  			status = "disabled";
cf922fa88   Huang Shijie   ARM: imx6q: add D...
129
  		};
ac4af82b9   Lucas Stach   ARM: dts: imx6qdl...
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
  		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>;
  				};
  			};
  		};
419e202b2   Lucas Stach   ARM: dts: imx6: a...
157
158
159
160
161
162
163
164
  		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";
e761b82ef   Lucas Stach   ARM: dts: imx6: a...
165
  			power-domains = <&pd_pu>;
419e202b2   Lucas Stach   ARM: dts: imx6: a...
166
167
168
169
170
171
172
173
174
  		};
  
  		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";
e761b82ef   Lucas Stach   ARM: dts: imx6: a...
175
  			power-domains = <&pd_pu>;
419e202b2   Lucas Stach   ARM: dts: imx6: a...
176
  		};
fa38c090d   Bai Ping   MLK-11322-01 ARM:...
177
178
179
180
181
182
183
184
185
186
187
  		ocrams: sram@00900000 {
  			compatible = "fsl,lpm-sram";
  			reg = <0x00900000 0x4000>;
  			clocks = <&clks IMX6QDL_CLK_OCRAM>;
  		};
  
  		ocrams_ddr: sram@00904000 {
  			compatible = "fsl,ddr-lpm-sram";
  			reg = <0x00904000 0x1000>;
  			clocks = <&clks IMX6QDL_CLK_OCRAM>;
  		};
7d740f87f   Shawn Guo   arm/imx6q: add de...
188
  		timer@00a00600 {
58458e032   Marc Zyngier   ARM: imx6q: conve...
189
190
191
  			compatible = "arm,cortex-a9-twd-timer";
  			reg = <0x00a00600 0x20>;
  			interrupts = <1 13 0xf01>;
b923ff6af   Marc Zyngier   ARM: imx6: conver...
192
  			interrupt-parent = <&intc>;
8888f6513   Shawn Guo   ARM: dts: imx6qdl...
193
  			clocks = <&clks IMX6QDL_CLK_TWD>;
7d740f87f   Shawn Guo   arm/imx6q: add de...
194
  		};
67157882a   Lucas Stach   ARM: dts: imx6qdl...
195
196
197
198
199
200
201
202
  		intc: interrupt-controller@00a01000 {
  			compatible = "arm,cortex-a9-gic";
  			#interrupt-cells = <3>;
  			interrupt-controller;
  			reg = <0x00a01000 0x1000>,
  			      <0x00a00100 0x100>;
  			interrupt-parent = <&intc>;
  		};
7d740f87f   Shawn Guo   arm/imx6q: add de...
203
204
205
  		L2: l2-cache@00a02000 {
  			compatible = "arm,pl310-cache";
  			reg = <0x00a02000 0x1000>;
275c08b56   Troy Kisky   ARM: dts: imx: im...
206
  			interrupts = <0 92 IRQ_TYPE_LEVEL_HIGH>;
7d740f87f   Shawn Guo   arm/imx6q: add de...
207
208
  			cache-unified;
  			cache-level = <2>;
5a5ca56e0   Dirk Behme   ARM: dts: i.MX6: ...
209
210
  			arm,tag-latency = <4 2 3>;
  			arm,data-latency = <4 2 3>;
74332d757   Peter Chen   ARM: dts: imx6qdl...
211
  			arm,shared-override;
7d740f87f   Shawn Guo   arm/imx6q: add de...
212
  		};
3e1b85778   Rob Herring   ARM: dts: imx: fi...
213
  		pcie: pcie@1ffc000 {
3a57291fa   Sean Cross   ARM: dts: imx6qdl...
214
  			compatible = "fsl,imx6q-pcie", "snps,dw-pcie";
fcd173039   Lucas Stach   ARM: imx6: add pc...
215
216
217
  			reg = <0x01ffc000 0x04000>,
  			      <0x01f00000 0x80000>;
  			reg-names = "dbi", "config";
3a57291fa   Sean Cross   ARM: dts: imx6qdl...
218
219
220
  			#address-cells = <3>;
  			#size-cells = <2>;
  			device_type = "pci";
3e1b85778   Rob Herring   ARM: dts: imx: fi...
221
  			bus-range = <0x00 0xff>;
d9cf0a125   Lucas Stach   ARM: dts: imx6: r...
222
  			ranges = <0x81000000 0 0          0x01f80000 0 0x00010000 /* downstream I/O */
3a57291fa   Sean Cross   ARM: dts: imx6qdl...
223
224
  				  0x82000000 0 0x01000000 0x01000000 0 0x00f00000>; /* non-prefetchable memory */
  			num-lanes = <1>;
92a7eb7c7   Lucas Stach   ARM: dts: imx6: u...
225
226
  			interrupts = <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>;
  			interrupt-names = "msi";
07134a365   Lucas Stach   ARM: dts: imx6: a...
227
228
  			#interrupt-cells = <1>;
  			interrupt-map-mask = <0 0 0 0x7>;
1a9fa1909   Lucas Stach   ARM: imx6: correc...
229
  			interrupt-map = <0 0 0 1 &gpc GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>,
bf5393c5e   Jagan Teki   ARM: dts: imx6qdl...
230
231
232
  					<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>;
8888f6513   Shawn Guo   ARM: dts: imx6qdl...
233
234
235
  			clocks = <&clks IMX6QDL_CLK_PCIE_AXI>,
  				 <&clks IMX6QDL_CLK_LVDS1_GATE>,
  				 <&clks IMX6QDL_CLK_PCIE_REF_125M>;
92a7eb7c7   Lucas Stach   ARM: dts: imx6: u...
236
  			clock-names = "pcie", "pcie_bus", "pcie_phy";
70c3b10fc   Richard Zhu   MLK-14325-1 ARM: ...
237
  			fsl,max-link-speed = <2>;
3a57291fa   Sean Cross   ARM: dts: imx6qdl...
238
239
  			status = "disabled";
  		};
218abe6fe   Dirk Behme   ARM: dts: imx6q: ...
240
241
  		pmu {
  			compatible = "arm,cortex-a9-pmu";
275c08b56   Troy Kisky   ARM: dts: imx: im...
242
  			interrupts = <0 94 IRQ_TYPE_LEVEL_HIGH>;
218abe6fe   Dirk Behme   ARM: dts: imx6q: ...
243
  		};
31fc5faa9   Sandor Yu   MLK-11431-3: ARM:...
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
  		hdmi_core: hdmi_core@00120000 {
  			compatible = "fsl,imx6q-hdmi-core";
  			reg = <0x00120000 0x9000>;
  			clocks = <&clks IMX6QDL_CLK_HDMI_ISFR>,
  					<&clks IMX6QDL_CLK_HDMI_IAHB>,
  					<&clks IMX6QDL_CLK_HSI_TX>;
  			clock-names = "hdmi_isfr", "hdmi_iahb", "mipi_core";
  			status = "disabled";
  		};
  
  		hdmi_video: hdmi_video@020e0000 {
  			compatible = "fsl,imx6q-hdmi-video";
  			reg = <0x020e0000 0x1000>;
  			reg-names = "hdmi_gpr";
  			interrupts = <0 115 IRQ_TYPE_LEVEL_HIGH>;
  			clocks = <&clks IMX6QDL_CLK_HDMI_ISFR>,
  					<&clks IMX6QDL_CLK_HDMI_IAHB>,
  					<&clks IMX6QDL_CLK_HSI_TX>;
  			clock-names = "hdmi_isfr", "hdmi_iahb", "mipi_core";
  			status = "disabled";
  		};
  
  		hdmi_audio: hdmi_audio@00120000 {
  			compatible = "fsl,imx6q-hdmi-audio";
  			clocks = <&clks IMX6QDL_CLK_HDMI_ISFR>,
  					<&clks IMX6QDL_CLK_HDMI_IAHB>,
  					<&clks IMX6QDL_CLK_HSI_TX>;
  			clock-names = "hdmi_isfr", "hdmi_iahb", "mipi_core";
dd823aceb   Zidan Wang   MLK-11530-02 ARM:...
272
  			dmas = <&sdma 2 25 0>;
31fc5faa9   Sandor Yu   MLK-11431-3: ARM:...
273
274
275
276
277
278
279
280
281
  			dma-names = "tx";
  			status = "disabled";
  		};
  
  		hdmi_cec: hdmi_cec@00120000 {
  			compatible = "fsl,imx6q-hdmi-cec";
  			interrupts = <0 115 IRQ_TYPE_LEVEL_HIGH>;
  			status = "disabled";
  		};
7d740f87f   Shawn Guo   arm/imx6q: add de...
282
283
284
285
286
287
288
289
290
291
292
293
294
  		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;
7b7d67273   Sascha Hauer   ARM i.MX dts: Con...
295
  				spdif: spdif@02004000 {
c9d96df20   Fabio Estevam   ARM: imx6qdl-wand...
296
  					compatible = "fsl,imx35-spdif";
7d740f87f   Shawn Guo   arm/imx6q: add de...
297
  					reg = <0x02004000 0x4000>;
275c08b56   Troy Kisky   ARM: dts: imx: im...
298
  					interrupts = <0 52 IRQ_TYPE_LEVEL_HIGH>;
c9d96df20   Fabio Estevam   ARM: imx6qdl-wand...
299
300
301
  					dmas = <&sdma 14 18 0>,
  					       <&sdma 15 18 0>;
  					dma-names = "rx", "tx";
74faa93c6   Shengjiu Wang   MLK-10161-1: ARM:...
302
  					clocks = <&clks IMX6QDL_CLK_SPDIF_GCLK>, <&clks IMX6QDL_CLK_OSC>,
833f2cbf7   Shengjiu Wang   ARM: dts: imx6: c...
303
304
  						 <&clks IMX6QDL_CLK_SPDIF>, <&clks IMX6QDL_CLK_ASRC>,
  						 <&clks IMX6QDL_CLK_DUMMY>, <&clks IMX6QDL_CLK_ESAI_EXTAL>,
ff0e86e35   Shengjiu Wang   MLK-11429-19: ARM...
305
  						 <&clks IMX6QDL_CLK_IPG>, <&clks IMX6QDL_CLK_MLB>,
833f2cbf7   Shengjiu Wang   ARM: dts: imx6: c...
306
  						 <&clks IMX6QDL_CLK_DUMMY>, <&clks IMX6QDL_CLK_SPBA>;
c9d96df20   Fabio Estevam   ARM: imx6qdl-wand...
307
308
309
310
  					clock-names = "core",  "rxtx0",
  						      "rxtx1", "rxtx2",
  						      "rxtx3", "rxtx4",
  						      "rxtx5", "rxtx6",
09d3059ad   Shengjiu Wang   ARM: dts: imx6: C...
311
  						      "rxtx7", "spba";
c9d96df20   Fabio Estevam   ARM: imx6qdl-wand...
312
  					status = "disabled";
7d740f87f   Shawn Guo   arm/imx6q: add de...
313
  				};
7b7d67273   Sascha Hauer   ARM i.MX dts: Con...
314
  				ecspi1: ecspi@02008000 {
7d740f87f   Shawn Guo   arm/imx6q: add de...
315
316
317
318
  					#address-cells = <1>;
  					#size-cells = <0>;
  					compatible = "fsl,imx6q-ecspi", "fsl,imx51-ecspi";
  					reg = <0x02008000 0x4000>;
275c08b56   Troy Kisky   ARM: dts: imx: im...
319
  					interrupts = <0 31 IRQ_TYPE_LEVEL_HIGH>;
8888f6513   Shawn Guo   ARM: dts: imx6qdl...
320
321
  					clocks = <&clks IMX6QDL_CLK_ECSPI1>,
  						 <&clks IMX6QDL_CLK_ECSPI1>;
0e87e0436   Shawn Guo   ARM: imx6q: repla...
322
  					clock-names = "ipg", "per";
4d1f6d91a   Robin Gong   MLK-14503: ARM: d...
323
  					dmas = <&sdma 3 7 1>, <&sdma 4 7 2>;
b3810c3dc   Frank Li   ARM: dts: imx6qdl...
324
  					dma-names = "rx", "tx";
7d740f87f   Shawn Guo   arm/imx6q: add de...
325
326
  					status = "disabled";
  				};
7b7d67273   Sascha Hauer   ARM i.MX dts: Con...
327
  				ecspi2: ecspi@0200c000 {
7d740f87f   Shawn Guo   arm/imx6q: add de...
328
329
330
331
  					#address-cells = <1>;
  					#size-cells = <0>;
  					compatible = "fsl,imx6q-ecspi", "fsl,imx51-ecspi";
  					reg = <0x0200c000 0x4000>;
275c08b56   Troy Kisky   ARM: dts: imx: im...
332
  					interrupts = <0 32 IRQ_TYPE_LEVEL_HIGH>;
8888f6513   Shawn Guo   ARM: dts: imx6qdl...
333
334
  					clocks = <&clks IMX6QDL_CLK_ECSPI2>,
  						 <&clks IMX6QDL_CLK_ECSPI2>;
0e87e0436   Shawn Guo   ARM: imx6q: repla...
335
  					clock-names = "ipg", "per";
4d1f6d91a   Robin Gong   MLK-14503: ARM: d...
336
  					dmas = <&sdma 5 7 1>, <&sdma 6 7 2>;
b3810c3dc   Frank Li   ARM: dts: imx6qdl...
337
  					dma-names = "rx", "tx";
7d740f87f   Shawn Guo   arm/imx6q: add de...
338
339
  					status = "disabled";
  				};
7b7d67273   Sascha Hauer   ARM i.MX dts: Con...
340
  				ecspi3: ecspi@02010000 {
7d740f87f   Shawn Guo   arm/imx6q: add de...
341
342
343
344
  					#address-cells = <1>;
  					#size-cells = <0>;
  					compatible = "fsl,imx6q-ecspi", "fsl,imx51-ecspi";
  					reg = <0x02010000 0x4000>;
275c08b56   Troy Kisky   ARM: dts: imx: im...
345
  					interrupts = <0 33 IRQ_TYPE_LEVEL_HIGH>;
8888f6513   Shawn Guo   ARM: dts: imx6qdl...
346
347
  					clocks = <&clks IMX6QDL_CLK_ECSPI3>,
  						 <&clks IMX6QDL_CLK_ECSPI3>;
0e87e0436   Shawn Guo   ARM: imx6q: repla...
348
  					clock-names = "ipg", "per";
4d1f6d91a   Robin Gong   MLK-14503: ARM: d...
349
  					dmas = <&sdma 7 7 1>, <&sdma 8 7 2>;
b3810c3dc   Frank Li   ARM: dts: imx6qdl...
350
  					dma-names = "rx", "tx";
7d740f87f   Shawn Guo   arm/imx6q: add de...
351
352
  					status = "disabled";
  				};
7b7d67273   Sascha Hauer   ARM i.MX dts: Con...
353
  				ecspi4: ecspi@02014000 {
7d740f87f   Shawn Guo   arm/imx6q: add de...
354
355
356
357
  					#address-cells = <1>;
  					#size-cells = <0>;
  					compatible = "fsl,imx6q-ecspi", "fsl,imx51-ecspi";
  					reg = <0x02014000 0x4000>;
275c08b56   Troy Kisky   ARM: dts: imx: im...
358
  					interrupts = <0 34 IRQ_TYPE_LEVEL_HIGH>;
8888f6513   Shawn Guo   ARM: dts: imx6qdl...
359
360
  					clocks = <&clks IMX6QDL_CLK_ECSPI4>,
  						 <&clks IMX6QDL_CLK_ECSPI4>;
0e87e0436   Shawn Guo   ARM: imx6q: repla...
361
  					clock-names = "ipg", "per";
4d1f6d91a   Robin Gong   MLK-14503: ARM: d...
362
  					dmas = <&sdma 9 7 1>, <&sdma 10 7 2>;
b3810c3dc   Frank Li   ARM: dts: imx6qdl...
363
  					dma-names = "rx", "tx";
7d740f87f   Shawn Guo   arm/imx6q: add de...
364
365
  					status = "disabled";
  				};
0c456cfa7   Shawn Guo   ARM: imx: rename ...
366
  				uart1: serial@02020000 {
7d740f87f   Shawn Guo   arm/imx6q: add de...
367
368
  					compatible = "fsl,imx6q-uart", "fsl,imx21-uart";
  					reg = <0x02020000 0x4000>;
275c08b56   Troy Kisky   ARM: dts: imx: im...
369
  					interrupts = <0 26 IRQ_TYPE_LEVEL_HIGH>;
8888f6513   Shawn Guo   ARM: dts: imx6qdl...
370
371
  					clocks = <&clks IMX6QDL_CLK_UART_IPG>,
  						 <&clks IMX6QDL_CLK_UART_SERIAL>;
0e87e0436   Shawn Guo   ARM: imx6q: repla...
372
  					clock-names = "ipg", "per";
72a5cebfa   Huang Shijie   ARM: dts: imx6qdl...
373
374
  					dmas = <&sdma 25 4 0>, <&sdma 26 4 0>;
  					dma-names = "rx", "tx";
7d740f87f   Shawn Guo   arm/imx6q: add de...
375
376
  					status = "disabled";
  				};
7b7d67273   Sascha Hauer   ARM i.MX dts: Con...
377
  				esai: esai@02024000 {
97dae8590   Shengjiu Wang   ARM: dts: imx6qdl...
378
379
  					#sound-dai-cells = <0>;
  					compatible = "fsl,imx35-esai";
7d740f87f   Shawn Guo   arm/imx6q: add de...
380
  					reg = <0x02024000 0x4000>;
275c08b56   Troy Kisky   ARM: dts: imx: im...
381
  					interrupts = <0 51 IRQ_TYPE_LEVEL_HIGH>;
97dae8590   Shengjiu Wang   ARM: dts: imx6qdl...
382
383
384
385
386
  					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>;
09d3059ad   Shengjiu Wang   ARM: dts: imx6: C...
387
  					clock-names = "core", "mem", "extal", "fsys", "spba";
97dae8590   Shengjiu Wang   ARM: dts: imx6qdl...
388
389
390
  					dmas = <&sdma 23 21 0>, <&sdma 24 21 0>;
  					dma-names = "rx", "tx";
  					status = "disabled";
7d740f87f   Shawn Guo   arm/imx6q: add de...
391
  				};
b1a5da8eb   Richard Zhao   ARM: dts: imx6q-s...
392
  				ssi1: ssi@02028000 {
6ff7f51ef   Alexander Shiyan   ARM: i.MX: dts: A...
393
  					#sound-dai-cells = <0>;
98ea6ad2e   Markus Pargmann   ARM: dts: imx6: u...
394
  					compatible = "fsl,imx6q-ssi",
4c03527eb   Fabio Estevam   ARM: imx6: Align ...
395
  							"fsl,imx51-ssi";
7d740f87f   Shawn Guo   arm/imx6q: add de...
396
  					reg = <0x02028000 0x4000>;
275c08b56   Troy Kisky   ARM: dts: imx: im...
397
  					interrupts = <0 46 IRQ_TYPE_LEVEL_HIGH>;
935632e99   Shengjiu Wang   ARM: dts: imx6qdl...
398
399
400
  					clocks = <&clks IMX6QDL_CLK_SSI1_IPG>,
  						 <&clks IMX6QDL_CLK_SSI1>;
  					clock-names = "ipg", "baud";
6d7d3a2ed   Shengjiu Wang   MLK-10375: ARM: d...
401
402
  					dmas = <&sdma 37 22 0>,
  					       <&sdma 38 22 0>;
5da826abe   Shawn Guo   ARM: dts: imx: us...
403
  					dma-names = "rx", "tx";
b1a5da8eb   Richard Zhao   ARM: dts: imx6q-s...
404
  					fsl,fifo-depth = <15>;
b1a5da8eb   Richard Zhao   ARM: dts: imx6q-s...
405
  					status = "disabled";
7d740f87f   Shawn Guo   arm/imx6q: add de...
406
  				};
b1a5da8eb   Richard Zhao   ARM: dts: imx6q-s...
407
  				ssi2: ssi@0202c000 {
6ff7f51ef   Alexander Shiyan   ARM: i.MX: dts: A...
408
  					#sound-dai-cells = <0>;
98ea6ad2e   Markus Pargmann   ARM: dts: imx6: u...
409
  					compatible = "fsl,imx6q-ssi",
4c03527eb   Fabio Estevam   ARM: imx6: Align ...
410
  							"fsl,imx51-ssi";
7d740f87f   Shawn Guo   arm/imx6q: add de...
411
  					reg = <0x0202c000 0x4000>;
275c08b56   Troy Kisky   ARM: dts: imx: im...
412
  					interrupts = <0 47 IRQ_TYPE_LEVEL_HIGH>;
935632e99   Shengjiu Wang   ARM: dts: imx6qdl...
413
414
415
  					clocks = <&clks IMX6QDL_CLK_SSI2_IPG>,
  						 <&clks IMX6QDL_CLK_SSI2>;
  					clock-names = "ipg", "baud";
6d7d3a2ed   Shengjiu Wang   MLK-10375: ARM: d...
416
417
  					dmas = <&sdma 41 22 0>,
  					       <&sdma 42 22 0>;
5da826abe   Shawn Guo   ARM: dts: imx: us...
418
  					dma-names = "rx", "tx";
b1a5da8eb   Richard Zhao   ARM: dts: imx6q-s...
419
  					fsl,fifo-depth = <15>;
b1a5da8eb   Richard Zhao   ARM: dts: imx6q-s...
420
  					status = "disabled";
7d740f87f   Shawn Guo   arm/imx6q: add de...
421
  				};
b1a5da8eb   Richard Zhao   ARM: dts: imx6q-s...
422
  				ssi3: ssi@02030000 {
6ff7f51ef   Alexander Shiyan   ARM: i.MX: dts: A...
423
  					#sound-dai-cells = <0>;
98ea6ad2e   Markus Pargmann   ARM: dts: imx6: u...
424
  					compatible = "fsl,imx6q-ssi",
4c03527eb   Fabio Estevam   ARM: imx6: Align ...
425
  							"fsl,imx51-ssi";
7d740f87f   Shawn Guo   arm/imx6q: add de...
426
  					reg = <0x02030000 0x4000>;
275c08b56   Troy Kisky   ARM: dts: imx: im...
427
  					interrupts = <0 48 IRQ_TYPE_LEVEL_HIGH>;
935632e99   Shengjiu Wang   ARM: dts: imx6qdl...
428
429
430
  					clocks = <&clks IMX6QDL_CLK_SSI3_IPG>,
  						 <&clks IMX6QDL_CLK_SSI3>;
  					clock-names = "ipg", "baud";
6d7d3a2ed   Shengjiu Wang   MLK-10375: ARM: d...
431
432
  					dmas = <&sdma 45 22 0>,
  					       <&sdma 46 22 0>;
5da826abe   Shawn Guo   ARM: dts: imx: us...
433
  					dma-names = "rx", "tx";
b1a5da8eb   Richard Zhao   ARM: dts: imx6q-s...
434
  					fsl,fifo-depth = <15>;
b1a5da8eb   Richard Zhao   ARM: dts: imx6q-s...
435
  					status = "disabled";
7d740f87f   Shawn Guo   arm/imx6q: add de...
436
  				};
7b7d67273   Sascha Hauer   ARM i.MX dts: Con...
437
  				asrc: asrc@02034000 {
97dae8590   Shengjiu Wang   ARM: dts: imx6qdl...
438
  					compatible = "fsl,imx53-asrc";
7d740f87f   Shawn Guo   arm/imx6q: add de...
439
  					reg = <0x02034000 0x4000>;
275c08b56   Troy Kisky   ARM: dts: imx: im...
440
  					interrupts = <0 50 IRQ_TYPE_LEVEL_HIGH>;
97dae8590   Shengjiu Wang   ARM: dts: imx6qdl...
441
442
443
444
445
446
447
448
449
450
451
  					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",
09d3059ad   Shengjiu Wang   ARM: dts: imx6: C...
452
  						"asrck_d", "asrck_e", "asrck_f", "spba";
97dae8590   Shengjiu Wang   ARM: dts: imx6qdl...
453
454
455
456
457
458
459
  					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";
7d740f87f   Shawn Guo   arm/imx6q: add de...
460
461
462
463
464
465
  				};
  
  				spba@0203c000 {
  					reg = <0x0203c000 0x4000>;
  				};
  			};
7b7d67273   Sascha Hauer   ARM i.MX dts: Con...
466
  			vpu: vpu@02040000 {
a04a0b6fe   Philipp Zabel   ARM: dts: imx6qdl...
467
  				compatible = "cnm,coda960";
7d740f87f   Shawn Guo   arm/imx6q: add de...
468
  				reg = <0x02040000 0x3c000>;
b2faf1a1a   Philipp Zabel   ARM: dts: imx6qdl...
469
470
  				interrupts = <0 12 IRQ_TYPE_LEVEL_HIGH>,
  					     <0 3 IRQ_TYPE_LEVEL_HIGH>;
a04a0b6fe   Philipp Zabel   ARM: dts: imx6qdl...
471
472
  				interrupt-names = "bit", "jpeg";
  				clocks = <&clks IMX6QDL_CLK_VPU_AXI>,
c9997ba2a   Fabio Estevam   ARM: dts: imx6qdl...
473
474
  					 <&clks IMX6QDL_CLK_MMDC_CH0_AXI>;
  				clock-names = "per", "ahb";
e761b82ef   Lucas Stach   ARM: dts: imx6: a...
475
  				power-domains = <&pd_pu>;
a04a0b6fe   Philipp Zabel   ARM: dts: imx6qdl...
476
477
  				resets = <&src 1>;
  				iram = <&ocram>;
a0f91f2cd   Hongzhang Yang   MLK-11440-1 Integ...
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
  				status = "disabled";
  			};
  
  			vpu_fsl: vpu_fsl@02040000 {
  				compatible = "fsl,imx6-vpu";
  				reg = <0x02040000 0x3c000>;
  				reg-names = "vpu_regs";
  				interrupts = <0 3 IRQ_TYPE_EDGE_RISING>,
  				             <0 12 IRQ_TYPE_LEVEL_HIGH>;
  				interrupt-names = "vpu_jpu_irq", "vpu_ipi_irq";
  				clocks = <&clks IMX6QDL_CLK_VPU_AXI>,
  					 <&clks IMX6QDL_CLK_MMDC_CH0_AXI>,
  					 <&clks IMX6QDL_CLK_OCRAM>;
  				clock-names = "vpu_clk", "mmdc_ch0_axi", "ocram";
  				iramsize = <0x21000>;
  				iram = <&ocram>;
  				resets = <&src 1>;
  				power-domains = <&pd_pu>;
7d740f87f   Shawn Guo   arm/imx6q: add de...
496
497
498
499
500
  			};
  
  			aipstz@0207c000 { /* AIPSTZ1 */
  				reg = <0x0207c000 0x4000>;
  			};
7b7d67273   Sascha Hauer   ARM i.MX dts: Con...
501
  			pwm1: pwm@02080000 {
33b385873   Sascha Hauer   ARM i.MX6: Add pw...
502
503
  				#pwm-cells = <2>;
  				compatible = "fsl,imx6q-pwm", "fsl,imx27-pwm";
7d740f87f   Shawn Guo   arm/imx6q: add de...
504
  				reg = <0x02080000 0x4000>;
275c08b56   Troy Kisky   ARM: dts: imx: im...
505
  				interrupts = <0 83 IRQ_TYPE_LEVEL_HIGH>;
8888f6513   Shawn Guo   ARM: dts: imx6qdl...
506
507
  				clocks = <&clks IMX6QDL_CLK_IPG>,
  					 <&clks IMX6QDL_CLK_PWM1>;
33b385873   Sascha Hauer   ARM i.MX6: Add pw...
508
  				clock-names = "ipg", "per";
e2675266b   Philipp Zabel   ARM: dts: imx6qdl...
509
  				status = "disabled";
7d740f87f   Shawn Guo   arm/imx6q: add de...
510
  			};
7b7d67273   Sascha Hauer   ARM i.MX dts: Con...
511
  			pwm2: pwm@02084000 {
33b385873   Sascha Hauer   ARM i.MX6: Add pw...
512
513
  				#pwm-cells = <2>;
  				compatible = "fsl,imx6q-pwm", "fsl,imx27-pwm";
7d740f87f   Shawn Guo   arm/imx6q: add de...
514
  				reg = <0x02084000 0x4000>;
275c08b56   Troy Kisky   ARM: dts: imx: im...
515
  				interrupts = <0 84 IRQ_TYPE_LEVEL_HIGH>;
8888f6513   Shawn Guo   ARM: dts: imx6qdl...
516
517
  				clocks = <&clks IMX6QDL_CLK_IPG>,
  					 <&clks IMX6QDL_CLK_PWM2>;
33b385873   Sascha Hauer   ARM i.MX6: Add pw...
518
  				clock-names = "ipg", "per";
e2675266b   Philipp Zabel   ARM: dts: imx6qdl...
519
  				status = "disabled";
7d740f87f   Shawn Guo   arm/imx6q: add de...
520
  			};
7b7d67273   Sascha Hauer   ARM i.MX dts: Con...
521
  			pwm3: pwm@02088000 {
33b385873   Sascha Hauer   ARM i.MX6: Add pw...
522
523
  				#pwm-cells = <2>;
  				compatible = "fsl,imx6q-pwm", "fsl,imx27-pwm";
7d740f87f   Shawn Guo   arm/imx6q: add de...
524
  				reg = <0x02088000 0x4000>;
275c08b56   Troy Kisky   ARM: dts: imx: im...
525
  				interrupts = <0 85 IRQ_TYPE_LEVEL_HIGH>;
8888f6513   Shawn Guo   ARM: dts: imx6qdl...
526
527
  				clocks = <&clks IMX6QDL_CLK_IPG>,
  					 <&clks IMX6QDL_CLK_PWM3>;
33b385873   Sascha Hauer   ARM i.MX6: Add pw...
528
  				clock-names = "ipg", "per";
e2675266b   Philipp Zabel   ARM: dts: imx6qdl...
529
  				status = "disabled";
7d740f87f   Shawn Guo   arm/imx6q: add de...
530
  			};
7b7d67273   Sascha Hauer   ARM i.MX dts: Con...
531
  			pwm4: pwm@0208c000 {
33b385873   Sascha Hauer   ARM i.MX6: Add pw...
532
533
  				#pwm-cells = <2>;
  				compatible = "fsl,imx6q-pwm", "fsl,imx27-pwm";
7d740f87f   Shawn Guo   arm/imx6q: add de...
534
  				reg = <0x0208c000 0x4000>;
275c08b56   Troy Kisky   ARM: dts: imx: im...
535
  				interrupts = <0 86 IRQ_TYPE_LEVEL_HIGH>;
8888f6513   Shawn Guo   ARM: dts: imx6qdl...
536
537
  				clocks = <&clks IMX6QDL_CLK_IPG>,
  					 <&clks IMX6QDL_CLK_PWM4>;
33b385873   Sascha Hauer   ARM i.MX6: Add pw...
538
  				clock-names = "ipg", "per";
e2675266b   Philipp Zabel   ARM: dts: imx6qdl...
539
  				status = "disabled";
7d740f87f   Shawn Guo   arm/imx6q: add de...
540
  			};
7b7d67273   Sascha Hauer   ARM i.MX dts: Con...
541
  			can1: flexcan@02090000 {
0f225212c   Sascha Hauer   ARM: dts: i.MX6qd...
542
  				compatible = "fsl,imx6q-flexcan";
7d740f87f   Shawn Guo   arm/imx6q: add de...
543
  				reg = <0x02090000 0x4000>;
275c08b56   Troy Kisky   ARM: dts: imx: im...
544
  				interrupts = <0 110 IRQ_TYPE_LEVEL_HIGH>;
8888f6513   Shawn Guo   ARM: dts: imx6qdl...
545
546
  				clocks = <&clks IMX6QDL_CLK_CAN1_IPG>,
  					 <&clks IMX6QDL_CLK_CAN1_SERIAL>;
0f225212c   Sascha Hauer   ARM: dts: i.MX6qd...
547
  				clock-names = "ipg", "per";
290159561   Dong Aisheng   MLK-10131 ENGR003...
548
  				stop-mode = <&gpr 0x34 28 0x10 17>;
a11353372   Tim Harvey   ARM: dts: disable...
549
  				status = "disabled";
7d740f87f   Shawn Guo   arm/imx6q: add de...
550
  			};
7b7d67273   Sascha Hauer   ARM i.MX dts: Con...
551
  			can2: flexcan@02094000 {
0f225212c   Sascha Hauer   ARM: dts: i.MX6qd...
552
  				compatible = "fsl,imx6q-flexcan";
7d740f87f   Shawn Guo   arm/imx6q: add de...
553
  				reg = <0x02094000 0x4000>;
275c08b56   Troy Kisky   ARM: dts: imx: im...
554
  				interrupts = <0 111 IRQ_TYPE_LEVEL_HIGH>;
8888f6513   Shawn Guo   ARM: dts: imx6qdl...
555
556
  				clocks = <&clks IMX6QDL_CLK_CAN2_IPG>,
  					 <&clks IMX6QDL_CLK_CAN2_SERIAL>;
0f225212c   Sascha Hauer   ARM: dts: i.MX6qd...
557
  				clock-names = "ipg", "per";
290159561   Dong Aisheng   MLK-10131 ENGR003...
558
  				stop-mode = <&gpr 0x34 29 0x10 18>;
a11353372   Tim Harvey   ARM: dts: disable...
559
  				status = "disabled";
7d740f87f   Shawn Guo   arm/imx6q: add de...
560
  			};
7b7d67273   Sascha Hauer   ARM i.MX dts: Con...
561
  			gpt: gpt@02098000 {
97b108f9a   Sascha Hauer   ARM: dts: i.MX6qd...
562
  				compatible = "fsl,imx6q-gpt", "fsl,imx31-gpt";
7d740f87f   Shawn Guo   arm/imx6q: add de...
563
  				reg = <0x02098000 0x4000>;
275c08b56   Troy Kisky   ARM: dts: imx: im...
564
  				interrupts = <0 55 IRQ_TYPE_LEVEL_HIGH>;
8888f6513   Shawn Guo   ARM: dts: imx6qdl...
565
  				clocks = <&clks IMX6QDL_CLK_GPT_IPG>,
2b2244a3e   Anson Huang   ARM: dts: imx6: m...
566
567
568
  					 <&clks IMX6QDL_CLK_GPT_IPG_PER>,
  					 <&clks IMX6QDL_CLK_GPT_3M>;
  				clock-names = "ipg", "per", "osc_per";
7d740f87f   Shawn Guo   arm/imx6q: add de...
569
  			};
4d191868a   Richard Zhao   dts/imx: rename g...
570
  			gpio1: gpio@0209c000 {
aeb27748e   Benoît Thébaudeau   gpio/mxc: use the...
571
  				compatible = "fsl,imx6q-gpio", "fsl,imx35-gpio";
7d740f87f   Shawn Guo   arm/imx6q: add de...
572
  				reg = <0x0209c000 0x4000>;
275c08b56   Troy Kisky   ARM: dts: imx: im...
573
574
  				interrupts = <0 66 IRQ_TYPE_LEVEL_HIGH>,
  					     <0 67 IRQ_TYPE_LEVEL_HIGH>;
7d740f87f   Shawn Guo   arm/imx6q: add de...
575
576
577
  				gpio-controller;
  				#gpio-cells = <2>;
  				interrupt-controller;
88cde8b78   Shawn Guo   ARM: dts: imx: up...
578
  				#interrupt-cells = <2>;
7d740f87f   Shawn Guo   arm/imx6q: add de...
579
  			};
4d191868a   Richard Zhao   dts/imx: rename g...
580
  			gpio2: gpio@020a0000 {
aeb27748e   Benoît Thébaudeau   gpio/mxc: use the...
581
  				compatible = "fsl,imx6q-gpio", "fsl,imx35-gpio";
7d740f87f   Shawn Guo   arm/imx6q: add de...
582
  				reg = <0x020a0000 0x4000>;
275c08b56   Troy Kisky   ARM: dts: imx: im...
583
584
  				interrupts = <0 68 IRQ_TYPE_LEVEL_HIGH>,
  					     <0 69 IRQ_TYPE_LEVEL_HIGH>;
7d740f87f   Shawn Guo   arm/imx6q: add de...
585
586
587
  				gpio-controller;
  				#gpio-cells = <2>;
  				interrupt-controller;
88cde8b78   Shawn Guo   ARM: dts: imx: up...
588
  				#interrupt-cells = <2>;
7d740f87f   Shawn Guo   arm/imx6q: add de...
589
  			};
4d191868a   Richard Zhao   dts/imx: rename g...
590
  			gpio3: gpio@020a4000 {
aeb27748e   Benoît Thébaudeau   gpio/mxc: use the...
591
  				compatible = "fsl,imx6q-gpio", "fsl,imx35-gpio";
7d740f87f   Shawn Guo   arm/imx6q: add de...
592
  				reg = <0x020a4000 0x4000>;
275c08b56   Troy Kisky   ARM: dts: imx: im...
593
594
  				interrupts = <0 70 IRQ_TYPE_LEVEL_HIGH>,
  					     <0 71 IRQ_TYPE_LEVEL_HIGH>;
7d740f87f   Shawn Guo   arm/imx6q: add de...
595
596
597
  				gpio-controller;
  				#gpio-cells = <2>;
  				interrupt-controller;
88cde8b78   Shawn Guo   ARM: dts: imx: up...
598
  				#interrupt-cells = <2>;
7d740f87f   Shawn Guo   arm/imx6q: add de...
599
  			};
4d191868a   Richard Zhao   dts/imx: rename g...
600
  			gpio4: gpio@020a8000 {
aeb27748e   Benoît Thébaudeau   gpio/mxc: use the...
601
  				compatible = "fsl,imx6q-gpio", "fsl,imx35-gpio";
7d740f87f   Shawn Guo   arm/imx6q: add de...
602
  				reg = <0x020a8000 0x4000>;
275c08b56   Troy Kisky   ARM: dts: imx: im...
603
604
  				interrupts = <0 72 IRQ_TYPE_LEVEL_HIGH>,
  					     <0 73 IRQ_TYPE_LEVEL_HIGH>;
7d740f87f   Shawn Guo   arm/imx6q: add de...
605
606
607
  				gpio-controller;
  				#gpio-cells = <2>;
  				interrupt-controller;
88cde8b78   Shawn Guo   ARM: dts: imx: up...
608
  				#interrupt-cells = <2>;
7d740f87f   Shawn Guo   arm/imx6q: add de...
609
  			};
4d191868a   Richard Zhao   dts/imx: rename g...
610
  			gpio5: gpio@020ac000 {
aeb27748e   Benoît Thébaudeau   gpio/mxc: use the...
611
  				compatible = "fsl,imx6q-gpio", "fsl,imx35-gpio";
7d740f87f   Shawn Guo   arm/imx6q: add de...
612
  				reg = <0x020ac000 0x4000>;
275c08b56   Troy Kisky   ARM: dts: imx: im...
613
614
  				interrupts = <0 74 IRQ_TYPE_LEVEL_HIGH>,
  					     <0 75 IRQ_TYPE_LEVEL_HIGH>;
7d740f87f   Shawn Guo   arm/imx6q: add de...
615
616
617
  				gpio-controller;
  				#gpio-cells = <2>;
  				interrupt-controller;
88cde8b78   Shawn Guo   ARM: dts: imx: up...
618
  				#interrupt-cells = <2>;
7d740f87f   Shawn Guo   arm/imx6q: add de...
619
  			};
4d191868a   Richard Zhao   dts/imx: rename g...
620
  			gpio6: gpio@020b0000 {
aeb27748e   Benoît Thébaudeau   gpio/mxc: use the...
621
  				compatible = "fsl,imx6q-gpio", "fsl,imx35-gpio";
7d740f87f   Shawn Guo   arm/imx6q: add de...
622
  				reg = <0x020b0000 0x4000>;
275c08b56   Troy Kisky   ARM: dts: imx: im...
623
624
  				interrupts = <0 76 IRQ_TYPE_LEVEL_HIGH>,
  					     <0 77 IRQ_TYPE_LEVEL_HIGH>;
7d740f87f   Shawn Guo   arm/imx6q: add de...
625
626
627
  				gpio-controller;
  				#gpio-cells = <2>;
  				interrupt-controller;
88cde8b78   Shawn Guo   ARM: dts: imx: up...
628
  				#interrupt-cells = <2>;
7d740f87f   Shawn Guo   arm/imx6q: add de...
629
  			};
4d191868a   Richard Zhao   dts/imx: rename g...
630
  			gpio7: gpio@020b4000 {
aeb27748e   Benoît Thébaudeau   gpio/mxc: use the...
631
  				compatible = "fsl,imx6q-gpio", "fsl,imx35-gpio";
7d740f87f   Shawn Guo   arm/imx6q: add de...
632
  				reg = <0x020b4000 0x4000>;
275c08b56   Troy Kisky   ARM: dts: imx: im...
633
634
  				interrupts = <0 78 IRQ_TYPE_LEVEL_HIGH>,
  					     <0 79 IRQ_TYPE_LEVEL_HIGH>;
7d740f87f   Shawn Guo   arm/imx6q: add de...
635
636
637
  				gpio-controller;
  				#gpio-cells = <2>;
  				interrupt-controller;
88cde8b78   Shawn Guo   ARM: dts: imx: up...
638
  				#interrupt-cells = <2>;
7d740f87f   Shawn Guo   arm/imx6q: add de...
639
  			};
7b7d67273   Sascha Hauer   ARM i.MX dts: Con...
640
  			kpp: kpp@020b8000 {
36d3a8f0f   Lothar Waßmann   ARM: dts: imx6: a...
641
  				compatible = "fsl,imx6q-kpp", "fsl,imx21-kpp";
7d740f87f   Shawn Guo   arm/imx6q: add de...
642
  				reg = <0x020b8000 0x4000>;
275c08b56   Troy Kisky   ARM: dts: imx: im...
643
  				interrupts = <0 82 IRQ_TYPE_LEVEL_HIGH>;
8888f6513   Shawn Guo   ARM: dts: imx6qdl...
644
  				clocks = <&clks IMX6QDL_CLK_IPG>;
1b6f23685   Fabio Estevam   ARM: dts: mx6: Di...
645
  				status = "disabled";
7d740f87f   Shawn Guo   arm/imx6q: add de...
646
  			};
7b7d67273   Sascha Hauer   ARM i.MX dts: Con...
647
  			wdog1: wdog@020bc000 {
7d740f87f   Shawn Guo   arm/imx6q: add de...
648
649
  				compatible = "fsl,imx6q-wdt", "fsl,imx21-wdt";
  				reg = <0x020bc000 0x4000>;
275c08b56   Troy Kisky   ARM: dts: imx: im...
650
  				interrupts = <0 80 IRQ_TYPE_LEVEL_HIGH>;
8888f6513   Shawn Guo   ARM: dts: imx6qdl...
651
  				clocks = <&clks IMX6QDL_CLK_DUMMY>;
7d740f87f   Shawn Guo   arm/imx6q: add de...
652
  			};
7b7d67273   Sascha Hauer   ARM i.MX dts: Con...
653
  			wdog2: wdog@020c0000 {
7d740f87f   Shawn Guo   arm/imx6q: add de...
654
655
  				compatible = "fsl,imx6q-wdt", "fsl,imx21-wdt";
  				reg = <0x020c0000 0x4000>;
275c08b56   Troy Kisky   ARM: dts: imx: im...
656
  				interrupts = <0 81 IRQ_TYPE_LEVEL_HIGH>;
8888f6513   Shawn Guo   ARM: dts: imx6qdl...
657
  				clocks = <&clks IMX6QDL_CLK_DUMMY>;
7d740f87f   Shawn Guo   arm/imx6q: add de...
658
659
  				status = "disabled";
  			};
0e87e0436   Shawn Guo   ARM: imx6q: repla...
660
  			clks: ccm@020c4000 {
7d740f87f   Shawn Guo   arm/imx6q: add de...
661
662
  				compatible = "fsl,imx6q-ccm";
  				reg = <0x020c4000 0x4000>;
275c08b56   Troy Kisky   ARM: dts: imx: im...
663
664
  				interrupts = <0 87 IRQ_TYPE_LEVEL_HIGH>,
  					     <0 88 IRQ_TYPE_LEVEL_HIGH>;
0e87e0436   Shawn Guo   ARM: imx6q: repla...
665
  				#clock-cells = <1>;
7d740f87f   Shawn Guo   arm/imx6q: add de...
666
  			};
baa64151a   Dong Aisheng   regulator: anatop...
667
668
  			anatop: anatop@020c8000 {
  				compatible = "fsl,imx6q-anatop", "syscon", "simple-bus";
7d740f87f   Shawn Guo   arm/imx6q: add de...
669
  				reg = <0x020c8000 0x1000>;
275c08b56   Troy Kisky   ARM: dts: imx: im...
670
671
672
  				interrupts = <0 49 IRQ_TYPE_LEVEL_HIGH>,
  					     <0 54 IRQ_TYPE_LEVEL_HIGH>,
  					     <0 127 IRQ_TYPE_LEVEL_HIGH>;
a1e327e68   Ying-Chun Liu (PaulLiu)   ARM: dts: imx6q: ...
673

c77ebb453   Fabio Estevam   ARM: dts: imx6qdl...
674
  				regulator-1p1 {
a1e327e68   Ying-Chun Liu (PaulLiu)   ARM: dts: imx6q: ...
675
676
  					compatible = "fsl,anatop-regulator";
  					regulator-name = "vdd1p1";
ecbf5e701   Lucas Stach   ARM: imx6: fix re...
677
678
  					regulator-min-microvolt = <1000000>;
  					regulator-max-microvolt = <1200000>;
a1e327e68   Ying-Chun Liu (PaulLiu)   ARM: dts: imx6q: ...
679
680
681
682
683
684
685
  					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>;
38281a475   Andrey Smirnov   ARM: dts: imx: Re...
686
  					anatop-enable-bit = <0>;
a1e327e68   Ying-Chun Liu (PaulLiu)   ARM: dts: imx6q: ...
687
  				};
47879baeb   Peter Chen   MLK-10196-1 ARM: ...
688
  				anatop_reg_3p0: regulator-3p0@120 {
a1e327e68   Ying-Chun Liu (PaulLiu)   ARM: dts: imx6q: ...
689
690
  					compatible = "fsl,anatop-regulator";
  					regulator-name = "vdd3p0";
47879baeb   Peter Chen   MLK-10196-1 ARM: ...
691
692
  					regulator-min-microvolt = <2625000>;
  					regulator-max-microvolt = <3400000>;
a1e327e68   Ying-Chun Liu (PaulLiu)   ARM: dts: imx6q: ...
693
694
695
696
697
698
  					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>;
38281a475   Andrey Smirnov   ARM: dts: imx: Re...
699
  					anatop-enable-bit = <0>;
a1e327e68   Ying-Chun Liu (PaulLiu)   ARM: dts: imx6q: ...
700
  				};
c77ebb453   Fabio Estevam   ARM: dts: imx6qdl...
701
  				regulator-2p5 {
a1e327e68   Ying-Chun Liu (PaulLiu)   ARM: dts: imx6q: ...
702
703
  					compatible = "fsl,anatop-regulator";
  					regulator-name = "vdd2p5";
ecbf5e701   Lucas Stach   ARM: imx6: fix re...
704
  					regulator-min-microvolt = <2250000>;
a1e327e68   Ying-Chun Liu (PaulLiu)   ARM: dts: imx6q: ...
705
706
707
708
709
710
  					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>;
993051b27   Lucas Stach   ARM: imx6: fix mi...
711
712
  					anatop-min-voltage = <2100000>;
  					anatop-max-voltage = <2875000>;
38281a475   Andrey Smirnov   ARM: dts: imx: Re...
713
  					anatop-enable-bit = <0>;
a1e327e68   Ying-Chun Liu (PaulLiu)   ARM: dts: imx6q: ...
714
  				};
c77ebb453   Fabio Estevam   ARM: dts: imx6qdl...
715
  				reg_arm: regulator-vddcore {
a1e327e68   Ying-Chun Liu (PaulLiu)   ARM: dts: imx6q: ...
716
  					compatible = "fsl,anatop-regulator";
118c98a62   Fabio Estevam   ARM: dts: imx6: U...
717
  					regulator-name = "vddarm";
a1e327e68   Ying-Chun Liu (PaulLiu)   ARM: dts: imx6q: ...
718
719
720
721
722
723
  					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>;
46743dd66   Anson Huang   ARM: dts: i.MX6: ...
724
725
726
  					anatop-delay-reg-offset = <0x170>;
  					anatop-delay-bit-shift = <24>;
  					anatop-delay-bit-width = <2>;
a1e327e68   Ying-Chun Liu (PaulLiu)   ARM: dts: imx6q: ...
727
728
729
  					anatop-min-bit-val = <1>;
  					anatop-min-voltage = <725000>;
  					anatop-max-voltage = <1450000>;
fc8b94789   Robin Gong   MLK-11407-2: ARM:...
730
  					regulator-allow-bypass;
a1e327e68   Ying-Chun Liu (PaulLiu)   ARM: dts: imx6q: ...
731
  				};
c77ebb453   Fabio Estevam   ARM: dts: imx6qdl...
732
  				reg_pu: regulator-vddpu {
a1e327e68   Ying-Chun Liu (PaulLiu)   ARM: dts: imx6q: ...
733
734
735
736
  					compatible = "fsl,anatop-regulator";
  					regulator-name = "vddpu";
  					regulator-min-microvolt = <725000>;
  					regulator-max-microvolt = <1450000>;
40130d327   Philipp Zabel   ARM: dts: imx6qdl...
737
  					regulator-enable-ramp-delay = <150>;
a1e327e68   Ying-Chun Liu (PaulLiu)   ARM: dts: imx6q: ...
738
739
740
  					anatop-reg-offset = <0x140>;
  					anatop-vol-bit-shift = <9>;
  					anatop-vol-bit-width = <5>;
46743dd66   Anson Huang   ARM: dts: i.MX6: ...
741
742
743
  					anatop-delay-reg-offset = <0x170>;
  					anatop-delay-bit-shift = <26>;
  					anatop-delay-bit-width = <2>;
a1e327e68   Ying-Chun Liu (PaulLiu)   ARM: dts: imx6q: ...
744
745
746
  					anatop-min-bit-val = <1>;
  					anatop-min-voltage = <725000>;
  					anatop-max-voltage = <1450000>;
fc8b94789   Robin Gong   MLK-11407-2: ARM:...
747
  					regulator-allow-bypass;
a1e327e68   Ying-Chun Liu (PaulLiu)   ARM: dts: imx6q: ...
748
  				};
c77ebb453   Fabio Estevam   ARM: dts: imx6qdl...
749
  				reg_soc: regulator-vddsoc {
a1e327e68   Ying-Chun Liu (PaulLiu)   ARM: dts: imx6q: ...
750
751
752
753
754
755
756
757
  					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>;
46743dd66   Anson Huang   ARM: dts: i.MX6: ...
758
759
760
  					anatop-delay-reg-offset = <0x170>;
  					anatop-delay-bit-shift = <28>;
  					anatop-delay-bit-width = <2>;
a1e327e68   Ying-Chun Liu (PaulLiu)   ARM: dts: imx6q: ...
761
762
763
  					anatop-min-bit-val = <1>;
  					anatop-min-voltage = <725000>;
  					anatop-max-voltage = <1450000>;
fc8b94789   Robin Gong   MLK-11407-2: ARM:...
764
  					regulator-allow-bypass;
a1e327e68   Ying-Chun Liu (PaulLiu)   ARM: dts: imx6q: ...
765
  				};
7d740f87f   Shawn Guo   arm/imx6q: add de...
766
  			};
3fe6373b4   Shawn Guo   ARM: dts: imx: ad...
767
768
  			tempmon: tempmon {
  				compatible = "fsl,imx6q-tempmon";
275c08b56   Troy Kisky   ARM: dts: imx: im...
769
  				interrupts = <0 49 IRQ_TYPE_LEVEL_HIGH>;
3fe6373b4   Shawn Guo   ARM: dts: imx: ad...
770
771
  				fsl,tempmon = <&anatop>;
  				fsl,tempmon-data = <&ocotp>;
8888f6513   Shawn Guo   ARM: dts: imx6qdl...
772
  				clocks = <&clks IMX6QDL_CLK_PLL3_USB_OTG>;
3fe6373b4   Shawn Guo   ARM: dts: imx: ad...
773
  			};
74bd88f78   Richard Zhao   ARM: dts: imx6q-s...
774
775
  			usbphy1: usbphy@020c9000 {
  				compatible = "fsl,imx6q-usbphy", "fsl,imx23-usbphy";
7d740f87f   Shawn Guo   arm/imx6q: add de...
776
  				reg = <0x020c9000 0x1000>;
275c08b56   Troy Kisky   ARM: dts: imx: im...
777
  				interrupts = <0 44 IRQ_TYPE_LEVEL_HIGH>;
8888f6513   Shawn Guo   ARM: dts: imx6qdl...
778
  				clocks = <&clks IMX6QDL_CLK_USBPHY1>;
47879baeb   Peter Chen   MLK-10196-1 ARM: ...
779
  				phy-3p0-supply = <&anatop_reg_3p0>;
76a388550   Peter Chen   ARM: dts: imx6: a...
780
  				fsl,anatop = <&anatop>;
7d740f87f   Shawn Guo   arm/imx6q: add de...
781
  			};
74bd88f78   Richard Zhao   ARM: dts: imx6q-s...
782
783
  			usbphy2: usbphy@020ca000 {
  				compatible = "fsl,imx6q-usbphy", "fsl,imx23-usbphy";
7d740f87f   Shawn Guo   arm/imx6q: add de...
784
  				reg = <0x020ca000 0x1000>;
275c08b56   Troy Kisky   ARM: dts: imx: im...
785
  				interrupts = <0 45 IRQ_TYPE_LEVEL_HIGH>;
8888f6513   Shawn Guo   ARM: dts: imx6qdl...
786
  				clocks = <&clks IMX6QDL_CLK_USBPHY2>;
47879baeb   Peter Chen   MLK-10196-1 ARM: ...
787
  				phy-3p0-supply = <&anatop_reg_3p0>;
76a388550   Peter Chen   ARM: dts: imx6: a...
788
  				fsl,anatop = <&anatop>;
7d740f87f   Shawn Guo   arm/imx6q: add de...
789
  			};
48a28c97d   Li Jun   MLK-10086-2 ARM: ...
790
791
792
793
794
795
796
797
798
799
800
  			usbphy_nop1: usbphy_nop1 {
  				compatible = "usb-nop-xceiv";
  				clocks = <&clks IMX6QDL_CLK_USBPHY1>;
  				clock-names = "main_clk";
  			};
  
  			usbphy_nop2: usbphy_nop2 {
  				compatible = "usb-nop-xceiv";
  				clocks = <&clks IMX6QDL_CLK_USBPHY1>;
  				clock-names = "main_clk";
  			};
f20383579   Dan Douglass   ENGR00289885 [iMX...
801
802
803
804
  			caam_snvs: caam-snvs@020cc000 {
  				compatible = "fsl,imx6q-caam-snvs";
  				reg = <0x020cc000 0x4000>;
  			};
95d739b5c   Frank Li   ARM: dts: imx: up...
805
806
807
  			snvs: snvs@020cc000 {
  				compatible = "fsl,sec-v4.0-mon", "syscon", "simple-mfd";
  				reg = <0x020cc000 0x4000>;
c92503886   Shawn Guo   ARM: dts: imx6q: ...
808

95d739b5c   Frank Li   ARM: dts: imx: up...
809
  				snvs_rtc: snvs-rtc-lp {
c92503886   Shawn Guo   ARM: dts: imx6q: ...
810
  					compatible = "fsl,sec-v4.0-mon-rtc-lp";
95d739b5c   Frank Li   ARM: dts: imx: up...
811
812
  					regmap = <&snvs>;
  					offset = <0x34>;
275c08b56   Troy Kisky   ARM: dts: imx: im...
813
814
  					interrupts = <0 19 IRQ_TYPE_LEVEL_HIGH>,
  						     <0 20 IRQ_TYPE_LEVEL_HIGH>;
c92503886   Shawn Guo   ARM: dts: imx6q: ...
815
  				};
422b06769   Robin Gong   ARM: dts: imx6: a...
816

95d739b5c   Frank Li   ARM: dts: imx: up...
817
818
819
820
  				snvs_poweroff: snvs-poweroff {
  					compatible = "syscon-poweroff";
  					regmap = <&snvs>;
  					offset = <0x38>;
fb88f88cc   Anson Huang   MLK-12675 ARM: dt...
821
822
  					value = <0x61>;
  					mask = <0x61>;
422b06769   Robin Gong   ARM: dts: imx6: a...
823
824
  					status = "disabled";
  				};
7d740f87f   Shawn Guo   arm/imx6q: add de...
825
  			};
7b7d67273   Sascha Hauer   ARM i.MX dts: Con...
826
  			epit1: epit@020d0000 { /* EPIT1 */
7d740f87f   Shawn Guo   arm/imx6q: add de...
827
  				reg = <0x020d0000 0x4000>;
275c08b56   Troy Kisky   ARM: dts: imx: im...
828
  				interrupts = <0 56 IRQ_TYPE_LEVEL_HIGH>;
7d740f87f   Shawn Guo   arm/imx6q: add de...
829
  			};
7b7d67273   Sascha Hauer   ARM i.MX dts: Con...
830
  			epit2: epit@020d4000 { /* EPIT2 */
7d740f87f   Shawn Guo   arm/imx6q: add de...
831
  				reg = <0x020d4000 0x4000>;
275c08b56   Troy Kisky   ARM: dts: imx: im...
832
  				interrupts = <0 57 IRQ_TYPE_LEVEL_HIGH>;
7d740f87f   Shawn Guo   arm/imx6q: add de...
833
  			};
7b7d67273   Sascha Hauer   ARM i.MX dts: Con...
834
  			src: src@020d8000 {
bd3d924d7   Philipp Zabel   ARM i.MX5: Add Sy...
835
  				compatible = "fsl,imx6q-src", "fsl,imx51-src";
7d740f87f   Shawn Guo   arm/imx6q: add de...
836
  				reg = <0x020d8000 0x4000>;
275c08b56   Troy Kisky   ARM: dts: imx: im...
837
838
  				interrupts = <0 91 IRQ_TYPE_LEVEL_HIGH>,
  					     <0 96 IRQ_TYPE_LEVEL_HIGH>;
09ebf3665   Philipp Zabel   ARM i.MX6q: Link ...
839
  				#reset-cells = <1>;
7d740f87f   Shawn Guo   arm/imx6q: add de...
840
  			};
7b7d67273   Sascha Hauer   ARM i.MX dts: Con...
841
  			gpc: gpc@020dc000 {
7d740f87f   Shawn Guo   arm/imx6q: add de...
842
843
  				compatible = "fsl,imx6q-gpc";
  				reg = <0x020dc000 0x4000>;
b923ff6af   Marc Zyngier   ARM: imx6: conver...
844
845
  				interrupt-controller;
  				#interrupt-cells = <3>;
275c08b56   Troy Kisky   ARM: dts: imx: im...
846
847
  				interrupts = <0 89 IRQ_TYPE_LEVEL_HIGH>,
  					     <0 90 IRQ_TYPE_LEVEL_HIGH>;
b923ff6af   Marc Zyngier   ARM: imx6: conver...
848
  				interrupt-parent = <&intc>;
e761b82ef   Lucas Stach   ARM: dts: imx6: a...
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
  				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>;
  					};
  				};
7d740f87f   Shawn Guo   arm/imx6q: add de...
872
  			};
df37e0c09   Dong Aisheng   ARM: imx6q: Add i...
873
  			gpr: iomuxc-gpr@020e0000 {
bc97e88ec   Philipp Zabel   ARM: dts: imx6qdl...
874
  				compatible = "fsl,imx6q-iomuxc-gpr", "syscon", "simple-mfd";
df37e0c09   Dong Aisheng   ARM: imx6q: Add i...
875
  				reg = <0x020e0000 0x38>;
bc97e88ec   Philipp Zabel   ARM: dts: imx6qdl...
876
877
878
879
880
  
  				mux: mux-controller {
  					compatible = "mmio-mux";
  					#mux-control-cells = <1>;
  				};
df37e0c09   Dong Aisheng   ARM: imx6q: Add i...
881
  			};
c56009b2f   Shawn Guo   ARM: dts: imx: sh...
882
883
884
  			iomuxc: iomuxc@020e0000 {
  				compatible = "fsl,imx6dl-iomuxc", "fsl,imx6q-iomuxc";
  				reg = <0x020e0000 0x4000>;
c56009b2f   Shawn Guo   ARM: dts: imx: sh...
885
  			};
c519d57b1   Lucas Stach   ARM: imx6: remove...
886
  			ldb: ldb {
41c043428   Steffen Trumtrar   ARM i.MX6q: Add L...
887
888
889
890
891
892
893
  				#address-cells = <1>;
  				#size-cells = <0>;
  				compatible = "fsl,imx6q-ldb", "fsl,imx53-ldb";
  				gpr = <&gpr>;
  				status = "disabled";
  
  				lvds-channel@0 {
4520e6923   Philipp Zabel   ARM: dts: imx6qdl...
894
895
  					#address-cells = <1>;
  					#size-cells = <0>;
41c043428   Steffen Trumtrar   ARM i.MX6q: Add L...
896
  					reg = <0>;
41c043428   Steffen Trumtrar   ARM i.MX6q: Add L...
897
  					status = "disabled";
4520e6923   Philipp Zabel   ARM: dts: imx6qdl...
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
  
  					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>;
  						};
  					};
41c043428   Steffen Trumtrar   ARM i.MX6q: Add L...
914
915
916
  				};
  
  				lvds-channel@1 {
4520e6923   Philipp Zabel   ARM: dts: imx6qdl...
917
918
  					#address-cells = <1>;
  					#size-cells = <0>;
41c043428   Steffen Trumtrar   ARM i.MX6q: Add L...
919
  					reg = <1>;
41c043428   Steffen Trumtrar   ARM i.MX6q: Add L...
920
  					status = "disabled";
4520e6923   Philipp Zabel   ARM: dts: imx6qdl...
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
  
  					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>;
  						};
  					};
41c043428   Steffen Trumtrar   ARM i.MX6q: Add L...
937
938
  				};
  			};
7b7d67273   Sascha Hauer   ARM i.MX dts: Con...
939
  			dcic1: dcic@020e4000 {
015e3594d   Sandor Yu   MLK-11508-5: dts:...
940
  				compatible = "fsl,imx6q-dcic";
7d740f87f   Shawn Guo   arm/imx6q: add de...
941
  				reg = <0x020e4000 0x4000>;
275c08b56   Troy Kisky   ARM: dts: imx: im...
942
  				interrupts = <0 124 IRQ_TYPE_LEVEL_HIGH>;
015e3594d   Sandor Yu   MLK-11508-5: dts:...
943
944
945
946
  				clocks = <&clks IMX6QDL_CLK_DCIC1>, <&clks IMX6QDL_CLK_DCIC1>;
  				clock-names = "dcic", "disp-axi";
  				gpr = <&gpr>;
  				status = "disabled";
7d740f87f   Shawn Guo   arm/imx6q: add de...
947
  			};
7b7d67273   Sascha Hauer   ARM i.MX dts: Con...
948
  			dcic2: dcic@020e8000 {
015e3594d   Sandor Yu   MLK-11508-5: dts:...
949
  				compatible = "fsl,imx6q-dcic";
7d740f87f   Shawn Guo   arm/imx6q: add de...
950
  				reg = <0x020e8000 0x4000>;
275c08b56   Troy Kisky   ARM: dts: imx: im...
951
  				interrupts = <0 125 IRQ_TYPE_LEVEL_HIGH>;
015e3594d   Sandor Yu   MLK-11508-5: dts:...
952
953
954
955
  				clocks = <&clks IMX6QDL_CLK_DCIC2>, <&clks IMX6QDL_CLK_DCIC2>;
  				clock-names = "dcic", "disp-axi";
  				gpr = <&gpr>;
  				status = "disabled";
7d740f87f   Shawn Guo   arm/imx6q: add de...
956
  			};
7b7d67273   Sascha Hauer   ARM i.MX dts: Con...
957
  			sdma: sdma@020ec000 {
7d740f87f   Shawn Guo   arm/imx6q: add de...
958
959
  				compatible = "fsl,imx6q-sdma", "fsl,imx35-sdma";
  				reg = <0x020ec000 0x4000>;
275c08b56   Troy Kisky   ARM: dts: imx: im...
960
  				interrupts = <0 2 IRQ_TYPE_LEVEL_HIGH>;
8888f6513   Shawn Guo   ARM: dts: imx6qdl...
961
962
  				clocks = <&clks IMX6QDL_CLK_SDMA>,
  					 <&clks IMX6QDL_CLK_SDMA>;
0e87e0436   Shawn Guo   ARM: imx6q: repla...
963
  				clock-names = "ipg", "ahb";
fb72bb214   Huang Shijie   ARM: dts: imx: ad...
964
  				#dma-cells = <3>;
d6b9c5919   Fabio Estevam   ARM: dts: imx6q: ...
965
  				fsl,sdma-ram-script-name = "imx/sdma/sdma-imx6q.bin";
7d740f87f   Shawn Guo   arm/imx6q: add de...
966
967
968
969
970
971
972
973
974
  			};
  		};
  
  		aips-bus@02100000 { /* AIPS2 */
  			compatible = "fsl,aips-bus", "simple-bus";
  			#address-cells = <1>;
  			#size-cells = <1>;
  			reg = <0x02100000 0x100000>;
  			ranges;
d462ce996   Victoria Milhoan   ARM: dts: mx6qdl:...
975
976
  			crypto: caam@2100000 {
  				compatible = "fsl,sec-v4.0";
d462ce996   Victoria Milhoan   ARM: dts: mx6qdl:...
977
978
979
  				#address-cells = <1>;
  				#size-cells = <1>;
  				reg = <0x2100000 0x10000>;
7b9d120a1   Dan Douglass   MLK-12303 Add CAA...
980
981
  				ranges = <0 0x2100000 0x40000>;
  				interrupt-parent = <&intc>; /* interrupts = <0 92 0x4>; */
d462ce996   Victoria Milhoan   ARM: dts: mx6qdl:...
982
983
984
985
986
  				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";
77ef7e560   Cedric Neveux   MLK-16959: crypto...
987
988
989
990
991
992
993
994
  				sec_ctrl: ctrl@0 {
  					/* CAAM Page 0 only accessible */
  					/*	by secure world */
  					compatible = "fsl,sec-v4.0-ctrl";
  					reg = <0x2100000 0x1000>;
  					secure-status = "okay";
  					status = "disabled";
  				};
d462ce996   Victoria Milhoan   ARM: dts: mx6qdl:...
995
996
997
998
999
1000
1001
1002
1003
1004
1005
  				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>;
  				};
7d740f87f   Shawn Guo   arm/imx6q: add de...
1006
1007
1008
1009
1010
  			};
  
  			aipstz@0217c000 { /* AIPSTZ2 */
  				reg = <0x0217c000 0x4000>;
  			};
7b7d67273   Sascha Hauer   ARM i.MX dts: Con...
1011
  			usbotg: usb@02184000 {
74bd88f78   Richard Zhao   ARM: dts: imx6q-s...
1012
1013
  				compatible = "fsl,imx6q-usb", "fsl,imx27-usb";
  				reg = <0x02184000 0x200>;
275c08b56   Troy Kisky   ARM: dts: imx: im...
1014
  				interrupts = <0 43 IRQ_TYPE_LEVEL_HIGH>;
8888f6513   Shawn Guo   ARM: dts: imx6qdl...
1015
  				clocks = <&clks IMX6QDL_CLK_USBOH3>;
74bd88f78   Richard Zhao   ARM: dts: imx6q-s...
1016
  				fsl,usbphy = <&usbphy1>;
28342c611   Richard Zhao   ARM: dts: imx6q-s...
1017
  				fsl,usbmisc = <&usbmisc 0>;
9493bf545   Peter Chen   ARM: dts: imx6: s...
1018
  				ahb-burst-config = <0x0>;
2b1a40e8d   Peter Chen   ARM: dts: imx6: c...
1019
1020
  				tx-burst-size-dword = <0x10>;
  				rx-burst-size-dword = <0x10>;
dd93ace6a   Li Jun   MLK-10085-2 ARM: ...
1021
  				fsl,anatop = <&anatop>;
74bd88f78   Richard Zhao   ARM: dts: imx6q-s...
1022
1023
  				status = "disabled";
  			};
7b7d67273   Sascha Hauer   ARM i.MX dts: Con...
1024
  			usbh1: usb@02184200 {
74bd88f78   Richard Zhao   ARM: dts: imx6q-s...
1025
1026
  				compatible = "fsl,imx6q-usb", "fsl,imx27-usb";
  				reg = <0x02184200 0x200>;
275c08b56   Troy Kisky   ARM: dts: imx: im...
1027
  				interrupts = <0 40 IRQ_TYPE_LEVEL_HIGH>;
8888f6513   Shawn Guo   ARM: dts: imx6qdl...
1028
  				clocks = <&clks IMX6QDL_CLK_USBOH3>;
74bd88f78   Richard Zhao   ARM: dts: imx6q-s...
1029
  				fsl,usbphy = <&usbphy2>;
28342c611   Richard Zhao   ARM: dts: imx6q-s...
1030
  				fsl,usbmisc = <&usbmisc 1>;
3ec481ed0   Matt Porter   ARM: dts: imx: Ad...
1031
  				dr_mode = "host";
9493bf545   Peter Chen   ARM: dts: imx6: s...
1032
  				ahb-burst-config = <0x0>;
2b1a40e8d   Peter Chen   ARM: dts: imx6: c...
1033
1034
  				tx-burst-size-dword = <0x10>;
  				rx-burst-size-dword = <0x10>;
74bd88f78   Richard Zhao   ARM: dts: imx6q-s...
1035
1036
  				status = "disabled";
  			};
7b7d67273   Sascha Hauer   ARM i.MX dts: Con...
1037
  			usbh2: usb@02184400 {
74bd88f78   Richard Zhao   ARM: dts: imx6q-s...
1038
1039
  				compatible = "fsl,imx6q-usb", "fsl,imx27-usb";
  				reg = <0x02184400 0x200>;
275c08b56   Troy Kisky   ARM: dts: imx: im...
1040
  				interrupts = <0 41 IRQ_TYPE_LEVEL_HIGH>;
8888f6513   Shawn Guo   ARM: dts: imx6qdl...
1041
  				clocks = <&clks IMX6QDL_CLK_USBOH3>;
28342c611   Richard Zhao   ARM: dts: imx6q-s...
1042
  				fsl,usbmisc = <&usbmisc 2>;
3ec481ed0   Matt Porter   ARM: dts: imx: Ad...
1043
  				dr_mode = "host";
9493bf545   Peter Chen   ARM: dts: imx6: s...
1044
  				ahb-burst-config = <0x0>;
2b1a40e8d   Peter Chen   ARM: dts: imx6: c...
1045
1046
  				tx-burst-size-dword = <0x10>;
  				rx-burst-size-dword = <0x10>;
48a28c97d   Li Jun   MLK-10086-2 ARM: ...
1047
1048
1049
  				phy_type = "hsic";
  				fsl,usbphy = <&usbphy_nop1>;
  				fsl,anatop = <&anatop>;
74bd88f78   Richard Zhao   ARM: dts: imx6q-s...
1050
1051
  				status = "disabled";
  			};
7b7d67273   Sascha Hauer   ARM i.MX dts: Con...
1052
  			usbh3: usb@02184600 {
74bd88f78   Richard Zhao   ARM: dts: imx6q-s...
1053
1054
  				compatible = "fsl,imx6q-usb", "fsl,imx27-usb";
  				reg = <0x02184600 0x200>;
275c08b56   Troy Kisky   ARM: dts: imx: im...
1055
  				interrupts = <0 42 IRQ_TYPE_LEVEL_HIGH>;
8888f6513   Shawn Guo   ARM: dts: imx6qdl...
1056
  				clocks = <&clks IMX6QDL_CLK_USBOH3>;
28342c611   Richard Zhao   ARM: dts: imx6q-s...
1057
  				fsl,usbmisc = <&usbmisc 3>;
3ec481ed0   Matt Porter   ARM: dts: imx: Ad...
1058
  				dr_mode = "host";
9493bf545   Peter Chen   ARM: dts: imx6: s...
1059
  				ahb-burst-config = <0x0>;
2b1a40e8d   Peter Chen   ARM: dts: imx6: c...
1060
1061
  				tx-burst-size-dword = <0x10>;
  				rx-burst-size-dword = <0x10>;
48a28c97d   Li Jun   MLK-10086-2 ARM: ...
1062
1063
1064
  				phy_type = "hsic";
  				fsl,usbphy = <&usbphy_nop2>;
  				fsl,anatop = <&anatop>;
74bd88f78   Richard Zhao   ARM: dts: imx6q-s...
1065
1066
  				status = "disabled";
  			};
60984bdfc   Shawn Guo   ARM: dts: imx6qdl...
1067
  			usbmisc: usbmisc@02184800 {
28342c611   Richard Zhao   ARM: dts: imx6q-s...
1068
1069
1070
  				#index-cells = <1>;
  				compatible = "fsl,imx6q-usbmisc";
  				reg = <0x02184800 0x200>;
8888f6513   Shawn Guo   ARM: dts: imx6qdl...
1071
  				clocks = <&clks IMX6QDL_CLK_USBOH3>;
28342c611   Richard Zhao   ARM: dts: imx6q-s...
1072
  			};
7b7d67273   Sascha Hauer   ARM i.MX dts: Con...
1073
  			fec: ethernet@02188000 {
7d740f87f   Shawn Guo   arm/imx6q: add de...
1074
1075
  				compatible = "fsl,imx6q-fec";
  				reg = <0x02188000 0x4000>;
454cf8f54   Troy Kisky   ARM: dts: imx6qdl...
1076
  				interrupts-extended =
7023e27e0   Anson Huang   MLK-11739-2 ARM: ...
1077
1078
  					<&gpc 0 118 IRQ_TYPE_LEVEL_HIGH>,
  					<&gpc 0 119 IRQ_TYPE_LEVEL_HIGH>;
8888f6513   Shawn Guo   ARM: dts: imx6qdl...
1079
1080
1081
  				clocks = <&clks IMX6QDL_CLK_ENET>,
  					 <&clks IMX6QDL_CLK_ENET>,
  					 <&clks IMX6QDL_CLK_ENET_REF>;
7629838ca   Frank Li   ARM: dts: imx6q: ...
1082
  				clock-names = "ipg", "ahb", "ptp";
6d2ecded2   Fugang Duan   MLK-12257 ARM: dt...
1083
1084
  				stop-mode = <&gpr 0x34 27>;
  				fsl,wakeup_irq = <0>;
7d740f87f   Shawn Guo   arm/imx6q: add de...
1085
1086
  				status = "disabled";
  			};
758c06274   Gao Pan   MLK-11441 ARM: dt...
1087
1088
  			mlb: mlb@0218c000 {
  				compatible = "fsl,imx6q-mlb150";
7d740f87f   Shawn Guo   arm/imx6q: add de...
1089
  				reg = <0x0218c000 0x4000>;
275c08b56   Troy Kisky   ARM: dts: imx: im...
1090
1091
1092
  				interrupts = <0 53 IRQ_TYPE_LEVEL_HIGH>,
  					     <0 117 IRQ_TYPE_LEVEL_HIGH>,
  					     <0 126 IRQ_TYPE_LEVEL_HIGH>;
dc8aed210   Gao Pan   MLK-15989 arm: dt...
1093
1094
  				clocks = <&clks IMX6QDL_CLK_MLB>;
  				clock-names = "mlb";
758c06274   Gao Pan   MLK-11441 ARM: dt...
1095
1096
  				iram = <&ocram>;
  				status = "disabled";
7d740f87f   Shawn Guo   arm/imx6q: add de...
1097
  			};
7b7d67273   Sascha Hauer   ARM i.MX dts: Con...
1098
  			usdhc1: usdhc@02190000 {
7d740f87f   Shawn Guo   arm/imx6q: add de...
1099
1100
  				compatible = "fsl,imx6q-usdhc";
  				reg = <0x02190000 0x4000>;
275c08b56   Troy Kisky   ARM: dts: imx: im...
1101
  				interrupts = <0 22 IRQ_TYPE_LEVEL_HIGH>;
8888f6513   Shawn Guo   ARM: dts: imx6qdl...
1102
1103
1104
  				clocks = <&clks IMX6QDL_CLK_USDHC1>,
  					 <&clks IMX6QDL_CLK_USDHC1>,
  					 <&clks IMX6QDL_CLK_USDHC1>;
0e87e0436   Shawn Guo   ARM: imx6q: repla...
1105
  				clock-names = "ipg", "ahb", "per";
c104b6a2e   Sascha Hauer   ARM i.MX dtsi: Ad...
1106
  				bus-width = <4>;
7d740f87f   Shawn Guo   arm/imx6q: add de...
1107
1108
  				status = "disabled";
  			};
7b7d67273   Sascha Hauer   ARM i.MX dts: Con...
1109
  			usdhc2: usdhc@02194000 {
7d740f87f   Shawn Guo   arm/imx6q: add de...
1110
1111
  				compatible = "fsl,imx6q-usdhc";
  				reg = <0x02194000 0x4000>;
275c08b56   Troy Kisky   ARM: dts: imx: im...
1112
  				interrupts = <0 23 IRQ_TYPE_LEVEL_HIGH>;
8888f6513   Shawn Guo   ARM: dts: imx6qdl...
1113
1114
1115
  				clocks = <&clks IMX6QDL_CLK_USDHC2>,
  					 <&clks IMX6QDL_CLK_USDHC2>,
  					 <&clks IMX6QDL_CLK_USDHC2>;
0e87e0436   Shawn Guo   ARM: imx6q: repla...
1116
  				clock-names = "ipg", "ahb", "per";
c104b6a2e   Sascha Hauer   ARM i.MX dtsi: Ad...
1117
  				bus-width = <4>;
7d740f87f   Shawn Guo   arm/imx6q: add de...
1118
1119
  				status = "disabled";
  			};
7b7d67273   Sascha Hauer   ARM i.MX dts: Con...
1120
  			usdhc3: usdhc@02198000 {
7d740f87f   Shawn Guo   arm/imx6q: add de...
1121
1122
  				compatible = "fsl,imx6q-usdhc";
  				reg = <0x02198000 0x4000>;
275c08b56   Troy Kisky   ARM: dts: imx: im...
1123
  				interrupts = <0 24 IRQ_TYPE_LEVEL_HIGH>;
8888f6513   Shawn Guo   ARM: dts: imx6qdl...
1124
1125
1126
  				clocks = <&clks IMX6QDL_CLK_USDHC3>,
  					 <&clks IMX6QDL_CLK_USDHC3>,
  					 <&clks IMX6QDL_CLK_USDHC3>;
0e87e0436   Shawn Guo   ARM: imx6q: repla...
1127
  				clock-names = "ipg", "ahb", "per";
c104b6a2e   Sascha Hauer   ARM i.MX dtsi: Ad...
1128
  				bus-width = <4>;
7d740f87f   Shawn Guo   arm/imx6q: add de...
1129
1130
  				status = "disabled";
  			};
7b7d67273   Sascha Hauer   ARM i.MX dts: Con...
1131
  			usdhc4: usdhc@0219c000 {
7d740f87f   Shawn Guo   arm/imx6q: add de...
1132
1133
  				compatible = "fsl,imx6q-usdhc";
  				reg = <0x0219c000 0x4000>;
275c08b56   Troy Kisky   ARM: dts: imx: im...
1134
  				interrupts = <0 25 IRQ_TYPE_LEVEL_HIGH>;
8888f6513   Shawn Guo   ARM: dts: imx6qdl...
1135
1136
1137
  				clocks = <&clks IMX6QDL_CLK_USDHC4>,
  					 <&clks IMX6QDL_CLK_USDHC4>,
  					 <&clks IMX6QDL_CLK_USDHC4>;
0e87e0436   Shawn Guo   ARM: imx6q: repla...
1138
  				clock-names = "ipg", "ahb", "per";
c104b6a2e   Sascha Hauer   ARM i.MX dtsi: Ad...
1139
  				bus-width = <4>;
7d740f87f   Shawn Guo   arm/imx6q: add de...
1140
1141
  				status = "disabled";
  			};
7b7d67273   Sascha Hauer   ARM i.MX dts: Con...
1142
  			i2c1: i2c@021a0000 {
7d740f87f   Shawn Guo   arm/imx6q: add de...
1143
1144
  				#address-cells = <1>;
  				#size-cells = <0>;
5bdfba29f   Shawn Guo   i2c: imx: remove ...
1145
  				compatible = "fsl,imx6q-i2c", "fsl,imx21-i2c";
7d740f87f   Shawn Guo   arm/imx6q: add de...
1146
  				reg = <0x021a0000 0x4000>;
275c08b56   Troy Kisky   ARM: dts: imx: im...
1147
  				interrupts = <0 36 IRQ_TYPE_LEVEL_HIGH>;
8888f6513   Shawn Guo   ARM: dts: imx6qdl...
1148
  				clocks = <&clks IMX6QDL_CLK_I2C1>;
7d740f87f   Shawn Guo   arm/imx6q: add de...
1149
1150
  				status = "disabled";
  			};
7b7d67273   Sascha Hauer   ARM i.MX dts: Con...
1151
  			i2c2: i2c@021a4000 {
7d740f87f   Shawn Guo   arm/imx6q: add de...
1152
1153
  				#address-cells = <1>;
  				#size-cells = <0>;
5bdfba29f   Shawn Guo   i2c: imx: remove ...
1154
  				compatible = "fsl,imx6q-i2c", "fsl,imx21-i2c";
7d740f87f   Shawn Guo   arm/imx6q: add de...
1155
  				reg = <0x021a4000 0x4000>;
275c08b56   Troy Kisky   ARM: dts: imx: im...
1156
  				interrupts = <0 37 IRQ_TYPE_LEVEL_HIGH>;
8888f6513   Shawn Guo   ARM: dts: imx6qdl...
1157
  				clocks = <&clks IMX6QDL_CLK_I2C2>;
7d740f87f   Shawn Guo   arm/imx6q: add de...
1158
1159
  				status = "disabled";
  			};
7b7d67273   Sascha Hauer   ARM i.MX dts: Con...
1160
  			i2c3: i2c@021a8000 {
7d740f87f   Shawn Guo   arm/imx6q: add de...
1161
1162
  				#address-cells = <1>;
  				#size-cells = <0>;
5bdfba29f   Shawn Guo   i2c: imx: remove ...
1163
  				compatible = "fsl,imx6q-i2c", "fsl,imx21-i2c";
7d740f87f   Shawn Guo   arm/imx6q: add de...
1164
  				reg = <0x021a8000 0x4000>;
275c08b56   Troy Kisky   ARM: dts: imx: im...
1165
  				interrupts = <0 38 IRQ_TYPE_LEVEL_HIGH>;
8888f6513   Shawn Guo   ARM: dts: imx6qdl...
1166
  				clocks = <&clks IMX6QDL_CLK_I2C3>;
7d740f87f   Shawn Guo   arm/imx6q: add de...
1167
1168
1169
1170
1171
1172
  				status = "disabled";
  			};
  
  			romcp@021ac000 {
  				reg = <0x021ac000 0x4000>;
  			};
d9de7a01f   Anson Huang   MLK-11497-1 ARM: ...
1173
1174
1175
1176
  			mmdc0-1@021b0000 { /* MMDC0-1 */
  				compatible = "fsl,imx6q-mmdc-combine";
  				reg = <0x021b0000 0x8000>;
  			};
7b7d67273   Sascha Hauer   ARM i.MX dts: Con...
1177
  			mmdc0: mmdc@021b0000 { /* MMDC0 */
7d740f87f   Shawn Guo   arm/imx6q: add de...
1178
1179
1180
  				compatible = "fsl,imx6q-mmdc";
  				reg = <0x021b0000 0x4000>;
  			};
7b7d67273   Sascha Hauer   ARM i.MX dts: Con...
1181
  			mmdc1: mmdc@021b4000 { /* MMDC1 */
7d740f87f   Shawn Guo   arm/imx6q: add de...
1182
1183
  				reg = <0x021b4000 0x4000>;
  			};
05e3f8e71   Huang Shijie   ARM: dts: imx6qdl...
1184
  			weim: weim@021b8000 {
1be81ea58   Joshua Clayton   ARM: dts: imx6: A...
1185
1186
  				#address-cells = <2>;
  				#size-cells = <1>;
05e3f8e71   Huang Shijie   ARM: dts: imx6qdl...
1187
  				compatible = "fsl,imx6q-weim";
7d740f87f   Shawn Guo   arm/imx6q: add de...
1188
  				reg = <0x021b8000 0x4000>;
275c08b56   Troy Kisky   ARM: dts: imx: im...
1189
  				interrupts = <0 14 IRQ_TYPE_LEVEL_HIGH>;
8888f6513   Shawn Guo   ARM: dts: imx6qdl...
1190
  				clocks = <&clks IMX6QDL_CLK_EIM_SLOW>;
1be81ea58   Joshua Clayton   ARM: dts: imx6: A...
1191
  				fsl,weim-cs-gpr = <&gpr>;
116dad7d4   Fabio Estevam   ARM: dts: imx6: D...
1192
  				status = "disabled";
7d740f87f   Shawn Guo   arm/imx6q: add de...
1193
  			};
3fe6373b4   Shawn Guo   ARM: dts: imx: ad...
1194
1195
  			ocotp: ocotp@021bc000 {
  				compatible = "fsl,imx6q-ocotp", "syscon";
7d740f87f   Shawn Guo   arm/imx6q: add de...
1196
  				reg = <0x021bc000 0x4000>;
b8ecd8897   Peng Fan   ARM: dts: imx6qdl...
1197
  				clocks = <&clks IMX6QDL_CLK_IIM>;
7d740f87f   Shawn Guo   arm/imx6q: add de...
1198
  			};
7d740f87f   Shawn Guo   arm/imx6q: add de...
1199
1200
  			tzasc@021d0000 { /* TZASC1 */
  				reg = <0x021d0000 0x4000>;
275c08b56   Troy Kisky   ARM: dts: imx: im...
1201
  				interrupts = <0 108 IRQ_TYPE_LEVEL_HIGH>;
7d740f87f   Shawn Guo   arm/imx6q: add de...
1202
1203
1204
1205
  			};
  
  			tzasc@021d4000 { /* TZASC2 */
  				reg = <0x021d4000 0x4000>;
275c08b56   Troy Kisky   ARM: dts: imx: im...
1206
  				interrupts = <0 109 IRQ_TYPE_LEVEL_HIGH>;
7d740f87f   Shawn Guo   arm/imx6q: add de...
1207
  			};
7b7d67273   Sascha Hauer   ARM i.MX dts: Con...
1208
  			audmux: audmux@021d8000 {
f965cd55e   Richard Zhao   ARM: dts: imx6q-s...
1209
  				compatible = "fsl,imx6q-audmux", "fsl,imx31-audmux";
7d740f87f   Shawn Guo   arm/imx6q: add de...
1210
  				reg = <0x021d8000 0x4000>;
f965cd55e   Richard Zhao   ARM: dts: imx6q-s...
1211
  				status = "disabled";
7d740f87f   Shawn Guo   arm/imx6q: add de...
1212
  			};
015e3594d   Sandor Yu   MLK-11508-5: dts:...
1213
1214
  			mipi_csi: mipi_csi@021dc000 { /* MIPI-CSI */
  				compatible = "fsl,imx6q-mipi-csi2";
7d740f87f   Shawn Guo   arm/imx6q: add de...
1215
  				reg = <0x021dc000 0x4000>;
2539f517a   Philipp Zabel   ARM: dts: imx6qdl...
1216
1217
  				#address-cells = <1>;
  				#size-cells = <0>;
b0cb1bd4a   Steve Longerbeam   ARM: dts: imx6qdl...
1218
1219
  				interrupts = <0 100 0x04>, <0 101 0x04>;
  				clocks = <&clks IMX6QDL_CLK_HSI_TX>,
015e3594d   Sandor Yu   MLK-11508-5: dts:...
1220
1221
1222
1223
1224
1225
1226
1227
  					 <&clks IMX6QDL_CLK_EIM_SEL>,
  					 <&clks IMX6QDL_CLK_VIDEO_27M>;
  				/* Note: clks 138 is hsi_tx, however, the dphy_c
  				 * hsi_tx and pll_refclk use the same clk gate.
  				 * In current clk driver, open/close clk gate do
  				 * use hsi_tx for a temporary debug purpose.
  				 */
  				clock-names = "dphy_clk", "pixel_clk", "cfg_clk";
b0cb1bd4a   Steve Longerbeam   ARM: dts: imx6qdl...
1228
  				status = "disabled";
7d740f87f   Shawn Guo   arm/imx6q: add de...
1229
  			};
015e3594d   Sandor Yu   MLK-11508-5: dts:...
1230
  			mipi_dsi: mipi@021e0000 { /* MIPI-DSI */
4520e6923   Philipp Zabel   ARM: dts: imx6qdl...
1231
1232
  				#address-cells = <1>;
  				#size-cells = <0>;
7d740f87f   Shawn Guo   arm/imx6q: add de...
1233
  				reg = <0x021e0000 0x4000>;
4520e6923   Philipp Zabel   ARM: dts: imx6qdl...
1234
  				status = "disabled";
70c2652c6   Liu Ying   ARM: dts: imx6qdl...
1235
1236
1237
1238
1239
1240
  				ports {
  					#address-cells = <1>;
  					#size-cells = <0>;
  
  					port@0 {
  						reg = <0>;
4520e6923   Philipp Zabel   ARM: dts: imx6qdl...
1241

70c2652c6   Liu Ying   ARM: dts: imx6qdl...
1242
1243
1244
  						mipi_mux_0: endpoint {
  							remote-endpoint = <&ipu1_di0_mipi>;
  						};
4520e6923   Philipp Zabel   ARM: dts: imx6qdl...
1245
  					};
4520e6923   Philipp Zabel   ARM: dts: imx6qdl...
1246

70c2652c6   Liu Ying   ARM: dts: imx6qdl...
1247
1248
  					port@1 {
  						reg = <1>;
4520e6923   Philipp Zabel   ARM: dts: imx6qdl...
1249

70c2652c6   Liu Ying   ARM: dts: imx6qdl...
1250
1251
1252
  						mipi_mux_1: endpoint {
  							remote-endpoint = <&ipu1_di1_mipi>;
  						};
4520e6923   Philipp Zabel   ARM: dts: imx6qdl...
1253
1254
  					};
  				};
7d740f87f   Shawn Guo   arm/imx6q: add de...
1255
1256
1257
  			};
  
  			vdoa@021e4000 {
67c590065   Philipp Zabel   [media] dt-bindin...
1258
  				compatible = "fsl,imx6q-vdoa";
7d740f87f   Shawn Guo   arm/imx6q: add de...
1259
  				reg = <0x021e4000 0x4000>;
275c08b56   Troy Kisky   ARM: dts: imx: im...
1260
  				interrupts = <0 18 IRQ_TYPE_LEVEL_HIGH>;
67c590065   Philipp Zabel   [media] dt-bindin...
1261
  				clocks = <&clks IMX6QDL_CLK_VDOA>;
31fc5faa9   Sandor Yu   MLK-11431-3: ARM:...
1262
  				iram = <&ocram>;
7d740f87f   Shawn Guo   arm/imx6q: add de...
1263
  			};
0c456cfa7   Shawn Guo   ARM: imx: rename ...
1264
  			uart2: serial@021e8000 {
7d740f87f   Shawn Guo   arm/imx6q: add de...
1265
1266
  				compatible = "fsl,imx6q-uart", "fsl,imx21-uart";
  				reg = <0x021e8000 0x4000>;
275c08b56   Troy Kisky   ARM: dts: imx: im...
1267
  				interrupts = <0 27 IRQ_TYPE_LEVEL_HIGH>;
8888f6513   Shawn Guo   ARM: dts: imx6qdl...
1268
1269
  				clocks = <&clks IMX6QDL_CLK_UART_IPG>,
  					 <&clks IMX6QDL_CLK_UART_SERIAL>;
0e87e0436   Shawn Guo   ARM: imx6q: repla...
1270
  				clock-names = "ipg", "per";
72a5cebfa   Huang Shijie   ARM: dts: imx6qdl...
1271
1272
  				dmas = <&sdma 27 4 0>, <&sdma 28 4 0>;
  				dma-names = "rx", "tx";
7d740f87f   Shawn Guo   arm/imx6q: add de...
1273
1274
  				status = "disabled";
  			};
0c456cfa7   Shawn Guo   ARM: imx: rename ...
1275
  			uart3: serial@021ec000 {
7d740f87f   Shawn Guo   arm/imx6q: add de...
1276
1277
  				compatible = "fsl,imx6q-uart", "fsl,imx21-uart";
  				reg = <0x021ec000 0x4000>;
275c08b56   Troy Kisky   ARM: dts: imx: im...
1278
  				interrupts = <0 28 IRQ_TYPE_LEVEL_HIGH>;
8888f6513   Shawn Guo   ARM: dts: imx6qdl...
1279
1280
  				clocks = <&clks IMX6QDL_CLK_UART_IPG>,
  					 <&clks IMX6QDL_CLK_UART_SERIAL>;
0e87e0436   Shawn Guo   ARM: imx6q: repla...
1281
  				clock-names = "ipg", "per";
72a5cebfa   Huang Shijie   ARM: dts: imx6qdl...
1282
1283
  				dmas = <&sdma 29 4 0>, <&sdma 30 4 0>;
  				dma-names = "rx", "tx";
7d740f87f   Shawn Guo   arm/imx6q: add de...
1284
1285
  				status = "disabled";
  			};
0c456cfa7   Shawn Guo   ARM: imx: rename ...
1286
  			uart4: serial@021f0000 {
7d740f87f   Shawn Guo   arm/imx6q: add de...
1287
1288
  				compatible = "fsl,imx6q-uart", "fsl,imx21-uart";
  				reg = <0x021f0000 0x4000>;
275c08b56   Troy Kisky   ARM: dts: imx: im...
1289
  				interrupts = <0 29 IRQ_TYPE_LEVEL_HIGH>;
8888f6513   Shawn Guo   ARM: dts: imx6qdl...
1290
1291
  				clocks = <&clks IMX6QDL_CLK_UART_IPG>,
  					 <&clks IMX6QDL_CLK_UART_SERIAL>;
0e87e0436   Shawn Guo   ARM: imx6q: repla...
1292
  				clock-names = "ipg", "per";
72a5cebfa   Huang Shijie   ARM: dts: imx6qdl...
1293
1294
  				dmas = <&sdma 31 4 0>, <&sdma 32 4 0>;
  				dma-names = "rx", "tx";
7d740f87f   Shawn Guo   arm/imx6q: add de...
1295
1296
  				status = "disabled";
  			};
0c456cfa7   Shawn Guo   ARM: imx: rename ...
1297
  			uart5: serial@021f4000 {
7d740f87f   Shawn Guo   arm/imx6q: add de...
1298
1299
  				compatible = "fsl,imx6q-uart", "fsl,imx21-uart";
  				reg = <0x021f4000 0x4000>;
275c08b56   Troy Kisky   ARM: dts: imx: im...
1300
  				interrupts = <0 30 IRQ_TYPE_LEVEL_HIGH>;
8888f6513   Shawn Guo   ARM: dts: imx6qdl...
1301
1302
  				clocks = <&clks IMX6QDL_CLK_UART_IPG>,
  					 <&clks IMX6QDL_CLK_UART_SERIAL>;
0e87e0436   Shawn Guo   ARM: imx6q: repla...
1303
  				clock-names = "ipg", "per";
72a5cebfa   Huang Shijie   ARM: dts: imx6qdl...
1304
1305
  				dmas = <&sdma 33 4 0>, <&sdma 34 4 0>;
  				dma-names = "rx", "tx";
7d740f87f   Shawn Guo   arm/imx6q: add de...
1306
1307
1308
  				status = "disabled";
  			};
  		};
91660d743   Sascha Hauer   ARM i.MX6: Add IP...
1309
1310
  
  		ipu1: ipu@02400000 {
4520e6923   Philipp Zabel   ARM: dts: imx6qdl...
1311
1312
  			#address-cells = <1>;
  			#size-cells = <0>;
91660d743   Sascha Hauer   ARM i.MX6: Add IP...
1313
1314
  			compatible = "fsl,imx6q-ipu";
  			reg = <0x02400000 0x400000>;
275c08b56   Troy Kisky   ARM: dts: imx: im...
1315
1316
  			interrupts = <0 6 IRQ_TYPE_LEVEL_HIGH>,
  				     <0 5 IRQ_TYPE_LEVEL_HIGH>;
8888f6513   Shawn Guo   ARM: dts: imx6qdl...
1317
  			clocks = <&clks IMX6QDL_CLK_IPU1>,
31fc5faa9   Sandor Yu   MLK-11431-3: ARM:...
1318
1319
1320
1321
1322
1323
1324
  				 <&clks IMX6QDL_CLK_IPU1_DI0>, <&clks IMX6QDL_CLK_IPU1_DI1>,
  				 <&clks IMX6QDL_CLK_IPU1_DI0_SEL>, <&clks IMX6QDL_CLK_IPU1_DI1_SEL>,
  				 <&clks IMX6QDL_CLK_LDB_DI0>, <&clks IMX6QDL_CLK_LDB_DI1>;
  			clock-names = "bus",
  				      "di0", "di1",
  				      "di0_sel", "di1_sel",
  				      "ldb_di0", "ldb_di1";
09ebf3665   Philipp Zabel   ARM i.MX6q: Link ...
1325
  			resets = <&src 2>;
31fc5faa9   Sandor Yu   MLK-11431-3: ARM:...
1326
  			bypass_reset = <0>;
4520e6923   Philipp Zabel   ARM: dts: imx6qdl...
1327

c0470c381   Philipp Zabel   ARM: dts: imx6qdl...
1328
1329
  			ipu1_csi0: port@0 {
  				reg = <0>;
2539f517a   Philipp Zabel   ARM: dts: imx6qdl...
1330
1331
1332
1333
  
  				ipu1_csi0_from_ipu1_csi0_mux: endpoint {
  					remote-endpoint = <&ipu1_csi0_mux_to_ipu1_csi0>;
  				};
c0470c381   Philipp Zabel   ARM: dts: imx6qdl...
1334
1335
1336
1337
1338
  			};
  
  			ipu1_csi1: port@1 {
  				reg = <1>;
  			};
4520e6923   Philipp Zabel   ARM: dts: imx6qdl...
1339
1340
1341
1342
  			ipu1_di0: port@2 {
  				#address-cells = <1>;
  				#size-cells = <0>;
  				reg = <2>;
416196cd9   Joshua Clayton   ARM: dts: imx6: f...
1343
  				ipu1_di0_disp0: disp0-endpoint {
4520e6923   Philipp Zabel   ARM: dts: imx6qdl...
1344
  				};
416196cd9   Joshua Clayton   ARM: dts: imx6: f...
1345
  				ipu1_di0_hdmi: hdmi-endpoint {
4520e6923   Philipp Zabel   ARM: dts: imx6qdl...
1346
1347
  					remote-endpoint = <&hdmi_mux_0>;
  				};
416196cd9   Joshua Clayton   ARM: dts: imx6: f...
1348
  				ipu1_di0_mipi: mipi-endpoint {
4520e6923   Philipp Zabel   ARM: dts: imx6qdl...
1349
1350
  					remote-endpoint = <&mipi_mux_0>;
  				};
416196cd9   Joshua Clayton   ARM: dts: imx6: f...
1351
  				ipu1_di0_lvds0: lvds0-endpoint {
4520e6923   Philipp Zabel   ARM: dts: imx6qdl...
1352
1353
  					remote-endpoint = <&lvds0_mux_0>;
  				};
416196cd9   Joshua Clayton   ARM: dts: imx6: f...
1354
  				ipu1_di0_lvds1: lvds1-endpoint {
4520e6923   Philipp Zabel   ARM: dts: imx6qdl...
1355
1356
1357
1358
1359
1360
1361
1362
  					remote-endpoint = <&lvds1_mux_0>;
  				};
  			};
  
  			ipu1_di1: port@3 {
  				#address-cells = <1>;
  				#size-cells = <0>;
  				reg = <3>;
f255f89f9   Juergen Borleis   ARM: dts: imx6: f...
1363
  				ipu1_di1_disp1: disp1-endpoint {
4520e6923   Philipp Zabel   ARM: dts: imx6qdl...
1364
  				};
416196cd9   Joshua Clayton   ARM: dts: imx6: f...
1365
  				ipu1_di1_hdmi: hdmi-endpoint {
4520e6923   Philipp Zabel   ARM: dts: imx6qdl...
1366
1367
  					remote-endpoint = <&hdmi_mux_1>;
  				};
416196cd9   Joshua Clayton   ARM: dts: imx6: f...
1368
  				ipu1_di1_mipi: mipi-endpoint {
4520e6923   Philipp Zabel   ARM: dts: imx6qdl...
1369
1370
  					remote-endpoint = <&mipi_mux_1>;
  				};
416196cd9   Joshua Clayton   ARM: dts: imx6: f...
1371
  				ipu1_di1_lvds0: lvds0-endpoint {
4520e6923   Philipp Zabel   ARM: dts: imx6qdl...
1372
1373
  					remote-endpoint = <&lvds0_mux_1>;
  				};
416196cd9   Joshua Clayton   ARM: dts: imx6: f...
1374
  				ipu1_di1_lvds1: lvds1-endpoint {
4520e6923   Philipp Zabel   ARM: dts: imx6qdl...
1375
1376
1377
  					remote-endpoint = <&lvds1_mux_1>;
  				};
  			};
91660d743   Sascha Hauer   ARM i.MX6: Add IP...
1378
  		};
7d740f87f   Shawn Guo   arm/imx6q: add de...
1379
1380
  	};
  };