blob: 183943e25ef8c6cce0864f7a39ab4867397d6d48 [file] [log] [blame]
Jingchang Lud02e1342013-05-28 17:12:22 +08001/*
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 "skeleton.dtsi"
11#include "vf610-pinfunc.h"
12#include <dt-bindings/clock/vf610-clock.h>
13
14/ {
15 aliases {
16 serial0 = &uart0;
17 serial1 = &uart1;
18 serial2 = &uart2;
19 serial3 = &uart3;
20 serial4 = &uart4;
21 serial5 = &uart5;
22 gpio0 = &gpio1;
23 gpio1 = &gpio2;
24 gpio2 = &gpio3;
25 gpio3 = &gpio4;
26 gpio4 = &gpio5;
27 };
28
29 cpus {
30 #address-cells = <1>;
31 #size-cells = <0>;
32
33 cpu@0 {
34 compatible = "arm,cortex-a5";
35 device_type = "cpu";
36 reg = <0x0>;
37 next-level-cache = <&L2>;
38 };
39 };
40
41 clocks {
42 #address-cells = <1>;
43 #size-cells = <0>;
44
45 sxosc {
46 compatible = "fixed-clock";
47 clock-frequency = <32768>;
48 };
49
50 fxosc {
51 compatible = "fixed-clock";
52 clock-frequency = <24000000>;
53 };
54 };
55
56 soc {
57 #address-cells = <1>;
58 #size-cells = <1>;
59 compatible = "simple-bus";
60 interrupt-parent = <&intc>;
61 ranges;
62
63 aips0: aips-bus@40000000 {
64 compatible = "fsl,aips-bus", "simple-bus";
65 #address-cells = <1>;
66 #size-cells = <1>;
67 interrupt-parent = <&intc>;
68 reg = <0x40000000 0x70000>;
69 ranges;
70
71 intc: interrupt-controller@40002000 {
72 compatible = "arm,cortex-a9-gic";
73 #interrupt-cells = <3>;
74 #address-cells = <1>;
75 #size-cells = <1>;
76 interrupt-controller;
77 reg = <0x40003000 0x1000>,
78 <0x40002100 0x100>;
79 };
80
81 L2: l2-cache@40006000 {
82 compatible = "arm,pl310-cache";
83 reg = <0x40006000 0x1000>;
84 cache-unified;
85 cache-level = <2>;
86 arm,data-latency = <1 1 1>;
87 arm,tag-latency = <2 2 2>;
88 };
89
90 uart0: serial@40027000 {
91 compatible = "fsl,vf610-lpuart";
92 reg = <0x40027000 0x1000>;
93 interrupts = <0 61 0x00>;
94 clocks = <&clks VF610_CLK_UART0>;
95 clock-names = "ipg";
96 status = "disabled";
97 };
98
99 uart1: serial@40028000 {
100 compatible = "fsl,vf610-lpuart";
101 reg = <0x40028000 0x1000>;
102 interrupts = <0 62 0x04>;
103 clocks = <&clks VF610_CLK_UART1>;
104 clock-names = "ipg";
105 status = "disabled";
106 };
107
108 uart2: serial@40029000 {
109 compatible = "fsl,vf610-lpuart";
110 reg = <0x40029000 0x1000>;
111 interrupts = <0 63 0x04>;
112 clocks = <&clks VF610_CLK_UART2>;
113 clock-names = "ipg";
114 status = "disabled";
115 };
116
117 uart3: serial@4002a000 {
118 compatible = "fsl,vf610-lpuart";
119 reg = <0x4002a000 0x1000>;
120 interrupts = <0 64 0x04>;
121 clocks = <&clks VF610_CLK_UART3>;
122 clock-names = "ipg";
123 status = "disabled";
124 };
125
Chao Fud7a9d8e22013-08-30 11:19:48 +0800126 dspi0: dspi0@4002c000 {
127 #address-cells = <1>;
128 #size-cells = <0>;
129 compatible = "fsl,vf610-dspi";
130 reg = <0x4002c000 0x1000>;
131 interrupts = <0 67 0x04>;
132 clocks = <&clks VF610_CLK_DSPI0>;
133 clock-names = "dspi";
134 spi-num-chipselects = <5>;
135 status = "disabled";
136 };
137
Jingchang Lud02e1342013-05-28 17:12:22 +0800138 sai2: sai@40031000 {
139 compatible = "fsl,vf610-sai";
140 reg = <0x40031000 0x1000>;
141 interrupts = <0 86 0x04>;
142 clocks = <&clks VF610_CLK_SAI2>;
143 clock-names = "sai";
144 status = "disabled";
145 };
146
147 pit: pit@40037000 {
148 compatible = "fsl,vf610-pit";
149 reg = <0x40037000 0x1000>;
150 interrupts = <0 39 0x04>;
151 clocks = <&clks VF610_CLK_PIT>;
152 clock-names = "pit";
153 };
154
155 wdog@4003e000 {
156 compatible = "fsl,vf610-wdt", "fsl,imx21-wdt";
157 reg = <0x4003e000 0x1000>;
158 clocks = <&clks VF610_CLK_WDT>;
159 clock-names = "wdog";
160 };
161
162 qspi0: quadspi@40044000 {
163 #address-cells = <1>;
164 #size-cells = <0>;
165 compatible = "fsl,vf610-qspi";
166 reg = <0x40044000 0x1000>;
167 interrupts = <0 24 0x04>;
168 clocks = <&clks VF610_CLK_QSPI0_EN>,
169 <&clks VF610_CLK_QSPI0>;
170 clock-names = "qspi_en", "qspi";
171 status = "disabled";
172 };
173
174 iomuxc: iomuxc@40048000 {
175 compatible = "fsl,vf610-iomuxc";
176 reg = <0x40048000 0x1000>;
Stephen Warren36af8f32013-06-13 14:59:53 -0600177 #gpio-range-cells = <3>;
Jingchang Lud02e1342013-05-28 17:12:22 +0800178 };
179
180 gpio1: gpio@40049000 {
181 compatible = "fsl,vf610-gpio";
182 reg = <0x40049000 0x1000 0x400ff000 0x40>;
183 interrupts = <0 107 0x04>;
184 gpio-controller;
185 #gpio-cells = <2>;
186 interrupt-controller;
187 #interrupt-cells = <2>;
Stephen Warren36af8f32013-06-13 14:59:53 -0600188 gpio-ranges = <&iomuxc 0 0 32>;
Jingchang Lud02e1342013-05-28 17:12:22 +0800189 };
190
191 gpio2: gpio@4004a000 {
192 compatible = "fsl,vf610-gpio";
193 reg = <0x4004a000 0x1000 0x400ff040 0x40>;
194 interrupts = <0 108 0x04>;
195 gpio-controller;
196 #gpio-cells = <2>;
197 interrupt-controller;
198 #interrupt-cells = <2>;
Stephen Warren36af8f32013-06-13 14:59:53 -0600199 gpio-ranges = <&iomuxc 0 32 32>;
Jingchang Lud02e1342013-05-28 17:12:22 +0800200 };
201
202 gpio3: gpio@4004b000 {
203 compatible = "fsl,vf610-gpio";
204 reg = <0x4004b000 0x1000 0x400ff080 0x40>;
205 interrupts = <0 109 0x04>;
206 gpio-controller;
207 #gpio-cells = <2>;
208 interrupt-controller;
209 #interrupt-cells = <2>;
Stephen Warren36af8f32013-06-13 14:59:53 -0600210 gpio-ranges = <&iomuxc 0 64 32>;
Jingchang Lud02e1342013-05-28 17:12:22 +0800211 };
212
213 gpio4: gpio@4004c000 {
214 compatible = "fsl,vf610-gpio";
215 reg = <0x4004c000 0x1000 0x400ff0c0 0x40>;
216 interrupts = <0 110 0x04>;
217 gpio-controller;
218 #gpio-cells = <2>;
219 interrupt-controller;
220 #interrupt-cells = <2>;
Stephen Warren36af8f32013-06-13 14:59:53 -0600221 gpio-ranges = <&iomuxc 0 96 32>;
Jingchang Lud02e1342013-05-28 17:12:22 +0800222 };
223
224 gpio5: gpio@4004d000 {
225 compatible = "fsl,vf610-gpio";
226 reg = <0x4004d000 0x1000 0x400ff100 0x40>;
227 interrupts = <0 111 0x04>;
228 gpio-controller;
229 #gpio-cells = <2>;
230 interrupt-controller;
231 #interrupt-cells = <2>;
Stephen Warren36af8f32013-06-13 14:59:53 -0600232 gpio-ranges = <&iomuxc 0 128 7>;
Jingchang Lud02e1342013-05-28 17:12:22 +0800233 };
234
235 anatop@40050000 {
236 compatible = "fsl,vf610-anatop";
237 reg = <0x40050000 0x1000>;
238 };
239
240 i2c0: i2c@40066000 {
241 #address-cells = <1>;
242 #size-cells = <0>;
243 compatible = "fsl,vf610-i2c";
244 reg = <0x40066000 0x1000>;
245 interrupts =<0 71 0x04>;
246 clocks = <&clks VF610_CLK_I2C0>;
247 clock-names = "ipg";
248 status = "disabled";
249 };
250
251 clks: ccm@4006b000 {
252 compatible = "fsl,vf610-ccm";
253 reg = <0x4006b000 0x1000>;
254 #clock-cells = <1>;
255 };
256 };
257
258 aips1: aips-bus@40080000 {
259 compatible = "fsl,aips-bus", "simple-bus";
260 #address-cells = <1>;
261 #size-cells = <1>;
262 reg = <0x40080000 0x80000>;
263 ranges;
264
265 uart4: serial@400a9000 {
266 compatible = "fsl,vf610-lpuart";
267 reg = <0x400a9000 0x1000>;
268 interrupts = <0 65 0x04>;
269 clocks = <&clks VF610_CLK_UART4>;
270 clock-names = "ipg";
271 status = "disabled";
272 };
273
274 uart5: serial@400aa000 {
275 compatible = "fsl,vf610-lpuart";
276 reg = <0x400aa000 0x1000>;
277 interrupts = <0 66 0x04>;
278 clocks = <&clks VF610_CLK_UART5>;
279 clock-names = "ipg";
280 status = "disabled";
281 };
282
283 fec0: ethernet@400d0000 {
284 compatible = "fsl,mvf600-fec";
285 reg = <0x400d0000 0x1000>;
286 interrupts = <0 78 0x04>;
Shawn Guo4f716122013-07-10 14:05:44 +0800287 clocks = <&clks VF610_CLK_ENET0>,
288 <&clks VF610_CLK_ENET0>,
Jingchang Lud02e1342013-05-28 17:12:22 +0800289 <&clks VF610_CLK_ENET>;
290 clock-names = "ipg", "ahb", "ptp";
291 status = "disabled";
292 };
293
294 fec1: ethernet@400d1000 {
295 compatible = "fsl,mvf600-fec";
296 reg = <0x400d1000 0x1000>;
297 interrupts = <0 79 0x04>;
Shawn Guo4f716122013-07-10 14:05:44 +0800298 clocks = <&clks VF610_CLK_ENET1>,
299 <&clks VF610_CLK_ENET1>,
Jingchang Lud02e1342013-05-28 17:12:22 +0800300 <&clks VF610_CLK_ENET>;
301 clock-names = "ipg", "ahb", "ptp";
302 status = "disabled";
303 };
304 };
305 };
306};