blob: dc7eaaefe01a442a4b373115e3aadd842080f404 [file] [log] [blame]
Shawn Guob1d17f62014-05-13 20:21:35 +08001/*
2 * Copyright 2014 Freescale Semiconductor, Inc.
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
7 */
8
9#include <dt-bindings/clock/imx6sx-clock.h>
10#include <dt-bindings/gpio/gpio.h>
Frank Li93db0552015-05-27 00:26:02 +080011#include <dt-bindings/input/input.h>
Shawn Guob1d17f62014-05-13 20:21:35 +080012#include <dt-bindings/interrupt-controller/arm-gic.h>
13#include "imx6sx-pinfunc.h"
14#include "skeleton.dtsi"
15
16/ {
17 aliases {
18 can0 = &flexcan1;
19 can1 = &flexcan2;
20 ethernet0 = &fec1;
21 ethernet1 = &fec2;
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 i2c3 = &i2c4;
33 mmc0 = &usdhc1;
34 mmc1 = &usdhc2;
35 mmc2 = &usdhc3;
36 mmc3 = &usdhc4;
37 serial0 = &uart1;
38 serial1 = &uart2;
39 serial2 = &uart3;
40 serial3 = &uart4;
41 serial4 = &uart5;
42 serial5 = &uart6;
43 spi0 = &ecspi1;
44 spi1 = &ecspi2;
45 spi2 = &ecspi3;
46 spi3 = &ecspi4;
47 spi4 = &ecspi5;
48 usbphy0 = &usbphy1;
49 usbphy1 = &usbphy2;
50 };
51
52 cpus {
53 #address-cells = <1>;
54 #size-cells = <0>;
55
56 cpu0: cpu@0 {
57 compatible = "arm,cortex-a9";
58 device_type = "cpu";
59 reg = <0>;
60 next-level-cache = <&L2>;
61 operating-points = <
62 /* kHz uV */
63 996000 1250000
64 792000 1175000
65 396000 1075000
66 >;
67 fsl,soc-operating-points = <
68 /* ARM kHz SOC uV */
69 996000 1175000
70 792000 1175000
71 396000 1175000
72 >;
73 clock-latency = <61036>; /* two CLK32 periods */
74 clocks = <&clks IMX6SX_CLK_ARM>,
75 <&clks IMX6SX_CLK_PLL2_PFD2>,
76 <&clks IMX6SX_CLK_STEP>,
77 <&clks IMX6SX_CLK_PLL1_SW>,
78 <&clks IMX6SX_CLK_PLL1_SYS>;
79 clock-names = "arm", "pll2_pfd2_396m", "step",
80 "pll1_sw", "pll1_sys";
81 arm-supply = <&reg_arm>;
82 soc-supply = <&reg_soc>;
83 };
84 };
85
86 intc: interrupt-controller@00a01000 {
87 compatible = "arm,cortex-a9-gic";
88 #interrupt-cells = <3>;
89 interrupt-controller;
90 reg = <0x00a01000 0x1000>,
91 <0x00a00100 0x100>;
Marc Zyngierb923ff62015-02-23 17:45:18 +000092 interrupt-parent = <&intc>;
Shawn Guob1d17f62014-05-13 20:21:35 +080093 };
94
95 clocks {
96 #address-cells = <1>;
97 #size-cells = <0>;
98
99 ckil: clock@0 {
100 compatible = "fixed-clock";
101 reg = <0>;
102 #clock-cells = <0>;
103 clock-frequency = <32768>;
104 clock-output-names = "ckil";
105 };
106
107 osc: clock@1 {
108 compatible = "fixed-clock";
109 reg = <1>;
110 #clock-cells = <0>;
111 clock-frequency = <24000000>;
112 clock-output-names = "osc";
113 };
114
115 ipp_di0: clock@2 {
116 compatible = "fixed-clock";
117 reg = <2>;
118 #clock-cells = <0>;
119 clock-frequency = <0>;
120 clock-output-names = "ipp_di0";
121 };
122
123 ipp_di1: clock@3 {
124 compatible = "fixed-clock";
125 reg = <3>;
126 #clock-cells = <0>;
127 clock-frequency = <0>;
128 clock-output-names = "ipp_di1";
129 };
130 };
131
132 soc {
133 #address-cells = <1>;
134 #size-cells = <1>;
135 compatible = "simple-bus";
Marc Zyngierb923ff62015-02-23 17:45:18 +0000136 interrupt-parent = <&gpc>;
Shawn Guob1d17f62014-05-13 20:21:35 +0800137 ranges;
138
139 pmu {
140 compatible = "arm,cortex-a9-pmu";
141 interrupts = <GIC_SPI 94 IRQ_TYPE_LEVEL_HIGH>;
142 };
143
144 ocram: sram@00900000 {
145 compatible = "mmio-sram";
146 reg = <0x00900000 0x20000>;
147 clocks = <&clks IMX6SX_CLK_OCRAM>;
148 };
149
150 L2: l2-cache@00a02000 {
151 compatible = "arm,pl310-cache";
152 reg = <0x00a02000 0x1000>;
153 interrupts = <GIC_SPI 92 IRQ_TYPE_LEVEL_HIGH>;
154 cache-unified;
155 cache-level = <2>;
156 arm,tag-latency = <4 2 3>;
157 arm,data-latency = <4 2 3>;
158 };
159
160 dma_apbh: dma-apbh@01804000 {
161 compatible = "fsl,imx6sx-dma-apbh", "fsl,imx28-dma-apbh";
162 reg = <0x01804000 0x2000>;
163 interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>,
164 <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>,
165 <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>,
166 <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
167 interrupt-names = "gpmi0", "gpmi1", "gpmi2", "gpmi3";
168 #dma-cells = <1>;
169 dma-channels = <4>;
170 clocks = <&clks IMX6SX_CLK_APBH_DMA>;
171 };
172
173 gpmi: gpmi-nand@01806000{
174 compatible = "fsl,imx6sx-gpmi-nand";
175 #address-cells = <1>;
176 #size-cells = <1>;
177 reg = <0x01806000 0x2000>, <0x01808000 0x4000>;
178 reg-names = "gpmi-nand", "bch";
179 interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>;
180 interrupt-names = "bch";
181 clocks = <&clks IMX6SX_CLK_GPMI_IO>,
182 <&clks IMX6SX_CLK_GPMI_APB>,
183 <&clks IMX6SX_CLK_GPMI_BCH>,
184 <&clks IMX6SX_CLK_GPMI_BCH_APB>,
185 <&clks IMX6SX_CLK_PER1_BCH>;
186 clock-names = "gpmi_io", "gpmi_apb", "gpmi_bch",
187 "gpmi_bch_apb", "per1_bch";
188 dmas = <&dma_apbh 0>;
189 dma-names = "rx-tx";
190 status = "disabled";
191 };
192
193 aips1: aips-bus@02000000 {
194 compatible = "fsl,aips-bus", "simple-bus";
195 #address-cells = <1>;
196 #size-cells = <1>;
197 reg = <0x02000000 0x100000>;
198 ranges;
199
200 spba-bus@02000000 {
201 compatible = "fsl,spba-bus", "simple-bus";
202 #address-cells = <1>;
203 #size-cells = <1>;
204 reg = <0x02000000 0x40000>;
205 ranges;
206
207 spdif: spdif@02004000 {
208 compatible = "fsl,imx6sx-spdif", "fsl,imx35-spdif";
209 reg = <0x02004000 0x4000>;
210 interrupts = <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>;
211 dmas = <&sdma 14 18 0>,
212 <&sdma 15 18 0>;
213 dma-names = "rx", "tx";
214 clocks = <&clks IMX6SX_CLK_SPDIF>,
215 <&clks IMX6SX_CLK_OSC>,
216 <&clks IMX6SX_CLK_SPDIF>,
217 <&clks 0>, <&clks 0>, <&clks 0>,
218 <&clks IMX6SX_CLK_IPG>,
219 <&clks 0>, <&clks 0>,
220 <&clks IMX6SX_CLK_SPBA>;
221 clock-names = "core", "rxtx0",
222 "rxtx1", "rxtx2",
223 "rxtx3", "rxtx4",
224 "rxtx5", "rxtx6",
225 "rxtx7", "dma";
226 status = "disabled";
227 };
228
229 ecspi1: ecspi@02008000 {
230 #address-cells = <1>;
231 #size-cells = <0>;
232 compatible = "fsl,imx6sx-ecspi", "fsl,imx51-ecspi";
233 reg = <0x02008000 0x4000>;
234 interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>;
235 clocks = <&clks IMX6SX_CLK_ECSPI1>,
236 <&clks IMX6SX_CLK_ECSPI1>;
237 clock-names = "ipg", "per";
238 status = "disabled";
239 };
240
241 ecspi2: ecspi@0200c000 {
242 #address-cells = <1>;
243 #size-cells = <0>;
244 compatible = "fsl,imx6sx-ecspi", "fsl,imx51-ecspi";
245 reg = <0x0200c000 0x4000>;
246 interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
247 clocks = <&clks IMX6SX_CLK_ECSPI2>,
248 <&clks IMX6SX_CLK_ECSPI2>;
249 clock-names = "ipg", "per";
250 status = "disabled";
251 };
252
253 ecspi3: ecspi@02010000 {
254 #address-cells = <1>;
255 #size-cells = <0>;
256 compatible = "fsl,imx6sx-ecspi", "fsl,imx51-ecspi";
257 reg = <0x02010000 0x4000>;
258 interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>;
259 clocks = <&clks IMX6SX_CLK_ECSPI3>,
260 <&clks IMX6SX_CLK_ECSPI3>;
261 clock-names = "ipg", "per";
262 status = "disabled";
263 };
264
265 ecspi4: ecspi@02014000 {
266 #address-cells = <1>;
267 #size-cells = <0>;
268 compatible = "fsl,imx6sx-ecspi", "fsl,imx51-ecspi";
269 reg = <0x02014000 0x4000>;
270 interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>;
271 clocks = <&clks IMX6SX_CLK_ECSPI4>,
272 <&clks IMX6SX_CLK_ECSPI4>;
273 clock-names = "ipg", "per";
274 status = "disabled";
275 };
276
277 uart1: serial@02020000 {
278 compatible = "fsl,imx6sx-uart", "fsl,imx21-uart";
279 reg = <0x02020000 0x4000>;
280 interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
281 clocks = <&clks IMX6SX_CLK_UART_IPG>,
282 <&clks IMX6SX_CLK_UART_SERIAL>;
283 clock-names = "ipg", "per";
284 dmas = <&sdma 25 4 0>, <&sdma 26 4 0>;
285 dma-names = "rx", "tx";
286 status = "disabled";
287 };
288
289 esai: esai@02024000 {
290 reg = <0x02024000 0x4000>;
291 interrupts = <GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH>;
292 clocks = <&clks IMX6SX_CLK_ESAI_IPG>,
293 <&clks IMX6SX_CLK_ESAI_MEM>,
294 <&clks IMX6SX_CLK_ESAI_EXTAL>,
295 <&clks IMX6SX_CLK_ESAI_IPG>,
296 <&clks IMX6SX_CLK_SPBA>;
297 clock-names = "core", "mem", "extal",
298 "fsys", "dma";
299 status = "disabled";
300 };
301
302 ssi1: ssi@02028000 {
Alexander Shiyan6ff7f512014-08-19 20:00:09 +0400303 #sound-dai-cells = <0>;
Fabio Estevam4c035272014-07-07 10:04:52 -0300304 compatible = "fsl,imx6sx-ssi", "fsl,imx51-ssi";
Shawn Guob1d17f62014-05-13 20:21:35 +0800305 reg = <0x02028000 0x4000>;
306 interrupts = <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>;
307 clocks = <&clks IMX6SX_CLK_SSI1_IPG>,
308 <&clks IMX6SX_CLK_SSI1>;
309 clock-names = "ipg", "baud";
310 dmas = <&sdma 37 1 0>, <&sdma 38 1 0>;
311 dma-names = "rx", "tx";
Fabio Estevam3a462a62014-07-02 11:58:50 -0300312 fsl,fifo-depth = <15>;
Shawn Guob1d17f62014-05-13 20:21:35 +0800313 status = "disabled";
314 };
315
316 ssi2: ssi@0202c000 {
Alexander Shiyan6ff7f512014-08-19 20:00:09 +0400317 #sound-dai-cells = <0>;
Fabio Estevam4c035272014-07-07 10:04:52 -0300318 compatible = "fsl,imx6sx-ssi", "fsl,imx51-ssi";
Shawn Guob1d17f62014-05-13 20:21:35 +0800319 reg = <0x0202c000 0x4000>;
320 interrupts = <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>;
321 clocks = <&clks IMX6SX_CLK_SSI2_IPG>,
322 <&clks IMX6SX_CLK_SSI2>;
323 clock-names = "ipg", "baud";
324 dmas = <&sdma 41 1 0>, <&sdma 42 1 0>;
325 dma-names = "rx", "tx";
Fabio Estevam3a462a62014-07-02 11:58:50 -0300326 fsl,fifo-depth = <15>;
Shawn Guob1d17f62014-05-13 20:21:35 +0800327 status = "disabled";
328 };
329
330 ssi3: ssi@02030000 {
Alexander Shiyan6ff7f512014-08-19 20:00:09 +0400331 #sound-dai-cells = <0>;
Fabio Estevam4c035272014-07-07 10:04:52 -0300332 compatible = "fsl,imx6sx-ssi", "fsl,imx51-ssi";
Shawn Guob1d17f62014-05-13 20:21:35 +0800333 reg = <0x02030000 0x4000>;
334 interrupts = <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>;
335 clocks = <&clks IMX6SX_CLK_SSI3_IPG>,
336 <&clks IMX6SX_CLK_SSI3>;
337 clock-names = "ipg", "baud";
338 dmas = <&sdma 45 1 0>, <&sdma 46 1 0>;
339 dma-names = "rx", "tx";
Fabio Estevam3a462a62014-07-02 11:58:50 -0300340 fsl,fifo-depth = <15>;
Shawn Guob1d17f62014-05-13 20:21:35 +0800341 status = "disabled";
342 };
343
344 asrc: asrc@02034000 {
345 reg = <0x02034000 0x4000>;
346 interrupts = <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>;
347 clocks = <&clks IMX6SX_CLK_ASRC_MEM>,
348 <&clks IMX6SX_CLK_ASRC_IPG>,
349 <&clks IMX6SX_CLK_SPDIF>,
350 <&clks IMX6SX_CLK_SPBA>;
351 clock-names = "mem", "ipg", "asrck", "dma";
352 dmas = <&sdma 17 20 1>, <&sdma 18 20 1>,
353 <&sdma 19 20 1>, <&sdma 20 20 1>,
354 <&sdma 21 20 1>, <&sdma 22 20 1>;
355 dma-names = "rxa", "rxb", "rxc",
356 "txa", "txb", "txc";
357 status = "okay";
358 };
359 };
360
361 pwm1: pwm@02080000 {
362 compatible = "fsl,imx6sx-pwm", "fsl,imx27-pwm";
363 reg = <0x02080000 0x4000>;
364 interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
365 clocks = <&clks IMX6SX_CLK_PWM1>,
366 <&clks IMX6SX_CLK_PWM1>;
367 clock-names = "ipg", "per";
368 #pwm-cells = <2>;
369 };
370
371 pwm2: pwm@02084000 {
372 compatible = "fsl,imx6sx-pwm", "fsl,imx27-pwm";
373 reg = <0x02084000 0x4000>;
374 interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>;
375 clocks = <&clks IMX6SX_CLK_PWM2>,
376 <&clks IMX6SX_CLK_PWM2>;
377 clock-names = "ipg", "per";
378 #pwm-cells = <2>;
379 };
380
381 pwm3: pwm@02088000 {
382 compatible = "fsl,imx6sx-pwm", "fsl,imx27-pwm";
383 reg = <0x02088000 0x4000>;
384 interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>;
385 clocks = <&clks IMX6SX_CLK_PWM3>,
386 <&clks IMX6SX_CLK_PWM3>;
387 clock-names = "ipg", "per";
388 #pwm-cells = <2>;
389 };
390
391 pwm4: pwm@0208c000 {
392 compatible = "fsl,imx6sx-pwm", "fsl,imx27-pwm";
393 reg = <0x0208c000 0x4000>;
394 interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
395 clocks = <&clks IMX6SX_CLK_PWM4>,
396 <&clks IMX6SX_CLK_PWM4>;
397 clock-names = "ipg", "per";
398 #pwm-cells = <2>;
399 };
400
401 flexcan1: can@02090000 {
402 compatible = "fsl,imx6sx-flexcan", "fsl,imx6q-flexcan";
403 reg = <0x02090000 0x4000>;
404 interrupts = <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>;
405 clocks = <&clks IMX6SX_CLK_CAN1_IPG>,
406 <&clks IMX6SX_CLK_CAN1_SERIAL>;
407 clock-names = "ipg", "per";
408 status = "disabled";
409 };
410
411 flexcan2: can@02094000 {
412 compatible = "fsl,imx6sx-flexcan", "fsl,imx6q-flexcan";
413 reg = <0x02094000 0x4000>;
414 interrupts = <GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>;
415 clocks = <&clks IMX6SX_CLK_CAN2_IPG>,
416 <&clks IMX6SX_CLK_CAN2_SERIAL>;
417 clock-names = "ipg", "per";
418 status = "disabled";
419 };
420
421 gpt: gpt@02098000 {
422 compatible = "fsl,imx6sx-gpt", "fsl,imx31-gpt";
423 reg = <0x02098000 0x4000>;
424 interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>;
425 clocks = <&clks IMX6SX_CLK_GPT_BUS>,
Anson Huang2b2244a2014-09-11 11:29:41 +0800426 <&clks IMX6SX_CLK_GPT_3M>;
Shawn Guob1d17f62014-05-13 20:21:35 +0800427 clock-names = "ipg", "per";
428 };
429
430 gpio1: gpio@0209c000 {
431 compatible = "fsl,imx6sx-gpio", "fsl,imx35-gpio";
432 reg = <0x0209c000 0x4000>;
433 interrupts = <GIC_SPI 66 IRQ_TYPE_LEVEL_HIGH>,
434 <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>;
435 gpio-controller;
436 #gpio-cells = <2>;
437 interrupt-controller;
438 #interrupt-cells = <2>;
439 };
440
441 gpio2: gpio@020a0000 {
442 compatible = "fsl,imx6sx-gpio", "fsl,imx35-gpio";
443 reg = <0x020a0000 0x4000>;
444 interrupts = <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>,
445 <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
446 gpio-controller;
447 #gpio-cells = <2>;
448 interrupt-controller;
449 #interrupt-cells = <2>;
450 };
451
452 gpio3: gpio@020a4000 {
453 compatible = "fsl,imx6sx-gpio", "fsl,imx35-gpio";
454 reg = <0x020a4000 0x4000>;
455 interrupts = <GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>,
456 <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>;
457 gpio-controller;
458 #gpio-cells = <2>;
459 interrupt-controller;
460 #interrupt-cells = <2>;
461 };
462
463 gpio4: gpio@020a8000 {
464 compatible = "fsl,imx6sx-gpio", "fsl,imx35-gpio";
465 reg = <0x020a8000 0x4000>;
466 interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>,
467 <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>;
468 gpio-controller;
469 #gpio-cells = <2>;
470 interrupt-controller;
471 #interrupt-cells = <2>;
472 };
473
474 gpio5: gpio@020ac000 {
475 compatible = "fsl,imx6sx-gpio", "fsl,imx35-gpio";
476 reg = <0x020ac000 0x4000>;
477 interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>,
478 <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>;
479 gpio-controller;
480 #gpio-cells = <2>;
481 interrupt-controller;
482 #interrupt-cells = <2>;
483 };
484
485 gpio6: gpio@020b0000 {
486 compatible = "fsl,imx6sx-gpio", "fsl,imx35-gpio";
487 reg = <0x020b0000 0x4000>;
488 interrupts = <GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>,
489 <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>;
490 gpio-controller;
491 #gpio-cells = <2>;
492 interrupt-controller;
493 #interrupt-cells = <2>;
494 };
495
496 gpio7: gpio@020b4000 {
497 compatible = "fsl,imx6sx-gpio", "fsl,imx35-gpio";
498 reg = <0x020b4000 0x4000>;
499 interrupts = <GIC_SPI 78 IRQ_TYPE_LEVEL_HIGH>,
500 <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>;
501 gpio-controller;
502 #gpio-cells = <2>;
503 interrupt-controller;
504 #interrupt-cells = <2>;
505 };
506
507 kpp: kpp@020b8000 {
508 compatible = "fsl,imx6sx-kpp", "fsl,imx21-kpp";
509 reg = <0x020b8000 0x4000>;
510 interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>;
511 clocks = <&clks IMX6SX_CLK_DUMMY>;
512 status = "disabled";
513 };
514
515 wdog1: wdog@020bc000 {
516 compatible = "fsl,imx6sx-wdt", "fsl,imx21-wdt";
517 reg = <0x020bc000 0x4000>;
518 interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>;
519 clocks = <&clks IMX6SX_CLK_DUMMY>;
520 };
521
522 wdog2: wdog@020c0000 {
523 compatible = "fsl,imx6sx-wdt", "fsl,imx21-wdt";
524 reg = <0x020c0000 0x4000>;
525 interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>;
526 clocks = <&clks IMX6SX_CLK_DUMMY>;
527 status = "disabled";
528 };
529
530 clks: ccm@020c4000 {
531 compatible = "fsl,imx6sx-ccm";
532 reg = <0x020c4000 0x4000>;
533 interrupts = <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>,
534 <GIC_SPI 88 IRQ_TYPE_LEVEL_HIGH>;
535 #clock-cells = <1>;
536 clocks = <&ckil>, <&osc>, <&ipp_di0>, <&ipp_di1>;
537 clock-names = "ckil", "osc", "ipp_di0", "ipp_di1";
538 };
539
540 anatop: anatop@020c8000 {
541 compatible = "fsl,imx6sx-anatop", "fsl,imx6q-anatop",
542 "syscon", "simple-bus";
543 reg = <0x020c8000 0x1000>;
544 interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>,
545 <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>,
546 <GIC_SPI 127 IRQ_TYPE_LEVEL_HIGH>;
547
548 regulator-1p1@110 {
549 compatible = "fsl,anatop-regulator";
550 regulator-name = "vdd1p1";
551 regulator-min-microvolt = <800000>;
552 regulator-max-microvolt = <1375000>;
553 regulator-always-on;
554 anatop-reg-offset = <0x110>;
555 anatop-vol-bit-shift = <8>;
556 anatop-vol-bit-width = <5>;
557 anatop-min-bit-val = <4>;
558 anatop-min-voltage = <800000>;
559 anatop-max-voltage = <1375000>;
560 };
561
562 regulator-3p0@120 {
563 compatible = "fsl,anatop-regulator";
564 regulator-name = "vdd3p0";
565 regulator-min-microvolt = <2800000>;
566 regulator-max-microvolt = <3150000>;
567 regulator-always-on;
568 anatop-reg-offset = <0x120>;
569 anatop-vol-bit-shift = <8>;
570 anatop-vol-bit-width = <5>;
571 anatop-min-bit-val = <0>;
572 anatop-min-voltage = <2625000>;
573 anatop-max-voltage = <3400000>;
574 };
575
576 regulator-2p5@130 {
577 compatible = "fsl,anatop-regulator";
578 regulator-name = "vdd2p5";
579 regulator-min-microvolt = <2100000>;
580 regulator-max-microvolt = <2875000>;
581 regulator-always-on;
582 anatop-reg-offset = <0x130>;
583 anatop-vol-bit-shift = <8>;
584 anatop-vol-bit-width = <5>;
585 anatop-min-bit-val = <0>;
586 anatop-min-voltage = <2100000>;
587 anatop-max-voltage = <2875000>;
588 };
589
590 reg_arm: regulator-vddcore@140 {
591 compatible = "fsl,anatop-regulator";
Fabio Estevamf78a5972014-06-17 01:07:35 -0300592 regulator-name = "vddarm";
Shawn Guob1d17f62014-05-13 20:21:35 +0800593 regulator-min-microvolt = <725000>;
594 regulator-max-microvolt = <1450000>;
595 regulator-always-on;
596 anatop-reg-offset = <0x140>;
597 anatop-vol-bit-shift = <0>;
598 anatop-vol-bit-width = <5>;
599 anatop-delay-reg-offset = <0x170>;
600 anatop-delay-bit-shift = <24>;
601 anatop-delay-bit-width = <2>;
602 anatop-min-bit-val = <1>;
603 anatop-min-voltage = <725000>;
604 anatop-max-voltage = <1450000>;
605 };
606
607 reg_pcie: regulator-vddpcie@140 {
608 compatible = "fsl,anatop-regulator";
609 regulator-name = "vddpcie";
610 regulator-min-microvolt = <725000>;
611 regulator-max-microvolt = <1450000>;
612 anatop-reg-offset = <0x140>;
613 anatop-vol-bit-shift = <9>;
614 anatop-vol-bit-width = <5>;
615 anatop-delay-reg-offset = <0x170>;
616 anatop-delay-bit-shift = <26>;
617 anatop-delay-bit-width = <2>;
618 anatop-min-bit-val = <1>;
619 anatop-min-voltage = <725000>;
620 anatop-max-voltage = <1450000>;
621 };
622
623 reg_soc: regulator-vddsoc@140 {
624 compatible = "fsl,anatop-regulator";
625 regulator-name = "vddsoc";
626 regulator-min-microvolt = <725000>;
627 regulator-max-microvolt = <1450000>;
628 regulator-always-on;
629 anatop-reg-offset = <0x140>;
630 anatop-vol-bit-shift = <18>;
631 anatop-vol-bit-width = <5>;
632 anatop-delay-reg-offset = <0x170>;
633 anatop-delay-bit-shift = <28>;
634 anatop-delay-bit-width = <2>;
635 anatop-min-bit-val = <1>;
636 anatop-min-voltage = <725000>;
637 anatop-max-voltage = <1450000>;
638 };
639 };
640
641 tempmon: tempmon {
642 compatible = "fsl,imx6sx-tempmon", "fsl,imx6q-tempmon";
643 interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>;
644 fsl,tempmon = <&anatop>;
645 fsl,tempmon-data = <&ocotp>;
646 clocks = <&clks IMX6SX_CLK_PLL3_USB_OTG>;
647 };
648
649 usbphy1: usbphy@020c9000 {
650 compatible = "fsl,imx6sx-usbphy", "fsl,imx23-usbphy";
651 reg = <0x020c9000 0x1000>;
652 interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>;
653 clocks = <&clks IMX6SX_CLK_USBPHY1>;
654 fsl,anatop = <&anatop>;
655 };
656
657 usbphy2: usbphy@020ca000 {
658 compatible = "fsl,imx6sx-usbphy", "fsl,imx23-usbphy";
659 reg = <0x020ca000 0x1000>;
660 interrupts = <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>;
661 clocks = <&clks IMX6SX_CLK_USBPHY2>;
662 fsl,anatop = <&anatop>;
663 };
664
665 snvs: snvs@020cc000 {
Frank Li95d739b2015-05-27 00:25:59 +0800666 compatible = "fsl,sec-v4.0-mon", "syscon", "simple-mfd";
667 reg = <0x020cc000 0x4000>;
Shawn Guob1d17f62014-05-13 20:21:35 +0800668
Frank Li95d739b2015-05-27 00:25:59 +0800669 snvs_rtc: snvs-rtc-lp {
Shawn Guob1d17f62014-05-13 20:21:35 +0800670 compatible = "fsl,sec-v4.0-mon-rtc-lp";
Frank Li95d739b2015-05-27 00:25:59 +0800671 regmap = <&snvs>;
672 offset = <0x34>;
Shawn Guob1d17f62014-05-13 20:21:35 +0800673 interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
674 };
Robin Gong422b0672014-11-12 16:20:37 +0800675
Frank Li95d739b2015-05-27 00:25:59 +0800676 snvs_poweroff: snvs-poweroff {
677 compatible = "syscon-poweroff";
678 regmap = <&snvs>;
679 offset = <0x38>;
680 mask = <0x60>;
Robin Gong422b0672014-11-12 16:20:37 +0800681 status = "disabled";
682 };
Frank Li93db0552015-05-27 00:26:02 +0800683
684 snvs_pwrkey: snvs-powerkey {
685 compatible = "fsl,sec-v4.0-pwrkey";
686 regmap = <&snvs>;
687 interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
688 linux,keycode = <KEY_POWER>;
Anson Huang461aa6d2015-08-05 21:57:55 +0800689 wakeup-source;
Frank Li93db0552015-05-27 00:26:02 +0800690 };
Shawn Guob1d17f62014-05-13 20:21:35 +0800691 };
692
693 epit1: epit@020d0000 {
694 reg = <0x020d0000 0x4000>;
695 interrupts = <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>;
696 };
697
698 epit2: epit@020d4000 {
699 reg = <0x020d4000 0x4000>;
700 interrupts = <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>;
701 };
702
703 src: src@020d8000 {
704 compatible = "fsl,imx6sx-src", "fsl,imx51-src";
705 reg = <0x020d8000 0x4000>;
706 interrupts = <GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH>,
707 <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
708 #reset-cells = <1>;
709 };
710
711 gpc: gpc@020dc000 {
712 compatible = "fsl,imx6sx-gpc", "fsl,imx6q-gpc";
713 reg = <0x020dc000 0x4000>;
Marc Zyngierb923ff62015-02-23 17:45:18 +0000714 interrupt-controller;
715 #interrupt-cells = <3>;
Shawn Guob1d17f62014-05-13 20:21:35 +0800716 interrupts = <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>;
Marc Zyngierb923ff62015-02-23 17:45:18 +0000717 interrupt-parent = <&intc>;
Shawn Guob1d17f62014-05-13 20:21:35 +0800718 };
719
720 iomuxc: iomuxc@020e0000 {
721 compatible = "fsl,imx6sx-iomuxc";
722 reg = <0x020e0000 0x4000>;
723 };
724
725 gpr: iomuxc-gpr@020e4000 {
Anson Huang77e0d1c2014-06-23 14:04:01 +0800726 compatible = "fsl,imx6sx-iomuxc-gpr",
727 "fsl,imx6q-iomuxc-gpr", "syscon";
Shawn Guob1d17f62014-05-13 20:21:35 +0800728 reg = <0x020e4000 0x4000>;
729 };
730
731 sdma: sdma@020ec000 {
Shawn Guo811e76852014-07-04 14:30:27 +0800732 compatible = "fsl,imx6sx-sdma", "fsl,imx6q-sdma";
Shawn Guob1d17f62014-05-13 20:21:35 +0800733 reg = <0x020ec000 0x4000>;
734 interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>;
735 clocks = <&clks IMX6SX_CLK_SDMA>,
736 <&clks IMX6SX_CLK_SDMA>;
737 clock-names = "ipg", "ahb";
738 #dma-cells = <3>;
Fabio Estevamaeb88532014-07-02 11:58:49 -0300739 /* imx6sx reuses imx6q sdma firmware */
740 fsl,sdma-ram-script-name = "imx/sdma/sdma-imx6q.bin";
Shawn Guob1d17f62014-05-13 20:21:35 +0800741 };
742 };
743
744 aips2: aips-bus@02100000 {
745 compatible = "fsl,aips-bus", "simple-bus";
746 #address-cells = <1>;
747 #size-cells = <1>;
748 reg = <0x02100000 0x100000>;
749 ranges;
750
751 usbotg1: usb@02184000 {
752 compatible = "fsl,imx6sx-usb", "fsl,imx27-usb";
753 reg = <0x02184000 0x200>;
754 interrupts = <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>;
755 clocks = <&clks IMX6SX_CLK_USBOH3>;
756 fsl,usbphy = <&usbphy1>;
757 fsl,usbmisc = <&usbmisc 0>;
758 fsl,anatop = <&anatop>;
759 status = "disabled";
760 };
761
762 usbotg2: usb@02184200 {
763 compatible = "fsl,imx6sx-usb", "fsl,imx27-usb";
764 reg = <0x02184200 0x200>;
765 interrupts = <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>;
766 clocks = <&clks IMX6SX_CLK_USBOH3>;
767 fsl,usbphy = <&usbphy2>;
768 fsl,usbmisc = <&usbmisc 1>;
769 status = "disabled";
770 };
771
772 usbh: usb@02184400 {
773 compatible = "fsl,imx6sx-usb", "fsl,imx27-usb";
774 reg = <0x02184400 0x200>;
775 interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>;
776 clocks = <&clks IMX6SX_CLK_USBOH3>;
777 fsl,usbmisc = <&usbmisc 2>;
778 phy_type = "hsic";
779 fsl,anatop = <&anatop>;
Matt Porter3ec481e2015-02-27 09:06:00 -0500780 dr_mode = "host";
Shawn Guob1d17f62014-05-13 20:21:35 +0800781 status = "disabled";
782 };
783
784 usbmisc: usbmisc@02184800 {
785 #index-cells = <1>;
Fabio Estevamb29f4fa2014-06-23 11:21:04 -0300786 compatible = "fsl,imx6sx-usbmisc", "fsl,imx6q-usbmisc";
Shawn Guob1d17f62014-05-13 20:21:35 +0800787 reg = <0x02184800 0x200>;
788 clocks = <&clks IMX6SX_CLK_USBOH3>;
789 };
790
791 fec1: ethernet@02188000 {
792 compatible = "fsl,imx6sx-fec", "fsl,imx6q-fec";
793 reg = <0x02188000 0x4000>;
794 interrupts = <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>,
795 <GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH>;
796 clocks = <&clks IMX6SX_CLK_ENET>,
797 <&clks IMX6SX_CLK_ENET_AHB>,
798 <&clks IMX6SX_CLK_ENET_PTP>,
799 <&clks IMX6SX_CLK_ENET_REF>,
800 <&clks IMX6SX_CLK_ENET_PTP>;
801 clock-names = "ipg", "ahb", "ptp",
802 "enet_clk_ref", "enet_out";
Frank Li0afdfe92014-09-13 05:00:57 +0800803 fsl,num-tx-queues=<3>;
804 fsl,num-rx-queues=<3>;
Shawn Guob1d17f62014-05-13 20:21:35 +0800805 status = "disabled";
806 };
807
808 mlb: mlb@0218c000 {
809 reg = <0x0218c000 0x4000>;
810 interrupts = <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>,
811 <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>,
812 <GIC_SPI 126 IRQ_TYPE_LEVEL_HIGH>;
813 clocks = <&clks IMX6SX_CLK_MLB>;
814 status = "disabled";
815 };
816
817 usdhc1: usdhc@02190000 {
818 compatible = "fsl,imx6sx-usdhc", "fsl,imx6sl-usdhc";
819 reg = <0x02190000 0x4000>;
820 interrupts = <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>;
821 clocks = <&clks IMX6SX_CLK_USDHC1>,
822 <&clks IMX6SX_CLK_USDHC1>,
823 <&clks IMX6SX_CLK_USDHC1>;
824 clock-names = "ipg", "ahb", "per";
825 bus-width = <4>;
826 status = "disabled";
827 };
828
829 usdhc2: usdhc@02194000 {
830 compatible = "fsl,imx6sx-usdhc", "fsl,imx6sl-usdhc";
831 reg = <0x02194000 0x4000>;
832 interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
833 clocks = <&clks IMX6SX_CLK_USDHC2>,
834 <&clks IMX6SX_CLK_USDHC2>,
835 <&clks IMX6SX_CLK_USDHC2>;
836 clock-names = "ipg", "ahb", "per";
837 bus-width = <4>;
838 status = "disabled";
839 };
840
841 usdhc3: usdhc@02198000 {
842 compatible = "fsl,imx6sx-usdhc", "fsl,imx6sl-usdhc";
843 reg = <0x02198000 0x4000>;
844 interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>;
845 clocks = <&clks IMX6SX_CLK_USDHC3>,
846 <&clks IMX6SX_CLK_USDHC3>,
847 <&clks IMX6SX_CLK_USDHC3>;
848 clock-names = "ipg", "ahb", "per";
849 bus-width = <4>;
850 status = "disabled";
851 };
852
853 usdhc4: usdhc@0219c000 {
854 compatible = "fsl,imx6sx-usdhc", "fsl,imx6sl-usdhc";
855 reg = <0x0219c000 0x4000>;
856 interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>;
857 clocks = <&clks IMX6SX_CLK_USDHC4>,
858 <&clks IMX6SX_CLK_USDHC4>,
859 <&clks IMX6SX_CLK_USDHC4>;
860 clock-names = "ipg", "ahb", "per";
861 bus-width = <4>;
862 status = "disabled";
863 };
864
865 i2c1: i2c@021a0000 {
866 #address-cells = <1>;
867 #size-cells = <0>;
868 compatible = "fsl,imx6sx-i2c", "fsl,imx21-i2c";
869 reg = <0x021a0000 0x4000>;
870 interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
871 clocks = <&clks IMX6SX_CLK_I2C1>;
872 status = "disabled";
873 };
874
875 i2c2: i2c@021a4000 {
876 #address-cells = <1>;
877 #size-cells = <0>;
878 compatible = "fsl,imx6sx-i2c", "fsl,imx21-i2c";
879 reg = <0x021a4000 0x4000>;
880 interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
881 clocks = <&clks IMX6SX_CLK_I2C2>;
882 status = "disabled";
883 };
884
885 i2c3: i2c@021a8000 {
886 #address-cells = <1>;
887 #size-cells = <0>;
888 compatible = "fsl,imx6sx-i2c", "fsl,imx21-i2c";
889 reg = <0x021a8000 0x4000>;
890 interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>;
891 clocks = <&clks IMX6SX_CLK_I2C3>;
892 status = "disabled";
893 };
894
895 mmdc: mmdc@021b0000 {
896 compatible = "fsl,imx6sx-mmdc", "fsl,imx6q-mmdc";
897 reg = <0x021b0000 0x4000>;
898 };
899
900 fec2: ethernet@021b4000 {
Fugang Duan9863aba2014-09-28 16:40:36 +0800901 compatible = "fsl,imx6sx-fec", "fsl,imx6q-fec";
Shawn Guob1d17f62014-05-13 20:21:35 +0800902 reg = <0x021b4000 0x4000>;
903 interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>,
904 <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>;
905 clocks = <&clks IMX6SX_CLK_ENET>,
906 <&clks IMX6SX_CLK_ENET_AHB>,
907 <&clks IMX6SX_CLK_ENET_PTP>,
908 <&clks IMX6SX_CLK_ENET2_REF_125M>,
909 <&clks IMX6SX_CLK_ENET_PTP>;
910 clock-names = "ipg", "ahb", "ptp",
911 "enet_clk_ref", "enet_out";
912 status = "disabled";
913 };
914
915 weim: weim@021b8000 {
916 compatible = "fsl,imx6sx-weim", "fsl,imx6q-weim";
917 reg = <0x021b8000 0x4000>;
918 interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
919 clocks = <&clks IMX6SX_CLK_EIM_SLOW>;
920 };
921
922 ocotp: ocotp@021bc000 {
923 compatible = "fsl,imx6sx-ocotp", "syscon";
924 reg = <0x021bc000 0x4000>;
925 clocks = <&clks IMX6SX_CLK_OCOTP>;
926 };
927
928 sai1: sai@021d4000 {
929 compatible = "fsl,imx6sx-sai";
930 reg = <0x021d4000 0x4000>;
931 interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>;
932 clocks = <&clks IMX6SX_CLK_SAI1_IPG>,
933 <&clks IMX6SX_CLK_SAI1>,
934 <&clks 0>, <&clks 0>;
935 clock-names = "bus", "mclk1", "mclk2", "mclk3";
936 dma-names = "rx", "tx";
937 dmas = <&sdma 31 23 0>, <&sdma 32 23 0>;
938 dma-source = <&gpr 0 15 0 16>;
939 status = "disabled";
940 };
941
942 audmux: audmux@021d8000 {
943 compatible = "fsl,imx6sx-audmux", "fsl,imx31-audmux";
944 reg = <0x021d8000 0x4000>;
945 status = "disabled";
946 };
947
948 sai2: sai@021dc000 {
949 compatible = "fsl,imx6sx-sai";
950 reg = <0x021dc000 0x4000>;
951 interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>;
952 clocks = <&clks IMX6SX_CLK_SAI2_IPG>,
953 <&clks IMX6SX_CLK_SAI2>,
954 <&clks 0>, <&clks 0>;
955 clock-names = "bus", "mclk1", "mclk2", "mclk3";
956 dma-names = "rx", "tx";
957 dmas = <&sdma 33 23 0>, <&sdma 34 23 0>;
958 dma-source = <&gpr 0 17 0 18>;
959 status = "disabled";
960 };
961
962 qspi1: qspi@021e0000 {
963 #address-cells = <1>;
964 #size-cells = <0>;
965 compatible = "fsl,imx6sx-qspi";
966 reg = <0x021e0000 0x4000>, <0x60000000 0x10000000>;
967 reg-names = "QuadSPI", "QuadSPI-memory";
968 interrupts = <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>;
969 clocks = <&clks IMX6SX_CLK_QSPI1>,
970 <&clks IMX6SX_CLK_QSPI1>;
971 clock-names = "qspi_en", "qspi";
972 status = "disabled";
973 };
974
975 qspi2: qspi@021e4000 {
976 #address-cells = <1>;
977 #size-cells = <0>;
978 compatible = "fsl,imx6sx-qspi";
979 reg = <0x021e4000 0x4000>, <0x70000000 0x10000000>;
980 reg-names = "QuadSPI", "QuadSPI-memory";
981 interrupts = <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>;
982 clocks = <&clks IMX6SX_CLK_QSPI2>,
983 <&clks IMX6SX_CLK_QSPI2>;
984 clock-names = "qspi_en", "qspi";
985 status = "disabled";
986 };
987
988 uart2: serial@021e8000 {
989 compatible = "fsl,imx6sx-uart", "fsl,imx21-uart";
990 reg = <0x021e8000 0x4000>;
991 interrupts = <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH>;
992 clocks = <&clks IMX6SX_CLK_UART_IPG>,
993 <&clks IMX6SX_CLK_UART_SERIAL>;
994 clock-names = "ipg", "per";
995 dmas = <&sdma 27 4 0>, <&sdma 28 4 0>;
996 dma-names = "rx", "tx";
997 status = "disabled";
998 };
999
1000 uart3: serial@021ec000 {
1001 compatible = "fsl,imx6sx-uart", "fsl,imx21-uart";
1002 reg = <0x021ec000 0x4000>;
1003 interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>;
1004 clocks = <&clks IMX6SX_CLK_UART_IPG>,
1005 <&clks IMX6SX_CLK_UART_SERIAL>;
1006 clock-names = "ipg", "per";
1007 dmas = <&sdma 29 4 0>, <&sdma 30 4 0>;
1008 dma-names = "rx", "tx";
1009 status = "disabled";
1010 };
1011
1012 uart4: serial@021f0000 {
1013 compatible = "fsl,imx6sx-uart", "fsl,imx21-uart";
1014 reg = <0x021f0000 0x4000>;
1015 interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>;
1016 clocks = <&clks IMX6SX_CLK_UART_IPG>,
1017 <&clks IMX6SX_CLK_UART_SERIAL>;
1018 clock-names = "ipg", "per";
1019 dmas = <&sdma 31 4 0>, <&sdma 32 4 0>;
1020 dma-names = "rx", "tx";
1021 status = "disabled";
1022 };
1023
1024 uart5: serial@021f4000 {
1025 compatible = "fsl,imx6sx-uart", "fsl,imx21-uart";
1026 reg = <0x021f4000 0x4000>;
1027 interrupts = <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>;
1028 clocks = <&clks IMX6SX_CLK_UART_IPG>,
1029 <&clks IMX6SX_CLK_UART_SERIAL>;
1030 clock-names = "ipg", "per";
1031 dmas = <&sdma 33 4 0>, <&sdma 34 4 0>;
1032 dma-names = "rx", "tx";
1033 status = "disabled";
1034 };
1035
1036 i2c4: i2c@021f8000 {
1037 #address-cells = <1>;
1038 #size-cells = <0>;
1039 compatible = "fsl,imx6sx-i2c", "fsl,imx21-i2c";
1040 reg = <0x021f8000 0x4000>;
1041 interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>;
1042 clocks = <&clks IMX6SX_CLK_I2C4>;
1043 status = "disabled";
1044 };
1045 };
1046
1047 aips3: aips-bus@02200000 {
1048 compatible = "fsl,aips-bus", "simple-bus";
1049 #address-cells = <1>;
1050 #size-cells = <1>;
1051 reg = <0x02200000 0x100000>;
1052 ranges;
1053
1054 spba-bus@02200000 {
1055 compatible = "fsl,spba-bus", "simple-bus";
1056 #address-cells = <1>;
1057 #size-cells = <1>;
1058 reg = <0x02240000 0x40000>;
1059 ranges;
1060
1061 csi1: csi@02214000 {
1062 reg = <0x02214000 0x4000>;
1063 interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
1064 clocks = <&clks IMX6SX_CLK_DISPLAY_AXI>,
1065 <&clks IMX6SX_CLK_CSI>,
1066 <&clks IMX6SX_CLK_DCIC1>;
1067 clock-names = "disp-axi", "csi_mclk", "dcic";
1068 status = "disabled";
1069 };
1070
1071 pxp: pxp@02218000 {
1072 reg = <0x02218000 0x4000>;
1073 interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
1074 clocks = <&clks IMX6SX_CLK_PXP_AXI>,
1075 <&clks IMX6SX_CLK_DISPLAY_AXI>;
1076 clock-names = "pxp-axi", "disp-axi";
1077 status = "disabled";
1078 };
1079
1080 csi2: csi@0221c000 {
1081 reg = <0x0221c000 0x4000>;
1082 interrupts = <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>;
1083 clocks = <&clks IMX6SX_CLK_DISPLAY_AXI>,
1084 <&clks IMX6SX_CLK_CSI>,
1085 <&clks IMX6SX_CLK_DCIC2>;
1086 clock-names = "disp-axi", "csi_mclk", "dcic";
1087 status = "disabled";
1088 };
1089
1090 lcdif1: lcdif@02220000 {
Fabio Estevam8c78c402014-09-02 15:00:43 -03001091 compatible = "fsl,imx6sx-lcdif", "fsl,imx28-lcdif";
Shawn Guob1d17f62014-05-13 20:21:35 +08001092 reg = <0x02220000 0x4000>;
1093 interrupts = <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
1094 clocks = <&clks IMX6SX_CLK_LCDIF1_PIX>,
1095 <&clks IMX6SX_CLK_LCDIF_APB>,
1096 <&clks IMX6SX_CLK_DISPLAY_AXI>;
1097 clock-names = "pix", "axi", "disp_axi";
1098 status = "disabled";
1099 };
1100
1101 lcdif2: lcdif@02224000 {
Fabio Estevam8c78c402014-09-02 15:00:43 -03001102 compatible = "fsl,imx6sx-lcdif", "fsl,imx28-lcdif";
Shawn Guob1d17f62014-05-13 20:21:35 +08001103 reg = <0x02224000 0x4000>;
1104 interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
1105 clocks = <&clks IMX6SX_CLK_LCDIF2_PIX>,
1106 <&clks IMX6SX_CLK_LCDIF_APB>,
1107 <&clks IMX6SX_CLK_DISPLAY_AXI>;
1108 clock-names = "pix", "axi", "disp_axi";
1109 status = "disabled";
1110 };
1111
1112 vadc: vadc@02228000 {
1113 reg = <0x02228000 0x4000>, <0x0222c000 0x4000>;
1114 reg-names = "vadc-vafe", "vadc-vdec";
1115 clocks = <&clks IMX6SX_CLK_VADC>,
1116 <&clks IMX6SX_CLK_CSI>;
1117 clock-names = "vadc", "csi";
1118 status = "disabled";
1119 };
1120 };
1121
1122 adc1: adc@02280000 {
1123 compatible = "fsl,imx6sx-adc", "fsl,vf610-adc";
1124 reg = <0x02280000 0x4000>;
1125 interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>;
1126 clocks = <&clks IMX6SX_CLK_IPG>;
1127 clock-names = "adc";
1128 status = "disabled";
1129 };
1130
1131 adc2: adc@02284000 {
1132 compatible = "fsl,imx6sx-adc", "fsl,vf610-adc";
1133 reg = <0x02284000 0x4000>;
1134 interrupts = <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>;
1135 clocks = <&clks IMX6SX_CLK_IPG>;
1136 clock-names = "adc";
1137 status = "disabled";
1138 };
1139
1140 wdog3: wdog@02288000 {
1141 compatible = "fsl,imx6sx-wdt", "fsl,imx21-wdt";
1142 reg = <0x02288000 0x4000>;
1143 interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
1144 clocks = <&clks IMX6SX_CLK_DUMMY>;
1145 status = "disabled";
1146 };
1147
1148 ecspi5: ecspi@0228c000 {
1149 #address-cells = <1>;
1150 #size-cells = <0>;
1151 compatible = "fsl,imx6sx-ecspi", "fsl,imx51-ecspi";
1152 reg = <0x0228c000 0x4000>;
1153 interrupts = <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>;
1154 clocks = <&clks IMX6SX_CLK_ECSPI5>,
1155 <&clks IMX6SX_CLK_ECSPI5>;
1156 clock-names = "ipg", "per";
1157 status = "disabled";
1158 };
1159
1160 uart6: serial@022a0000 {
1161 compatible = "fsl,imx6sx-uart", "fsl,imx21-uart";
1162 reg = <0x022a0000 0x4000>;
1163 interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>;
1164 clocks = <&clks IMX6SX_CLK_UART_IPG>,
1165 <&clks IMX6SX_CLK_UART_SERIAL>;
1166 clock-names = "ipg", "per";
1167 dmas = <&sdma 0 4 0>, <&sdma 47 4 0>;
1168 dma-names = "rx", "tx";
1169 status = "disabled";
1170 };
1171
1172 pwm5: pwm@022a4000 {
1173 compatible = "fsl,imx6sx-pwm", "fsl,imx27-pwm";
1174 reg = <0x022a4000 0x4000>;
1175 interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
1176 clocks = <&clks IMX6SX_CLK_PWM5>,
1177 <&clks IMX6SX_CLK_PWM5>;
1178 clock-names = "ipg", "per";
1179 #pwm-cells = <2>;
1180 };
1181
1182 pwm6: pwm@022a8000 {
1183 compatible = "fsl,imx6sx-pwm", "fsl,imx27-pwm";
1184 reg = <0x022a8000 0x4000>;
1185 interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>;
1186 clocks = <&clks IMX6SX_CLK_PWM6>,
1187 <&clks IMX6SX_CLK_PWM6>;
1188 clock-names = "ipg", "per";
1189 #pwm-cells = <2>;
1190 };
1191
1192 pwm7: pwm@022ac000 {
1193 compatible = "fsl,imx6sx-pwm", "fsl,imx27-pwm";
1194 reg = <0x022ac000 0x4000>;
1195 interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>;
1196 clocks = <&clks IMX6SX_CLK_PWM7>,
1197 <&clks IMX6SX_CLK_PWM7>;
1198 clock-names = "ipg", "per";
1199 #pwm-cells = <2>;
1200 };
1201
1202 pwm8: pwm@0022b0000 {
1203 compatible = "fsl,imx6sx-pwm", "fsl,imx27-pwm";
1204 reg = <0x0022b0000 0x4000>;
1205 interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
1206 clocks = <&clks IMX6SX_CLK_PWM8>,
1207 <&clks IMX6SX_CLK_PWM8>;
1208 clock-names = "ipg", "per";
1209 #pwm-cells = <2>;
1210 };
1211 };
1212
1213 pcie: pcie@0x08000000 {
1214 compatible = "fsl,imx6sx-pcie", "snps,dw-pcie";
1215 reg = <0x08ffc000 0x4000>; /* DBI */
1216 #address-cells = <3>;
1217 #size-cells = <2>;
1218 device_type = "pci";
1219 /* configuration space */
1220 ranges = <0x00000800 0 0x08f00000 0x08f00000 0 0x00080000
1221 /* downstream I/O */
1222 0x81000000 0 0 0x08f80000 0 0x00010000
1223 /* non-prefetchable memory */
1224 0x82000000 0 0x08000000 0x08000000 0 0x00f00000>;
1225 num-lanes = <1>;
1226 interrupts = <GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>;
1227 clocks = <&clks IMX6SX_CLK_PCIE_REF_125M>,
1228 <&clks IMX6SX_CLK_PCIE_AXI>,
1229 <&clks IMX6SX_CLK_LVDS1_OUT>,
1230 <&clks IMX6SX_CLK_DISPLAY_AXI>;
1231 clock-names = "pcie_ref_125m", "pcie_axi",
1232 "lvds_gate", "display_axi";
1233 status = "disabled";
1234 };
1235 };
1236};