blob: 31c2c9ac8101aa7bfb8375e67c2368ef7d0a46ed [file] [log] [blame]
Stefan Agnerefb45b32014-11-02 21:36:46 +01001/*
2 * Copyright 2013 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 as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
8 */
9
10#include "vf610-pinfunc.h"
11#include <dt-bindings/clock/vf610-clock.h>
12#include <dt-bindings/interrupt-controller/irq.h>
Stefan Agner2b36bda2014-11-04 14:07:08 +010013#include <dt-bindings/gpio/gpio.h>
Stefan Agnerefb45b32014-11-02 21:36:46 +010014
15/ {
16 aliases {
17 can0 = &can0;
18 can1 = &can1;
19 serial0 = &uart0;
20 serial1 = &uart1;
21 serial2 = &uart2;
22 serial3 = &uart3;
23 serial4 = &uart4;
24 serial5 = &uart5;
Stefan Agner76713952015-01-16 18:06:15 +010025 gpio0 = &gpio0;
26 gpio1 = &gpio1;
27 gpio2 = &gpio2;
28 gpio3 = &gpio3;
29 gpio4 = &gpio4;
Stefan Agnerefb45b32014-11-02 21:36:46 +010030 usbphy0 = &usbphy0;
31 usbphy1 = &usbphy1;
32 };
33
34 fxosc: fxosc {
35 compatible = "fixed-clock";
36 #clock-cells = <0>;
37 clock-frequency = <24000000>;
38 };
39
40 sxosc: sxosc {
41 compatible = "fixed-clock";
42 #clock-cells = <0>;
43 clock-frequency = <32768>;
44 };
45
Stefan Agner0d018d72014-12-02 18:11:59 +010046 reboot: syscon-reboot {
47 compatible = "syscon-reboot";
48 regmap = <&src>;
49 offset = <0x0>;
50 mask = <0x1000>;
51 };
52
Stefan Agnerefb45b32014-11-02 21:36:46 +010053 soc {
54 #address-cells = <1>;
55 #size-cells = <1>;
56 compatible = "simple-bus";
Stefan Agnerc09d0f72015-03-01 23:41:29 +010057 interrupt-parent = <&mscm_ir>;
Stefan Agnerefb45b32014-11-02 21:36:46 +010058 ranges;
59
60 aips0: aips-bus@40000000 {
61 compatible = "fsl,aips-bus", "simple-bus";
62 #address-cells = <1>;
63 #size-cells = <1>;
64 ranges;
65
Stefan Agnerc09d0f72015-03-01 23:41:29 +010066 mscm_cpucfg: cpucfg@40001000 {
67 compatible = "fsl,vf610-mscm-cpucfg", "syscon";
68 reg = <0x40001000 0x800>;
69 };
70
71 mscm_ir: interrupt-controller@40001800 {
72 compatible = "fsl,vf610-mscm-ir";
73 reg = <0x40001800 0x400>;
74 fsl,cpucfg = <&mscm_cpucfg>;
75 interrupt-controller;
76 #interrupt-cells = <2>;
77 };
78
Stefan Agnerefb45b32014-11-02 21:36:46 +010079 edma0: dma-controller@40018000 {
80 #dma-cells = <2>;
81 compatible = "fsl,vf610-edma";
82 reg = <0x40018000 0x2000>,
83 <0x40024000 0x1000>,
84 <0x40025000 0x1000>;
85 dma-channels = <32>;
Stefan Agnerc09d0f72015-03-01 23:41:29 +010086 interrupts = <8 IRQ_TYPE_LEVEL_HIGH>,
87 <9 IRQ_TYPE_LEVEL_HIGH>;
88 interrupt-names = "edma-tx", "edma-err";
Stefan Agnerefb45b32014-11-02 21:36:46 +010089 clock-names = "dmamux0", "dmamux1";
90 clocks = <&clks VF610_CLK_DMAMUX0>,
91 <&clks VF610_CLK_DMAMUX1>;
92 status = "disabled";
93 };
94
95 can0: flexcan@40020000 {
96 compatible = "fsl,vf610-flexcan";
97 reg = <0x40020000 0x4000>;
Stefan Agnerc09d0f72015-03-01 23:41:29 +010098 interrupts = <58 IRQ_TYPE_LEVEL_HIGH>;
Stefan Agnerefb45b32014-11-02 21:36:46 +010099 clocks = <&clks VF610_CLK_FLEXCAN0>,
100 <&clks VF610_CLK_FLEXCAN0>;
101 clock-names = "ipg", "per";
102 status = "disabled";
103 };
104
105 uart0: serial@40027000 {
106 compatible = "fsl,vf610-lpuart";
107 reg = <0x40027000 0x1000>;
Stefan Agnerc09d0f72015-03-01 23:41:29 +0100108 interrupts = <61 IRQ_TYPE_LEVEL_HIGH>;
Stefan Agnerefb45b32014-11-02 21:36:46 +0100109 clocks = <&clks VF610_CLK_UART0>;
110 clock-names = "ipg";
111 dmas = <&edma0 0 2>,
112 <&edma0 0 3>;
113 dma-names = "rx","tx";
114 status = "disabled";
115 };
116
117 uart1: serial@40028000 {
118 compatible = "fsl,vf610-lpuart";
119 reg = <0x40028000 0x1000>;
Stefan Agnerc09d0f72015-03-01 23:41:29 +0100120 interrupts = <62 IRQ_TYPE_LEVEL_HIGH>;
Stefan Agnerefb45b32014-11-02 21:36:46 +0100121 clocks = <&clks VF610_CLK_UART1>;
122 clock-names = "ipg";
123 dmas = <&edma0 0 4>,
124 <&edma0 0 5>;
125 dma-names = "rx","tx";
126 status = "disabled";
127 };
128
129 uart2: serial@40029000 {
130 compatible = "fsl,vf610-lpuart";
131 reg = <0x40029000 0x1000>;
Stefan Agnerc09d0f72015-03-01 23:41:29 +0100132 interrupts = <63 IRQ_TYPE_LEVEL_HIGH>;
Stefan Agnerefb45b32014-11-02 21:36:46 +0100133 clocks = <&clks VF610_CLK_UART2>;
134 clock-names = "ipg";
135 dmas = <&edma0 0 6>,
136 <&edma0 0 7>;
137 dma-names = "rx","tx";
138 status = "disabled";
139 };
140
141 uart3: serial@4002a000 {
142 compatible = "fsl,vf610-lpuart";
143 reg = <0x4002a000 0x1000>;
Stefan Agnerc09d0f72015-03-01 23:41:29 +0100144 interrupts = <64 IRQ_TYPE_LEVEL_HIGH>;
Stefan Agnerefb45b32014-11-02 21:36:46 +0100145 clocks = <&clks VF610_CLK_UART3>;
146 clock-names = "ipg";
147 dmas = <&edma0 0 8>,
148 <&edma0 0 9>;
149 dma-names = "rx","tx";
150 status = "disabled";
151 };
152
153 dspi0: dspi0@4002c000 {
154 #address-cells = <1>;
155 #size-cells = <0>;
156 compatible = "fsl,vf610-dspi";
157 reg = <0x4002c000 0x1000>;
Stefan Agnerc09d0f72015-03-01 23:41:29 +0100158 interrupts = <67 IRQ_TYPE_LEVEL_HIGH>;
Stefan Agnerefb45b32014-11-02 21:36:46 +0100159 clocks = <&clks VF610_CLK_DSPI0>;
160 clock-names = "dspi";
Cory Tusar897ed0c2015-11-18 22:54:39 -0500161 spi-num-chipselects = <6>;
Stefan Agnerefb45b32014-11-02 21:36:46 +0100162 status = "disabled";
163 };
164
Bhuvanchandra DV1b545c12015-01-27 16:27:18 +0530165 dspi1: dspi1@4002d000 {
166 #address-cells = <1>;
167 #size-cells = <0>;
168 compatible = "fsl,vf610-dspi";
169 reg = <0x4002d000 0x1000>;
Stefan Agnerc09d0f72015-03-01 23:41:29 +0100170 interrupts = <68 IRQ_TYPE_LEVEL_HIGH>;
Bhuvanchandra DV1b545c12015-01-27 16:27:18 +0530171 clocks = <&clks VF610_CLK_DSPI1>;
172 clock-names = "dspi";
Cory Tusar897ed0c2015-11-18 22:54:39 -0500173 spi-num-chipselects = <4>;
Bhuvanchandra DV1b545c12015-01-27 16:27:18 +0530174 status = "disabled";
175 };
176
Stefan Agner26a91d82015-10-17 21:05:22 -0700177 sai0: sai@4002f000 {
178 compatible = "fsl,vf610-sai";
179 reg = <0x4002f000 0x1000>;
180 interrupts = <84 IRQ_TYPE_LEVEL_HIGH>;
181 clocks = <&clks VF610_CLK_SAI0>,
182 <&clks VF610_CLK_SAI0_DIV>,
183 <&clks 0>, <&clks 0>;
184 clock-names = "bus", "mclk1", "mclk2", "mclk3";
185 dma-names = "tx", "rx";
186 dmas = <&edma0 0 17>,
187 <&edma0 0 16>;
188 status = "disabled";
189 };
190
191 sai1: sai@40030000 {
192 compatible = "fsl,vf610-sai";
193 reg = <0x40030000 0x1000>;
194 interrupts = <85 IRQ_TYPE_LEVEL_HIGH>;
195 clocks = <&clks VF610_CLK_SAI1>,
196 <&clks VF610_CLK_SAI1_DIV>,
197 <&clks 0>, <&clks 0>;
198 clock-names = "bus", "mclk1", "mclk2", "mclk3";
199 dma-names = "tx", "rx";
200 dmas = <&edma0 0 19>,
201 <&edma0 0 18>;
202 status = "disabled";
203 };
204
Stefan Agnerefb45b32014-11-02 21:36:46 +0100205 sai2: sai@40031000 {
206 compatible = "fsl,vf610-sai";
207 reg = <0x40031000 0x1000>;
Stefan Agnerc09d0f72015-03-01 23:41:29 +0100208 interrupts = <86 IRQ_TYPE_LEVEL_HIGH>;
Stefan Agner531ee1f2015-10-17 21:05:21 -0700209 clocks = <&clks VF610_CLK_SAI2>,
210 <&clks VF610_CLK_SAI2_DIV>,
211 <&clks 0>, <&clks 0>;
212 clock-names = "bus", "mclk1", "mclk2", "mclk3";
Stefan Agnerefb45b32014-11-02 21:36:46 +0100213 dma-names = "tx", "rx";
214 dmas = <&edma0 0 21>,
215 <&edma0 0 20>;
216 status = "disabled";
217 };
218
Stefan Agner26a91d82015-10-17 21:05:22 -0700219 sai3: sai@40032000 {
220 compatible = "fsl,vf610-sai";
221 reg = <0x40032000 0x1000>;
222 interrupts = <87 IRQ_TYPE_LEVEL_HIGH>;
223 clocks = <&clks VF610_CLK_SAI3>,
224 <&clks VF610_CLK_SAI3_DIV>,
225 <&clks 0>, <&clks 0>;
226 clock-names = "bus", "mclk1", "mclk2", "mclk3";
227 dma-names = "tx", "rx";
228 dmas = <&edma0 1 9>,
229 <&edma0 1 8>;
230 status = "disabled";
231 };
232
Stefan Agnerefb45b32014-11-02 21:36:46 +0100233 pit: pit@40037000 {
234 compatible = "fsl,vf610-pit";
235 reg = <0x40037000 0x1000>;
Stefan Agnerc09d0f72015-03-01 23:41:29 +0100236 interrupts = <39 IRQ_TYPE_LEVEL_HIGH>;
Stefan Agnerefb45b32014-11-02 21:36:46 +0100237 clocks = <&clks VF610_CLK_PIT>;
238 clock-names = "pit";
239 };
240
241 pwm0: pwm@40038000 {
242 compatible = "fsl,vf610-ftm-pwm";
243 #pwm-cells = <3>;
244 reg = <0x40038000 0x1000>;
245 clock-names = "ftm_sys", "ftm_ext",
246 "ftm_fix", "ftm_cnt_clk_en";
247 clocks = <&clks VF610_CLK_FTM0>,
248 <&clks VF610_CLK_FTM0_EXT_SEL>,
249 <&clks VF610_CLK_FTM0_FIX_SEL>,
250 <&clks VF610_CLK_FTM0_EXT_FIX_EN>;
251 status = "disabled";
252 };
253
254 pwm1: pwm@40039000 {
255 compatible = "fsl,vf610-ftm-pwm";
256 #pwm-cells = <3>;
257 reg = <0x40039000 0x1000>;
258 clock-names = "ftm_sys", "ftm_ext",
259 "ftm_fix", "ftm_cnt_clk_en";
260 clocks = <&clks VF610_CLK_FTM1>,
261 <&clks VF610_CLK_FTM1_EXT_SEL>,
262 <&clks VF610_CLK_FTM1_FIX_SEL>,
263 <&clks VF610_CLK_FTM1_EXT_FIX_EN>;
264 status = "disabled";
265 };
266
267 adc0: adc@4003b000 {
268 compatible = "fsl,vf610-adc";
269 reg = <0x4003b000 0x1000>;
Stefan Agnerc09d0f72015-03-01 23:41:29 +0100270 interrupts = <53 IRQ_TYPE_LEVEL_HIGH>;
Stefan Agnerefb45b32014-11-02 21:36:46 +0100271 clocks = <&clks VF610_CLK_ADC0>;
272 clock-names = "adc";
Sanchayan Maity9b1793a2015-07-16 20:43:19 +0530273 #io-channel-cells = <1>;
Stefan Agnerefb45b32014-11-02 21:36:46 +0100274 status = "disabled";
Stefan Agnerdef06412015-05-27 14:47:52 +0200275 fsl,adck-max-frequency = <30000000>, <40000000>,
276 <20000000>;
Stefan Agnerefb45b32014-11-02 21:36:46 +0100277 };
278
Stefan Agnerc134e092014-11-28 00:35:36 +0100279 wdoga5: wdog@4003e000 {
Stefan Agnerefb45b32014-11-02 21:36:46 +0100280 compatible = "fsl,vf610-wdt", "fsl,imx21-wdt";
281 reg = <0x4003e000 0x1000>;
Stefan Agnerc09d0f72015-03-01 23:41:29 +0100282 interrupts = <20 IRQ_TYPE_LEVEL_HIGH>;
Stefan Agnerefb45b32014-11-02 21:36:46 +0100283 clocks = <&clks VF610_CLK_WDT>;
284 clock-names = "wdog";
285 status = "disabled";
286 };
287
288 qspi0: quadspi@40044000 {
289 #address-cells = <1>;
290 #size-cells = <0>;
291 compatible = "fsl,vf610-qspi";
Cory Tusarf4b89232015-07-08 16:21:15 -0400292 reg = <0x40044000 0x1000>, <0x20000000 0x10000000>;
293 reg-names = "QuadSPI", "QuadSPI-memory";
Stefan Agnerc09d0f72015-03-01 23:41:29 +0100294 interrupts = <24 IRQ_TYPE_LEVEL_HIGH>;
Stefan Agnerefb45b32014-11-02 21:36:46 +0100295 clocks = <&clks VF610_CLK_QSPI0_EN>,
296 <&clks VF610_CLK_QSPI0>;
297 clock-names = "qspi_en", "qspi";
298 status = "disabled";
299 };
300
301 iomuxc: iomuxc@40048000 {
302 compatible = "fsl,vf610-iomuxc";
303 reg = <0x40048000 0x1000>;
Stefan Agnerefb45b32014-11-02 21:36:46 +0100304 };
305
Stefan Agner76713952015-01-16 18:06:15 +0100306 gpio0: gpio@40049000 {
Stefan Agnerefb45b32014-11-02 21:36:46 +0100307 compatible = "fsl,vf610-gpio";
308 reg = <0x40049000 0x1000 0x400ff000 0x40>;
309 gpio-controller;
310 #gpio-cells = <2>;
Stefan Agnerc09d0f72015-03-01 23:41:29 +0100311 interrupts = <107 IRQ_TYPE_LEVEL_HIGH>;
Stefan Agnerefb45b32014-11-02 21:36:46 +0100312 interrupt-controller;
313 #interrupt-cells = <2>;
314 gpio-ranges = <&iomuxc 0 0 32>;
315 };
316
Stefan Agner76713952015-01-16 18:06:15 +0100317 gpio1: gpio@4004a000 {
Stefan Agnerefb45b32014-11-02 21:36:46 +0100318 compatible = "fsl,vf610-gpio";
319 reg = <0x4004a000 0x1000 0x400ff040 0x40>;
320 gpio-controller;
321 #gpio-cells = <2>;
Stefan Agnerc09d0f72015-03-01 23:41:29 +0100322 interrupts = <108 IRQ_TYPE_LEVEL_HIGH>;
Stefan Agnerefb45b32014-11-02 21:36:46 +0100323 interrupt-controller;
324 #interrupt-cells = <2>;
325 gpio-ranges = <&iomuxc 0 32 32>;
326 };
327
Stefan Agner76713952015-01-16 18:06:15 +0100328 gpio2: gpio@4004b000 {
Stefan Agnerefb45b32014-11-02 21:36:46 +0100329 compatible = "fsl,vf610-gpio";
330 reg = <0x4004b000 0x1000 0x400ff080 0x40>;
331 gpio-controller;
332 #gpio-cells = <2>;
Stefan Agnerc09d0f72015-03-01 23:41:29 +0100333 interrupts = <109 IRQ_TYPE_LEVEL_HIGH>;
Stefan Agnerefb45b32014-11-02 21:36:46 +0100334 interrupt-controller;
335 #interrupt-cells = <2>;
336 gpio-ranges = <&iomuxc 0 64 32>;
337 };
338
Stefan Agner76713952015-01-16 18:06:15 +0100339 gpio3: gpio@4004c000 {
Stefan Agnerefb45b32014-11-02 21:36:46 +0100340 compatible = "fsl,vf610-gpio";
341 reg = <0x4004c000 0x1000 0x400ff0c0 0x40>;
342 gpio-controller;
343 #gpio-cells = <2>;
Stefan Agnerc09d0f72015-03-01 23:41:29 +0100344 interrupts = <110 IRQ_TYPE_LEVEL_HIGH>;
Stefan Agnerefb45b32014-11-02 21:36:46 +0100345 interrupt-controller;
346 #interrupt-cells = <2>;
347 gpio-ranges = <&iomuxc 0 96 32>;
348 };
349
Stefan Agner76713952015-01-16 18:06:15 +0100350 gpio4: gpio@4004d000 {
Stefan Agnerefb45b32014-11-02 21:36:46 +0100351 compatible = "fsl,vf610-gpio";
352 reg = <0x4004d000 0x1000 0x400ff100 0x40>;
353 gpio-controller;
354 #gpio-cells = <2>;
Stefan Agnerc09d0f72015-03-01 23:41:29 +0100355 interrupts = <111 IRQ_TYPE_LEVEL_HIGH>;
Stefan Agnerefb45b32014-11-02 21:36:46 +0100356 interrupt-controller;
357 #interrupt-cells = <2>;
358 gpio-ranges = <&iomuxc 0 128 7>;
359 };
360
361 anatop: anatop@40050000 {
362 compatible = "fsl,vf610-anatop", "syscon";
363 reg = <0x40050000 0x400>;
364 };
365
366 usbphy0: usbphy@40050800 {
367 compatible = "fsl,vf610-usbphy";
368 reg = <0x40050800 0x400>;
Stefan Agnerc09d0f72015-03-01 23:41:29 +0100369 interrupts = <50 IRQ_TYPE_LEVEL_HIGH>;
Stefan Agnerefb45b32014-11-02 21:36:46 +0100370 clocks = <&clks VF610_CLK_USBPHY0>;
371 fsl,anatop = <&anatop>;
372 status = "disabled";
373 };
374
375 usbphy1: usbphy@40050c00 {
376 compatible = "fsl,vf610-usbphy";
377 reg = <0x40050c00 0x400>;
Stefan Agnerc09d0f72015-03-01 23:41:29 +0100378 interrupts = <51 IRQ_TYPE_LEVEL_HIGH>;
Stefan Agnerefb45b32014-11-02 21:36:46 +0100379 clocks = <&clks VF610_CLK_USBPHY1>;
380 fsl,anatop = <&anatop>;
381 status = "disabled";
382 };
383
384 i2c0: i2c@40066000 {
385 #address-cells = <1>;
386 #size-cells = <0>;
387 compatible = "fsl,vf610-i2c";
388 reg = <0x40066000 0x1000>;
Stefan Agnerc09d0f72015-03-01 23:41:29 +0100389 interrupts = <71 IRQ_TYPE_LEVEL_HIGH>;
Stefan Agnerefb45b32014-11-02 21:36:46 +0100390 clocks = <&clks VF610_CLK_I2C0>;
391 clock-names = "ipg";
392 dmas = <&edma0 0 50>,
393 <&edma0 0 51>;
394 dma-names = "rx","tx";
395 status = "disabled";
396 };
397
Cory Tusar2d4e4a62015-06-14 20:19:59 -0400398 i2c1: i2c@40067000 {
399 #address-cells = <1>;
400 #size-cells = <0>;
401 compatible = "fsl,vf610-i2c";
402 reg = <0x40067000 0x1000>;
403 interrupts = <72 IRQ_TYPE_LEVEL_HIGH>;
404 clocks = <&clks VF610_CLK_I2C1>;
405 clock-names = "ipg";
406 dmas = <&edma0 0 52>,
407 <&edma0 0 53>;
408 dma-names = "rx","tx";
409 status = "disabled";
410 };
411
Stefan Agnerefb45b32014-11-02 21:36:46 +0100412 clks: ccm@4006b000 {
413 compatible = "fsl,vf610-ccm";
414 reg = <0x4006b000 0x1000>;
415 clocks = <&sxosc>, <&fxosc>;
416 clock-names = "sxosc", "fxosc";
417 #clock-cells = <1>;
418 };
419
420 usbdev0: usb@40034000 {
421 compatible = "fsl,vf610-usb", "fsl,imx27-usb";
422 reg = <0x40034000 0x800>;
Stefan Agnerc09d0f72015-03-01 23:41:29 +0100423 interrupts = <75 IRQ_TYPE_LEVEL_HIGH>;
Stefan Agnerefb45b32014-11-02 21:36:46 +0100424 clocks = <&clks VF610_CLK_USBC0>;
425 fsl,usbphy = <&usbphy0>;
426 fsl,usbmisc = <&usbmisc0 0>;
427 dr_mode = "peripheral";
428 status = "disabled";
429 };
430
431 usbmisc0: usb@40034800 {
432 #index-cells = <1>;
433 compatible = "fsl,vf610-usbmisc";
434 reg = <0x40034800 0x200>;
435 clocks = <&clks VF610_CLK_USBC0>;
436 status = "disabled";
437 };
Stefan Agner0d018d72014-12-02 18:11:59 +0100438
439 src: src@4006e000 {
440 compatible = "fsl,vf610-src", "syscon";
441 reg = <0x4006e000 0x1000>;
Stefan Agner53f643d2015-03-30 12:10:39 +0800442 interrupts = <96 IRQ_TYPE_LEVEL_HIGH>;
Stefan Agner0d018d72014-12-02 18:11:59 +0100443 };
Stefan Agnerefb45b32014-11-02 21:36:46 +0100444 };
445
446 aips1: aips-bus@40080000 {
447 compatible = "fsl,aips-bus", "simple-bus";
448 #address-cells = <1>;
449 #size-cells = <1>;
450 ranges;
451
452 edma1: dma-controller@40098000 {
453 #dma-cells = <2>;
454 compatible = "fsl,vf610-edma";
455 reg = <0x40098000 0x2000>,
456 <0x400a1000 0x1000>,
457 <0x400a2000 0x1000>;
458 dma-channels = <32>;
Stefan Agnerc09d0f72015-03-01 23:41:29 +0100459 interrupts = <10 IRQ_TYPE_LEVEL_HIGH>,
460 <11 IRQ_TYPE_LEVEL_HIGH>;
461 interrupt-names = "edma-tx", "edma-err";
Stefan Agnerefb45b32014-11-02 21:36:46 +0100462 clock-names = "dmamux0", "dmamux1";
463 clocks = <&clks VF610_CLK_DMAMUX2>,
464 <&clks VF610_CLK_DMAMUX3>;
465 status = "disabled";
466 };
467
Sanchayan Maity8455dd02015-01-07 12:39:30 +0530468 snvs0: snvs@400a7000 {
Frank Li95d739b2015-05-27 00:25:59 +0800469 compatible = "fsl,sec-v4.0-mon", "syscon", "simple-mfd";
470 reg = <0x400a7000 0x2000>;
Sanchayan Maity8455dd02015-01-07 12:39:30 +0530471
Frank Li95d739b2015-05-27 00:25:59 +0800472 snvsrtc: snvs-rtc-lp {
Sanchayan Maity8455dd02015-01-07 12:39:30 +0530473 compatible = "fsl,sec-v4.0-mon-rtc-lp";
Frank Li95d739b2015-05-27 00:25:59 +0800474 regmap = <&snvs0>;
475 offset = <0x34>;
Stefan Agner53f643d2015-03-30 12:10:39 +0800476 interrupts = <100 IRQ_TYPE_LEVEL_HIGH>;
Sanchayan Maity8455dd02015-01-07 12:39:30 +0530477 clocks = <&clks VF610_CLK_SNVS>;
478 clock-names = "snvs-rtc";
479 };
480 };
481
Stefan Agnerefb45b32014-11-02 21:36:46 +0100482 uart4: serial@400a9000 {
483 compatible = "fsl,vf610-lpuart";
484 reg = <0x400a9000 0x1000>;
Stefan Agnerc09d0f72015-03-01 23:41:29 +0100485 interrupts = <65 IRQ_TYPE_LEVEL_HIGH>;
Stefan Agnerefb45b32014-11-02 21:36:46 +0100486 clocks = <&clks VF610_CLK_UART4>;
487 clock-names = "ipg";
488 status = "disabled";
489 };
490
491 uart5: serial@400aa000 {
492 compatible = "fsl,vf610-lpuart";
493 reg = <0x400aa000 0x1000>;
Stefan Agnerc09d0f72015-03-01 23:41:29 +0100494 interrupts = <66 IRQ_TYPE_LEVEL_HIGH>;
Stefan Agnerefb45b32014-11-02 21:36:46 +0100495 clocks = <&clks VF610_CLK_UART5>;
496 clock-names = "ipg";
497 status = "disabled";
498 };
499
Cory Tusar5f060c72015-11-18 22:54:40 -0500500 dspi2: dspi2@400ac000 {
501 #address-cells = <1>;
502 #size-cells = <0>;
503 compatible = "fsl,vf610-dspi";
504 reg = <0x400ac000 0x1000>;
505 interrupts = <69 IRQ_TYPE_LEVEL_HIGH>;
506 clocks = <&clks VF610_CLK_DSPI2>;
507 clock-names = "dspi";
508 spi-num-chipselects = <2>;
509 status = "disabled";
510 };
511
512 dspi3: dspi3@400ad000 {
513 #address-cells = <1>;
514 #size-cells = <0>;
515 compatible = "fsl,vf610-dspi";
516 reg = <0x400ad000 0x1000>;
517 interrupts = <70 IRQ_TYPE_LEVEL_HIGH>;
518 clocks = <&clks VF610_CLK_DSPI3>;
519 clock-names = "dspi";
520 spi-num-chipselects = <2>;
521 status = "disabled";
522 };
523
Stefan Agnerefb45b32014-11-02 21:36:46 +0100524 adc1: adc@400bb000 {
525 compatible = "fsl,vf610-adc";
526 reg = <0x400bb000 0x1000>;
Stefan Agnerc09d0f72015-03-01 23:41:29 +0100527 interrupts = <54 IRQ_TYPE_LEVEL_HIGH>;
Stefan Agnerefb45b32014-11-02 21:36:46 +0100528 clocks = <&clks VF610_CLK_ADC1>;
529 clock-names = "adc";
Sanchayan Maity9b1793a2015-07-16 20:43:19 +0530530 #io-channel-cells = <1>;
Stefan Agnerefb45b32014-11-02 21:36:46 +0100531 status = "disabled";
Sanchayan Maity3fa2f942015-10-18 11:18:48 +0530532 fsl,adck-max-frequency = <30000000>, <40000000>,
533 <20000000>;
Stefan Agnerefb45b32014-11-02 21:36:46 +0100534 };
535
Cory Tusar3b7816b2015-07-08 16:51:06 -0400536 esdhc0: esdhc@400b1000 {
537 compatible = "fsl,imx53-esdhc";
538 reg = <0x400b1000 0x1000>;
539 interrupts = <27 IRQ_TYPE_LEVEL_HIGH>;
540 clocks = <&clks VF610_CLK_IPG_BUS>,
541 <&clks VF610_CLK_PLATFORM_BUS>,
542 <&clks VF610_CLK_ESDHC0>;
543 clock-names = "ipg", "ahb", "per";
544 status = "disabled";
545 };
546
Stefan Agnerefb45b32014-11-02 21:36:46 +0100547 esdhc1: esdhc@400b2000 {
548 compatible = "fsl,imx53-esdhc";
549 reg = <0x400b2000 0x1000>;
Stefan Agnerc09d0f72015-03-01 23:41:29 +0100550 interrupts = <28 IRQ_TYPE_LEVEL_HIGH>;
Stefan Agnerefb45b32014-11-02 21:36:46 +0100551 clocks = <&clks VF610_CLK_IPG_BUS>,
552 <&clks VF610_CLK_PLATFORM_BUS>,
553 <&clks VF610_CLK_ESDHC1>;
554 clock-names = "ipg", "ahb", "per";
555 status = "disabled";
556 };
557
558 usbh1: usb@400b4000 {
559 compatible = "fsl,vf610-usb", "fsl,imx27-usb";
560 reg = <0x400b4000 0x800>;
Stefan Agnerc09d0f72015-03-01 23:41:29 +0100561 interrupts = <76 IRQ_TYPE_LEVEL_HIGH>;
Stefan Agnerefb45b32014-11-02 21:36:46 +0100562 clocks = <&clks VF610_CLK_USBC1>;
563 fsl,usbphy = <&usbphy1>;
564 fsl,usbmisc = <&usbmisc1 0>;
565 dr_mode = "host";
566 status = "disabled";
567 };
568
569 usbmisc1: usb@400b4800 {
570 #index-cells = <1>;
571 compatible = "fsl,vf610-usbmisc";
572 reg = <0x400b4800 0x200>;
573 clocks = <&clks VF610_CLK_USBC1>;
574 status = "disabled";
575 };
576
577 ftm: ftm@400b8000 {
578 compatible = "fsl,ftm-timer";
579 reg = <0x400b8000 0x1000 0x400b9000 0x1000>;
Stefan Agnerc09d0f72015-03-01 23:41:29 +0100580 interrupts = <44 IRQ_TYPE_LEVEL_HIGH>;
Stefan Agnerefb45b32014-11-02 21:36:46 +0100581 clock-names = "ftm-evt", "ftm-src",
582 "ftm-evt-counter-en", "ftm-src-counter-en";
583 clocks = <&clks VF610_CLK_FTM2>,
584 <&clks VF610_CLK_FTM3>,
585 <&clks VF610_CLK_FTM2_EXT_FIX_EN>,
586 <&clks VF610_CLK_FTM3_EXT_FIX_EN>;
587 status = "disabled";
588 };
589
Cory Tusar6f5e6962015-07-08 16:21:16 -0400590 qspi1: quadspi@400c4000 {
591 #address-cells = <1>;
592 #size-cells = <0>;
593 compatible = "fsl,vf610-qspi";
594 reg = <0x400c4000 0x1000>, <0x50000000 0x10000000>;
595 reg-names = "QuadSPI", "QuadSPI-memory";
596 interrupts = <25 IRQ_TYPE_LEVEL_HIGH>;
597 clocks = <&clks VF610_CLK_QSPI1_EN>,
598 <&clks VF610_CLK_QSPI1>;
599 clock-names = "qspi_en", "qspi";
600 status = "disabled";
601 };
602
Stefan Agnerefb45b32014-11-02 21:36:46 +0100603 fec0: ethernet@400d0000 {
604 compatible = "fsl,mvf600-fec";
605 reg = <0x400d0000 0x1000>;
Stefan Agnerc09d0f72015-03-01 23:41:29 +0100606 interrupts = <78 IRQ_TYPE_LEVEL_HIGH>;
Stefan Agnerefb45b32014-11-02 21:36:46 +0100607 clocks = <&clks VF610_CLK_ENET0>,
608 <&clks VF610_CLK_ENET0>,
609 <&clks VF610_CLK_ENET>;
610 clock-names = "ipg", "ahb", "ptp";
611 status = "disabled";
612 };
613
614 fec1: ethernet@400d1000 {
615 compatible = "fsl,mvf600-fec";
616 reg = <0x400d1000 0x1000>;
Stefan Agnerc09d0f72015-03-01 23:41:29 +0100617 interrupts = <79 IRQ_TYPE_LEVEL_HIGH>;
Stefan Agnerefb45b32014-11-02 21:36:46 +0100618 clocks = <&clks VF610_CLK_ENET1>,
619 <&clks VF610_CLK_ENET1>,
620 <&clks VF610_CLK_ENET>;
621 clock-names = "ipg", "ahb", "ptp";
622 status = "disabled";
623 };
624
625 can1: flexcan@400d4000 {
626 compatible = "fsl,vf610-flexcan";
627 reg = <0x400d4000 0x4000>;
Stefan Agnerc09d0f72015-03-01 23:41:29 +0100628 interrupts = <59 IRQ_TYPE_LEVEL_HIGH>;
Stefan Agnerefb45b32014-11-02 21:36:46 +0100629 clocks = <&clks VF610_CLK_FLEXCAN1>,
630 <&clks VF610_CLK_FLEXCAN1>;
631 clock-names = "ipg", "per";
632 status = "disabled";
633 };
634
Stefan Agnerbaeeb542015-10-07 16:58:35 -0700635 nfc: nand@400e0000 {
636 #address-cells = <1>;
637 #size-cells = <0>;
638 compatible = "fsl,vf610-nfc";
639 reg = <0x400e0000 0x4000>;
640 interrupts = <83 IRQ_TYPE_LEVEL_HIGH>;
641 clocks = <&clks VF610_CLK_NFC>;
642 clock-names = "nfc";
643 status = "disabled";
644 };
645
Cory Tusar2d4e4a62015-06-14 20:19:59 -0400646 i2c2: i2c@400e6000 {
647 #address-cells = <1>;
648 #size-cells = <0>;
649 compatible = "fsl,vf610-i2c";
650 reg = <0x400e6000 0x1000>;
651 interrupts = <73 IRQ_TYPE_LEVEL_HIGH>;
652 clocks = <&clks VF610_CLK_I2C2>;
653 clock-names = "ipg";
654 dmas = <&edma0 1 36>,
655 <&edma0 1 37>;
656 dma-names = "rx","tx";
657 status = "disabled";
658 };
659
660 i2c3: i2c@400e7000 {
661 #address-cells = <1>;
662 #size-cells = <0>;
663 compatible = "fsl,vf610-i2c";
664 reg = <0x400e7000 0x1000>;
665 interrupts = <74 IRQ_TYPE_LEVEL_HIGH>;
666 clocks = <&clks VF610_CLK_I2C3>;
667 clock-names = "ipg";
668 dmas = <&edma0 1 38>,
669 <&edma0 1 39>;
670 dma-names = "rx","tx";
671 status = "disabled";
672 };
Stefan Agnerefb45b32014-11-02 21:36:46 +0100673 };
674 };
675};