Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/livep...
[sfrench/cifs-2.6.git] / arch / arm / boot / dts / imx6qdl.dtsi
1 /*
2  * Copyright 2011 Freescale Semiconductor, Inc.
3  * Copyright 2011 Linaro Ltd.
4  *
5  * The code contained herein is licensed under the GNU General Public
6  * License. You may obtain a copy of the GNU General Public License
7  * Version 2 or later at the following locations:
8  *
9  * http://www.opensource.org/licenses/gpl-license.html
10  * http://www.gnu.org/copyleft/gpl.html
11  */
12
13 #include <dt-bindings/clock/imx6qdl-clock.h>
14 #include <dt-bindings/interrupt-controller/arm-gic.h>
15
16 / {
17         #address-cells = <1>;
18         #size-cells = <1>;
19         /*
20          * The decompressor and also some bootloaders rely on a
21          * pre-existing /chosen node to be available to insert the
22          * command line and merge other ATAGS info.
23          * Also for U-Boot there must be a pre-existing /memory node.
24          */
25         chosen {};
26         memory { device_type = "memory"; reg = <0 0>; };
27
28         aliases {
29                 ethernet0 = &fec;
30                 can0 = &can1;
31                 can1 = &can2;
32                 gpio0 = &gpio1;
33                 gpio1 = &gpio2;
34                 gpio2 = &gpio3;
35                 gpio3 = &gpio4;
36                 gpio4 = &gpio5;
37                 gpio5 = &gpio6;
38                 gpio6 = &gpio7;
39                 i2c0 = &i2c1;
40                 i2c1 = &i2c2;
41                 i2c2 = &i2c3;
42                 ipu0 = &ipu1;
43                 mmc0 = &usdhc1;
44                 mmc1 = &usdhc2;
45                 mmc2 = &usdhc3;
46                 mmc3 = &usdhc4;
47                 serial0 = &uart1;
48                 serial1 = &uart2;
49                 serial2 = &uart3;
50                 serial3 = &uart4;
51                 serial4 = &uart5;
52                 spi0 = &ecspi1;
53                 spi1 = &ecspi2;
54                 spi2 = &ecspi3;
55                 spi3 = &ecspi4;
56                 usbphy0 = &usbphy1;
57                 usbphy1 = &usbphy2;
58         };
59
60         clocks {
61                 #address-cells = <1>;
62                 #size-cells = <0>;
63
64                 ckil {
65                         compatible = "fsl,imx-ckil", "fixed-clock";
66                         #clock-cells = <0>;
67                         clock-frequency = <32768>;
68                 };
69
70                 ckih1 {
71                         compatible = "fsl,imx-ckih1", "fixed-clock";
72                         #clock-cells = <0>;
73                         clock-frequency = <0>;
74                 };
75
76                 osc {
77                         compatible = "fsl,imx-osc", "fixed-clock";
78                         #clock-cells = <0>;
79                         clock-frequency = <24000000>;
80                 };
81         };
82
83         soc {
84                 #address-cells = <1>;
85                 #size-cells = <1>;
86                 compatible = "simple-bus";
87                 interrupt-parent = <&gpc>;
88                 ranges;
89
90                 dma_apbh: dma-apbh@00110000 {
91                         compatible = "fsl,imx6q-dma-apbh", "fsl,imx28-dma-apbh";
92                         reg = <0x00110000 0x2000>;
93                         interrupts = <0 13 IRQ_TYPE_LEVEL_HIGH>,
94                                      <0 13 IRQ_TYPE_LEVEL_HIGH>,
95                                      <0 13 IRQ_TYPE_LEVEL_HIGH>,
96                                      <0 13 IRQ_TYPE_LEVEL_HIGH>;
97                         interrupt-names = "gpmi0", "gpmi1", "gpmi2", "gpmi3";
98                         #dma-cells = <1>;
99                         dma-channels = <4>;
100                         clocks = <&clks IMX6QDL_CLK_APBH_DMA>;
101                 };
102
103                 gpmi: gpmi-nand@00112000 {
104                         compatible = "fsl,imx6q-gpmi-nand";
105                         #address-cells = <1>;
106                         #size-cells = <1>;
107                         reg = <0x00112000 0x2000>, <0x00114000 0x2000>;
108                         reg-names = "gpmi-nand", "bch";
109                         interrupts = <0 15 IRQ_TYPE_LEVEL_HIGH>;
110                         interrupt-names = "bch";
111                         clocks = <&clks IMX6QDL_CLK_GPMI_IO>,
112                                  <&clks IMX6QDL_CLK_GPMI_APB>,
113                                  <&clks IMX6QDL_CLK_GPMI_BCH>,
114                                  <&clks IMX6QDL_CLK_GPMI_BCH_APB>,
115                                  <&clks IMX6QDL_CLK_PER1_BCH>;
116                         clock-names = "gpmi_io", "gpmi_apb", "gpmi_bch",
117                                       "gpmi_bch_apb", "per1_bch";
118                         dmas = <&dma_apbh 0>;
119                         dma-names = "rx-tx";
120                         status = "disabled";
121                 };
122
123                 hdmi: hdmi@0120000 {
124                         #address-cells = <1>;
125                         #size-cells = <0>;
126                         reg = <0x00120000 0x9000>;
127                         interrupts = <0 115 0x04>;
128                         gpr = <&gpr>;
129                         clocks = <&clks IMX6QDL_CLK_HDMI_IAHB>,
130                                  <&clks IMX6QDL_CLK_HDMI_ISFR>;
131                         clock-names = "iahb", "isfr";
132                         status = "disabled";
133
134                         port@0 {
135                                 reg = <0>;
136
137                                 hdmi_mux_0: endpoint {
138                                         remote-endpoint = <&ipu1_di0_hdmi>;
139                                 };
140                         };
141
142                         port@1 {
143                                 reg = <1>;
144
145                                 hdmi_mux_1: endpoint {
146                                         remote-endpoint = <&ipu1_di1_hdmi>;
147                                 };
148                         };
149                 };
150
151                 gpu_3d: gpu@00130000 {
152                         compatible = "vivante,gc";
153                         reg = <0x00130000 0x4000>;
154                         interrupts = <0 9 IRQ_TYPE_LEVEL_HIGH>;
155                         clocks = <&clks IMX6QDL_CLK_GPU3D_AXI>,
156                                  <&clks IMX6QDL_CLK_GPU3D_CORE>,
157                                  <&clks IMX6QDL_CLK_GPU3D_SHADER>;
158                         clock-names = "bus", "core", "shader";
159                         power-domains = <&gpc 1>;
160                 };
161
162                 gpu_2d: gpu@00134000 {
163                         compatible = "vivante,gc";
164                         reg = <0x00134000 0x4000>;
165                         interrupts = <0 10 IRQ_TYPE_LEVEL_HIGH>;
166                         clocks = <&clks IMX6QDL_CLK_GPU2D_AXI>,
167                                  <&clks IMX6QDL_CLK_GPU2D_CORE>;
168                         clock-names = "bus", "core";
169                         power-domains = <&gpc 1>;
170                 };
171
172                 timer@00a00600 {
173                         compatible = "arm,cortex-a9-twd-timer";
174                         reg = <0x00a00600 0x20>;
175                         interrupts = <1 13 0xf01>;
176                         interrupt-parent = <&intc>;
177                         clocks = <&clks IMX6QDL_CLK_TWD>;
178                 };
179
180                 intc: interrupt-controller@00a01000 {
181                         compatible = "arm,cortex-a9-gic";
182                         #interrupt-cells = <3>;
183                         interrupt-controller;
184                         reg = <0x00a01000 0x1000>,
185                               <0x00a00100 0x100>;
186                         interrupt-parent = <&intc>;
187                 };
188
189                 L2: l2-cache@00a02000 {
190                         compatible = "arm,pl310-cache";
191                         reg = <0x00a02000 0x1000>;
192                         interrupts = <0 92 IRQ_TYPE_LEVEL_HIGH>;
193                         cache-unified;
194                         cache-level = <2>;
195                         arm,tag-latency = <4 2 3>;
196                         arm,data-latency = <4 2 3>;
197                         arm,shared-override;
198                 };
199
200                 pcie: pcie@1ffc000 {
201                         compatible = "fsl,imx6q-pcie", "snps,dw-pcie";
202                         reg = <0x01ffc000 0x04000>,
203                               <0x01f00000 0x80000>;
204                         reg-names = "dbi", "config";
205                         #address-cells = <3>;
206                         #size-cells = <2>;
207                         device_type = "pci";
208                         bus-range = <0x00 0xff>;
209                         ranges = <0x81000000 0 0          0x01f80000 0 0x00010000 /* downstream I/O */
210                                   0x82000000 0 0x01000000 0x01000000 0 0x00f00000>; /* non-prefetchable memory */
211                         num-lanes = <1>;
212                         interrupts = <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>;
213                         interrupt-names = "msi";
214                         #interrupt-cells = <1>;
215                         interrupt-map-mask = <0 0 0 0x7>;
216                         interrupt-map = <0 0 0 1 &gpc GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>,
217                                         <0 0 0 2 &gpc GIC_SPI 122 IRQ_TYPE_LEVEL_HIGH>,
218                                         <0 0 0 3 &gpc GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>,
219                                         <0 0 0 4 &gpc GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>;
220                         clocks = <&clks IMX6QDL_CLK_PCIE_AXI>,
221                                  <&clks IMX6QDL_CLK_LVDS1_GATE>,
222                                  <&clks IMX6QDL_CLK_PCIE_REF_125M>;
223                         clock-names = "pcie", "pcie_bus", "pcie_phy";
224                         status = "disabled";
225                 };
226
227                 pmu {
228                         compatible = "arm,cortex-a9-pmu";
229                         interrupts = <0 94 IRQ_TYPE_LEVEL_HIGH>;
230                 };
231
232                 aips-bus@02000000 { /* AIPS1 */
233                         compatible = "fsl,aips-bus", "simple-bus";
234                         #address-cells = <1>;
235                         #size-cells = <1>;
236                         reg = <0x02000000 0x100000>;
237                         ranges;
238
239                         spba-bus@02000000 {
240                                 compatible = "fsl,spba-bus", "simple-bus";
241                                 #address-cells = <1>;
242                                 #size-cells = <1>;
243                                 reg = <0x02000000 0x40000>;
244                                 ranges;
245
246                                 spdif: spdif@02004000 {
247                                         compatible = "fsl,imx35-spdif";
248                                         reg = <0x02004000 0x4000>;
249                                         interrupts = <0 52 IRQ_TYPE_LEVEL_HIGH>;
250                                         dmas = <&sdma 14 18 0>,
251                                                <&sdma 15 18 0>;
252                                         dma-names = "rx", "tx";
253                                         clocks = <&clks IMX6QDL_CLK_SPDIF_GCLK>, <&clks IMX6QDL_CLK_OSC>,
254                                                  <&clks IMX6QDL_CLK_SPDIF>, <&clks IMX6QDL_CLK_ASRC>,
255                                                  <&clks IMX6QDL_CLK_DUMMY>, <&clks IMX6QDL_CLK_ESAI_EXTAL>,
256                                                  <&clks IMX6QDL_CLK_IPG>, <&clks IMX6QDL_CLK_DUMMY>,
257                                                  <&clks IMX6QDL_CLK_DUMMY>, <&clks IMX6QDL_CLK_SPBA>;
258                                         clock-names = "core",  "rxtx0",
259                                                       "rxtx1", "rxtx2",
260                                                       "rxtx3", "rxtx4",
261                                                       "rxtx5", "rxtx6",
262                                                       "rxtx7", "spba";
263                                         status = "disabled";
264                                 };
265
266                                 ecspi1: ecspi@02008000 {
267                                         #address-cells = <1>;
268                                         #size-cells = <0>;
269                                         compatible = "fsl,imx6q-ecspi", "fsl,imx51-ecspi";
270                                         reg = <0x02008000 0x4000>;
271                                         interrupts = <0 31 IRQ_TYPE_LEVEL_HIGH>;
272                                         clocks = <&clks IMX6QDL_CLK_ECSPI1>,
273                                                  <&clks IMX6QDL_CLK_ECSPI1>;
274                                         clock-names = "ipg", "per";
275                                         dmas = <&sdma 3 8 1>, <&sdma 4 8 2>;
276                                         dma-names = "rx", "tx";
277                                         status = "disabled";
278                                 };
279
280                                 ecspi2: ecspi@0200c000 {
281                                         #address-cells = <1>;
282                                         #size-cells = <0>;
283                                         compatible = "fsl,imx6q-ecspi", "fsl,imx51-ecspi";
284                                         reg = <0x0200c000 0x4000>;
285                                         interrupts = <0 32 IRQ_TYPE_LEVEL_HIGH>;
286                                         clocks = <&clks IMX6QDL_CLK_ECSPI2>,
287                                                  <&clks IMX6QDL_CLK_ECSPI2>;
288                                         clock-names = "ipg", "per";
289                                         dmas = <&sdma 5 8 1>, <&sdma 6 8 2>;
290                                         dma-names = "rx", "tx";
291                                         status = "disabled";
292                                 };
293
294                                 ecspi3: ecspi@02010000 {
295                                         #address-cells = <1>;
296                                         #size-cells = <0>;
297                                         compatible = "fsl,imx6q-ecspi", "fsl,imx51-ecspi";
298                                         reg = <0x02010000 0x4000>;
299                                         interrupts = <0 33 IRQ_TYPE_LEVEL_HIGH>;
300                                         clocks = <&clks IMX6QDL_CLK_ECSPI3>,
301                                                  <&clks IMX6QDL_CLK_ECSPI3>;
302                                         clock-names = "ipg", "per";
303                                         dmas = <&sdma 7 8 1>, <&sdma 8 8 2>;
304                                         dma-names = "rx", "tx";
305                                         status = "disabled";
306                                 };
307
308                                 ecspi4: ecspi@02014000 {
309                                         #address-cells = <1>;
310                                         #size-cells = <0>;
311                                         compatible = "fsl,imx6q-ecspi", "fsl,imx51-ecspi";
312                                         reg = <0x02014000 0x4000>;
313                                         interrupts = <0 34 IRQ_TYPE_LEVEL_HIGH>;
314                                         clocks = <&clks IMX6QDL_CLK_ECSPI4>,
315                                                  <&clks IMX6QDL_CLK_ECSPI4>;
316                                         clock-names = "ipg", "per";
317                                         dmas = <&sdma 9 8 1>, <&sdma 10 8 2>;
318                                         dma-names = "rx", "tx";
319                                         status = "disabled";
320                                 };
321
322                                 uart1: serial@02020000 {
323                                         compatible = "fsl,imx6q-uart", "fsl,imx21-uart";
324                                         reg = <0x02020000 0x4000>;
325                                         interrupts = <0 26 IRQ_TYPE_LEVEL_HIGH>;
326                                         clocks = <&clks IMX6QDL_CLK_UART_IPG>,
327                                                  <&clks IMX6QDL_CLK_UART_SERIAL>;
328                                         clock-names = "ipg", "per";
329                                         dmas = <&sdma 25 4 0>, <&sdma 26 4 0>;
330                                         dma-names = "rx", "tx";
331                                         status = "disabled";
332                                 };
333
334                                 esai: esai@02024000 {
335                                         #sound-dai-cells = <0>;
336                                         compatible = "fsl,imx35-esai";
337                                         reg = <0x02024000 0x4000>;
338                                         interrupts = <0 51 IRQ_TYPE_LEVEL_HIGH>;
339                                         clocks = <&clks IMX6QDL_CLK_ESAI_IPG>,
340                                                  <&clks IMX6QDL_CLK_ESAI_MEM>,
341                                                  <&clks IMX6QDL_CLK_ESAI_EXTAL>,
342                                                  <&clks IMX6QDL_CLK_ESAI_IPG>,
343                                                  <&clks IMX6QDL_CLK_SPBA>;
344                                         clock-names = "core", "mem", "extal", "fsys", "spba";
345                                         dmas = <&sdma 23 21 0>, <&sdma 24 21 0>;
346                                         dma-names = "rx", "tx";
347                                         status = "disabled";
348                                 };
349
350                                 ssi1: ssi@02028000 {
351                                         #sound-dai-cells = <0>;
352                                         compatible = "fsl,imx6q-ssi",
353                                                         "fsl,imx51-ssi";
354                                         reg = <0x02028000 0x4000>;
355                                         interrupts = <0 46 IRQ_TYPE_LEVEL_HIGH>;
356                                         clocks = <&clks IMX6QDL_CLK_SSI1_IPG>,
357                                                  <&clks IMX6QDL_CLK_SSI1>;
358                                         clock-names = "ipg", "baud";
359                                         dmas = <&sdma 37 1 0>,
360                                                <&sdma 38 1 0>;
361                                         dma-names = "rx", "tx";
362                                         fsl,fifo-depth = <15>;
363                                         status = "disabled";
364                                 };
365
366                                 ssi2: ssi@0202c000 {
367                                         #sound-dai-cells = <0>;
368                                         compatible = "fsl,imx6q-ssi",
369                                                         "fsl,imx51-ssi";
370                                         reg = <0x0202c000 0x4000>;
371                                         interrupts = <0 47 IRQ_TYPE_LEVEL_HIGH>;
372                                         clocks = <&clks IMX6QDL_CLK_SSI2_IPG>,
373                                                  <&clks IMX6QDL_CLK_SSI2>;
374                                         clock-names = "ipg", "baud";
375                                         dmas = <&sdma 41 1 0>,
376                                                <&sdma 42 1 0>;
377                                         dma-names = "rx", "tx";
378                                         fsl,fifo-depth = <15>;
379                                         status = "disabled";
380                                 };
381
382                                 ssi3: ssi@02030000 {
383                                         #sound-dai-cells = <0>;
384                                         compatible = "fsl,imx6q-ssi",
385                                                         "fsl,imx51-ssi";
386                                         reg = <0x02030000 0x4000>;
387                                         interrupts = <0 48 IRQ_TYPE_LEVEL_HIGH>;
388                                         clocks = <&clks IMX6QDL_CLK_SSI3_IPG>,
389                                                  <&clks IMX6QDL_CLK_SSI3>;
390                                         clock-names = "ipg", "baud";
391                                         dmas = <&sdma 45 1 0>,
392                                                <&sdma 46 1 0>;
393                                         dma-names = "rx", "tx";
394                                         fsl,fifo-depth = <15>;
395                                         status = "disabled";
396                                 };
397
398                                 asrc: asrc@02034000 {
399                                         compatible = "fsl,imx53-asrc";
400                                         reg = <0x02034000 0x4000>;
401                                         interrupts = <0 50 IRQ_TYPE_LEVEL_HIGH>;
402                                         clocks = <&clks IMX6QDL_CLK_ASRC_IPG>,
403                                                 <&clks IMX6QDL_CLK_ASRC_MEM>, <&clks 0>,
404                                                 <&clks 0>, <&clks 0>, <&clks 0>, <&clks 0>,
405                                                 <&clks 0>, <&clks 0>, <&clks 0>, <&clks 0>,
406                                                 <&clks 0>, <&clks 0>, <&clks 0>, <&clks 0>,
407                                                 <&clks IMX6QDL_CLK_ASRC>, <&clks 0>, <&clks 0>,
408                                                 <&clks IMX6QDL_CLK_SPBA>;
409                                         clock-names = "mem", "ipg", "asrck_0",
410                                                 "asrck_1", "asrck_2", "asrck_3", "asrck_4",
411                                                 "asrck_5", "asrck_6", "asrck_7", "asrck_8",
412                                                 "asrck_9", "asrck_a", "asrck_b", "asrck_c",
413                                                 "asrck_d", "asrck_e", "asrck_f", "spba";
414                                         dmas = <&sdma 17 23 1>, <&sdma 18 23 1>, <&sdma 19 23 1>,
415                                                 <&sdma 20 23 1>, <&sdma 21 23 1>, <&sdma 22 23 1>;
416                                         dma-names = "rxa", "rxb", "rxc",
417                                                         "txa", "txb", "txc";
418                                         fsl,asrc-rate  = <48000>;
419                                         fsl,asrc-width = <16>;
420                                         status = "okay";
421                                 };
422
423                                 spba@0203c000 {
424                                         reg = <0x0203c000 0x4000>;
425                                 };
426                         };
427
428                         vpu: vpu@02040000 {
429                                 compatible = "cnm,coda960";
430                                 reg = <0x02040000 0x3c000>;
431                                 interrupts = <0 12 IRQ_TYPE_LEVEL_HIGH>,
432                                              <0 3 IRQ_TYPE_LEVEL_HIGH>;
433                                 interrupt-names = "bit", "jpeg";
434                                 clocks = <&clks IMX6QDL_CLK_VPU_AXI>,
435                                          <&clks IMX6QDL_CLK_MMDC_CH0_AXI>;
436                                 clock-names = "per", "ahb";
437                                 power-domains = <&gpc 1>;
438                                 resets = <&src 1>;
439                                 iram = <&ocram>;
440                         };
441
442                         aipstz@0207c000 { /* AIPSTZ1 */
443                                 reg = <0x0207c000 0x4000>;
444                         };
445
446                         pwm1: pwm@02080000 {
447                                 #pwm-cells = <2>;
448                                 compatible = "fsl,imx6q-pwm", "fsl,imx27-pwm";
449                                 reg = <0x02080000 0x4000>;
450                                 interrupts = <0 83 IRQ_TYPE_LEVEL_HIGH>;
451                                 clocks = <&clks IMX6QDL_CLK_IPG>,
452                                          <&clks IMX6QDL_CLK_PWM1>;
453                                 clock-names = "ipg", "per";
454                                 status = "disabled";
455                         };
456
457                         pwm2: pwm@02084000 {
458                                 #pwm-cells = <2>;
459                                 compatible = "fsl,imx6q-pwm", "fsl,imx27-pwm";
460                                 reg = <0x02084000 0x4000>;
461                                 interrupts = <0 84 IRQ_TYPE_LEVEL_HIGH>;
462                                 clocks = <&clks IMX6QDL_CLK_IPG>,
463                                          <&clks IMX6QDL_CLK_PWM2>;
464                                 clock-names = "ipg", "per";
465                                 status = "disabled";
466                         };
467
468                         pwm3: pwm@02088000 {
469                                 #pwm-cells = <2>;
470                                 compatible = "fsl,imx6q-pwm", "fsl,imx27-pwm";
471                                 reg = <0x02088000 0x4000>;
472                                 interrupts = <0 85 IRQ_TYPE_LEVEL_HIGH>;
473                                 clocks = <&clks IMX6QDL_CLK_IPG>,
474                                          <&clks IMX6QDL_CLK_PWM3>;
475                                 clock-names = "ipg", "per";
476                                 status = "disabled";
477                         };
478
479                         pwm4: pwm@0208c000 {
480                                 #pwm-cells = <2>;
481                                 compatible = "fsl,imx6q-pwm", "fsl,imx27-pwm";
482                                 reg = <0x0208c000 0x4000>;
483                                 interrupts = <0 86 IRQ_TYPE_LEVEL_HIGH>;
484                                 clocks = <&clks IMX6QDL_CLK_IPG>,
485                                          <&clks IMX6QDL_CLK_PWM4>;
486                                 clock-names = "ipg", "per";
487                                 status = "disabled";
488                         };
489
490                         can1: flexcan@02090000 {
491                                 compatible = "fsl,imx6q-flexcan";
492                                 reg = <0x02090000 0x4000>;
493                                 interrupts = <0 110 IRQ_TYPE_LEVEL_HIGH>;
494                                 clocks = <&clks IMX6QDL_CLK_CAN1_IPG>,
495                                          <&clks IMX6QDL_CLK_CAN1_SERIAL>;
496                                 clock-names = "ipg", "per";
497                                 status = "disabled";
498                         };
499
500                         can2: flexcan@02094000 {
501                                 compatible = "fsl,imx6q-flexcan";
502                                 reg = <0x02094000 0x4000>;
503                                 interrupts = <0 111 IRQ_TYPE_LEVEL_HIGH>;
504                                 clocks = <&clks IMX6QDL_CLK_CAN2_IPG>,
505                                          <&clks IMX6QDL_CLK_CAN2_SERIAL>;
506                                 clock-names = "ipg", "per";
507                                 status = "disabled";
508                         };
509
510                         gpt: gpt@02098000 {
511                                 compatible = "fsl,imx6q-gpt", "fsl,imx31-gpt";
512                                 reg = <0x02098000 0x4000>;
513                                 interrupts = <0 55 IRQ_TYPE_LEVEL_HIGH>;
514                                 clocks = <&clks IMX6QDL_CLK_GPT_IPG>,
515                                          <&clks IMX6QDL_CLK_GPT_IPG_PER>,
516                                          <&clks IMX6QDL_CLK_GPT_3M>;
517                                 clock-names = "ipg", "per", "osc_per";
518                         };
519
520                         gpio1: gpio@0209c000 {
521                                 compatible = "fsl,imx6q-gpio", "fsl,imx35-gpio";
522                                 reg = <0x0209c000 0x4000>;
523                                 interrupts = <0 66 IRQ_TYPE_LEVEL_HIGH>,
524                                              <0 67 IRQ_TYPE_LEVEL_HIGH>;
525                                 gpio-controller;
526                                 #gpio-cells = <2>;
527                                 interrupt-controller;
528                                 #interrupt-cells = <2>;
529                         };
530
531                         gpio2: gpio@020a0000 {
532                                 compatible = "fsl,imx6q-gpio", "fsl,imx35-gpio";
533                                 reg = <0x020a0000 0x4000>;
534                                 interrupts = <0 68 IRQ_TYPE_LEVEL_HIGH>,
535                                              <0 69 IRQ_TYPE_LEVEL_HIGH>;
536                                 gpio-controller;
537                                 #gpio-cells = <2>;
538                                 interrupt-controller;
539                                 #interrupt-cells = <2>;
540                         };
541
542                         gpio3: gpio@020a4000 {
543                                 compatible = "fsl,imx6q-gpio", "fsl,imx35-gpio";
544                                 reg = <0x020a4000 0x4000>;
545                                 interrupts = <0 70 IRQ_TYPE_LEVEL_HIGH>,
546                                              <0 71 IRQ_TYPE_LEVEL_HIGH>;
547                                 gpio-controller;
548                                 #gpio-cells = <2>;
549                                 interrupt-controller;
550                                 #interrupt-cells = <2>;
551                         };
552
553                         gpio4: gpio@020a8000 {
554                                 compatible = "fsl,imx6q-gpio", "fsl,imx35-gpio";
555                                 reg = <0x020a8000 0x4000>;
556                                 interrupts = <0 72 IRQ_TYPE_LEVEL_HIGH>,
557                                              <0 73 IRQ_TYPE_LEVEL_HIGH>;
558                                 gpio-controller;
559                                 #gpio-cells = <2>;
560                                 interrupt-controller;
561                                 #interrupt-cells = <2>;
562                         };
563
564                         gpio5: gpio@020ac000 {
565                                 compatible = "fsl,imx6q-gpio", "fsl,imx35-gpio";
566                                 reg = <0x020ac000 0x4000>;
567                                 interrupts = <0 74 IRQ_TYPE_LEVEL_HIGH>,
568                                              <0 75 IRQ_TYPE_LEVEL_HIGH>;
569                                 gpio-controller;
570                                 #gpio-cells = <2>;
571                                 interrupt-controller;
572                                 #interrupt-cells = <2>;
573                         };
574
575                         gpio6: gpio@020b0000 {
576                                 compatible = "fsl,imx6q-gpio", "fsl,imx35-gpio";
577                                 reg = <0x020b0000 0x4000>;
578                                 interrupts = <0 76 IRQ_TYPE_LEVEL_HIGH>,
579                                              <0 77 IRQ_TYPE_LEVEL_HIGH>;
580                                 gpio-controller;
581                                 #gpio-cells = <2>;
582                                 interrupt-controller;
583                                 #interrupt-cells = <2>;
584                         };
585
586                         gpio7: gpio@020b4000 {
587                                 compatible = "fsl,imx6q-gpio", "fsl,imx35-gpio";
588                                 reg = <0x020b4000 0x4000>;
589                                 interrupts = <0 78 IRQ_TYPE_LEVEL_HIGH>,
590                                              <0 79 IRQ_TYPE_LEVEL_HIGH>;
591                                 gpio-controller;
592                                 #gpio-cells = <2>;
593                                 interrupt-controller;
594                                 #interrupt-cells = <2>;
595                         };
596
597                         kpp: kpp@020b8000 {
598                                 compatible = "fsl,imx6q-kpp", "fsl,imx21-kpp";
599                                 reg = <0x020b8000 0x4000>;
600                                 interrupts = <0 82 IRQ_TYPE_LEVEL_HIGH>;
601                                 clocks = <&clks IMX6QDL_CLK_IPG>;
602                                 status = "disabled";
603                         };
604
605                         wdog1: wdog@020bc000 {
606                                 compatible = "fsl,imx6q-wdt", "fsl,imx21-wdt";
607                                 reg = <0x020bc000 0x4000>;
608                                 interrupts = <0 80 IRQ_TYPE_LEVEL_HIGH>;
609                                 clocks = <&clks IMX6QDL_CLK_DUMMY>;
610                         };
611
612                         wdog2: wdog@020c0000 {
613                                 compatible = "fsl,imx6q-wdt", "fsl,imx21-wdt";
614                                 reg = <0x020c0000 0x4000>;
615                                 interrupts = <0 81 IRQ_TYPE_LEVEL_HIGH>;
616                                 clocks = <&clks IMX6QDL_CLK_DUMMY>;
617                                 status = "disabled";
618                         };
619
620                         clks: ccm@020c4000 {
621                                 compatible = "fsl,imx6q-ccm";
622                                 reg = <0x020c4000 0x4000>;
623                                 interrupts = <0 87 IRQ_TYPE_LEVEL_HIGH>,
624                                              <0 88 IRQ_TYPE_LEVEL_HIGH>;
625                                 #clock-cells = <1>;
626                         };
627
628                         anatop: anatop@020c8000 {
629                                 compatible = "fsl,imx6q-anatop", "syscon", "simple-bus";
630                                 reg = <0x020c8000 0x1000>;
631                                 interrupts = <0 49 IRQ_TYPE_LEVEL_HIGH>,
632                                              <0 54 IRQ_TYPE_LEVEL_HIGH>,
633                                              <0 127 IRQ_TYPE_LEVEL_HIGH>;
634
635                                 regulator-1p1 {
636                                         compatible = "fsl,anatop-regulator";
637                                         regulator-name = "vdd1p1";
638                                         regulator-min-microvolt = <1000000>;
639                                         regulator-max-microvolt = <1200000>;
640                                         regulator-always-on;
641                                         anatop-reg-offset = <0x110>;
642                                         anatop-vol-bit-shift = <8>;
643                                         anatop-vol-bit-width = <5>;
644                                         anatop-min-bit-val = <4>;
645                                         anatop-min-voltage = <800000>;
646                                         anatop-max-voltage = <1375000>;
647                                 };
648
649                                 regulator-3p0 {
650                                         compatible = "fsl,anatop-regulator";
651                                         regulator-name = "vdd3p0";
652                                         regulator-min-microvolt = <2800000>;
653                                         regulator-max-microvolt = <3150000>;
654                                         regulator-always-on;
655                                         anatop-reg-offset = <0x120>;
656                                         anatop-vol-bit-shift = <8>;
657                                         anatop-vol-bit-width = <5>;
658                                         anatop-min-bit-val = <0>;
659                                         anatop-min-voltage = <2625000>;
660                                         anatop-max-voltage = <3400000>;
661                                 };
662
663                                 regulator-2p5 {
664                                         compatible = "fsl,anatop-regulator";
665                                         regulator-name = "vdd2p5";
666                                         regulator-min-microvolt = <2250000>;
667                                         regulator-max-microvolt = <2750000>;
668                                         regulator-always-on;
669                                         anatop-reg-offset = <0x130>;
670                                         anatop-vol-bit-shift = <8>;
671                                         anatop-vol-bit-width = <5>;
672                                         anatop-min-bit-val = <0>;
673                                         anatop-min-voltage = <2100000>;
674                                         anatop-max-voltage = <2875000>;
675                                 };
676
677                                 reg_arm: regulator-vddcore {
678                                         compatible = "fsl,anatop-regulator";
679                                         regulator-name = "vddarm";
680                                         regulator-min-microvolt = <725000>;
681                                         regulator-max-microvolt = <1450000>;
682                                         regulator-always-on;
683                                         anatop-reg-offset = <0x140>;
684                                         anatop-vol-bit-shift = <0>;
685                                         anatop-vol-bit-width = <5>;
686                                         anatop-delay-reg-offset = <0x170>;
687                                         anatop-delay-bit-shift = <24>;
688                                         anatop-delay-bit-width = <2>;
689                                         anatop-min-bit-val = <1>;
690                                         anatop-min-voltage = <725000>;
691                                         anatop-max-voltage = <1450000>;
692                                 };
693
694                                 reg_pu: regulator-vddpu {
695                                         compatible = "fsl,anatop-regulator";
696                                         regulator-name = "vddpu";
697                                         regulator-min-microvolt = <725000>;
698                                         regulator-max-microvolt = <1450000>;
699                                         regulator-enable-ramp-delay = <150>;
700                                         anatop-reg-offset = <0x140>;
701                                         anatop-vol-bit-shift = <9>;
702                                         anatop-vol-bit-width = <5>;
703                                         anatop-delay-reg-offset = <0x170>;
704                                         anatop-delay-bit-shift = <26>;
705                                         anatop-delay-bit-width = <2>;
706                                         anatop-min-bit-val = <1>;
707                                         anatop-min-voltage = <725000>;
708                                         anatop-max-voltage = <1450000>;
709                                 };
710
711                                 reg_soc: regulator-vddsoc {
712                                         compatible = "fsl,anatop-regulator";
713                                         regulator-name = "vddsoc";
714                                         regulator-min-microvolt = <725000>;
715                                         regulator-max-microvolt = <1450000>;
716                                         regulator-always-on;
717                                         anatop-reg-offset = <0x140>;
718                                         anatop-vol-bit-shift = <18>;
719                                         anatop-vol-bit-width = <5>;
720                                         anatop-delay-reg-offset = <0x170>;
721                                         anatop-delay-bit-shift = <28>;
722                                         anatop-delay-bit-width = <2>;
723                                         anatop-min-bit-val = <1>;
724                                         anatop-min-voltage = <725000>;
725                                         anatop-max-voltage = <1450000>;
726                                 };
727                         };
728
729                         tempmon: tempmon {
730                                 compatible = "fsl,imx6q-tempmon";
731                                 interrupts = <0 49 IRQ_TYPE_LEVEL_HIGH>;
732                                 fsl,tempmon = <&anatop>;
733                                 fsl,tempmon-data = <&ocotp>;
734                                 clocks = <&clks IMX6QDL_CLK_PLL3_USB_OTG>;
735                         };
736
737                         usbphy1: usbphy@020c9000 {
738                                 compatible = "fsl,imx6q-usbphy", "fsl,imx23-usbphy";
739                                 reg = <0x020c9000 0x1000>;
740                                 interrupts = <0 44 IRQ_TYPE_LEVEL_HIGH>;
741                                 clocks = <&clks IMX6QDL_CLK_USBPHY1>;
742                                 fsl,anatop = <&anatop>;
743                         };
744
745                         usbphy2: usbphy@020ca000 {
746                                 compatible = "fsl,imx6q-usbphy", "fsl,imx23-usbphy";
747                                 reg = <0x020ca000 0x1000>;
748                                 interrupts = <0 45 IRQ_TYPE_LEVEL_HIGH>;
749                                 clocks = <&clks IMX6QDL_CLK_USBPHY2>;
750                                 fsl,anatop = <&anatop>;
751                         };
752
753                         snvs: snvs@020cc000 {
754                                 compatible = "fsl,sec-v4.0-mon", "syscon", "simple-mfd";
755                                 reg = <0x020cc000 0x4000>;
756
757                                 snvs_rtc: snvs-rtc-lp {
758                                         compatible = "fsl,sec-v4.0-mon-rtc-lp";
759                                         regmap = <&snvs>;
760                                         offset = <0x34>;
761                                         interrupts = <0 19 IRQ_TYPE_LEVEL_HIGH>,
762                                                      <0 20 IRQ_TYPE_LEVEL_HIGH>;
763                                 };
764
765                                 snvs_poweroff: snvs-poweroff {
766                                         compatible = "syscon-poweroff";
767                                         regmap = <&snvs>;
768                                         offset = <0x38>;
769                                         mask = <0x60>;
770                                         status = "disabled";
771                                 };
772                         };
773
774                         epit1: epit@020d0000 { /* EPIT1 */
775                                 reg = <0x020d0000 0x4000>;
776                                 interrupts = <0 56 IRQ_TYPE_LEVEL_HIGH>;
777                         };
778
779                         epit2: epit@020d4000 { /* EPIT2 */
780                                 reg = <0x020d4000 0x4000>;
781                                 interrupts = <0 57 IRQ_TYPE_LEVEL_HIGH>;
782                         };
783
784                         src: src@020d8000 {
785                                 compatible = "fsl,imx6q-src", "fsl,imx51-src";
786                                 reg = <0x020d8000 0x4000>;
787                                 interrupts = <0 91 IRQ_TYPE_LEVEL_HIGH>,
788                                              <0 96 IRQ_TYPE_LEVEL_HIGH>;
789                                 #reset-cells = <1>;
790                         };
791
792                         gpc: gpc@020dc000 {
793                                 compatible = "fsl,imx6q-gpc";
794                                 reg = <0x020dc000 0x4000>;
795                                 interrupt-controller;
796                                 #interrupt-cells = <3>;
797                                 interrupts = <0 89 IRQ_TYPE_LEVEL_HIGH>,
798                                              <0 90 IRQ_TYPE_LEVEL_HIGH>;
799                                 interrupt-parent = <&intc>;
800                                 pu-supply = <&reg_pu>;
801                                 clocks = <&clks IMX6QDL_CLK_GPU3D_CORE>,
802                                          <&clks IMX6QDL_CLK_GPU3D_SHADER>,
803                                          <&clks IMX6QDL_CLK_GPU2D_CORE>,
804                                          <&clks IMX6QDL_CLK_GPU2D_AXI>,
805                                          <&clks IMX6QDL_CLK_OPENVG_AXI>,
806                                          <&clks IMX6QDL_CLK_VPU_AXI>;
807                                 #power-domain-cells = <1>;
808                         };
809
810                         gpr: iomuxc-gpr@020e0000 {
811                                 compatible = "fsl,imx6q-iomuxc-gpr", "syscon";
812                                 reg = <0x020e0000 0x38>;
813                         };
814
815                         iomuxc: iomuxc@020e0000 {
816                                 compatible = "fsl,imx6dl-iomuxc", "fsl,imx6q-iomuxc";
817                                 reg = <0x020e0000 0x4000>;
818                         };
819
820                         ldb: ldb {
821                                 #address-cells = <1>;
822                                 #size-cells = <0>;
823                                 compatible = "fsl,imx6q-ldb", "fsl,imx53-ldb";
824                                 gpr = <&gpr>;
825                                 status = "disabled";
826
827                                 lvds-channel@0 {
828                                         #address-cells = <1>;
829                                         #size-cells = <0>;
830                                         reg = <0>;
831                                         status = "disabled";
832
833                                         port@0 {
834                                                 reg = <0>;
835
836                                                 lvds0_mux_0: endpoint {
837                                                         remote-endpoint = <&ipu1_di0_lvds0>;
838                                                 };
839                                         };
840
841                                         port@1 {
842                                                 reg = <1>;
843
844                                                 lvds0_mux_1: endpoint {
845                                                         remote-endpoint = <&ipu1_di1_lvds0>;
846                                                 };
847                                         };
848                                 };
849
850                                 lvds-channel@1 {
851                                         #address-cells = <1>;
852                                         #size-cells = <0>;
853                                         reg = <1>;
854                                         status = "disabled";
855
856                                         port@0 {
857                                                 reg = <0>;
858
859                                                 lvds1_mux_0: endpoint {
860                                                         remote-endpoint = <&ipu1_di0_lvds1>;
861                                                 };
862                                         };
863
864                                         port@1 {
865                                                 reg = <1>;
866
867                                                 lvds1_mux_1: endpoint {
868                                                         remote-endpoint = <&ipu1_di1_lvds1>;
869                                                 };
870                                         };
871                                 };
872                         };
873
874                         dcic1: dcic@020e4000 {
875                                 reg = <0x020e4000 0x4000>;
876                                 interrupts = <0 124 IRQ_TYPE_LEVEL_HIGH>;
877                         };
878
879                         dcic2: dcic@020e8000 {
880                                 reg = <0x020e8000 0x4000>;
881                                 interrupts = <0 125 IRQ_TYPE_LEVEL_HIGH>;
882                         };
883
884                         sdma: sdma@020ec000 {
885                                 compatible = "fsl,imx6q-sdma", "fsl,imx35-sdma";
886                                 reg = <0x020ec000 0x4000>;
887                                 interrupts = <0 2 IRQ_TYPE_LEVEL_HIGH>;
888                                 clocks = <&clks IMX6QDL_CLK_SDMA>,
889                                          <&clks IMX6QDL_CLK_SDMA>;
890                                 clock-names = "ipg", "ahb";
891                                 #dma-cells = <3>;
892                                 fsl,sdma-ram-script-name = "imx/sdma/sdma-imx6q.bin";
893                         };
894                 };
895
896                 aips-bus@02100000 { /* AIPS2 */
897                         compatible = "fsl,aips-bus", "simple-bus";
898                         #address-cells = <1>;
899                         #size-cells = <1>;
900                         reg = <0x02100000 0x100000>;
901                         ranges;
902
903                         crypto: caam@2100000 {
904                                 compatible = "fsl,sec-v4.0";
905                                 fsl,sec-era = <4>;
906                                 #address-cells = <1>;
907                                 #size-cells = <1>;
908                                 reg = <0x2100000 0x10000>;
909                                 ranges = <0 0x2100000 0x10000>;
910                                 clocks = <&clks IMX6QDL_CLK_CAAM_MEM>,
911                                          <&clks IMX6QDL_CLK_CAAM_ACLK>,
912                                          <&clks IMX6QDL_CLK_CAAM_IPG>,
913                                          <&clks IMX6QDL_CLK_EIM_SLOW>;
914                                 clock-names = "mem", "aclk", "ipg", "emi_slow";
915
916                                 sec_jr0: jr0@1000 {
917                                         compatible = "fsl,sec-v4.0-job-ring";
918                                         reg = <0x1000 0x1000>;
919                                         interrupts = <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>;
920                                 };
921
922                                 sec_jr1: jr1@2000 {
923                                         compatible = "fsl,sec-v4.0-job-ring";
924                                         reg = <0x2000 0x1000>;
925                                         interrupts = <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>;
926                                 };
927                         };
928
929                         aipstz@0217c000 { /* AIPSTZ2 */
930                                 reg = <0x0217c000 0x4000>;
931                         };
932
933                         usbotg: usb@02184000 {
934                                 compatible = "fsl,imx6q-usb", "fsl,imx27-usb";
935                                 reg = <0x02184000 0x200>;
936                                 interrupts = <0 43 IRQ_TYPE_LEVEL_HIGH>;
937                                 clocks = <&clks IMX6QDL_CLK_USBOH3>;
938                                 fsl,usbphy = <&usbphy1>;
939                                 fsl,usbmisc = <&usbmisc 0>;
940                                 ahb-burst-config = <0x0>;
941                                 tx-burst-size-dword = <0x10>;
942                                 rx-burst-size-dword = <0x10>;
943                                 status = "disabled";
944                         };
945
946                         usbh1: usb@02184200 {
947                                 compatible = "fsl,imx6q-usb", "fsl,imx27-usb";
948                                 reg = <0x02184200 0x200>;
949                                 interrupts = <0 40 IRQ_TYPE_LEVEL_HIGH>;
950                                 clocks = <&clks IMX6QDL_CLK_USBOH3>;
951                                 fsl,usbphy = <&usbphy2>;
952                                 fsl,usbmisc = <&usbmisc 1>;
953                                 dr_mode = "host";
954                                 ahb-burst-config = <0x0>;
955                                 tx-burst-size-dword = <0x10>;
956                                 rx-burst-size-dword = <0x10>;
957                                 status = "disabled";
958                         };
959
960                         usbh2: usb@02184400 {
961                                 compatible = "fsl,imx6q-usb", "fsl,imx27-usb";
962                                 reg = <0x02184400 0x200>;
963                                 interrupts = <0 41 IRQ_TYPE_LEVEL_HIGH>;
964                                 clocks = <&clks IMX6QDL_CLK_USBOH3>;
965                                 fsl,usbmisc = <&usbmisc 2>;
966                                 dr_mode = "host";
967                                 ahb-burst-config = <0x0>;
968                                 tx-burst-size-dword = <0x10>;
969                                 rx-burst-size-dword = <0x10>;
970                                 status = "disabled";
971                         };
972
973                         usbh3: usb@02184600 {
974                                 compatible = "fsl,imx6q-usb", "fsl,imx27-usb";
975                                 reg = <0x02184600 0x200>;
976                                 interrupts = <0 42 IRQ_TYPE_LEVEL_HIGH>;
977                                 clocks = <&clks IMX6QDL_CLK_USBOH3>;
978                                 fsl,usbmisc = <&usbmisc 3>;
979                                 dr_mode = "host";
980                                 ahb-burst-config = <0x0>;
981                                 tx-burst-size-dword = <0x10>;
982                                 rx-burst-size-dword = <0x10>;
983                                 status = "disabled";
984                         };
985
986                         usbmisc: usbmisc@02184800 {
987                                 #index-cells = <1>;
988                                 compatible = "fsl,imx6q-usbmisc";
989                                 reg = <0x02184800 0x200>;
990                                 clocks = <&clks IMX6QDL_CLK_USBOH3>;
991                         };
992
993                         fec: ethernet@02188000 {
994                                 compatible = "fsl,imx6q-fec";
995                                 reg = <0x02188000 0x4000>;
996                                 interrupts-extended =
997                                         <&intc 0 118 IRQ_TYPE_LEVEL_HIGH>,
998                                         <&intc 0 119 IRQ_TYPE_LEVEL_HIGH>;
999                                 clocks = <&clks IMX6QDL_CLK_ENET>,
1000                                          <&clks IMX6QDL_CLK_ENET>,
1001                                          <&clks IMX6QDL_CLK_ENET_REF>;
1002                                 clock-names = "ipg", "ahb", "ptp";
1003                                 status = "disabled";
1004                         };
1005
1006                         mlb@0218c000 {
1007                                 reg = <0x0218c000 0x4000>;
1008                                 interrupts = <0 53 IRQ_TYPE_LEVEL_HIGH>,
1009                                              <0 117 IRQ_TYPE_LEVEL_HIGH>,
1010                                              <0 126 IRQ_TYPE_LEVEL_HIGH>;
1011                         };
1012
1013                         usdhc1: usdhc@02190000 {
1014                                 compatible = "fsl,imx6q-usdhc";
1015                                 reg = <0x02190000 0x4000>;
1016                                 interrupts = <0 22 IRQ_TYPE_LEVEL_HIGH>;
1017                                 clocks = <&clks IMX6QDL_CLK_USDHC1>,
1018                                          <&clks IMX6QDL_CLK_USDHC1>,
1019                                          <&clks IMX6QDL_CLK_USDHC1>;
1020                                 clock-names = "ipg", "ahb", "per";
1021                                 bus-width = <4>;
1022                                 status = "disabled";
1023                         };
1024
1025                         usdhc2: usdhc@02194000 {
1026                                 compatible = "fsl,imx6q-usdhc";
1027                                 reg = <0x02194000 0x4000>;
1028                                 interrupts = <0 23 IRQ_TYPE_LEVEL_HIGH>;
1029                                 clocks = <&clks IMX6QDL_CLK_USDHC2>,
1030                                          <&clks IMX6QDL_CLK_USDHC2>,
1031                                          <&clks IMX6QDL_CLK_USDHC2>;
1032                                 clock-names = "ipg", "ahb", "per";
1033                                 bus-width = <4>;
1034                                 status = "disabled";
1035                         };
1036
1037                         usdhc3: usdhc@02198000 {
1038                                 compatible = "fsl,imx6q-usdhc";
1039                                 reg = <0x02198000 0x4000>;
1040                                 interrupts = <0 24 IRQ_TYPE_LEVEL_HIGH>;
1041                                 clocks = <&clks IMX6QDL_CLK_USDHC3>,
1042                                          <&clks IMX6QDL_CLK_USDHC3>,
1043                                          <&clks IMX6QDL_CLK_USDHC3>;
1044                                 clock-names = "ipg", "ahb", "per";
1045                                 bus-width = <4>;
1046                                 status = "disabled";
1047                         };
1048
1049                         usdhc4: usdhc@0219c000 {
1050                                 compatible = "fsl,imx6q-usdhc";
1051                                 reg = <0x0219c000 0x4000>;
1052                                 interrupts = <0 25 IRQ_TYPE_LEVEL_HIGH>;
1053                                 clocks = <&clks IMX6QDL_CLK_USDHC4>,
1054                                          <&clks IMX6QDL_CLK_USDHC4>,
1055                                          <&clks IMX6QDL_CLK_USDHC4>;
1056                                 clock-names = "ipg", "ahb", "per";
1057                                 bus-width = <4>;
1058                                 status = "disabled";
1059                         };
1060
1061                         i2c1: i2c@021a0000 {
1062                                 #address-cells = <1>;
1063                                 #size-cells = <0>;
1064                                 compatible = "fsl,imx6q-i2c", "fsl,imx21-i2c";
1065                                 reg = <0x021a0000 0x4000>;
1066                                 interrupts = <0 36 IRQ_TYPE_LEVEL_HIGH>;
1067                                 clocks = <&clks IMX6QDL_CLK_I2C1>;
1068                                 status = "disabled";
1069                         };
1070
1071                         i2c2: i2c@021a4000 {
1072                                 #address-cells = <1>;
1073                                 #size-cells = <0>;
1074                                 compatible = "fsl,imx6q-i2c", "fsl,imx21-i2c";
1075                                 reg = <0x021a4000 0x4000>;
1076                                 interrupts = <0 37 IRQ_TYPE_LEVEL_HIGH>;
1077                                 clocks = <&clks IMX6QDL_CLK_I2C2>;
1078                                 status = "disabled";
1079                         };
1080
1081                         i2c3: i2c@021a8000 {
1082                                 #address-cells = <1>;
1083                                 #size-cells = <0>;
1084                                 compatible = "fsl,imx6q-i2c", "fsl,imx21-i2c";
1085                                 reg = <0x021a8000 0x4000>;
1086                                 interrupts = <0 38 IRQ_TYPE_LEVEL_HIGH>;
1087                                 clocks = <&clks IMX6QDL_CLK_I2C3>;
1088                                 status = "disabled";
1089                         };
1090
1091                         romcp@021ac000 {
1092                                 reg = <0x021ac000 0x4000>;
1093                         };
1094
1095                         mmdc0: mmdc@021b0000 { /* MMDC0 */
1096                                 compatible = "fsl,imx6q-mmdc";
1097                                 reg = <0x021b0000 0x4000>;
1098                         };
1099
1100                         mmdc1: mmdc@021b4000 { /* MMDC1 */
1101                                 reg = <0x021b4000 0x4000>;
1102                         };
1103
1104                         weim: weim@021b8000 {
1105                                 #address-cells = <2>;
1106                                 #size-cells = <1>;
1107                                 compatible = "fsl,imx6q-weim";
1108                                 reg = <0x021b8000 0x4000>;
1109                                 interrupts = <0 14 IRQ_TYPE_LEVEL_HIGH>;
1110                                 clocks = <&clks IMX6QDL_CLK_EIM_SLOW>;
1111                                 fsl,weim-cs-gpr = <&gpr>;
1112                                 status = "disabled";
1113                         };
1114
1115                         ocotp: ocotp@021bc000 {
1116                                 compatible = "fsl,imx6q-ocotp", "syscon";
1117                                 reg = <0x021bc000 0x4000>;
1118                                 clocks = <&clks IMX6QDL_CLK_IIM>;
1119                         };
1120
1121                         tzasc@021d0000 { /* TZASC1 */
1122                                 reg = <0x021d0000 0x4000>;
1123                                 interrupts = <0 108 IRQ_TYPE_LEVEL_HIGH>;
1124                         };
1125
1126                         tzasc@021d4000 { /* TZASC2 */
1127                                 reg = <0x021d4000 0x4000>;
1128                                 interrupts = <0 109 IRQ_TYPE_LEVEL_HIGH>;
1129                         };
1130
1131                         audmux: audmux@021d8000 {
1132                                 compatible = "fsl,imx6q-audmux", "fsl,imx31-audmux";
1133                                 reg = <0x021d8000 0x4000>;
1134                                 status = "disabled";
1135                         };
1136
1137                         mipi_csi: mipi@021dc000 {
1138                                 reg = <0x021dc000 0x4000>;
1139                         };
1140
1141                         mipi_dsi: mipi@021e0000 {
1142                                 #address-cells = <1>;
1143                                 #size-cells = <0>;
1144                                 reg = <0x021e0000 0x4000>;
1145                                 status = "disabled";
1146
1147                                 ports {
1148                                         #address-cells = <1>;
1149                                         #size-cells = <0>;
1150
1151                                         port@0 {
1152                                                 reg = <0>;
1153
1154                                                 mipi_mux_0: endpoint {
1155                                                         remote-endpoint = <&ipu1_di0_mipi>;
1156                                                 };
1157                                         };
1158
1159                                         port@1 {
1160                                                 reg = <1>;
1161
1162                                                 mipi_mux_1: endpoint {
1163                                                         remote-endpoint = <&ipu1_di1_mipi>;
1164                                                 };
1165                                         };
1166                                 };
1167                         };
1168
1169                         vdoa@021e4000 {
1170                                 compatible = "fsl,imx6q-vdoa";
1171                                 reg = <0x021e4000 0x4000>;
1172                                 interrupts = <0 18 IRQ_TYPE_LEVEL_HIGH>;
1173                                 clocks = <&clks IMX6QDL_CLK_VDOA>;
1174                         };
1175
1176                         uart2: serial@021e8000 {
1177                                 compatible = "fsl,imx6q-uart", "fsl,imx21-uart";
1178                                 reg = <0x021e8000 0x4000>;
1179                                 interrupts = <0 27 IRQ_TYPE_LEVEL_HIGH>;
1180                                 clocks = <&clks IMX6QDL_CLK_UART_IPG>,
1181                                          <&clks IMX6QDL_CLK_UART_SERIAL>;
1182                                 clock-names = "ipg", "per";
1183                                 dmas = <&sdma 27 4 0>, <&sdma 28 4 0>;
1184                                 dma-names = "rx", "tx";
1185                                 status = "disabled";
1186                         };
1187
1188                         uart3: serial@021ec000 {
1189                                 compatible = "fsl,imx6q-uart", "fsl,imx21-uart";
1190                                 reg = <0x021ec000 0x4000>;
1191                                 interrupts = <0 28 IRQ_TYPE_LEVEL_HIGH>;
1192                                 clocks = <&clks IMX6QDL_CLK_UART_IPG>,
1193                                          <&clks IMX6QDL_CLK_UART_SERIAL>;
1194                                 clock-names = "ipg", "per";
1195                                 dmas = <&sdma 29 4 0>, <&sdma 30 4 0>;
1196                                 dma-names = "rx", "tx";
1197                                 status = "disabled";
1198                         };
1199
1200                         uart4: serial@021f0000 {
1201                                 compatible = "fsl,imx6q-uart", "fsl,imx21-uart";
1202                                 reg = <0x021f0000 0x4000>;
1203                                 interrupts = <0 29 IRQ_TYPE_LEVEL_HIGH>;
1204                                 clocks = <&clks IMX6QDL_CLK_UART_IPG>,
1205                                          <&clks IMX6QDL_CLK_UART_SERIAL>;
1206                                 clock-names = "ipg", "per";
1207                                 dmas = <&sdma 31 4 0>, <&sdma 32 4 0>;
1208                                 dma-names = "rx", "tx";
1209                                 status = "disabled";
1210                         };
1211
1212                         uart5: serial@021f4000 {
1213                                 compatible = "fsl,imx6q-uart", "fsl,imx21-uart";
1214                                 reg = <0x021f4000 0x4000>;
1215                                 interrupts = <0 30 IRQ_TYPE_LEVEL_HIGH>;
1216                                 clocks = <&clks IMX6QDL_CLK_UART_IPG>,
1217                                          <&clks IMX6QDL_CLK_UART_SERIAL>;
1218                                 clock-names = "ipg", "per";
1219                                 dmas = <&sdma 33 4 0>, <&sdma 34 4 0>;
1220                                 dma-names = "rx", "tx";
1221                                 status = "disabled";
1222                         };
1223                 };
1224
1225                 ipu1: ipu@02400000 {
1226                         #address-cells = <1>;
1227                         #size-cells = <0>;
1228                         compatible = "fsl,imx6q-ipu";
1229                         reg = <0x02400000 0x400000>;
1230                         interrupts = <0 6 IRQ_TYPE_LEVEL_HIGH>,
1231                                      <0 5 IRQ_TYPE_LEVEL_HIGH>;
1232                         clocks = <&clks IMX6QDL_CLK_IPU1>,
1233                                  <&clks IMX6QDL_CLK_IPU1_DI0>,
1234                                  <&clks IMX6QDL_CLK_IPU1_DI1>;
1235                         clock-names = "bus", "di0", "di1";
1236                         resets = <&src 2>;
1237
1238                         ipu1_csi0: port@0 {
1239                                 reg = <0>;
1240                         };
1241
1242                         ipu1_csi1: port@1 {
1243                                 reg = <1>;
1244                         };
1245
1246                         ipu1_di0: port@2 {
1247                                 #address-cells = <1>;
1248                                 #size-cells = <0>;
1249                                 reg = <2>;
1250
1251                                 ipu1_di0_disp0: disp0-endpoint {
1252                                 };
1253
1254                                 ipu1_di0_hdmi: hdmi-endpoint {
1255                                         remote-endpoint = <&hdmi_mux_0>;
1256                                 };
1257
1258                                 ipu1_di0_mipi: mipi-endpoint {
1259                                         remote-endpoint = <&mipi_mux_0>;
1260                                 };
1261
1262                                 ipu1_di0_lvds0: lvds0-endpoint {
1263                                         remote-endpoint = <&lvds0_mux_0>;
1264                                 };
1265
1266                                 ipu1_di0_lvds1: lvds1-endpoint {
1267                                         remote-endpoint = <&lvds1_mux_0>;
1268                                 };
1269                         };
1270
1271                         ipu1_di1: port@3 {
1272                                 #address-cells = <1>;
1273                                 #size-cells = <0>;
1274                                 reg = <3>;
1275
1276                                 ipu1_di1_disp1: disp1-endpoint {
1277                                 };
1278
1279                                 ipu1_di1_hdmi: hdmi-endpoint {
1280                                         remote-endpoint = <&hdmi_mux_1>;
1281                                 };
1282
1283                                 ipu1_di1_mipi: mipi-endpoint {
1284                                         remote-endpoint = <&mipi_mux_1>;
1285                                 };
1286
1287                                 ipu1_di1_lvds0: lvds0-endpoint {
1288                                         remote-endpoint = <&lvds0_mux_1>;
1289                                 };
1290
1291                                 ipu1_di1_lvds1: lvds1-endpoint {
1292                                         remote-endpoint = <&lvds1_mux_1>;
1293                                 };
1294                         };
1295                 };
1296         };
1297 };