]> git.kernelconcepts.de Git - karo-tx-linux.git/blob - arch/arm/boot/dts/imx6qdl.dtsi
13d8db9975f6d14ef732f632a03d987cd232a745
[karo-tx-linux.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/interrupt-controller/arm-gic.h>
14
15 #include "skeleton.dtsi"
16
17 / {
18         aliases {
19                 ethernet0 = &fec;
20                 can0 = &can1;
21                 can1 = &can2;
22                 gpio0 = &gpio1;
23                 gpio1 = &gpio2;
24                 gpio2 = &gpio3;
25                 gpio3 = &gpio4;
26                 gpio4 = &gpio5;
27                 gpio5 = &gpio6;
28                 gpio6 = &gpio7;
29                 i2c0 = &i2c1;
30                 i2c1 = &i2c2;
31                 i2c2 = &i2c3;
32                 mmc0 = &usdhc1;
33                 mmc1 = &usdhc2;
34                 mmc2 = &usdhc3;
35                 mmc3 = &usdhc4;
36                 serial0 = &uart1;
37                 serial1 = &uart2;
38                 serial2 = &uart3;
39                 serial3 = &uart4;
40                 serial4 = &uart5;
41                 spi0 = &ecspi1;
42                 spi1 = &ecspi2;
43                 spi2 = &ecspi3;
44                 spi3 = &ecspi4;
45                 usbphy0 = &usbphy1;
46                 usbphy1 = &usbphy2;
47         };
48
49         intc: interrupt-controller@00a01000 {
50                 compatible = "arm,cortex-a9-gic";
51                 #interrupt-cells = <3>;
52                 interrupt-controller;
53                 reg = <0x00a01000 0x1000>,
54                       <0x00a00100 0x100>;
55         };
56
57         clocks {
58                 #address-cells = <1>;
59                 #size-cells = <0>;
60
61                 ckil {
62                         compatible = "fsl,imx-ckil", "fixed-clock";
63                         #clock-cells = <0>;
64                         clock-frequency = <32768>;
65                 };
66
67                 ckih1 {
68                         compatible = "fsl,imx-ckih1", "fixed-clock";
69                         #clock-cells = <0>;
70                         clock-frequency = <0>;
71                 };
72
73                 osc {
74                         compatible = "fsl,imx-osc", "fixed-clock";
75                         #clock-cells = <0>;
76                         clock-frequency = <24000000>;
77                 };
78         };
79
80         soc {
81                 #address-cells = <1>;
82                 #size-cells = <1>;
83                 compatible = "simple-bus";
84                 interrupt-parent = <&intc>;
85                 ranges;
86
87                 dma_apbh: dma-apbh@00110000 {
88                         compatible = "fsl,imx6q-dma-apbh", "fsl,imx28-dma-apbh";
89                         reg = <0x00110000 0x2000>;
90                         interrupts = <0 13 IRQ_TYPE_LEVEL_HIGH>,
91                                      <0 13 IRQ_TYPE_LEVEL_HIGH>,
92                                      <0 13 IRQ_TYPE_LEVEL_HIGH>,
93                                      <0 13 IRQ_TYPE_LEVEL_HIGH>;
94                         interrupt-names = "gpmi0", "gpmi1", "gpmi2", "gpmi3";
95                         #dma-cells = <1>;
96                         dma-channels = <4>;
97                         clocks = <&clks 106>;
98                 };
99
100                 gpmi: gpmi-nand@00112000 {
101                         compatible = "fsl,imx6q-gpmi-nand";
102                         #address-cells = <1>;
103                         #size-cells = <1>;
104                         reg = <0x00112000 0x2000>, <0x00114000 0x2000>;
105                         reg-names = "gpmi-nand", "bch";
106                         interrupts = <0 15 IRQ_TYPE_LEVEL_HIGH>;
107                         interrupt-names = "bch";
108                         clocks = <&clks 152>, <&clks 153>, <&clks 151>,
109                                  <&clks 150>, <&clks 149>;
110                         clock-names = "gpmi_io", "gpmi_apb", "gpmi_bch",
111                                       "gpmi_bch_apb", "per1_bch";
112                         dmas = <&dma_apbh 0>;
113                         dma-names = "rx-tx";
114                         status = "disabled";
115                 };
116
117                 timer@00a00600 {
118                         compatible = "arm,cortex-a9-twd-timer";
119                         reg = <0x00a00600 0x20>;
120                         interrupts = <1 13 0xf01>;
121                         clocks = <&clks 15>;
122                 };
123
124                 L2: l2-cache@00a02000 {
125                         compatible = "arm,pl310-cache";
126                         reg = <0x00a02000 0x1000>;
127                         interrupts = <0 92 IRQ_TYPE_LEVEL_HIGH>;
128                         cache-unified;
129                         cache-level = <2>;
130                         arm,tag-latency = <4 2 3>;
131                         arm,data-latency = <4 2 3>;
132                 };
133
134                 pcie: pcie@0x01000000 {
135                         compatible = "fsl,imx6q-pcie", "snps,dw-pcie";
136                         reg = <0x01ffc000 0x4000>; /* DBI */
137                         #address-cells = <3>;
138                         #size-cells = <2>;
139                         device_type = "pci";
140                         ranges = <0x00000800 0 0x01f00000 0x01f00000 0 0x00080000 /* configuration space */
141                                   0x81000000 0 0          0x01f80000 0 0x00010000 /* downstream I/O */
142                                   0x82000000 0 0x01000000 0x01000000 0 0x00f00000>; /* non-prefetchable memory */
143                         num-lanes = <1>;
144                         interrupts = <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>;
145                         interrupt-names = "msi";
146                         #interrupt-cells = <1>;
147                         interrupt-map-mask = <0 0 0 0x7>;
148                         interrupt-map = <0 0 0 1 &intc GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>,
149                                         <0 0 0 2 &intc GIC_SPI 122 IRQ_TYPE_LEVEL_HIGH>,
150                                         <0 0 0 3 &intc GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>,
151                                         <0 0 0 4 &intc GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>;
152                         clocks = <&clks 144>, <&clks 206>, <&clks 189>;
153                         clock-names = "pcie", "pcie_bus", "pcie_phy";
154                         status = "disabled";
155                 };
156
157                 pmu {
158                         compatible = "arm,cortex-a9-pmu";
159                         interrupts = <0 94 IRQ_TYPE_LEVEL_HIGH>;
160                 };
161
162                 aips-bus@02000000 { /* AIPS1 */
163                         compatible = "fsl,aips-bus", "simple-bus";
164                         #address-cells = <1>;
165                         #size-cells = <1>;
166                         reg = <0x02000000 0x100000>;
167                         ranges;
168
169                         spba-bus@02000000 {
170                                 compatible = "fsl,spba-bus", "simple-bus";
171                                 #address-cells = <1>;
172                                 #size-cells = <1>;
173                                 reg = <0x02000000 0x40000>;
174                                 ranges;
175
176                                 spdif: spdif@02004000 {
177                                         compatible = "fsl,imx35-spdif";
178                                         reg = <0x02004000 0x4000>;
179                                         interrupts = <0 52 IRQ_TYPE_LEVEL_HIGH>;
180                                         dmas = <&sdma 14 18 0>,
181                                                <&sdma 15 18 0>;
182                                         dma-names = "rx", "tx";
183                                         clocks = <&clks 197>, <&clks 3>,
184                                                  <&clks 197>, <&clks 107>,
185                                                  <&clks 0>,   <&clks 118>,
186                                                  <&clks 0>,  <&clks 139>,
187                                                  <&clks 0>;
188                                         clock-names = "core",  "rxtx0",
189                                                       "rxtx1", "rxtx2",
190                                                       "rxtx3", "rxtx4",
191                                                       "rxtx5", "rxtx6",
192                                                       "rxtx7";
193                                         status = "disabled";
194                                 };
195
196                                 ecspi1: ecspi@02008000 {
197                                         #address-cells = <1>;
198                                         #size-cells = <0>;
199                                         compatible = "fsl,imx6q-ecspi", "fsl,imx51-ecspi";
200                                         reg = <0x02008000 0x4000>;
201                                         interrupts = <0 31 IRQ_TYPE_LEVEL_HIGH>;
202                                         clocks = <&clks 112>, <&clks 112>;
203                                         clock-names = "ipg", "per";
204                                         dmas = <&sdma 3 7 1>, <&sdma 4 7 2>;
205                                         dma-names = "rx", "tx";
206                                         status = "disabled";
207                                 };
208
209                                 ecspi2: ecspi@0200c000 {
210                                         #address-cells = <1>;
211                                         #size-cells = <0>;
212                                         compatible = "fsl,imx6q-ecspi", "fsl,imx51-ecspi";
213                                         reg = <0x0200c000 0x4000>;
214                                         interrupts = <0 32 IRQ_TYPE_LEVEL_HIGH>;
215                                         clocks = <&clks 113>, <&clks 113>;
216                                         clock-names = "ipg", "per";
217                                         dmas = <&sdma 5 7 1>, <&sdma 6 7 2>;
218                                         dma-names = "rx", "tx";
219                                         status = "disabled";
220                                 };
221
222                                 ecspi3: ecspi@02010000 {
223                                         #address-cells = <1>;
224                                         #size-cells = <0>;
225                                         compatible = "fsl,imx6q-ecspi", "fsl,imx51-ecspi";
226                                         reg = <0x02010000 0x4000>;
227                                         interrupts = <0 33 IRQ_TYPE_LEVEL_HIGH>;
228                                         clocks = <&clks 114>, <&clks 114>;
229                                         clock-names = "ipg", "per";
230                                         dmas = <&sdma 7 7 1>, <&sdma 8 7 2>;
231                                         dma-names = "rx", "tx";
232                                         status = "disabled";
233                                 };
234
235                                 ecspi4: ecspi@02014000 {
236                                         #address-cells = <1>;
237                                         #size-cells = <0>;
238                                         compatible = "fsl,imx6q-ecspi", "fsl,imx51-ecspi";
239                                         reg = <0x02014000 0x4000>;
240                                         interrupts = <0 34 IRQ_TYPE_LEVEL_HIGH>;
241                                         clocks = <&clks 115>, <&clks 115>;
242                                         clock-names = "ipg", "per";
243                                         dmas = <&sdma 9 7 1>, <&sdma 10 7 2>;
244                                         dma-names = "rx", "tx";
245                                         status = "disabled";
246                                 };
247
248                                 uart1: serial@02020000 {
249                                         compatible = "fsl,imx6q-uart", "fsl,imx21-uart";
250                                         reg = <0x02020000 0x4000>;
251                                         interrupts = <0 26 IRQ_TYPE_LEVEL_HIGH>;
252                                         clocks = <&clks 160>, <&clks 161>;
253                                         clock-names = "ipg", "per";
254                                         dmas = <&sdma 25 4 0>, <&sdma 26 4 0>;
255                                         dma-names = "rx", "tx";
256                                         status = "disabled";
257                                 };
258
259                                 esai: esai@02024000 {
260                                         reg = <0x02024000 0x4000>;
261                                         interrupts = <0 51 IRQ_TYPE_LEVEL_HIGH>;
262                                 };
263
264                                 ssi1: ssi@02028000 {
265                                         compatible = "fsl,imx6q-ssi",
266                                                         "fsl,imx51-ssi",
267                                                         "fsl,imx21-ssi";
268                                         reg = <0x02028000 0x4000>;
269                                         interrupts = <0 46 IRQ_TYPE_LEVEL_HIGH>;
270                                         clocks = <&clks 178>;
271                                         dmas = <&sdma 37 1 0>,
272                                                <&sdma 38 1 0>;
273                                         dma-names = "rx", "tx";
274                                         fsl,fifo-depth = <15>;
275                                         fsl,ssi-dma-events = <38 37>;
276                                         status = "disabled";
277                                 };
278
279                                 ssi2: ssi@0202c000 {
280                                         compatible = "fsl,imx6q-ssi",
281                                                         "fsl,imx51-ssi",
282                                                         "fsl,imx21-ssi";
283                                         reg = <0x0202c000 0x4000>;
284                                         interrupts = <0 47 IRQ_TYPE_LEVEL_HIGH>;
285                                         clocks = <&clks 179>;
286                                         dmas = <&sdma 41 1 0>,
287                                                <&sdma 42 1 0>;
288                                         dma-names = "rx", "tx";
289                                         fsl,fifo-depth = <15>;
290                                         fsl,ssi-dma-events = <42 41>;
291                                         status = "disabled";
292                                 };
293
294                                 ssi3: ssi@02030000 {
295                                         compatible = "fsl,imx6q-ssi",
296                                                         "fsl,imx51-ssi",
297                                                         "fsl,imx21-ssi";
298                                         reg = <0x02030000 0x4000>;
299                                         interrupts = <0 48 IRQ_TYPE_LEVEL_HIGH>;
300                                         clocks = <&clks 180>;
301                                         dmas = <&sdma 45 1 0>,
302                                                <&sdma 46 1 0>;
303                                         dma-names = "rx", "tx";
304                                         fsl,fifo-depth = <15>;
305                                         fsl,ssi-dma-events = <46 45>;
306                                         status = "disabled";
307                                 };
308
309                                 asrc: asrc@02034000 {
310                                         reg = <0x02034000 0x4000>;
311                                         interrupts = <0 50 IRQ_TYPE_LEVEL_HIGH>;
312                                 };
313
314                                 spba@0203c000 {
315                                         reg = <0x0203c000 0x4000>;
316                                 };
317                         };
318
319                         vpu: vpu@02040000 {
320                                 reg = <0x02040000 0x3c000>;
321                                 interrupts = <0 3 IRQ_TYPE_LEVEL_HIGH>,
322                                              <0 12 IRQ_TYPE_LEVEL_HIGH>;
323                         };
324
325                         aipstz@0207c000 { /* AIPSTZ1 */
326                                 reg = <0x0207c000 0x4000>;
327                         };
328
329                         pwm1: pwm@02080000 {
330                                 #pwm-cells = <2>;
331                                 compatible = "fsl,imx6q-pwm", "fsl,imx27-pwm";
332                                 reg = <0x02080000 0x4000>;
333                                 interrupts = <0 83 IRQ_TYPE_LEVEL_HIGH>;
334                                 clocks = <&clks 62>, <&clks 145>;
335                                 clock-names = "ipg", "per";
336                         };
337
338                         pwm2: pwm@02084000 {
339                                 #pwm-cells = <2>;
340                                 compatible = "fsl,imx6q-pwm", "fsl,imx27-pwm";
341                                 reg = <0x02084000 0x4000>;
342                                 interrupts = <0 84 IRQ_TYPE_LEVEL_HIGH>;
343                                 clocks = <&clks 62>, <&clks 146>;
344                                 clock-names = "ipg", "per";
345                         };
346
347                         pwm3: pwm@02088000 {
348                                 #pwm-cells = <2>;
349                                 compatible = "fsl,imx6q-pwm", "fsl,imx27-pwm";
350                                 reg = <0x02088000 0x4000>;
351                                 interrupts = <0 85 IRQ_TYPE_LEVEL_HIGH>;
352                                 clocks = <&clks 62>, <&clks 147>;
353                                 clock-names = "ipg", "per";
354                         };
355
356                         pwm4: pwm@0208c000 {
357                                 #pwm-cells = <2>;
358                                 compatible = "fsl,imx6q-pwm", "fsl,imx27-pwm";
359                                 reg = <0x0208c000 0x4000>;
360                                 interrupts = <0 86 IRQ_TYPE_LEVEL_HIGH>;
361                                 clocks = <&clks 62>, <&clks 148>;
362                                 clock-names = "ipg", "per";
363                         };
364
365                         can1: flexcan@02090000 {
366                                 compatible = "fsl,imx6q-flexcan";
367                                 reg = <0x02090000 0x4000>;
368                                 interrupts = <0 110 IRQ_TYPE_LEVEL_HIGH>;
369                                 clocks = <&clks 108>, <&clks 109>;
370                                 clock-names = "ipg", "per";
371                                 status = "disabled";
372                         };
373
374                         can2: flexcan@02094000 {
375                                 compatible = "fsl,imx6q-flexcan";
376                                 reg = <0x02094000 0x4000>;
377                                 interrupts = <0 111 IRQ_TYPE_LEVEL_HIGH>;
378                                 clocks = <&clks 110>, <&clks 111>;
379                                 clock-names = "ipg", "per";
380                                 status = "disabled";
381                         };
382
383                         gpt: gpt@02098000 {
384                                 compatible = "fsl,imx6q-gpt", "fsl,imx31-gpt";
385                                 reg = <0x02098000 0x4000>;
386                                 interrupts = <0 55 IRQ_TYPE_LEVEL_HIGH>;
387                                 clocks = <&clks 119>, <&clks 120>;
388                                 clock-names = "ipg", "per";
389                         };
390
391                         gpio1: gpio@0209c000 {
392                                 compatible = "fsl,imx6q-gpio", "fsl,imx35-gpio";
393                                 reg = <0x0209c000 0x4000>;
394                                 interrupts = <0 66 IRQ_TYPE_LEVEL_HIGH>,
395                                              <0 67 IRQ_TYPE_LEVEL_HIGH>;
396                                 gpio-controller;
397                                 #gpio-cells = <2>;
398                                 interrupt-controller;
399                                 #interrupt-cells = <2>;
400                         };
401
402                         gpio2: gpio@020a0000 {
403                                 compatible = "fsl,imx6q-gpio", "fsl,imx35-gpio";
404                                 reg = <0x020a0000 0x4000>;
405                                 interrupts = <0 68 IRQ_TYPE_LEVEL_HIGH>,
406                                              <0 69 IRQ_TYPE_LEVEL_HIGH>;
407                                 gpio-controller;
408                                 #gpio-cells = <2>;
409                                 interrupt-controller;
410                                 #interrupt-cells = <2>;
411                         };
412
413                         gpio3: gpio@020a4000 {
414                                 compatible = "fsl,imx6q-gpio", "fsl,imx35-gpio";
415                                 reg = <0x020a4000 0x4000>;
416                                 interrupts = <0 70 IRQ_TYPE_LEVEL_HIGH>,
417                                              <0 71 IRQ_TYPE_LEVEL_HIGH>;
418                                 gpio-controller;
419                                 #gpio-cells = <2>;
420                                 interrupt-controller;
421                                 #interrupt-cells = <2>;
422                         };
423
424                         gpio4: gpio@020a8000 {
425                                 compatible = "fsl,imx6q-gpio", "fsl,imx35-gpio";
426                                 reg = <0x020a8000 0x4000>;
427                                 interrupts = <0 72 IRQ_TYPE_LEVEL_HIGH>,
428                                              <0 73 IRQ_TYPE_LEVEL_HIGH>;
429                                 gpio-controller;
430                                 #gpio-cells = <2>;
431                                 interrupt-controller;
432                                 #interrupt-cells = <2>;
433                         };
434
435                         gpio5: gpio@020ac000 {
436                                 compatible = "fsl,imx6q-gpio", "fsl,imx35-gpio";
437                                 reg = <0x020ac000 0x4000>;
438                                 interrupts = <0 74 IRQ_TYPE_LEVEL_HIGH>,
439                                              <0 75 IRQ_TYPE_LEVEL_HIGH>;
440                                 gpio-controller;
441                                 #gpio-cells = <2>;
442                                 interrupt-controller;
443                                 #interrupt-cells = <2>;
444                         };
445
446                         gpio6: gpio@020b0000 {
447                                 compatible = "fsl,imx6q-gpio", "fsl,imx35-gpio";
448                                 reg = <0x020b0000 0x4000>;
449                                 interrupts = <0 76 IRQ_TYPE_LEVEL_HIGH>,
450                                              <0 77 IRQ_TYPE_LEVEL_HIGH>;
451                                 gpio-controller;
452                                 #gpio-cells = <2>;
453                                 interrupt-controller;
454                                 #interrupt-cells = <2>;
455                         };
456
457                         gpio7: gpio@020b4000 {
458                                 compatible = "fsl,imx6q-gpio", "fsl,imx35-gpio";
459                                 reg = <0x020b4000 0x4000>;
460                                 interrupts = <0 78 IRQ_TYPE_LEVEL_HIGH>,
461                                              <0 79 IRQ_TYPE_LEVEL_HIGH>;
462                                 gpio-controller;
463                                 #gpio-cells = <2>;
464                                 interrupt-controller;
465                                 #interrupt-cells = <2>;
466                         };
467
468                         kpp: kpp@020b8000 {
469                                 compatible = "fsl,imx6qdl-kpp", "fsl,imx21-kpp";
470                                 reg = <0x020b8000 0x4000>;
471                                 interrupts = <0 82 IRQ_TYPE_LEVEL_HIGH>;
472                                 clocks = <&clks 0>;
473                         };
474
475                         wdog1: wdog@020bc000 {
476                                 compatible = "fsl,imx6q-wdt", "fsl,imx21-wdt";
477                                 reg = <0x020bc000 0x4000>;
478                                 interrupts = <0 80 IRQ_TYPE_LEVEL_HIGH>;
479                                 clocks = <&clks 0>;
480                         };
481
482                         wdog2: wdog@020c0000 {
483                                 compatible = "fsl,imx6q-wdt", "fsl,imx21-wdt";
484                                 reg = <0x020c0000 0x4000>;
485                                 interrupts = <0 81 IRQ_TYPE_LEVEL_HIGH>;
486                                 clocks = <&clks 0>;
487                                 status = "disabled";
488                         };
489
490                         clks: ccm@020c4000 {
491                                 compatible = "fsl,imx6q-ccm";
492                                 reg = <0x020c4000 0x4000>;
493                                 interrupts = <0 87 IRQ_TYPE_LEVEL_HIGH>,
494                                              <0 88 IRQ_TYPE_LEVEL_HIGH>;
495                                 #clock-cells = <1>;
496                         };
497
498                         anatop: anatop@020c8000 {
499                                 compatible = "fsl,imx6q-anatop", "syscon", "simple-bus";
500                                 reg = <0x020c8000 0x1000>;
501                                 interrupts = <0 49 IRQ_TYPE_LEVEL_HIGH>,
502                                              <0 54 IRQ_TYPE_LEVEL_HIGH>,
503                                              <0 127 IRQ_TYPE_LEVEL_HIGH>;
504
505                                 regulator-1p1@110 {
506                                         compatible = "fsl,anatop-regulator";
507                                         regulator-name = "vdd1p1";
508                                         regulator-min-microvolt = <800000>;
509                                         regulator-max-microvolt = <1375000>;
510                                         regulator-always-on;
511                                         anatop-reg-offset = <0x110>;
512                                         anatop-vol-bit-shift = <8>;
513                                         anatop-vol-bit-width = <5>;
514                                         anatop-min-bit-val = <4>;
515                                         anatop-min-voltage = <800000>;
516                                         anatop-max-voltage = <1375000>;
517                                 };
518
519                                 regulator-3p0@120 {
520                                         compatible = "fsl,anatop-regulator";
521                                         regulator-name = "vdd3p0";
522                                         regulator-min-microvolt = <2800000>;
523                                         regulator-max-microvolt = <3150000>;
524                                         regulator-always-on;
525                                         anatop-reg-offset = <0x120>;
526                                         anatop-vol-bit-shift = <8>;
527                                         anatop-vol-bit-width = <5>;
528                                         anatop-min-bit-val = <0>;
529                                         anatop-min-voltage = <2625000>;
530                                         anatop-max-voltage = <3400000>;
531                                 };
532
533                                 regulator-2p5@130 {
534                                         compatible = "fsl,anatop-regulator";
535                                         regulator-name = "vdd2p5";
536                                         regulator-min-microvolt = <2000000>;
537                                         regulator-max-microvolt = <2750000>;
538                                         regulator-always-on;
539                                         anatop-reg-offset = <0x130>;
540                                         anatop-vol-bit-shift = <8>;
541                                         anatop-vol-bit-width = <5>;
542                                         anatop-min-bit-val = <0>;
543                                         anatop-min-voltage = <2000000>;
544                                         anatop-max-voltage = <2750000>;
545                                 };
546
547                                 reg_arm: regulator-vddcore@140 {
548                                         compatible = "fsl,anatop-regulator";
549                                         regulator-name = "vddarm";
550                                         regulator-min-microvolt = <725000>;
551                                         regulator-max-microvolt = <1450000>;
552                                         regulator-always-on;
553                                         anatop-reg-offset = <0x140>;
554                                         anatop-vol-bit-shift = <0>;
555                                         anatop-vol-bit-width = <5>;
556                                         anatop-delay-reg-offset = <0x170>;
557                                         anatop-delay-bit-shift = <24>;
558                                         anatop-delay-bit-width = <2>;
559                                         anatop-min-bit-val = <1>;
560                                         anatop-min-voltage = <725000>;
561                                         anatop-max-voltage = <1450000>;
562                                 };
563
564                                 reg_pu: regulator-vddpu@140 {
565                                         compatible = "fsl,anatop-regulator";
566                                         regulator-name = "vddpu";
567                                         regulator-min-microvolt = <725000>;
568                                         regulator-max-microvolt = <1450000>;
569                                         regulator-always-on;
570                                         anatop-reg-offset = <0x140>;
571                                         anatop-vol-bit-shift = <9>;
572                                         anatop-vol-bit-width = <5>;
573                                         anatop-delay-reg-offset = <0x170>;
574                                         anatop-delay-bit-shift = <26>;
575                                         anatop-delay-bit-width = <2>;
576                                         anatop-min-bit-val = <1>;
577                                         anatop-min-voltage = <725000>;
578                                         anatop-max-voltage = <1450000>;
579                                 };
580
581                                 reg_soc: regulator-vddsoc@140 {
582                                         compatible = "fsl,anatop-regulator";
583                                         regulator-name = "vddsoc";
584                                         regulator-min-microvolt = <725000>;
585                                         regulator-max-microvolt = <1450000>;
586                                         regulator-always-on;
587                                         anatop-reg-offset = <0x140>;
588                                         anatop-vol-bit-shift = <18>;
589                                         anatop-vol-bit-width = <5>;
590                                         anatop-delay-reg-offset = <0x170>;
591                                         anatop-delay-bit-shift = <28>;
592                                         anatop-delay-bit-width = <2>;
593                                         anatop-min-bit-val = <1>;
594                                         anatop-min-voltage = <725000>;
595                                         anatop-max-voltage = <1450000>;
596                                 };
597                         };
598
599                         tempmon: tempmon {
600                                 compatible = "fsl,imx6q-tempmon";
601                                 interrupts = <0 49 IRQ_TYPE_LEVEL_HIGH>;
602                                 fsl,tempmon = <&anatop>;
603                                 fsl,tempmon-data = <&ocotp>;
604                                 clocks = <&clks 172>;
605                         };
606
607                         usbphy1: usbphy@020c9000 {
608                                 compatible = "fsl,imx6q-usbphy", "fsl,imx23-usbphy";
609                                 reg = <0x020c9000 0x1000>;
610                                 interrupts = <0 44 IRQ_TYPE_LEVEL_HIGH>;
611                                 clocks = <&clks 182>;
612                                 fsl,anatop = <&anatop>;
613                         };
614
615                         usbphy2: usbphy@020ca000 {
616                                 compatible = "fsl,imx6q-usbphy", "fsl,imx23-usbphy";
617                                 reg = <0x020ca000 0x1000>;
618                                 interrupts = <0 45 IRQ_TYPE_LEVEL_HIGH>;
619                                 clocks = <&clks 183>;
620                                 fsl,anatop = <&anatop>;
621                         };
622
623                         snvs@020cc000 {
624                                 compatible = "fsl,sec-v4.0-mon", "simple-bus";
625                                 #address-cells = <1>;
626                                 #size-cells = <1>;
627                                 ranges = <0 0x020cc000 0x4000>;
628
629                                 snvs-rtc-lp@34 {
630                                         compatible = "fsl,sec-v4.0-mon-rtc-lp";
631                                         reg = <0x34 0x58>;
632                                         interrupts = <0 19 IRQ_TYPE_LEVEL_HIGH>,
633                                                      <0 20 IRQ_TYPE_LEVEL_HIGH>;
634                                 };
635                         };
636
637                         epit1: epit@020d0000 { /* EPIT1 */
638                                 reg = <0x020d0000 0x4000>;
639                                 interrupts = <0 56 IRQ_TYPE_LEVEL_HIGH>;
640                         };
641
642                         epit2: epit@020d4000 { /* EPIT2 */
643                                 reg = <0x020d4000 0x4000>;
644                                 interrupts = <0 57 IRQ_TYPE_LEVEL_HIGH>;
645                         };
646
647                         src: src@020d8000 {
648                                 compatible = "fsl,imx6q-src", "fsl,imx51-src";
649                                 reg = <0x020d8000 0x4000>;
650                                 interrupts = <0 91 IRQ_TYPE_LEVEL_HIGH>,
651                                              <0 96 IRQ_TYPE_LEVEL_HIGH>;
652                                 #reset-cells = <1>;
653                         };
654
655                         gpc: gpc@020dc000 {
656                                 compatible = "fsl,imx6q-gpc";
657                                 reg = <0x020dc000 0x4000>;
658                                 interrupts = <0 89 IRQ_TYPE_LEVEL_HIGH>,
659                                              <0 90 IRQ_TYPE_LEVEL_HIGH>;
660                         };
661
662                         gpr: iomuxc-gpr@020e0000 {
663                                 compatible = "fsl,imx6q-iomuxc-gpr", "syscon";
664                                 reg = <0x020e0000 0x38>;
665                         };
666
667                         iomuxc: iomuxc@020e0000 {
668                                 compatible = "fsl,imx6dl-iomuxc", "fsl,imx6q-iomuxc";
669                                 reg = <0x020e0000 0x4000>;
670                         };
671
672                         ldb: ldb@020e0008 {
673                                 #address-cells = <1>;
674                                 #size-cells = <0>;
675                                 compatible = "fsl,imx6q-ldb", "fsl,imx53-ldb";
676                                 gpr = <&gpr>;
677                                 status = "disabled";
678
679                                 lvds-channel@0 {
680                                         #address-cells = <1>;
681                                         #size-cells = <0>;
682                                         reg = <0>;
683                                         status = "disabled";
684
685                                         port@0 {
686                                                 reg = <0>;
687
688                                                 lvds0_mux_0: endpoint {
689                                                         remote-endpoint = <&ipu1_di0_lvds0>;
690                                                 };
691                                         };
692
693                                         port@1 {
694                                                 reg = <1>;
695
696                                                 lvds0_mux_1: endpoint {
697                                                         remote-endpoint = <&ipu1_di1_lvds0>;
698                                                 };
699                                         };
700                                 };
701
702                                 lvds-channel@1 {
703                                         #address-cells = <1>;
704                                         #size-cells = <0>;
705                                         reg = <1>;
706                                         status = "disabled";
707
708                                         port@0 {
709                                                 reg = <0>;
710
711                                                 lvds1_mux_0: endpoint {
712                                                         remote-endpoint = <&ipu1_di0_lvds1>;
713                                                 };
714                                         };
715
716                                         port@1 {
717                                                 reg = <1>;
718
719                                                 lvds1_mux_1: endpoint {
720                                                         remote-endpoint = <&ipu1_di1_lvds1>;
721                                                 };
722                                         };
723                                 };
724                         };
725
726                         hdmi: hdmi@0120000 {
727                                 #address-cells = <1>;
728                                 #size-cells = <0>;
729                                 reg = <0x00120000 0x9000>;
730                                 interrupts = <0 115 0x04>;
731                                 gpr = <&gpr>;
732                                 clocks = <&clks 123>, <&clks 124>;
733                                 clock-names = "iahb", "isfr";
734                                 status = "disabled";
735
736                                 port@0 {
737                                         reg = <0>;
738
739                                         hdmi_mux_0: endpoint {
740                                                 remote-endpoint = <&ipu1_di0_hdmi>;
741                                         };
742                                 };
743
744                                 port@1 {
745                                         reg = <1>;
746
747                                         hdmi_mux_1: endpoint {
748                                                 remote-endpoint = <&ipu1_di1_hdmi>;
749                                         };
750                                 };
751                         };
752
753                         dcic1: dcic@020e4000 {
754                                 reg = <0x020e4000 0x4000>;
755                                 interrupts = <0 124 IRQ_TYPE_LEVEL_HIGH>;
756                         };
757
758                         dcic2: dcic@020e8000 {
759                                 reg = <0x020e8000 0x4000>;
760                                 interrupts = <0 125 IRQ_TYPE_LEVEL_HIGH>;
761                         };
762
763                         sdma: sdma@020ec000 {
764                                 compatible = "fsl,imx6q-sdma", "fsl,imx35-sdma";
765                                 reg = <0x020ec000 0x4000>;
766                                 interrupts = <0 2 IRQ_TYPE_LEVEL_HIGH>;
767                                 clocks = <&clks 155>, <&clks 155>;
768                                 clock-names = "ipg", "ahb";
769                                 #dma-cells = <3>;
770                                 fsl,sdma-ram-script-name = "imx/sdma/sdma-imx6q.bin";
771                         };
772                 };
773
774                 aips-bus@02100000 { /* AIPS2 */
775                         compatible = "fsl,aips-bus", "simple-bus";
776                         #address-cells = <1>;
777                         #size-cells = <1>;
778                         reg = <0x02100000 0x100000>;
779                         ranges;
780
781                         caam@02100000 {
782                                 reg = <0x02100000 0x40000>;
783                                 interrupts = <0 105 IRQ_TYPE_LEVEL_HIGH>,
784                                              <0 106 IRQ_TYPE_LEVEL_HIGH>;
785                         };
786
787                         aipstz@0217c000 { /* AIPSTZ2 */
788                                 reg = <0x0217c000 0x4000>;
789                         };
790
791                         usbotg: usb@02184000 {
792                                 compatible = "fsl,imx6q-usb", "fsl,imx27-usb";
793                                 reg = <0x02184000 0x200>;
794                                 interrupts = <0 43 IRQ_TYPE_LEVEL_HIGH>;
795                                 clocks = <&clks 162>;
796                                 fsl,usbphy = <&usbphy1>;
797                                 fsl,usbmisc = <&usbmisc 0>;
798                                 status = "disabled";
799                         };
800
801                         usbh1: usb@02184200 {
802                                 compatible = "fsl,imx6q-usb", "fsl,imx27-usb";
803                                 reg = <0x02184200 0x200>;
804                                 interrupts = <0 40 IRQ_TYPE_LEVEL_HIGH>;
805                                 clocks = <&clks 162>;
806                                 fsl,usbphy = <&usbphy2>;
807                                 fsl,usbmisc = <&usbmisc 1>;
808                                 status = "disabled";
809                         };
810
811                         usbh2: usb@02184400 {
812                                 compatible = "fsl,imx6q-usb", "fsl,imx27-usb";
813                                 reg = <0x02184400 0x200>;
814                                 interrupts = <0 41 IRQ_TYPE_LEVEL_HIGH>;
815                                 clocks = <&clks 162>;
816                                 fsl,usbmisc = <&usbmisc 2>;
817                                 status = "disabled";
818                         };
819
820                         usbh3: usb@02184600 {
821                                 compatible = "fsl,imx6q-usb", "fsl,imx27-usb";
822                                 reg = <0x02184600 0x200>;
823                                 interrupts = <0 42 IRQ_TYPE_LEVEL_HIGH>;
824                                 clocks = <&clks 162>;
825                                 fsl,usbmisc = <&usbmisc 3>;
826                                 status = "disabled";
827                         };
828
829                         usbmisc: usbmisc@02184800 {
830                                 #index-cells = <1>;
831                                 compatible = "fsl,imx6q-usbmisc";
832                                 reg = <0x02184800 0x200>;
833                                 clocks = <&clks 162>;
834                         };
835
836                         fec: ethernet@02188000 {
837                                 compatible = "fsl,imx6q-fec";
838                                 reg = <0x02188000 0x4000>;
839                                 interrupts-extended =
840                                         <&intc 0 118 IRQ_TYPE_LEVEL_HIGH>,
841                                         <&intc 0 119 IRQ_TYPE_LEVEL_HIGH>;
842                                 clocks = <&clks 117>, <&clks 117>, <&clks 190>;
843                                 clock-names = "ipg", "ahb", "ptp";
844                                 status = "disabled";
845                         };
846
847                         mlb@0218c000 {
848                                 reg = <0x0218c000 0x4000>;
849                                 interrupts = <0 53 IRQ_TYPE_LEVEL_HIGH>,
850                                              <0 117 IRQ_TYPE_LEVEL_HIGH>,
851                                              <0 126 IRQ_TYPE_LEVEL_HIGH>;
852                         };
853
854                         usdhc1: usdhc@02190000 {
855                                 compatible = "fsl,imx6q-usdhc";
856                                 reg = <0x02190000 0x4000>;
857                                 interrupts = <0 22 IRQ_TYPE_LEVEL_HIGH>;
858                                 clocks = <&clks 163>, <&clks 163>, <&clks 163>;
859                                 clock-names = "ipg", "ahb", "per";
860                                 bus-width = <4>;
861                                 status = "disabled";
862                         };
863
864                         usdhc2: usdhc@02194000 {
865                                 compatible = "fsl,imx6q-usdhc";
866                                 reg = <0x02194000 0x4000>;
867                                 interrupts = <0 23 IRQ_TYPE_LEVEL_HIGH>;
868                                 clocks = <&clks 164>, <&clks 164>, <&clks 164>;
869                                 clock-names = "ipg", "ahb", "per";
870                                 bus-width = <4>;
871                                 status = "disabled";
872                         };
873
874                         usdhc3: usdhc@02198000 {
875                                 compatible = "fsl,imx6q-usdhc";
876                                 reg = <0x02198000 0x4000>;
877                                 interrupts = <0 24 IRQ_TYPE_LEVEL_HIGH>;
878                                 clocks = <&clks 165>, <&clks 165>, <&clks 165>;
879                                 clock-names = "ipg", "ahb", "per";
880                                 bus-width = <4>;
881                                 status = "disabled";
882                         };
883
884                         usdhc4: usdhc@0219c000 {
885                                 compatible = "fsl,imx6q-usdhc";
886                                 reg = <0x0219c000 0x4000>;
887                                 interrupts = <0 25 IRQ_TYPE_LEVEL_HIGH>;
888                                 clocks = <&clks 166>, <&clks 166>, <&clks 166>;
889                                 clock-names = "ipg", "ahb", "per";
890                                 bus-width = <4>;
891                                 status = "disabled";
892                         };
893
894                         i2c1: i2c@021a0000 {
895                                 #address-cells = <1>;
896                                 #size-cells = <0>;
897                                 compatible = "fsl,imx6q-i2c", "fsl,imx21-i2c";
898                                 reg = <0x021a0000 0x4000>;
899                                 interrupts = <0 36 IRQ_TYPE_LEVEL_HIGH>;
900                                 clocks = <&clks 125>;
901                                 status = "disabled";
902                         };
903
904                         i2c2: i2c@021a4000 {
905                                 #address-cells = <1>;
906                                 #size-cells = <0>;
907                                 compatible = "fsl,imx6q-i2c", "fsl,imx21-i2c";
908                                 reg = <0x021a4000 0x4000>;
909                                 interrupts = <0 37 IRQ_TYPE_LEVEL_HIGH>;
910                                 clocks = <&clks 126>;
911                                 status = "disabled";
912                         };
913
914                         i2c3: i2c@021a8000 {
915                                 #address-cells = <1>;
916                                 #size-cells = <0>;
917                                 compatible = "fsl,imx6q-i2c", "fsl,imx21-i2c";
918                                 reg = <0x021a8000 0x4000>;
919                                 interrupts = <0 38 IRQ_TYPE_LEVEL_HIGH>;
920                                 clocks = <&clks 127>;
921                                 status = "disabled";
922                         };
923
924                         romcp@021ac000 {
925                                 reg = <0x021ac000 0x4000>;
926                         };
927
928                         mmdc0: mmdc@021b0000 { /* MMDC0 */
929                                 compatible = "fsl,imx6q-mmdc";
930                                 reg = <0x021b0000 0x4000>;
931                         };
932
933                         mmdc1: mmdc@021b4000 { /* MMDC1 */
934                                 reg = <0x021b4000 0x4000>;
935                         };
936
937                         weim: weim@021b8000 {
938                                 compatible = "fsl,imx6q-weim";
939                                 reg = <0x021b8000 0x4000>;
940                                 interrupts = <0 14 IRQ_TYPE_LEVEL_HIGH>;
941                                 clocks = <&clks 196>;
942                         };
943
944                         ocotp: ocotp@021bc000 {
945                                 compatible = "fsl,imx6q-ocotp", "syscon";
946                                 reg = <0x021bc000 0x4000>;
947                         };
948
949                         tzasc@021d0000 { /* TZASC1 */
950                                 reg = <0x021d0000 0x4000>;
951                                 interrupts = <0 108 IRQ_TYPE_LEVEL_HIGH>;
952                         };
953
954                         tzasc@021d4000 { /* TZASC2 */
955                                 reg = <0x021d4000 0x4000>;
956                                 interrupts = <0 109 IRQ_TYPE_LEVEL_HIGH>;
957                         };
958
959                         audmux: audmux@021d8000 {
960                                 compatible = "fsl,imx6q-audmux", "fsl,imx31-audmux";
961                                 reg = <0x021d8000 0x4000>;
962                                 status = "disabled";
963                         };
964
965                         mipi_csi: mipi@021dc000 {
966                                 reg = <0x021dc000 0x4000>;
967                         };
968
969                         mipi_dsi: mipi@021e0000 {
970                                 #address-cells = <1>;
971                                 #size-cells = <0>;
972                                 reg = <0x021e0000 0x4000>;
973                                 status = "disabled";
974
975                                 port@0 {
976                                         reg = <0>;
977
978                                         mipi_mux_0: endpoint {
979                                                 remote-endpoint = <&ipu1_di0_mipi>;
980                                         };
981                                 };
982
983                                 port@1 {
984                                         reg = <1>;
985
986                                         mipi_mux_1: endpoint {
987                                                 remote-endpoint = <&ipu1_di1_mipi>;
988                                         };
989                                 };
990                         };
991
992                         vdoa@021e4000 {
993                                 reg = <0x021e4000 0x4000>;
994                                 interrupts = <0 18 IRQ_TYPE_LEVEL_HIGH>;
995                         };
996
997                         uart2: serial@021e8000 {
998                                 compatible = "fsl,imx6q-uart", "fsl,imx21-uart";
999                                 reg = <0x021e8000 0x4000>;
1000                                 interrupts = <0 27 IRQ_TYPE_LEVEL_HIGH>;
1001                                 clocks = <&clks 160>, <&clks 161>;
1002                                 clock-names = "ipg", "per";
1003                                 dmas = <&sdma 27 4 0>, <&sdma 28 4 0>;
1004                                 dma-names = "rx", "tx";
1005                                 status = "disabled";
1006                         };
1007
1008                         uart3: serial@021ec000 {
1009                                 compatible = "fsl,imx6q-uart", "fsl,imx21-uart";
1010                                 reg = <0x021ec000 0x4000>;
1011                                 interrupts = <0 28 IRQ_TYPE_LEVEL_HIGH>;
1012                                 clocks = <&clks 160>, <&clks 161>;
1013                                 clock-names = "ipg", "per";
1014                                 dmas = <&sdma 29 4 0>, <&sdma 30 4 0>;
1015                                 dma-names = "rx", "tx";
1016                                 status = "disabled";
1017                         };
1018
1019                         uart4: serial@021f0000 {
1020                                 compatible = "fsl,imx6q-uart", "fsl,imx21-uart";
1021                                 reg = <0x021f0000 0x4000>;
1022                                 interrupts = <0 29 IRQ_TYPE_LEVEL_HIGH>;
1023                                 clocks = <&clks 160>, <&clks 161>;
1024                                 clock-names = "ipg", "per";
1025                                 dmas = <&sdma 31 4 0>, <&sdma 32 4 0>;
1026                                 dma-names = "rx", "tx";
1027                                 status = "disabled";
1028                         };
1029
1030                         uart5: serial@021f4000 {
1031                                 compatible = "fsl,imx6q-uart", "fsl,imx21-uart";
1032                                 reg = <0x021f4000 0x4000>;
1033                                 interrupts = <0 30 IRQ_TYPE_LEVEL_HIGH>;
1034                                 clocks = <&clks 160>, <&clks 161>;
1035                                 clock-names = "ipg", "per";
1036                                 dmas = <&sdma 33 4 0>, <&sdma 34 4 0>;
1037                                 dma-names = "rx", "tx";
1038                                 status = "disabled";
1039                         };
1040                 };
1041
1042                 ipu1: ipu@02400000 {
1043                         #address-cells = <1>;
1044                         #size-cells = <0>;
1045                         compatible = "fsl,imx6q-ipu";
1046                         reg = <0x02400000 0x400000>;
1047                         interrupts = <0 6 IRQ_TYPE_LEVEL_HIGH>,
1048                                      <0 5 IRQ_TYPE_LEVEL_HIGH>;
1049                         clocks = <&clks 130>, <&clks 131>, <&clks 132>;
1050                         clock-names = "bus", "di0", "di1";
1051                         resets = <&src 2>;
1052
1053                         ipu1_di0: port@2 {
1054                                 #address-cells = <1>;
1055                                 #size-cells = <0>;
1056                                 reg = <2>;
1057
1058                                 ipu1_di0_disp0: endpoint@0 {
1059                                 };
1060
1061                                 ipu1_di0_hdmi: endpoint@1 {
1062                                         remote-endpoint = <&hdmi_mux_0>;
1063                                 };
1064
1065                                 ipu1_di0_mipi: endpoint@2 {
1066                                         remote-endpoint = <&mipi_mux_0>;
1067                                 };
1068
1069                                 ipu1_di0_lvds0: endpoint@3 {
1070                                         remote-endpoint = <&lvds0_mux_0>;
1071                                 };
1072
1073                                 ipu1_di0_lvds1: endpoint@4 {
1074                                         remote-endpoint = <&lvds1_mux_0>;
1075                                 };
1076                         };
1077
1078                         ipu1_di1: port@3 {
1079                                 #address-cells = <1>;
1080                                 #size-cells = <0>;
1081                                 reg = <3>;
1082
1083                                 ipu1_di0_disp1: endpoint@0 {
1084                                 };
1085
1086                                 ipu1_di1_hdmi: endpoint@1 {
1087                                         remote-endpoint = <&hdmi_mux_1>;
1088                                 };
1089
1090                                 ipu1_di1_mipi: endpoint@2 {
1091                                         remote-endpoint = <&mipi_mux_1>;
1092                                 };
1093
1094                                 ipu1_di1_lvds0: endpoint@3 {
1095                                         remote-endpoint = <&lvds0_mux_1>;
1096                                 };
1097
1098                                 ipu1_di1_lvds1: endpoint@4 {
1099                                         remote-endpoint = <&lvds1_mux_1>;
1100                                 };
1101                         };
1102                 };
1103         };
1104 };