blob: 7017bfe266e737e5802dc2aa557deb031a982487 [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
Sascha Hauer7b7d6722012-11-15 09:31:52 +010064 wdog: wdog@10002000 {
Sascha Hauer9f0749e2012-02-28 21:57:50 +010065 compatible = "fsl,imx27-wdt", "fsl,imx21-wdt";
Sascha Hauerca26d042013-03-14 13:08:57 +010066 reg = <0x10002000 0x1000>;
Sascha Hauer9f0749e2012-02-28 21:57:50 +010067 interrupts = <27>;
Fabio Estevamc20736f2012-11-28 15:55:30 -020068 clocks = <&clks 0>;
Sascha Hauer9f0749e2012-02-28 21:57:50 +010069 };
70
Sascha Hauerca26d042013-03-14 13:08:57 +010071 gpt1: timer@10003000 {
72 compatible = "fsl,imx27-gpt", "fsl,imx1-gpt";
73 reg = <0x10003000 0x1000>;
74 interrupts = <26>;
Sascha Hauerb700c112013-03-14 13:09:02 +010075 clocks = <&clks 46>, <&clks 61>;
76 clock-names = "ipg", "per";
Sascha Hauerca26d042013-03-14 13:08:57 +010077 };
78
79 gpt2: timer@10004000 {
80 compatible = "fsl,imx27-gpt", "fsl,imx1-gpt";
81 reg = <0x10004000 0x1000>;
82 interrupts = <25>;
Sascha Hauerb700c112013-03-14 13:09:02 +010083 clocks = <&clks 45>, <&clks 61>;
84 clock-names = "ipg", "per";
Sascha Hauerca26d042013-03-14 13:08:57 +010085 };
86
87 gpt3: timer@10005000 {
88 compatible = "fsl,imx27-gpt", "fsl,imx1-gpt";
89 reg = <0x10005000 0x1000>;
90 interrupts = <24>;
Sascha Hauerb700c112013-03-14 13:09:02 +010091 clocks = <&clks 44>, <&clks 61>;
92 clock-names = "ipg", "per";
Sascha Hauerca26d042013-03-14 13:08:57 +010093 };
94
Gwenhael Goavec-Merou08f4881a2013-04-14 09:44:25 +020095 pwm0: pwm@10006000 {
96 compatible = "fsl,imx27-pwm";
97 reg = <0x10006000 0x1000>;
98 interrupts = <23>;
99 clocks = <&clks 34>, <&clks 61>;
100 clock-names = "ipg", "per";
101 };
102
Shawn Guo0c456cf2012-04-02 14:39:26 +0800103 uart1: serial@1000a000 {
Sascha Hauer9f0749e2012-02-28 21:57:50 +0100104 compatible = "fsl,imx27-uart", "fsl,imx21-uart";
105 reg = <0x1000a000 0x1000>;
106 interrupts = <20>;
Fabio Estevamc20736f2012-11-28 15:55:30 -0200107 clocks = <&clks 81>, <&clks 61>;
108 clock-names = "ipg", "per";
Sascha Hauer9f0749e2012-02-28 21:57:50 +0100109 status = "disabled";
110 };
111
Shawn Guo0c456cf2012-04-02 14:39:26 +0800112 uart2: serial@1000b000 {
Sascha Hauer9f0749e2012-02-28 21:57:50 +0100113 compatible = "fsl,imx27-uart", "fsl,imx21-uart";
114 reg = <0x1000b000 0x1000>;
115 interrupts = <19>;
Fabio Estevamc20736f2012-11-28 15:55:30 -0200116 clocks = <&clks 80>, <&clks 61>;
117 clock-names = "ipg", "per";
Sascha Hauer9f0749e2012-02-28 21:57:50 +0100118 status = "disabled";
119 };
120
Shawn Guo0c456cf2012-04-02 14:39:26 +0800121 uart3: serial@1000c000 {
Sascha Hauer9f0749e2012-02-28 21:57:50 +0100122 compatible = "fsl,imx27-uart", "fsl,imx21-uart";
123 reg = <0x1000c000 0x1000>;
124 interrupts = <18>;
Fabio Estevamc20736f2012-11-28 15:55:30 -0200125 clocks = <&clks 79>, <&clks 61>;
126 clock-names = "ipg", "per";
Sascha Hauer9f0749e2012-02-28 21:57:50 +0100127 status = "disabled";
128 };
129
Shawn Guo0c456cf2012-04-02 14:39:26 +0800130 uart4: serial@1000d000 {
Sascha Hauer9f0749e2012-02-28 21:57:50 +0100131 compatible = "fsl,imx27-uart", "fsl,imx21-uart";
132 reg = <0x1000d000 0x1000>;
133 interrupts = <17>;
Fabio Estevamc20736f2012-11-28 15:55:30 -0200134 clocks = <&clks 78>, <&clks 61>;
135 clock-names = "ipg", "per";
Sascha Hauer9f0749e2012-02-28 21:57:50 +0100136 status = "disabled";
137 };
138
139 cspi1: cspi@1000e000 {
140 #address-cells = <1>;
141 #size-cells = <0>;
142 compatible = "fsl,imx27-cspi";
143 reg = <0x1000e000 0x1000>;
144 interrupts = <16>;
Jonas Andersson37523dc2013-05-23 13:38:05 +0200145 clocks = <&clks 53>, <&clks 53>;
Fabio Estevamc20736f2012-11-28 15:55:30 -0200146 clock-names = "ipg", "per";
Sascha Hauer9f0749e2012-02-28 21:57:50 +0100147 status = "disabled";
148 };
149
150 cspi2: cspi@1000f000 {
151 #address-cells = <1>;
152 #size-cells = <0>;
153 compatible = "fsl,imx27-cspi";
154 reg = <0x1000f000 0x1000>;
155 interrupts = <15>;
Jonas Andersson37523dc2013-05-23 13:38:05 +0200156 clocks = <&clks 52>, <&clks 52>;
Fabio Estevamc20736f2012-11-28 15:55:30 -0200157 clock-names = "ipg", "per";
Sascha Hauer9f0749e2012-02-28 21:57:50 +0100158 status = "disabled";
159 };
160
161 i2c1: i2c@10012000 {
162 #address-cells = <1>;
163 #size-cells = <0>;
Shawn Guo5bdfba22012-09-14 15:19:00 +0800164 compatible = "fsl,imx27-i2c", "fsl,imx21-i2c";
Sascha Hauer9f0749e2012-02-28 21:57:50 +0100165 reg = <0x10012000 0x1000>;
166 interrupts = <12>;
Fabio Estevamc20736f2012-11-28 15:55:30 -0200167 clocks = <&clks 40>;
Sascha Hauer9f0749e2012-02-28 21:57:50 +0100168 status = "disabled";
169 };
170
171 gpio1: gpio@10015000 {
172 compatible = "fsl,imx27-gpio", "fsl,imx21-gpio";
173 reg = <0x10015000 0x100>;
174 interrupts = <8>;
175 gpio-controller;
176 #gpio-cells = <2>;
177 interrupt-controller;
Shawn Guo88cde8b2012-07-06 20:03:37 +0800178 #interrupt-cells = <2>;
Sascha Hauer9f0749e2012-02-28 21:57:50 +0100179 };
180
181 gpio2: gpio@10015100 {
182 compatible = "fsl,imx27-gpio", "fsl,imx21-gpio";
183 reg = <0x10015100 0x100>;
184 interrupts = <8>;
185 gpio-controller;
186 #gpio-cells = <2>;
187 interrupt-controller;
Shawn Guo88cde8b2012-07-06 20:03:37 +0800188 #interrupt-cells = <2>;
Sascha Hauer9f0749e2012-02-28 21:57:50 +0100189 };
190
191 gpio3: gpio@10015200 {
192 compatible = "fsl,imx27-gpio", "fsl,imx21-gpio";
193 reg = <0x10015200 0x100>;
194 interrupts = <8>;
195 gpio-controller;
196 #gpio-cells = <2>;
197 interrupt-controller;
Shawn Guo88cde8b2012-07-06 20:03:37 +0800198 #interrupt-cells = <2>;
Sascha Hauer9f0749e2012-02-28 21:57:50 +0100199 };
200
201 gpio4: gpio@10015300 {
202 compatible = "fsl,imx27-gpio", "fsl,imx21-gpio";
203 reg = <0x10015300 0x100>;
204 interrupts = <8>;
205 gpio-controller;
206 #gpio-cells = <2>;
207 interrupt-controller;
Shawn Guo88cde8b2012-07-06 20:03:37 +0800208 #interrupt-cells = <2>;
Sascha Hauer9f0749e2012-02-28 21:57:50 +0100209 };
210
211 gpio5: gpio@10015400 {
212 compatible = "fsl,imx27-gpio", "fsl,imx21-gpio";
213 reg = <0x10015400 0x100>;
214 interrupts = <8>;
215 gpio-controller;
216 #gpio-cells = <2>;
217 interrupt-controller;
Shawn Guo88cde8b2012-07-06 20:03:37 +0800218 #interrupt-cells = <2>;
Sascha Hauer9f0749e2012-02-28 21:57:50 +0100219 };
220
221 gpio6: gpio@10015500 {
222 compatible = "fsl,imx27-gpio", "fsl,imx21-gpio";
223 reg = <0x10015500 0x100>;
224 interrupts = <8>;
225 gpio-controller;
226 #gpio-cells = <2>;
227 interrupt-controller;
Shawn Guo88cde8b2012-07-06 20:03:37 +0800228 #interrupt-cells = <2>;
Sascha Hauer9f0749e2012-02-28 21:57:50 +0100229 };
230
231 cspi3: cspi@10017000 {
232 #address-cells = <1>;
233 #size-cells = <0>;
234 compatible = "fsl,imx27-cspi";
235 reg = <0x10017000 0x1000>;
236 interrupts = <6>;
Jonas Andersson37523dc2013-05-23 13:38:05 +0200237 clocks = <&clks 51>, <&clks 51>;
Fabio Estevamc20736f2012-11-28 15:55:30 -0200238 clock-names = "ipg", "per";
Sascha Hauer9f0749e2012-02-28 21:57:50 +0100239 status = "disabled";
240 };
241
Sascha Hauerca26d042013-03-14 13:08:57 +0100242 gpt4: timer@10019000 {
243 compatible = "fsl,imx27-gpt", "fsl,imx1-gpt";
244 reg = <0x10019000 0x1000>;
245 interrupts = <4>;
Sascha Hauerb700c112013-03-14 13:09:02 +0100246 clocks = <&clks 43>, <&clks 61>;
247 clock-names = "ipg", "per";
Sascha Hauerca26d042013-03-14 13:08:57 +0100248 };
249
250 gpt5: timer@1001a000 {
251 compatible = "fsl,imx27-gpt", "fsl,imx1-gpt";
252 reg = <0x1001a000 0x1000>;
253 interrupts = <3>;
Sascha Hauerb700c112013-03-14 13:09:02 +0100254 clocks = <&clks 42>, <&clks 61>;
255 clock-names = "ipg", "per";
Sascha Hauerca26d042013-03-14 13:08:57 +0100256 };
257
Shawn Guo0c456cf2012-04-02 14:39:26 +0800258 uart5: serial@1001b000 {
Sascha Hauer9f0749e2012-02-28 21:57:50 +0100259 compatible = "fsl,imx27-uart", "fsl,imx21-uart";
260 reg = <0x1001b000 0x1000>;
261 interrupts = <49>;
Fabio Estevamc20736f2012-11-28 15:55:30 -0200262 clocks = <&clks 77>, <&clks 61>;
263 clock-names = "ipg", "per";
Sascha Hauer9f0749e2012-02-28 21:57:50 +0100264 status = "disabled";
265 };
266
Shawn Guo0c456cf2012-04-02 14:39:26 +0800267 uart6: serial@1001c000 {
Sascha Hauer9f0749e2012-02-28 21:57:50 +0100268 compatible = "fsl,imx27-uart", "fsl,imx21-uart";
269 reg = <0x1001c000 0x1000>;
270 interrupts = <48>;
Fabio Estevamc20736f2012-11-28 15:55:30 -0200271 clocks = <&clks 78>, <&clks 61>;
272 clock-names = "ipg", "per";
Sascha Hauer9f0749e2012-02-28 21:57:50 +0100273 status = "disabled";
274 };
275
276 i2c2: i2c@1001d000 {
277 #address-cells = <1>;
278 #size-cells = <0>;
Shawn Guo5bdfba22012-09-14 15:19:00 +0800279 compatible = "fsl,imx27-i2c", "fsl,imx21-i2c";
Sascha Hauer9f0749e2012-02-28 21:57:50 +0100280 reg = <0x1001d000 0x1000>;
281 interrupts = <1>;
Fabio Estevamc20736f2012-11-28 15:55:30 -0200282 clocks = <&clks 39>;
Sascha Hauer9f0749e2012-02-28 21:57:50 +0100283 status = "disabled";
284 };
285
Sascha Hauerca26d042013-03-14 13:08:57 +0100286 gpt6: timer@1001f000 {
287 compatible = "fsl,imx27-gpt", "fsl,imx1-gpt";
288 reg = <0x1001f000 0x1000>;
289 interrupts = <2>;
Sascha Hauerb700c112013-03-14 13:09:02 +0100290 clocks = <&clks 41>, <&clks 61>;
291 clock-names = "ipg", "per";
Sascha Hauerca26d042013-03-14 13:08:57 +0100292 };
Fabio Estevam3e24b052012-11-21 17:19:38 -0200293 };
294
295 aipi@10020000 { /* AIPI2 */
296 compatible = "fsl,aipi-bus", "simple-bus";
297 #address-cells = <1>;
298 #size-cells = <1>;
299 reg = <0x10020000 0x20000>;
300 ranges;
301
Shawn Guo0c456cf2012-04-02 14:39:26 +0800302 fec: ethernet@1002b000 {
Sascha Hauer9f0749e2012-02-28 21:57:50 +0100303 compatible = "fsl,imx27-fec";
304 reg = <0x1002b000 0x4000>;
305 interrupts = <50>;
Fabio Estevamc20736f2012-11-28 15:55:30 -0200306 clocks = <&clks 48>, <&clks 67>, <&clks 0>;
307 clock-names = "ipg", "ahb", "ptp";
Sascha Hauer9f0749e2012-02-28 21:57:50 +0100308 status = "disabled";
309 };
Fabio Estevamc20736f2012-11-28 15:55:30 -0200310
311 clks: ccm@10027000{
312 compatible = "fsl,imx27-ccm";
313 reg = <0x10027000 0x1000>;
314 #clock-cells = <1>;
315 };
Sascha Hauer9f0749e2012-02-28 21:57:50 +0100316 };
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100317
Fabio Estevamc20736f2012-11-28 15:55:30 -0200318
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100319 nfc: nand@d8000000 {
Uwe Kleine-König37787362012-04-23 11:23:42 +0200320 #address-cells = <1>;
321 #size-cells = <1>;
322
323 compatible = "fsl,imx27-nand";
324 reg = <0xd8000000 0x1000>;
325 interrupts = <29>;
Fabio Estevamc20736f2012-11-28 15:55:30 -0200326 clocks = <&clks 54>;
Uwe Kleine-König37787362012-04-23 11:23:42 +0200327 status = "disabled";
328 };
Sascha Hauer9f0749e2012-02-28 21:57:50 +0100329 };
330};