blob: e6f8f7de3907aa9974113a95dffb7707106ed04a [file] [log] [blame]
Sascha Hauer9f0749e2012-02-28 21:57:50 +01001/*
2 * Copyright 2012 Sascha Hauer, Pengutronix
3 *
4 * The code contained herein is licensed under the GNU General Public
5 * License. You may obtain a copy of the GNU General Public License
6 * Version 2 or later at the following locations:
7 *
8 * http://www.opensource.org/licenses/gpl-license.html
9 * http://www.gnu.org/copyleft/gpl.html
10 */
11
Shawn Guo36dffd82013-04-07 10:49:34 +080012#include "skeleton.dtsi"
Sascha Hauer9f0749e2012-02-28 21:57:50 +010013
14/ {
15 aliases {
16 serial0 = &uart1;
17 serial1 = &uart2;
18 serial2 = &uart3;
19 serial3 = &uart4;
20 serial4 = &uart5;
21 serial5 = &uart6;
Shawn Guo5230f8f2012-08-05 14:01:28 +080022 gpio0 = &gpio1;
23 gpio1 = &gpio2;
24 gpio2 = &gpio3;
25 gpio3 = &gpio4;
26 gpio4 = &gpio5;
27 gpio5 = &gpio6;
Alexander Shiyana5a641a2013-05-01 14:46:57 +040028 spi0 = &cspi1;
29 spi1 = &cspi2;
30 spi2 = &cspi3;
Sascha Hauer9f0749e2012-02-28 21:57:50 +010031 };
32
33 avic: avic-interrupt-controller@e0000000 {
34 compatible = "fsl,imx27-avic", "fsl,avic";
35 interrupt-controller;
36 #interrupt-cells = <1>;
37 reg = <0x10040000 0x1000>;
38 };
39
40 clocks {
41 #address-cells = <1>;
42 #size-cells = <0>;
43
44 osc26m {
45 compatible = "fsl,imx-osc26m", "fixed-clock";
46 clock-frequency = <26000000>;
47 };
48 };
49
50 soc {
51 #address-cells = <1>;
52 #size-cells = <1>;
53 compatible = "simple-bus";
54 interrupt-parent = <&avic>;
55 ranges;
56
57 aipi@10000000 { /* AIPI1 */
58 compatible = "fsl,aipi-bus", "simple-bus";
59 #address-cells = <1>;
60 #size-cells = <1>;
Fabio Estevam3e24b052012-11-21 17:19:38 -020061 reg = <0x10000000 0x20000>;
Sascha Hauer9f0749e2012-02-28 21:57:50 +010062 ranges;
63
Alexander Shiyanb858c342013-06-08 18:39:36 +040064 dma: dma@10001000 {
65 compatible = "fsl,imx27-dma";
66 reg = <0x10001000 0x1000>;
67 interrupts = <32>;
68 clocks = <&clks 50>, <&clks 70>;
69 clock-names = "ipg", "ahb";
70 #dma-cells = <1>;
71 #dma-channels = <16>;
72 };
73
Sascha Hauer7b7d6722012-11-15 09:31:52 +010074 wdog: wdog@10002000 {
Sascha Hauer9f0749e2012-02-28 21:57:50 +010075 compatible = "fsl,imx27-wdt", "fsl,imx21-wdt";
Sascha Hauerca26d042013-03-14 13:08:57 +010076 reg = <0x10002000 0x1000>;
Sascha Hauer9f0749e2012-02-28 21:57:50 +010077 interrupts = <27>;
Fabio Estevamc20736f2012-11-28 15:55:30 -020078 clocks = <&clks 0>;
Sascha Hauer9f0749e2012-02-28 21:57:50 +010079 };
80
Sascha Hauerca26d042013-03-14 13:08:57 +010081 gpt1: timer@10003000 {
82 compatible = "fsl,imx27-gpt", "fsl,imx1-gpt";
83 reg = <0x10003000 0x1000>;
84 interrupts = <26>;
Sascha Hauerb700c112013-03-14 13:09:02 +010085 clocks = <&clks 46>, <&clks 61>;
86 clock-names = "ipg", "per";
Sascha Hauerca26d042013-03-14 13:08:57 +010087 };
88
89 gpt2: timer@10004000 {
90 compatible = "fsl,imx27-gpt", "fsl,imx1-gpt";
91 reg = <0x10004000 0x1000>;
92 interrupts = <25>;
Sascha Hauerb700c112013-03-14 13:09:02 +010093 clocks = <&clks 45>, <&clks 61>;
94 clock-names = "ipg", "per";
Sascha Hauerca26d042013-03-14 13:08:57 +010095 };
96
97 gpt3: timer@10005000 {
98 compatible = "fsl,imx27-gpt", "fsl,imx1-gpt";
99 reg = <0x10005000 0x1000>;
100 interrupts = <24>;
Sascha Hauerb700c112013-03-14 13:09:02 +0100101 clocks = <&clks 44>, <&clks 61>;
102 clock-names = "ipg", "per";
Sascha Hauerca26d042013-03-14 13:08:57 +0100103 };
104
Alexander Shiyana392d042013-06-23 10:54:47 +0400105 pwm: pwm@10006000 {
Gwenhael Goavec-Merou08f4881a2013-04-14 09:44:25 +0200106 compatible = "fsl,imx27-pwm";
107 reg = <0x10006000 0x1000>;
108 interrupts = <23>;
109 clocks = <&clks 34>, <&clks 61>;
110 clock-names = "ipg", "per";
111 };
112
Shawn Guo0c456cf2012-04-02 14:39:26 +0800113 uart1: serial@1000a000 {
Sascha Hauer9f0749e2012-02-28 21:57:50 +0100114 compatible = "fsl,imx27-uart", "fsl,imx21-uart";
115 reg = <0x1000a000 0x1000>;
116 interrupts = <20>;
Fabio Estevamc20736f2012-11-28 15:55:30 -0200117 clocks = <&clks 81>, <&clks 61>;
118 clock-names = "ipg", "per";
Sascha Hauer9f0749e2012-02-28 21:57:50 +0100119 status = "disabled";
120 };
121
Shawn Guo0c456cf2012-04-02 14:39:26 +0800122 uart2: serial@1000b000 {
Sascha Hauer9f0749e2012-02-28 21:57:50 +0100123 compatible = "fsl,imx27-uart", "fsl,imx21-uart";
124 reg = <0x1000b000 0x1000>;
125 interrupts = <19>;
Fabio Estevamc20736f2012-11-28 15:55:30 -0200126 clocks = <&clks 80>, <&clks 61>;
127 clock-names = "ipg", "per";
Sascha Hauer9f0749e2012-02-28 21:57:50 +0100128 status = "disabled";
129 };
130
Shawn Guo0c456cf2012-04-02 14:39:26 +0800131 uart3: serial@1000c000 {
Sascha Hauer9f0749e2012-02-28 21:57:50 +0100132 compatible = "fsl,imx27-uart", "fsl,imx21-uart";
133 reg = <0x1000c000 0x1000>;
134 interrupts = <18>;
Fabio Estevamc20736f2012-11-28 15:55:30 -0200135 clocks = <&clks 79>, <&clks 61>;
136 clock-names = "ipg", "per";
Sascha Hauer9f0749e2012-02-28 21:57:50 +0100137 status = "disabled";
138 };
139
Shawn Guo0c456cf2012-04-02 14:39:26 +0800140 uart4: serial@1000d000 {
Sascha Hauer9f0749e2012-02-28 21:57:50 +0100141 compatible = "fsl,imx27-uart", "fsl,imx21-uart";
142 reg = <0x1000d000 0x1000>;
143 interrupts = <17>;
Fabio Estevamc20736f2012-11-28 15:55:30 -0200144 clocks = <&clks 78>, <&clks 61>;
145 clock-names = "ipg", "per";
Sascha Hauer9f0749e2012-02-28 21:57:50 +0100146 status = "disabled";
147 };
148
149 cspi1: cspi@1000e000 {
150 #address-cells = <1>;
151 #size-cells = <0>;
152 compatible = "fsl,imx27-cspi";
153 reg = <0x1000e000 0x1000>;
154 interrupts = <16>;
Jonas Andersson37523dc2013-05-23 13:38:05 +0200155 clocks = <&clks 53>, <&clks 53>;
Fabio Estevamc20736f2012-11-28 15:55:30 -0200156 clock-names = "ipg", "per";
Sascha Hauer9f0749e2012-02-28 21:57:50 +0100157 status = "disabled";
158 };
159
160 cspi2: cspi@1000f000 {
161 #address-cells = <1>;
162 #size-cells = <0>;
163 compatible = "fsl,imx27-cspi";
164 reg = <0x1000f000 0x1000>;
165 interrupts = <15>;
Jonas Andersson37523dc2013-05-23 13:38:05 +0200166 clocks = <&clks 52>, <&clks 52>;
Fabio Estevamc20736f2012-11-28 15:55:30 -0200167 clock-names = "ipg", "per";
Sascha Hauer9f0749e2012-02-28 21:57:50 +0100168 status = "disabled";
169 };
170
171 i2c1: i2c@10012000 {
172 #address-cells = <1>;
173 #size-cells = <0>;
Shawn Guo5bdfba22012-09-14 15:19:00 +0800174 compatible = "fsl,imx27-i2c", "fsl,imx21-i2c";
Sascha Hauer9f0749e2012-02-28 21:57:50 +0100175 reg = <0x10012000 0x1000>;
176 interrupts = <12>;
Fabio Estevamc20736f2012-11-28 15:55:30 -0200177 clocks = <&clks 40>;
Sascha Hauer9f0749e2012-02-28 21:57:50 +0100178 status = "disabled";
179 };
180
Alexander Shiyan0e7b01a2013-06-08 18:39:37 +0400181 sdhci1: sdhci@10013000 {
182 compatible = "fsl,imx27-mmc", "fsl,imx21-mmc";
183 reg = <0x10013000 0x1000>;
184 interrupts = <11>;
185 clocks = <&clks 30>, <&clks 60>;
186 clock-names = "ipg", "per";
187 dmas = <&dma 7>;
188 dma-names = "rx-tx";
189 status = "disabled";
190 };
191
192 sdhci2: sdhci@10014000 {
193 compatible = "fsl,imx27-mmc", "fsl,imx21-mmc";
194 reg = <0x10014000 0x1000>;
195 interrupts = <10>;
196 clocks = <&clks 29>, <&clks 60>;
197 clock-names = "ipg", "per";
198 dmas = <&dma 6>;
199 dma-names = "rx-tx";
200 status = "disabled";
201 };
202
Sascha Hauer9f0749e2012-02-28 21:57:50 +0100203 gpio1: gpio@10015000 {
204 compatible = "fsl,imx27-gpio", "fsl,imx21-gpio";
205 reg = <0x10015000 0x100>;
206 interrupts = <8>;
207 gpio-controller;
208 #gpio-cells = <2>;
209 interrupt-controller;
Shawn Guo88cde8b2012-07-06 20:03:37 +0800210 #interrupt-cells = <2>;
Sascha Hauer9f0749e2012-02-28 21:57:50 +0100211 };
212
213 gpio2: gpio@10015100 {
214 compatible = "fsl,imx27-gpio", "fsl,imx21-gpio";
215 reg = <0x10015100 0x100>;
216 interrupts = <8>;
217 gpio-controller;
218 #gpio-cells = <2>;
219 interrupt-controller;
Shawn Guo88cde8b2012-07-06 20:03:37 +0800220 #interrupt-cells = <2>;
Sascha Hauer9f0749e2012-02-28 21:57:50 +0100221 };
222
223 gpio3: gpio@10015200 {
224 compatible = "fsl,imx27-gpio", "fsl,imx21-gpio";
225 reg = <0x10015200 0x100>;
226 interrupts = <8>;
227 gpio-controller;
228 #gpio-cells = <2>;
229 interrupt-controller;
Shawn Guo88cde8b2012-07-06 20:03:37 +0800230 #interrupt-cells = <2>;
Sascha Hauer9f0749e2012-02-28 21:57:50 +0100231 };
232
233 gpio4: gpio@10015300 {
234 compatible = "fsl,imx27-gpio", "fsl,imx21-gpio";
235 reg = <0x10015300 0x100>;
236 interrupts = <8>;
237 gpio-controller;
238 #gpio-cells = <2>;
239 interrupt-controller;
Shawn Guo88cde8b2012-07-06 20:03:37 +0800240 #interrupt-cells = <2>;
Sascha Hauer9f0749e2012-02-28 21:57:50 +0100241 };
242
243 gpio5: gpio@10015400 {
244 compatible = "fsl,imx27-gpio", "fsl,imx21-gpio";
245 reg = <0x10015400 0x100>;
246 interrupts = <8>;
247 gpio-controller;
248 #gpio-cells = <2>;
249 interrupt-controller;
Shawn Guo88cde8b2012-07-06 20:03:37 +0800250 #interrupt-cells = <2>;
Sascha Hauer9f0749e2012-02-28 21:57:50 +0100251 };
252
253 gpio6: gpio@10015500 {
254 compatible = "fsl,imx27-gpio", "fsl,imx21-gpio";
255 reg = <0x10015500 0x100>;
256 interrupts = <8>;
257 gpio-controller;
258 #gpio-cells = <2>;
259 interrupt-controller;
Shawn Guo88cde8b2012-07-06 20:03:37 +0800260 #interrupt-cells = <2>;
Sascha Hauer9f0749e2012-02-28 21:57:50 +0100261 };
262
Alexander Shiyan6e228e82013-06-23 10:54:46 +0400263 audmux: audmux@10016000 {
264 compatible = "fsl,imx27-audmux", "fsl,imx21-audmux";
265 reg = <0x10016000 0x1000>;
266 clocks = <&clks 0>;
267 clock-names = "audmux";
268 };
269
Sascha Hauer9f0749e2012-02-28 21:57:50 +0100270 cspi3: cspi@10017000 {
271 #address-cells = <1>;
272 #size-cells = <0>;
273 compatible = "fsl,imx27-cspi";
274 reg = <0x10017000 0x1000>;
275 interrupts = <6>;
Jonas Andersson37523dc2013-05-23 13:38:05 +0200276 clocks = <&clks 51>, <&clks 51>;
Fabio Estevamc20736f2012-11-28 15:55:30 -0200277 clock-names = "ipg", "per";
Sascha Hauer9f0749e2012-02-28 21:57:50 +0100278 status = "disabled";
279 };
280
Sascha Hauerca26d042013-03-14 13:08:57 +0100281 gpt4: timer@10019000 {
282 compatible = "fsl,imx27-gpt", "fsl,imx1-gpt";
283 reg = <0x10019000 0x1000>;
284 interrupts = <4>;
Sascha Hauerb700c112013-03-14 13:09:02 +0100285 clocks = <&clks 43>, <&clks 61>;
286 clock-names = "ipg", "per";
Sascha Hauerca26d042013-03-14 13:08:57 +0100287 };
288
289 gpt5: timer@1001a000 {
290 compatible = "fsl,imx27-gpt", "fsl,imx1-gpt";
291 reg = <0x1001a000 0x1000>;
292 interrupts = <3>;
Sascha Hauerb700c112013-03-14 13:09:02 +0100293 clocks = <&clks 42>, <&clks 61>;
294 clock-names = "ipg", "per";
Sascha Hauerca26d042013-03-14 13:08:57 +0100295 };
296
Shawn Guo0c456cf2012-04-02 14:39:26 +0800297 uart5: serial@1001b000 {
Sascha Hauer9f0749e2012-02-28 21:57:50 +0100298 compatible = "fsl,imx27-uart", "fsl,imx21-uart";
299 reg = <0x1001b000 0x1000>;
300 interrupts = <49>;
Fabio Estevamc20736f2012-11-28 15:55:30 -0200301 clocks = <&clks 77>, <&clks 61>;
302 clock-names = "ipg", "per";
Sascha Hauer9f0749e2012-02-28 21:57:50 +0100303 status = "disabled";
304 };
305
Shawn Guo0c456cf2012-04-02 14:39:26 +0800306 uart6: serial@1001c000 {
Sascha Hauer9f0749e2012-02-28 21:57:50 +0100307 compatible = "fsl,imx27-uart", "fsl,imx21-uart";
308 reg = <0x1001c000 0x1000>;
309 interrupts = <48>;
Fabio Estevamc20736f2012-11-28 15:55:30 -0200310 clocks = <&clks 78>, <&clks 61>;
311 clock-names = "ipg", "per";
Sascha Hauer9f0749e2012-02-28 21:57:50 +0100312 status = "disabled";
313 };
314
315 i2c2: i2c@1001d000 {
316 #address-cells = <1>;
317 #size-cells = <0>;
Shawn Guo5bdfba22012-09-14 15:19:00 +0800318 compatible = "fsl,imx27-i2c", "fsl,imx21-i2c";
Sascha Hauer9f0749e2012-02-28 21:57:50 +0100319 reg = <0x1001d000 0x1000>;
320 interrupts = <1>;
Fabio Estevamc20736f2012-11-28 15:55:30 -0200321 clocks = <&clks 39>;
Sascha Hauer9f0749e2012-02-28 21:57:50 +0100322 status = "disabled";
323 };
324
Alexander Shiyan0e7b01a2013-06-08 18:39:37 +0400325 sdhci3: sdhci@1001e000 {
326 compatible = "fsl,imx27-mmc", "fsl,imx21-mmc";
327 reg = <0x1001e000 0x1000>;
328 interrupts = <9>;
329 clocks = <&clks 28>, <&clks 60>;
330 clock-names = "ipg", "per";
331 dmas = <&dma 36>;
332 dma-names = "rx-tx";
333 status = "disabled";
334 };
335
Sascha Hauerca26d042013-03-14 13:08:57 +0100336 gpt6: timer@1001f000 {
337 compatible = "fsl,imx27-gpt", "fsl,imx1-gpt";
338 reg = <0x1001f000 0x1000>;
339 interrupts = <2>;
Sascha Hauerb700c112013-03-14 13:09:02 +0100340 clocks = <&clks 41>, <&clks 61>;
341 clock-names = "ipg", "per";
Sascha Hauerca26d042013-03-14 13:08:57 +0100342 };
Fabio Estevam3e24b052012-11-21 17:19:38 -0200343 };
344
345 aipi@10020000 { /* AIPI2 */
346 compatible = "fsl,aipi-bus", "simple-bus";
347 #address-cells = <1>;
348 #size-cells = <1>;
349 reg = <0x10020000 0x20000>;
350 ranges;
351
Alexander Shiyan93b331c2013-06-15 16:22:58 +0400352 coda: coda@10023000 {
353 compatible = "fsl,imx27-vpu";
354 reg = <0x10023000 0x0200>;
355 interrupts = <53>;
356 clocks = <&clks 57>, <&clks 66>;
357 clock-names = "per", "ahb";
358 iram = <&iram>;
359 };
360
Alexander Shiyane4b6a052013-06-23 10:54:45 +0400361 sahara2: sahara@10025000 {
362 compatible = "fsl,imx27-sahara";
363 reg = <0x10025000 0x1000>;
364 interrupts = <59>;
365 clocks = <&clks 32>, <&clks 64>;
366 clock-names = "ipg", "ahb";
367 };
368
Alexander Shiyan93b331c2013-06-15 16:22:58 +0400369 clks: ccm@10027000{
370 compatible = "fsl,imx27-ccm";
371 reg = <0x10027000 0x1000>;
372 #clock-cells = <1>;
373 };
374
Shawn Guo0c456cf2012-04-02 14:39:26 +0800375 fec: ethernet@1002b000 {
Sascha Hauer9f0749e2012-02-28 21:57:50 +0100376 compatible = "fsl,imx27-fec";
377 reg = <0x1002b000 0x4000>;
378 interrupts = <50>;
Fabio Estevamc20736f2012-11-28 15:55:30 -0200379 clocks = <&clks 48>, <&clks 67>, <&clks 0>;
380 clock-names = "ipg", "ahb", "ptp";
Sascha Hauer9f0749e2012-02-28 21:57:50 +0100381 status = "disabled";
382 };
383 };
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100384
Alexander Shiyan93b331c2013-06-15 16:22:58 +0400385 iram: iram@ffff4c00 {
386 compatible = "mmio-sram";
387 reg = <0xffff4c00 0xb400>;
388 };
Fabio Estevamc20736f2012-11-28 15:55:30 -0200389
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100390 nfc: nand@d8000000 {
Uwe Kleine-König37787362012-04-23 11:23:42 +0200391 #address-cells = <1>;
392 #size-cells = <1>;
Uwe Kleine-König37787362012-04-23 11:23:42 +0200393 compatible = "fsl,imx27-nand";
394 reg = <0xd8000000 0x1000>;
395 interrupts = <29>;
Fabio Estevamc20736f2012-11-28 15:55:30 -0200396 clocks = <&clks 54>;
Uwe Kleine-König37787362012-04-23 11:23:42 +0200397 status = "disabled";
398 };
Sascha Hauer9f0749e2012-02-28 21:57:50 +0100399 };
400};