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 = <5>;
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 = <5>;
178 compatible = "fsl,vf610-sai";
179 reg = <0x40031000 0x1000>;
180 interrupts = <86 IRQ_TYPE_LEVEL_HIGH>;
181 clocks = <&clks VF610_CLK_SAI2>;
183 dma-names = "tx", "rx";
184 dmas = <&edma0 0 21>,
190 compatible = "fsl,vf610-pit";
191 reg = <0x40037000 0x1000>;
192 interrupts = <39 IRQ_TYPE_LEVEL_HIGH>;
193 clocks = <&clks VF610_CLK_PIT>;
198 compatible = "fsl,vf610-ftm-pwm";
200 reg = <0x40038000 0x1000>;
201 clock-names = "ftm_sys", "ftm_ext",
202 "ftm_fix", "ftm_cnt_clk_en";
203 clocks = <&clks VF610_CLK_FTM0>,
204 <&clks VF610_CLK_FTM0_EXT_SEL>,
205 <&clks VF610_CLK_FTM0_FIX_SEL>,
206 <&clks VF610_CLK_FTM0_EXT_FIX_EN>;
211 compatible = "fsl,vf610-ftm-pwm";
213 reg = <0x40039000 0x1000>;
214 clock-names = "ftm_sys", "ftm_ext",
215 "ftm_fix", "ftm_cnt_clk_en";
216 clocks = <&clks VF610_CLK_FTM1>,
217 <&clks VF610_CLK_FTM1_EXT_SEL>,
218 <&clks VF610_CLK_FTM1_FIX_SEL>,
219 <&clks VF610_CLK_FTM1_EXT_FIX_EN>;
224 compatible = "fsl,vf610-adc";
225 reg = <0x4003b000 0x1000>;
226 interrupts = <53 IRQ_TYPE_LEVEL_HIGH>;
227 clocks = <&clks VF610_CLK_ADC0>;
232 wdoga5: wdog@4003e000 {
233 compatible = "fsl,vf610-wdt", "fsl,imx21-wdt";
234 reg = <0x4003e000 0x1000>;
235 interrupts = <20 IRQ_TYPE_LEVEL_HIGH>;
236 clocks = <&clks VF610_CLK_WDT>;
237 clock-names = "wdog";
241 qspi0: quadspi@40044000 {
242 #address-cells = <1>;
244 compatible = "fsl,vf610-qspi";
245 reg = <0x40044000 0x1000>, <0x20000000 0x10000000>;
246 reg-names = "QuadSPI", "QuadSPI-memory";
247 interrupts = <24 IRQ_TYPE_LEVEL_HIGH>;
248 clocks = <&clks VF610_CLK_QSPI0_EN>,
249 <&clks VF610_CLK_QSPI0>;
250 clock-names = "qspi_en", "qspi";
254 iomuxc: iomuxc@40048000 {
255 compatible = "fsl,vf610-iomuxc";
256 reg = <0x40048000 0x1000>;
259 gpio0: gpio@40049000 {
260 compatible = "fsl,vf610-gpio";
261 reg = <0x40049000 0x1000 0x400ff000 0x40>;
264 interrupts = <107 IRQ_TYPE_LEVEL_HIGH>;
265 interrupt-controller;
266 #interrupt-cells = <2>;
267 gpio-ranges = <&iomuxc 0 0 32>;
270 gpio1: gpio@4004a000 {
271 compatible = "fsl,vf610-gpio";
272 reg = <0x4004a000 0x1000 0x400ff040 0x40>;
275 interrupts = <108 IRQ_TYPE_LEVEL_HIGH>;
276 interrupt-controller;
277 #interrupt-cells = <2>;
278 gpio-ranges = <&iomuxc 0 32 32>;
281 gpio2: gpio@4004b000 {
282 compatible = "fsl,vf610-gpio";
283 reg = <0x4004b000 0x1000 0x400ff080 0x40>;
286 interrupts = <109 IRQ_TYPE_LEVEL_HIGH>;
287 interrupt-controller;
288 #interrupt-cells = <2>;
289 gpio-ranges = <&iomuxc 0 64 32>;
292 gpio3: gpio@4004c000 {
293 compatible = "fsl,vf610-gpio";
294 reg = <0x4004c000 0x1000 0x400ff0c0 0x40>;
297 interrupts = <110 IRQ_TYPE_LEVEL_HIGH>;
298 interrupt-controller;
299 #interrupt-cells = <2>;
300 gpio-ranges = <&iomuxc 0 96 32>;
303 gpio4: gpio@4004d000 {
304 compatible = "fsl,vf610-gpio";
305 reg = <0x4004d000 0x1000 0x400ff100 0x40>;
308 interrupts = <111 IRQ_TYPE_LEVEL_HIGH>;
309 interrupt-controller;
310 #interrupt-cells = <2>;
311 gpio-ranges = <&iomuxc 0 128 7>;
314 anatop: anatop@40050000 {
315 compatible = "fsl,vf610-anatop", "syscon";
316 reg = <0x40050000 0x400>;
319 usbphy0: usbphy@40050800 {
320 compatible = "fsl,vf610-usbphy";
321 reg = <0x40050800 0x400>;
322 interrupts = <50 IRQ_TYPE_LEVEL_HIGH>;
323 clocks = <&clks VF610_CLK_USBPHY0>;
324 fsl,anatop = <&anatop>;
328 usbphy1: usbphy@40050c00 {
329 compatible = "fsl,vf610-usbphy";
330 reg = <0x40050c00 0x400>;
331 interrupts = <51 IRQ_TYPE_LEVEL_HIGH>;
332 clocks = <&clks VF610_CLK_USBPHY1>;
333 fsl,anatop = <&anatop>;
338 #address-cells = <1>;
340 compatible = "fsl,vf610-i2c";
341 reg = <0x40066000 0x1000>;
342 interrupts = <71 IRQ_TYPE_LEVEL_HIGH>;
343 clocks = <&clks VF610_CLK_I2C0>;
345 dmas = <&edma0 0 50>,
347 dma-names = "rx","tx";
352 #address-cells = <1>;
354 compatible = "fsl,vf610-i2c";
355 reg = <0x40067000 0x1000>;
356 interrupts = <72 IRQ_TYPE_LEVEL_HIGH>;
357 clocks = <&clks VF610_CLK_I2C1>;
359 dmas = <&edma0 0 52>,
361 dma-names = "rx","tx";
366 compatible = "fsl,vf610-ccm";
367 reg = <0x4006b000 0x1000>;
368 clocks = <&sxosc>, <&fxosc>;
369 clock-names = "sxosc", "fxosc";
373 usbdev0: usb@40034000 {
374 compatible = "fsl,vf610-usb", "fsl,imx27-usb";
375 reg = <0x40034000 0x800>;
376 interrupts = <75 IRQ_TYPE_LEVEL_HIGH>;
377 clocks = <&clks VF610_CLK_USBC0>;
378 fsl,usbphy = <&usbphy0>;
379 fsl,usbmisc = <&usbmisc0 0>;
380 dr_mode = "peripheral";
384 usbmisc0: usb@40034800 {
386 compatible = "fsl,vf610-usbmisc";
387 reg = <0x40034800 0x200>;
388 clocks = <&clks VF610_CLK_USBC0>;
393 compatible = "fsl,vf610-src", "syscon";
394 reg = <0x4006e000 0x1000>;
395 interrupts = <96 IRQ_TYPE_LEVEL_HIGH>;
399 aips1: aips-bus@40080000 {
400 compatible = "fsl,aips-bus", "simple-bus";
401 #address-cells = <1>;
405 edma1: dma-controller@40098000 {
407 compatible = "fsl,vf610-edma";
408 reg = <0x40098000 0x2000>,
412 interrupts = <10 IRQ_TYPE_LEVEL_HIGH>,
413 <11 IRQ_TYPE_LEVEL_HIGH>;
414 interrupt-names = "edma-tx", "edma-err";
415 clock-names = "dmamux0", "dmamux1";
416 clocks = <&clks VF610_CLK_DMAMUX2>,
417 <&clks VF610_CLK_DMAMUX3>;
421 snvs0: snvs@400a7000 {
422 compatible = "fsl,sec-v4.0-mon", "simple-bus";
423 #address-cells = <1>;
425 ranges = <0 0x400a7000 0x2000>;
427 snvsrtc: snvs-rtc-lp@34 {
428 compatible = "fsl,sec-v4.0-mon-rtc-lp";
430 interrupts = <100 IRQ_TYPE_LEVEL_HIGH>;
431 clocks = <&clks VF610_CLK_SNVS>;
432 clock-names = "snvs-rtc";
436 uart4: serial@400a9000 {
437 compatible = "fsl,vf610-lpuart";
438 reg = <0x400a9000 0x1000>;
439 interrupts = <65 IRQ_TYPE_LEVEL_HIGH>;
440 clocks = <&clks VF610_CLK_UART4>;
445 uart5: serial@400aa000 {
446 compatible = "fsl,vf610-lpuart";
447 reg = <0x400aa000 0x1000>;
448 interrupts = <66 IRQ_TYPE_LEVEL_HIGH>;
449 clocks = <&clks VF610_CLK_UART5>;
455 compatible = "fsl,vf610-adc";
456 reg = <0x400bb000 0x1000>;
457 interrupts = <54 IRQ_TYPE_LEVEL_HIGH>;
458 clocks = <&clks VF610_CLK_ADC1>;
463 esdhc1: esdhc@400b2000 {
464 compatible = "fsl,imx53-esdhc";
465 reg = <0x400b2000 0x1000>;
466 interrupts = <28 IRQ_TYPE_LEVEL_HIGH>;
467 clocks = <&clks VF610_CLK_IPG_BUS>,
468 <&clks VF610_CLK_PLATFORM_BUS>,
469 <&clks VF610_CLK_ESDHC1>;
470 clock-names = "ipg", "ahb", "per";
474 usbh1: usb@400b4000 {
475 compatible = "fsl,vf610-usb", "fsl,imx27-usb";
476 reg = <0x400b4000 0x800>;
477 interrupts = <76 IRQ_TYPE_LEVEL_HIGH>;
478 clocks = <&clks VF610_CLK_USBC1>;
479 fsl,usbphy = <&usbphy1>;
480 fsl,usbmisc = <&usbmisc1 0>;
485 usbmisc1: usb@400b4800 {
487 compatible = "fsl,vf610-usbmisc";
488 reg = <0x400b4800 0x200>;
489 clocks = <&clks VF610_CLK_USBC1>;
494 compatible = "fsl,ftm-timer";
495 reg = <0x400b8000 0x1000 0x400b9000 0x1000>;
496 interrupts = <44 IRQ_TYPE_LEVEL_HIGH>;
497 clock-names = "ftm-evt", "ftm-src",
498 "ftm-evt-counter-en", "ftm-src-counter-en";
499 clocks = <&clks VF610_CLK_FTM2>,
500 <&clks VF610_CLK_FTM3>,
501 <&clks VF610_CLK_FTM2_EXT_FIX_EN>,
502 <&clks VF610_CLK_FTM3_EXT_FIX_EN>;
506 qspi1: quadspi@400c4000 {
507 #address-cells = <1>;
509 compatible = "fsl,vf610-qspi";
510 reg = <0x400c4000 0x1000>, <0x50000000 0x10000000>;
511 reg-names = "QuadSPI", "QuadSPI-memory";
512 interrupts = <25 IRQ_TYPE_LEVEL_HIGH>;
513 clocks = <&clks VF610_CLK_QSPI1_EN>,
514 <&clks VF610_CLK_QSPI1>;
515 clock-names = "qspi_en", "qspi";
519 fec0: ethernet@400d0000 {
520 compatible = "fsl,mvf600-fec";
521 reg = <0x400d0000 0x1000>;
522 interrupts = <78 IRQ_TYPE_LEVEL_HIGH>;
523 clocks = <&clks VF610_CLK_ENET0>,
524 <&clks VF610_CLK_ENET0>,
525 <&clks VF610_CLK_ENET>;
526 clock-names = "ipg", "ahb", "ptp";
530 fec1: ethernet@400d1000 {
531 compatible = "fsl,mvf600-fec";
532 reg = <0x400d1000 0x1000>;
533 interrupts = <79 IRQ_TYPE_LEVEL_HIGH>;
534 clocks = <&clks VF610_CLK_ENET1>,
535 <&clks VF610_CLK_ENET1>,
536 <&clks VF610_CLK_ENET>;
537 clock-names = "ipg", "ahb", "ptp";
541 can1: flexcan@400d4000 {
542 compatible = "fsl,vf610-flexcan";
543 reg = <0x400d4000 0x4000>;
544 interrupts = <59 IRQ_TYPE_LEVEL_HIGH>;
545 clocks = <&clks VF610_CLK_FLEXCAN1>,
546 <&clks VF610_CLK_FLEXCAN1>;
547 clock-names = "ipg", "per";
552 #address-cells = <1>;
554 compatible = "fsl,vf610-i2c";
555 reg = <0x400e6000 0x1000>;
556 interrupts = <73 IRQ_TYPE_LEVEL_HIGH>;
557 clocks = <&clks VF610_CLK_I2C2>;
559 dmas = <&edma0 1 36>,
561 dma-names = "rx","tx";
566 #address-cells = <1>;
568 compatible = "fsl,vf610-i2c";
569 reg = <0x400e7000 0x1000>;
570 interrupts = <74 IRQ_TYPE_LEVEL_HIGH>;
571 clocks = <&clks VF610_CLK_I2C3>;
573 dmas = <&edma0 1 38>,
575 dma-names = "rx","tx";