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>;
246 interrupts = <24 IRQ_TYPE_LEVEL_HIGH>;
247 clocks = <&clks VF610_CLK_QSPI0_EN>,
248 <&clks VF610_CLK_QSPI0>;
249 clock-names = "qspi_en", "qspi";
253 iomuxc: iomuxc@40048000 {
254 compatible = "fsl,vf610-iomuxc";
255 reg = <0x40048000 0x1000>;
258 gpio0: gpio@40049000 {
259 compatible = "fsl,vf610-gpio";
260 reg = <0x40049000 0x1000 0x400ff000 0x40>;
263 interrupts = <107 IRQ_TYPE_LEVEL_HIGH>;
264 interrupt-controller;
265 #interrupt-cells = <2>;
266 gpio-ranges = <&iomuxc 0 0 32>;
269 gpio1: gpio@4004a000 {
270 compatible = "fsl,vf610-gpio";
271 reg = <0x4004a000 0x1000 0x400ff040 0x40>;
274 interrupts = <108 IRQ_TYPE_LEVEL_HIGH>;
275 interrupt-controller;
276 #interrupt-cells = <2>;
277 gpio-ranges = <&iomuxc 0 32 32>;
280 gpio2: gpio@4004b000 {
281 compatible = "fsl,vf610-gpio";
282 reg = <0x4004b000 0x1000 0x400ff080 0x40>;
285 interrupts = <109 IRQ_TYPE_LEVEL_HIGH>;
286 interrupt-controller;
287 #interrupt-cells = <2>;
288 gpio-ranges = <&iomuxc 0 64 32>;
291 gpio3: gpio@4004c000 {
292 compatible = "fsl,vf610-gpio";
293 reg = <0x4004c000 0x1000 0x400ff0c0 0x40>;
296 interrupts = <110 IRQ_TYPE_LEVEL_HIGH>;
297 interrupt-controller;
298 #interrupt-cells = <2>;
299 gpio-ranges = <&iomuxc 0 96 32>;
302 gpio4: gpio@4004d000 {
303 compatible = "fsl,vf610-gpio";
304 reg = <0x4004d000 0x1000 0x400ff100 0x40>;
307 interrupts = <111 IRQ_TYPE_LEVEL_HIGH>;
308 interrupt-controller;
309 #interrupt-cells = <2>;
310 gpio-ranges = <&iomuxc 0 128 7>;
313 anatop: anatop@40050000 {
314 compatible = "fsl,vf610-anatop", "syscon";
315 reg = <0x40050000 0x400>;
318 usbphy0: usbphy@40050800 {
319 compatible = "fsl,vf610-usbphy";
320 reg = <0x40050800 0x400>;
321 interrupts = <50 IRQ_TYPE_LEVEL_HIGH>;
322 clocks = <&clks VF610_CLK_USBPHY0>;
323 fsl,anatop = <&anatop>;
327 usbphy1: usbphy@40050c00 {
328 compatible = "fsl,vf610-usbphy";
329 reg = <0x40050c00 0x400>;
330 interrupts = <51 IRQ_TYPE_LEVEL_HIGH>;
331 clocks = <&clks VF610_CLK_USBPHY1>;
332 fsl,anatop = <&anatop>;
337 #address-cells = <1>;
339 compatible = "fsl,vf610-i2c";
340 reg = <0x40066000 0x1000>;
341 interrupts = <71 IRQ_TYPE_LEVEL_HIGH>;
342 clocks = <&clks VF610_CLK_I2C0>;
344 dmas = <&edma0 0 50>,
346 dma-names = "rx","tx";
351 compatible = "fsl,vf610-ccm";
352 reg = <0x4006b000 0x1000>;
353 clocks = <&sxosc>, <&fxosc>;
354 clock-names = "sxosc", "fxosc";
358 usbdev0: usb@40034000 {
359 compatible = "fsl,vf610-usb", "fsl,imx27-usb";
360 reg = <0x40034000 0x800>;
361 interrupts = <75 IRQ_TYPE_LEVEL_HIGH>;
362 clocks = <&clks VF610_CLK_USBC0>;
363 fsl,usbphy = <&usbphy0>;
364 fsl,usbmisc = <&usbmisc0 0>;
365 dr_mode = "peripheral";
369 usbmisc0: usb@40034800 {
371 compatible = "fsl,vf610-usbmisc";
372 reg = <0x40034800 0x200>;
373 clocks = <&clks VF610_CLK_USBC0>;
378 compatible = "fsl,vf610-src", "syscon";
379 reg = <0x4006e000 0x1000>;
380 interrupts = <96 IRQ_TYPE_LEVEL_HIGH>;
384 aips1: aips-bus@40080000 {
385 compatible = "fsl,aips-bus", "simple-bus";
386 #address-cells = <1>;
390 edma1: dma-controller@40098000 {
392 compatible = "fsl,vf610-edma";
393 reg = <0x40098000 0x2000>,
397 interrupts = <10 IRQ_TYPE_LEVEL_HIGH>,
398 <11 IRQ_TYPE_LEVEL_HIGH>;
399 interrupt-names = "edma-tx", "edma-err";
400 clock-names = "dmamux0", "dmamux1";
401 clocks = <&clks VF610_CLK_DMAMUX2>,
402 <&clks VF610_CLK_DMAMUX3>;
406 snvs0: snvs@400a7000 {
407 compatible = "fsl,sec-v4.0-mon", "simple-bus";
408 #address-cells = <1>;
410 ranges = <0 0x400a7000 0x2000>;
412 snvsrtc: snvs-rtc-lp@34 {
413 compatible = "fsl,sec-v4.0-mon-rtc-lp";
415 interrupts = <100 IRQ_TYPE_LEVEL_HIGH>;
416 clocks = <&clks VF610_CLK_SNVS>;
417 clock-names = "snvs-rtc";
421 uart4: serial@400a9000 {
422 compatible = "fsl,vf610-lpuart";
423 reg = <0x400a9000 0x1000>;
424 interrupts = <65 IRQ_TYPE_LEVEL_HIGH>;
425 clocks = <&clks VF610_CLK_UART4>;
430 uart5: serial@400aa000 {
431 compatible = "fsl,vf610-lpuart";
432 reg = <0x400aa000 0x1000>;
433 interrupts = <66 IRQ_TYPE_LEVEL_HIGH>;
434 clocks = <&clks VF610_CLK_UART5>;
440 compatible = "fsl,vf610-adc";
441 reg = <0x400bb000 0x1000>;
442 interrupts = <54 IRQ_TYPE_LEVEL_HIGH>;
443 clocks = <&clks VF610_CLK_ADC1>;
448 esdhc1: esdhc@400b2000 {
449 compatible = "fsl,imx53-esdhc";
450 reg = <0x400b2000 0x1000>;
451 interrupts = <28 IRQ_TYPE_LEVEL_HIGH>;
452 clocks = <&clks VF610_CLK_IPG_BUS>,
453 <&clks VF610_CLK_PLATFORM_BUS>,
454 <&clks VF610_CLK_ESDHC1>;
455 clock-names = "ipg", "ahb", "per";
459 usbh1: usb@400b4000 {
460 compatible = "fsl,vf610-usb", "fsl,imx27-usb";
461 reg = <0x400b4000 0x800>;
462 interrupts = <76 IRQ_TYPE_LEVEL_HIGH>;
463 clocks = <&clks VF610_CLK_USBC1>;
464 fsl,usbphy = <&usbphy1>;
465 fsl,usbmisc = <&usbmisc1 0>;
470 usbmisc1: usb@400b4800 {
472 compatible = "fsl,vf610-usbmisc";
473 reg = <0x400b4800 0x200>;
474 clocks = <&clks VF610_CLK_USBC1>;
479 compatible = "fsl,ftm-timer";
480 reg = <0x400b8000 0x1000 0x400b9000 0x1000>;
481 interrupts = <44 IRQ_TYPE_LEVEL_HIGH>;
482 clock-names = "ftm-evt", "ftm-src",
483 "ftm-evt-counter-en", "ftm-src-counter-en";
484 clocks = <&clks VF610_CLK_FTM2>,
485 <&clks VF610_CLK_FTM3>,
486 <&clks VF610_CLK_FTM2_EXT_FIX_EN>,
487 <&clks VF610_CLK_FTM3_EXT_FIX_EN>;
491 fec0: ethernet@400d0000 {
492 compatible = "fsl,mvf600-fec";
493 reg = <0x400d0000 0x1000>;
494 interrupts = <78 IRQ_TYPE_LEVEL_HIGH>;
495 clocks = <&clks VF610_CLK_ENET0>,
496 <&clks VF610_CLK_ENET0>,
497 <&clks VF610_CLK_ENET>;
498 clock-names = "ipg", "ahb", "ptp";
502 fec1: ethernet@400d1000 {
503 compatible = "fsl,mvf600-fec";
504 reg = <0x400d1000 0x1000>;
505 interrupts = <79 IRQ_TYPE_LEVEL_HIGH>;
506 clocks = <&clks VF610_CLK_ENET1>,
507 <&clks VF610_CLK_ENET1>,
508 <&clks VF610_CLK_ENET>;
509 clock-names = "ipg", "ahb", "ptp";
513 can1: flexcan@400d4000 {
514 compatible = "fsl,vf610-flexcan";
515 reg = <0x400d4000 0x4000>;
516 interrupts = <59 IRQ_TYPE_LEVEL_HIGH>;
517 clocks = <&clks VF610_CLK_FLEXCAN1>,
518 <&clks VF610_CLK_FLEXCAN1>;
519 clock-names = "ipg", "per";