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