2 * Copyright 2013 Freescale Semiconductor, Inc.
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
10 #include "vf610-pinfunc.h"
11 #include <dt-bindings/clock/vf610-clock.h>
12 #include <dt-bindings/interrupt-controller/irq.h>
13 #include <dt-bindings/gpio/gpio.h>
35 compatible = "fixed-clock";
37 clock-frequency = <24000000>;
41 compatible = "fixed-clock";
43 clock-frequency = <32768>;
46 reboot: syscon-reboot {
47 compatible = "syscon-reboot";
56 compatible = "simple-bus";
57 interrupt-parent = <&mscm_ir>;
60 aips0: aips-bus@40000000 {
61 compatible = "fsl,aips-bus", "simple-bus";
66 mscm_cpucfg: cpucfg@40001000 {
67 compatible = "fsl,vf610-mscm-cpucfg", "syscon";
68 reg = <0x40001000 0x800>;
71 mscm_ir: interrupt-controller@40001800 {
72 compatible = "fsl,vf610-mscm-ir";
73 reg = <0x40001800 0x400>;
74 fsl,cpucfg = <&mscm_cpucfg>;
76 #interrupt-cells = <2>;
79 edma0: dma-controller@40018000 {
81 compatible = "fsl,vf610-edma";
82 reg = <0x40018000 0x2000>,
86 interrupts = <8 IRQ_TYPE_LEVEL_HIGH>,
87 <9 IRQ_TYPE_LEVEL_HIGH>;
88 interrupt-names = "edma-tx", "edma-err";
89 clock-names = "dmamux0", "dmamux1";
90 clocks = <&clks VF610_CLK_DMAMUX0>,
91 <&clks VF610_CLK_DMAMUX1>;
95 can0: flexcan@40020000 {
96 compatible = "fsl,vf610-flexcan";
97 reg = <0x40020000 0x4000>;
98 interrupts = <58 IRQ_TYPE_LEVEL_HIGH>;
99 clocks = <&clks VF610_CLK_FLEXCAN0>,
100 <&clks VF610_CLK_FLEXCAN0>;
101 clock-names = "ipg", "per";
105 uart0: serial@40027000 {
106 compatible = "fsl,vf610-lpuart";
107 reg = <0x40027000 0x1000>;
108 interrupts = <61 IRQ_TYPE_LEVEL_HIGH>;
109 clocks = <&clks VF610_CLK_UART0>;
113 dma-names = "rx","tx";
117 uart1: serial@40028000 {
118 compatible = "fsl,vf610-lpuart";
119 reg = <0x40028000 0x1000>;
120 interrupts = <62 IRQ_TYPE_LEVEL_HIGH>;
121 clocks = <&clks VF610_CLK_UART1>;
125 dma-names = "rx","tx";
129 uart2: serial@40029000 {
130 compatible = "fsl,vf610-lpuart";
131 reg = <0x40029000 0x1000>;
132 interrupts = <63 IRQ_TYPE_LEVEL_HIGH>;
133 clocks = <&clks VF610_CLK_UART2>;
137 dma-names = "rx","tx";
141 uart3: serial@4002a000 {
142 compatible = "fsl,vf610-lpuart";
143 reg = <0x4002a000 0x1000>;
144 interrupts = <64 IRQ_TYPE_LEVEL_HIGH>;
145 clocks = <&clks VF610_CLK_UART3>;
149 dma-names = "rx","tx";
153 dspi0: dspi0@4002c000 {
154 #address-cells = <1>;
156 compatible = "fsl,vf610-dspi";
157 reg = <0x4002c000 0x1000>;
158 interrupts = <67 IRQ_TYPE_LEVEL_HIGH>;
159 clocks = <&clks VF610_CLK_DSPI0>;
160 clock-names = "dspi";
161 spi-num-chipselects = <6>;
165 dspi1: dspi1@4002d000 {
166 #address-cells = <1>;
168 compatible = "fsl,vf610-dspi";
169 reg = <0x4002d000 0x1000>;
170 interrupts = <68 IRQ_TYPE_LEVEL_HIGH>;
171 clocks = <&clks VF610_CLK_DSPI1>;
172 clock-names = "dspi";
173 spi-num-chipselects = <4>;
178 compatible = "fsl,vf610-sai";
179 reg = <0x40031000 0x1000>;
180 interrupts = <86 IRQ_TYPE_LEVEL_HIGH>;
181 clocks = <&clks VF610_CLK_SAI2>,
182 <&clks VF610_CLK_SAI2_DIV>,
183 <&clks 0>, <&clks 0>;
184 clock-names = "bus", "mclk1", "mclk2", "mclk3";
185 dma-names = "tx", "rx";
186 dmas = <&edma0 0 21>,
192 compatible = "fsl,vf610-pit";
193 reg = <0x40037000 0x1000>;
194 interrupts = <39 IRQ_TYPE_LEVEL_HIGH>;
195 clocks = <&clks VF610_CLK_PIT>;
200 compatible = "fsl,vf610-ftm-pwm";
202 reg = <0x40038000 0x1000>;
203 clock-names = "ftm_sys", "ftm_ext",
204 "ftm_fix", "ftm_cnt_clk_en";
205 clocks = <&clks VF610_CLK_FTM0>,
206 <&clks VF610_CLK_FTM0_EXT_SEL>,
207 <&clks VF610_CLK_FTM0_FIX_SEL>,
208 <&clks VF610_CLK_FTM0_EXT_FIX_EN>;
213 compatible = "fsl,vf610-ftm-pwm";
215 reg = <0x40039000 0x1000>;
216 clock-names = "ftm_sys", "ftm_ext",
217 "ftm_fix", "ftm_cnt_clk_en";
218 clocks = <&clks VF610_CLK_FTM1>,
219 <&clks VF610_CLK_FTM1_EXT_SEL>,
220 <&clks VF610_CLK_FTM1_FIX_SEL>,
221 <&clks VF610_CLK_FTM1_EXT_FIX_EN>;
226 compatible = "fsl,vf610-adc";
227 reg = <0x4003b000 0x1000>;
228 interrupts = <53 IRQ_TYPE_LEVEL_HIGH>;
229 clocks = <&clks VF610_CLK_ADC0>;
231 #io-channel-cells = <1>;
233 fsl,adck-max-frequency = <30000000>, <40000000>,
237 wdoga5: wdog@4003e000 {
238 compatible = "fsl,vf610-wdt", "fsl,imx21-wdt";
239 reg = <0x4003e000 0x1000>;
240 interrupts = <20 IRQ_TYPE_LEVEL_HIGH>;
241 clocks = <&clks VF610_CLK_WDT>;
242 clock-names = "wdog";
246 qspi0: quadspi@40044000 {
247 #address-cells = <1>;
249 compatible = "fsl,vf610-qspi";
250 reg = <0x40044000 0x1000>, <0x20000000 0x10000000>;
251 reg-names = "QuadSPI", "QuadSPI-memory";
252 interrupts = <24 IRQ_TYPE_LEVEL_HIGH>;
253 clocks = <&clks VF610_CLK_QSPI0_EN>,
254 <&clks VF610_CLK_QSPI0>;
255 clock-names = "qspi_en", "qspi";
259 iomuxc: iomuxc@40048000 {
260 compatible = "fsl,vf610-iomuxc";
261 reg = <0x40048000 0x1000>;
264 gpio0: gpio@40049000 {
265 compatible = "fsl,vf610-gpio";
266 reg = <0x40049000 0x1000 0x400ff000 0x40>;
269 interrupts = <107 IRQ_TYPE_LEVEL_HIGH>;
270 interrupt-controller;
271 #interrupt-cells = <2>;
272 gpio-ranges = <&iomuxc 0 0 32>;
275 gpio1: gpio@4004a000 {
276 compatible = "fsl,vf610-gpio";
277 reg = <0x4004a000 0x1000 0x400ff040 0x40>;
280 interrupts = <108 IRQ_TYPE_LEVEL_HIGH>;
281 interrupt-controller;
282 #interrupt-cells = <2>;
283 gpio-ranges = <&iomuxc 0 32 32>;
286 gpio2: gpio@4004b000 {
287 compatible = "fsl,vf610-gpio";
288 reg = <0x4004b000 0x1000 0x400ff080 0x40>;
291 interrupts = <109 IRQ_TYPE_LEVEL_HIGH>;
292 interrupt-controller;
293 #interrupt-cells = <2>;
294 gpio-ranges = <&iomuxc 0 64 32>;
297 gpio3: gpio@4004c000 {
298 compatible = "fsl,vf610-gpio";
299 reg = <0x4004c000 0x1000 0x400ff0c0 0x40>;
302 interrupts = <110 IRQ_TYPE_LEVEL_HIGH>;
303 interrupt-controller;
304 #interrupt-cells = <2>;
305 gpio-ranges = <&iomuxc 0 96 32>;
308 gpio4: gpio@4004d000 {
309 compatible = "fsl,vf610-gpio";
310 reg = <0x4004d000 0x1000 0x400ff100 0x40>;
313 interrupts = <111 IRQ_TYPE_LEVEL_HIGH>;
314 interrupt-controller;
315 #interrupt-cells = <2>;
316 gpio-ranges = <&iomuxc 0 128 7>;
319 anatop: anatop@40050000 {
320 compatible = "fsl,vf610-anatop", "syscon";
321 reg = <0x40050000 0x400>;
324 usbphy0: usbphy@40050800 {
325 compatible = "fsl,vf610-usbphy";
326 reg = <0x40050800 0x400>;
327 interrupts = <50 IRQ_TYPE_LEVEL_HIGH>;
328 clocks = <&clks VF610_CLK_USBPHY0>;
329 fsl,anatop = <&anatop>;
333 usbphy1: usbphy@40050c00 {
334 compatible = "fsl,vf610-usbphy";
335 reg = <0x40050c00 0x400>;
336 interrupts = <51 IRQ_TYPE_LEVEL_HIGH>;
337 clocks = <&clks VF610_CLK_USBPHY1>;
338 fsl,anatop = <&anatop>;
343 #address-cells = <1>;
345 compatible = "fsl,vf610-i2c";
346 reg = <0x40066000 0x1000>;
347 interrupts = <71 IRQ_TYPE_LEVEL_HIGH>;
348 clocks = <&clks VF610_CLK_I2C0>;
350 dmas = <&edma0 0 50>,
352 dma-names = "rx","tx";
357 #address-cells = <1>;
359 compatible = "fsl,vf610-i2c";
360 reg = <0x40067000 0x1000>;
361 interrupts = <72 IRQ_TYPE_LEVEL_HIGH>;
362 clocks = <&clks VF610_CLK_I2C1>;
364 dmas = <&edma0 0 52>,
366 dma-names = "rx","tx";
371 compatible = "fsl,vf610-ccm";
372 reg = <0x4006b000 0x1000>;
373 clocks = <&sxosc>, <&fxosc>;
374 clock-names = "sxosc", "fxosc";
378 usbdev0: usb@40034000 {
379 compatible = "fsl,vf610-usb", "fsl,imx27-usb";
380 reg = <0x40034000 0x800>;
381 interrupts = <75 IRQ_TYPE_LEVEL_HIGH>;
382 clocks = <&clks VF610_CLK_USBC0>;
383 fsl,usbphy = <&usbphy0>;
384 fsl,usbmisc = <&usbmisc0 0>;
385 dr_mode = "peripheral";
389 usbmisc0: usb@40034800 {
391 compatible = "fsl,vf610-usbmisc";
392 reg = <0x40034800 0x200>;
393 clocks = <&clks VF610_CLK_USBC0>;
398 compatible = "fsl,vf610-src", "syscon";
399 reg = <0x4006e000 0x1000>;
400 interrupts = <96 IRQ_TYPE_LEVEL_HIGH>;
404 aips1: aips-bus@40080000 {
405 compatible = "fsl,aips-bus", "simple-bus";
406 #address-cells = <1>;
410 edma1: dma-controller@40098000 {
412 compatible = "fsl,vf610-edma";
413 reg = <0x40098000 0x2000>,
417 interrupts = <10 IRQ_TYPE_LEVEL_HIGH>,
418 <11 IRQ_TYPE_LEVEL_HIGH>;
419 interrupt-names = "edma-tx", "edma-err";
420 clock-names = "dmamux0", "dmamux1";
421 clocks = <&clks VF610_CLK_DMAMUX2>,
422 <&clks VF610_CLK_DMAMUX3>;
426 snvs0: snvs@400a7000 {
427 compatible = "fsl,sec-v4.0-mon", "syscon", "simple-mfd";
428 reg = <0x400a7000 0x2000>;
430 snvsrtc: snvs-rtc-lp {
431 compatible = "fsl,sec-v4.0-mon-rtc-lp";
434 interrupts = <100 IRQ_TYPE_LEVEL_HIGH>;
435 clocks = <&clks VF610_CLK_SNVS>;
436 clock-names = "snvs-rtc";
440 uart4: serial@400a9000 {
441 compatible = "fsl,vf610-lpuart";
442 reg = <0x400a9000 0x1000>;
443 interrupts = <65 IRQ_TYPE_LEVEL_HIGH>;
444 clocks = <&clks VF610_CLK_UART4>;
449 uart5: serial@400aa000 {
450 compatible = "fsl,vf610-lpuart";
451 reg = <0x400aa000 0x1000>;
452 interrupts = <66 IRQ_TYPE_LEVEL_HIGH>;
453 clocks = <&clks VF610_CLK_UART5>;
459 compatible = "fsl,vf610-adc";
460 reg = <0x400bb000 0x1000>;
461 interrupts = <54 IRQ_TYPE_LEVEL_HIGH>;
462 clocks = <&clks VF610_CLK_ADC1>;
464 #io-channel-cells = <1>;
466 fsl,adck-max-frequency = <30000000>, <40000000>,
470 esdhc0: esdhc@400b1000 {
471 compatible = "fsl,imx53-esdhc";
472 reg = <0x400b1000 0x1000>;
473 interrupts = <27 IRQ_TYPE_LEVEL_HIGH>;
474 clocks = <&clks VF610_CLK_IPG_BUS>,
475 <&clks VF610_CLK_PLATFORM_BUS>,
476 <&clks VF610_CLK_ESDHC0>;
477 clock-names = "ipg", "ahb", "per";
481 esdhc1: esdhc@400b2000 {
482 compatible = "fsl,imx53-esdhc";
483 reg = <0x400b2000 0x1000>;
484 interrupts = <28 IRQ_TYPE_LEVEL_HIGH>;
485 clocks = <&clks VF610_CLK_IPG_BUS>,
486 <&clks VF610_CLK_PLATFORM_BUS>,
487 <&clks VF610_CLK_ESDHC1>;
488 clock-names = "ipg", "ahb", "per";
492 usbh1: usb@400b4000 {
493 compatible = "fsl,vf610-usb", "fsl,imx27-usb";
494 reg = <0x400b4000 0x800>;
495 interrupts = <76 IRQ_TYPE_LEVEL_HIGH>;
496 clocks = <&clks VF610_CLK_USBC1>;
497 fsl,usbphy = <&usbphy1>;
498 fsl,usbmisc = <&usbmisc1 0>;
503 usbmisc1: usb@400b4800 {
505 compatible = "fsl,vf610-usbmisc";
506 reg = <0x400b4800 0x200>;
507 clocks = <&clks VF610_CLK_USBC1>;
512 compatible = "fsl,ftm-timer";
513 reg = <0x400b8000 0x1000 0x400b9000 0x1000>;
514 interrupts = <44 IRQ_TYPE_LEVEL_HIGH>;
515 clock-names = "ftm-evt", "ftm-src",
516 "ftm-evt-counter-en", "ftm-src-counter-en";
517 clocks = <&clks VF610_CLK_FTM2>,
518 <&clks VF610_CLK_FTM3>,
519 <&clks VF610_CLK_FTM2_EXT_FIX_EN>,
520 <&clks VF610_CLK_FTM3_EXT_FIX_EN>;
524 qspi1: quadspi@400c4000 {
525 #address-cells = <1>;
527 compatible = "fsl,vf610-qspi";
528 reg = <0x400c4000 0x1000>, <0x50000000 0x10000000>;
529 reg-names = "QuadSPI", "QuadSPI-memory";
530 interrupts = <25 IRQ_TYPE_LEVEL_HIGH>;
531 clocks = <&clks VF610_CLK_QSPI1_EN>,
532 <&clks VF610_CLK_QSPI1>;
533 clock-names = "qspi_en", "qspi";
537 fec0: ethernet@400d0000 {
538 compatible = "fsl,mvf600-fec";
539 reg = <0x400d0000 0x1000>;
540 interrupts = <78 IRQ_TYPE_LEVEL_HIGH>;
541 clocks = <&clks VF610_CLK_ENET0>,
542 <&clks VF610_CLK_ENET0>,
543 <&clks VF610_CLK_ENET>;
544 clock-names = "ipg", "ahb", "ptp";
548 fec1: ethernet@400d1000 {
549 compatible = "fsl,mvf600-fec";
550 reg = <0x400d1000 0x1000>;
551 interrupts = <79 IRQ_TYPE_LEVEL_HIGH>;
552 clocks = <&clks VF610_CLK_ENET1>,
553 <&clks VF610_CLK_ENET1>,
554 <&clks VF610_CLK_ENET>;
555 clock-names = "ipg", "ahb", "ptp";
559 can1: flexcan@400d4000 {
560 compatible = "fsl,vf610-flexcan";
561 reg = <0x400d4000 0x4000>;
562 interrupts = <59 IRQ_TYPE_LEVEL_HIGH>;
563 clocks = <&clks VF610_CLK_FLEXCAN1>,
564 <&clks VF610_CLK_FLEXCAN1>;
565 clock-names = "ipg", "per";
570 #address-cells = <1>;
572 compatible = "fsl,vf610-nfc";
573 reg = <0x400e0000 0x4000>;
574 interrupts = <83 IRQ_TYPE_LEVEL_HIGH>;
575 clocks = <&clks VF610_CLK_NFC>;
581 #address-cells = <1>;
583 compatible = "fsl,vf610-i2c";
584 reg = <0x400e6000 0x1000>;
585 interrupts = <73 IRQ_TYPE_LEVEL_HIGH>;
586 clocks = <&clks VF610_CLK_I2C2>;
588 dmas = <&edma0 1 36>,
590 dma-names = "rx","tx";
595 #address-cells = <1>;
597 compatible = "fsl,vf610-i2c";
598 reg = <0x400e7000 0x1000>;
599 interrupts = <74 IRQ_TYPE_LEVEL_HIGH>;
600 clocks = <&clks VF610_CLK_I2C3>;
602 dmas = <&edma0 1 38>,
604 dma-names = "rx","tx";