blob: 75bd11386516df223cec5e77cb9692a1545d9d7e [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;
Sascha Hauer9f0749e2012-02-28 21:57:50 +010028 };
29
30 avic: avic-interrupt-controller@e0000000 {
31 compatible = "fsl,imx27-avic", "fsl,avic";
32 interrupt-controller;
33 #interrupt-cells = <1>;
34 reg = <0x10040000 0x1000>;
35 };
36
37 clocks {
38 #address-cells = <1>;
39 #size-cells = <0>;
40
41 osc26m {
42 compatible = "fsl,imx-osc26m", "fixed-clock";
43 clock-frequency = <26000000>;
44 };
45 };
46
47 soc {
48 #address-cells = <1>;
49 #size-cells = <1>;
50 compatible = "simple-bus";
51 interrupt-parent = <&avic>;
52 ranges;
53
54 aipi@10000000 { /* AIPI1 */
55 compatible = "fsl,aipi-bus", "simple-bus";
56 #address-cells = <1>;
57 #size-cells = <1>;
Fabio Estevam3e24b052012-11-21 17:19:38 -020058 reg = <0x10000000 0x20000>;
Sascha Hauer9f0749e2012-02-28 21:57:50 +010059 ranges;
60
Sascha Hauer7b7d6722012-11-15 09:31:52 +010061 wdog: wdog@10002000 {
Sascha Hauer9f0749e2012-02-28 21:57:50 +010062 compatible = "fsl,imx27-wdt", "fsl,imx21-wdt";
Sascha Hauerca26d042013-03-14 13:08:57 +010063 reg = <0x10002000 0x1000>;
Sascha Hauer9f0749e2012-02-28 21:57:50 +010064 interrupts = <27>;
Fabio Estevamc20736f2012-11-28 15:55:30 -020065 clocks = <&clks 0>;
Sascha Hauer9f0749e2012-02-28 21:57:50 +010066 };
67
Sascha Hauerca26d042013-03-14 13:08:57 +010068 gpt1: timer@10003000 {
69 compatible = "fsl,imx27-gpt", "fsl,imx1-gpt";
70 reg = <0x10003000 0x1000>;
71 interrupts = <26>;
Sascha Hauerb700c112013-03-14 13:09:02 +010072 clocks = <&clks 46>, <&clks 61>;
73 clock-names = "ipg", "per";
Sascha Hauerca26d042013-03-14 13:08:57 +010074 };
75
76 gpt2: timer@10004000 {
77 compatible = "fsl,imx27-gpt", "fsl,imx1-gpt";
78 reg = <0x10004000 0x1000>;
79 interrupts = <25>;
Sascha Hauerb700c112013-03-14 13:09:02 +010080 clocks = <&clks 45>, <&clks 61>;
81 clock-names = "ipg", "per";
Sascha Hauerca26d042013-03-14 13:08:57 +010082 };
83
84 gpt3: timer@10005000 {
85 compatible = "fsl,imx27-gpt", "fsl,imx1-gpt";
86 reg = <0x10005000 0x1000>;
87 interrupts = <24>;
Sascha Hauerb700c112013-03-14 13:09:02 +010088 clocks = <&clks 44>, <&clks 61>;
89 clock-names = "ipg", "per";
Sascha Hauerca26d042013-03-14 13:08:57 +010090 };
91
Shawn Guo0c456cf2012-04-02 14:39:26 +080092 uart1: serial@1000a000 {
Sascha Hauer9f0749e2012-02-28 21:57:50 +010093 compatible = "fsl,imx27-uart", "fsl,imx21-uart";
94 reg = <0x1000a000 0x1000>;
95 interrupts = <20>;
Fabio Estevamc20736f2012-11-28 15:55:30 -020096 clocks = <&clks 81>, <&clks 61>;
97 clock-names = "ipg", "per";
Sascha Hauer9f0749e2012-02-28 21:57:50 +010098 status = "disabled";
99 };
100
Shawn Guo0c456cf2012-04-02 14:39:26 +0800101 uart2: serial@1000b000 {
Sascha Hauer9f0749e2012-02-28 21:57:50 +0100102 compatible = "fsl,imx27-uart", "fsl,imx21-uart";
103 reg = <0x1000b000 0x1000>;
104 interrupts = <19>;
Fabio Estevamc20736f2012-11-28 15:55:30 -0200105 clocks = <&clks 80>, <&clks 61>;
106 clock-names = "ipg", "per";
Sascha Hauer9f0749e2012-02-28 21:57:50 +0100107 status = "disabled";
108 };
109
Shawn Guo0c456cf2012-04-02 14:39:26 +0800110 uart3: serial@1000c000 {
Sascha Hauer9f0749e2012-02-28 21:57:50 +0100111 compatible = "fsl,imx27-uart", "fsl,imx21-uart";
112 reg = <0x1000c000 0x1000>;
113 interrupts = <18>;
Fabio Estevamc20736f2012-11-28 15:55:30 -0200114 clocks = <&clks 79>, <&clks 61>;
115 clock-names = "ipg", "per";
Sascha Hauer9f0749e2012-02-28 21:57:50 +0100116 status = "disabled";
117 };
118
Shawn Guo0c456cf2012-04-02 14:39:26 +0800119 uart4: serial@1000d000 {
Sascha Hauer9f0749e2012-02-28 21:57:50 +0100120 compatible = "fsl,imx27-uart", "fsl,imx21-uart";
121 reg = <0x1000d000 0x1000>;
122 interrupts = <17>;
Fabio Estevamc20736f2012-11-28 15:55:30 -0200123 clocks = <&clks 78>, <&clks 61>;
124 clock-names = "ipg", "per";
Sascha Hauer9f0749e2012-02-28 21:57:50 +0100125 status = "disabled";
126 };
127
128 cspi1: cspi@1000e000 {
129 #address-cells = <1>;
130 #size-cells = <0>;
131 compatible = "fsl,imx27-cspi";
132 reg = <0x1000e000 0x1000>;
133 interrupts = <16>;
Jonas Andersson37523dc2013-05-23 13:38:05 +0200134 clocks = <&clks 53>, <&clks 53>;
Fabio Estevamc20736f2012-11-28 15:55:30 -0200135 clock-names = "ipg", "per";
Sascha Hauer9f0749e2012-02-28 21:57:50 +0100136 status = "disabled";
137 };
138
139 cspi2: cspi@1000f000 {
140 #address-cells = <1>;
141 #size-cells = <0>;
142 compatible = "fsl,imx27-cspi";
143 reg = <0x1000f000 0x1000>;
144 interrupts = <15>;
Jonas Andersson37523dc2013-05-23 13:38:05 +0200145 clocks = <&clks 52>, <&clks 52>;
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 i2c1: i2c@10012000 {
151 #address-cells = <1>;
152 #size-cells = <0>;
Shawn Guo5bdfba22012-09-14 15:19:00 +0800153 compatible = "fsl,imx27-i2c", "fsl,imx21-i2c";
Sascha Hauer9f0749e2012-02-28 21:57:50 +0100154 reg = <0x10012000 0x1000>;
155 interrupts = <12>;
Fabio Estevamc20736f2012-11-28 15:55:30 -0200156 clocks = <&clks 40>;
Sascha Hauer9f0749e2012-02-28 21:57:50 +0100157 status = "disabled";
158 };
159
160 gpio1: gpio@10015000 {
161 compatible = "fsl,imx27-gpio", "fsl,imx21-gpio";
162 reg = <0x10015000 0x100>;
163 interrupts = <8>;
164 gpio-controller;
165 #gpio-cells = <2>;
166 interrupt-controller;
Shawn Guo88cde8b2012-07-06 20:03:37 +0800167 #interrupt-cells = <2>;
Sascha Hauer9f0749e2012-02-28 21:57:50 +0100168 };
169
170 gpio2: gpio@10015100 {
171 compatible = "fsl,imx27-gpio", "fsl,imx21-gpio";
172 reg = <0x10015100 0x100>;
173 interrupts = <8>;
174 gpio-controller;
175 #gpio-cells = <2>;
176 interrupt-controller;
Shawn Guo88cde8b2012-07-06 20:03:37 +0800177 #interrupt-cells = <2>;
Sascha Hauer9f0749e2012-02-28 21:57:50 +0100178 };
179
180 gpio3: gpio@10015200 {
181 compatible = "fsl,imx27-gpio", "fsl,imx21-gpio";
182 reg = <0x10015200 0x100>;
183 interrupts = <8>;
184 gpio-controller;
185 #gpio-cells = <2>;
186 interrupt-controller;
Shawn Guo88cde8b2012-07-06 20:03:37 +0800187 #interrupt-cells = <2>;
Sascha Hauer9f0749e2012-02-28 21:57:50 +0100188 };
189
190 gpio4: gpio@10015300 {
191 compatible = "fsl,imx27-gpio", "fsl,imx21-gpio";
192 reg = <0x10015300 0x100>;
193 interrupts = <8>;
194 gpio-controller;
195 #gpio-cells = <2>;
196 interrupt-controller;
Shawn Guo88cde8b2012-07-06 20:03:37 +0800197 #interrupt-cells = <2>;
Sascha Hauer9f0749e2012-02-28 21:57:50 +0100198 };
199
200 gpio5: gpio@10015400 {
201 compatible = "fsl,imx27-gpio", "fsl,imx21-gpio";
202 reg = <0x10015400 0x100>;
203 interrupts = <8>;
204 gpio-controller;
205 #gpio-cells = <2>;
206 interrupt-controller;
Shawn Guo88cde8b2012-07-06 20:03:37 +0800207 #interrupt-cells = <2>;
Sascha Hauer9f0749e2012-02-28 21:57:50 +0100208 };
209
210 gpio6: gpio@10015500 {
211 compatible = "fsl,imx27-gpio", "fsl,imx21-gpio";
212 reg = <0x10015500 0x100>;
213 interrupts = <8>;
214 gpio-controller;
215 #gpio-cells = <2>;
216 interrupt-controller;
Shawn Guo88cde8b2012-07-06 20:03:37 +0800217 #interrupt-cells = <2>;
Sascha Hauer9f0749e2012-02-28 21:57:50 +0100218 };
219
220 cspi3: cspi@10017000 {
221 #address-cells = <1>;
222 #size-cells = <0>;
223 compatible = "fsl,imx27-cspi";
224 reg = <0x10017000 0x1000>;
225 interrupts = <6>;
Jonas Andersson37523dc2013-05-23 13:38:05 +0200226 clocks = <&clks 51>, <&clks 51>;
Fabio Estevamc20736f2012-11-28 15:55:30 -0200227 clock-names = "ipg", "per";
Sascha Hauer9f0749e2012-02-28 21:57:50 +0100228 status = "disabled";
229 };
230
Sascha Hauerca26d042013-03-14 13:08:57 +0100231 gpt4: timer@10019000 {
232 compatible = "fsl,imx27-gpt", "fsl,imx1-gpt";
233 reg = <0x10019000 0x1000>;
234 interrupts = <4>;
Sascha Hauerb700c112013-03-14 13:09:02 +0100235 clocks = <&clks 43>, <&clks 61>;
236 clock-names = "ipg", "per";
Sascha Hauerca26d042013-03-14 13:08:57 +0100237 };
238
239 gpt5: timer@1001a000 {
240 compatible = "fsl,imx27-gpt", "fsl,imx1-gpt";
241 reg = <0x1001a000 0x1000>;
242 interrupts = <3>;
Sascha Hauerb700c112013-03-14 13:09:02 +0100243 clocks = <&clks 42>, <&clks 61>;
244 clock-names = "ipg", "per";
Sascha Hauerca26d042013-03-14 13:08:57 +0100245 };
246
Shawn Guo0c456cf2012-04-02 14:39:26 +0800247 uart5: serial@1001b000 {
Sascha Hauer9f0749e2012-02-28 21:57:50 +0100248 compatible = "fsl,imx27-uart", "fsl,imx21-uart";
249 reg = <0x1001b000 0x1000>;
250 interrupts = <49>;
Fabio Estevamc20736f2012-11-28 15:55:30 -0200251 clocks = <&clks 77>, <&clks 61>;
252 clock-names = "ipg", "per";
Sascha Hauer9f0749e2012-02-28 21:57:50 +0100253 status = "disabled";
254 };
255
Shawn Guo0c456cf2012-04-02 14:39:26 +0800256 uart6: serial@1001c000 {
Sascha Hauer9f0749e2012-02-28 21:57:50 +0100257 compatible = "fsl,imx27-uart", "fsl,imx21-uart";
258 reg = <0x1001c000 0x1000>;
259 interrupts = <48>;
Fabio Estevamc20736f2012-11-28 15:55:30 -0200260 clocks = <&clks 78>, <&clks 61>;
261 clock-names = "ipg", "per";
Sascha Hauer9f0749e2012-02-28 21:57:50 +0100262 status = "disabled";
263 };
264
265 i2c2: i2c@1001d000 {
266 #address-cells = <1>;
267 #size-cells = <0>;
Shawn Guo5bdfba22012-09-14 15:19:00 +0800268 compatible = "fsl,imx27-i2c", "fsl,imx21-i2c";
Sascha Hauer9f0749e2012-02-28 21:57:50 +0100269 reg = <0x1001d000 0x1000>;
270 interrupts = <1>;
Fabio Estevamc20736f2012-11-28 15:55:30 -0200271 clocks = <&clks 39>;
Sascha Hauer9f0749e2012-02-28 21:57:50 +0100272 status = "disabled";
273 };
274
Sascha Hauerca26d042013-03-14 13:08:57 +0100275 gpt6: timer@1001f000 {
276 compatible = "fsl,imx27-gpt", "fsl,imx1-gpt";
277 reg = <0x1001f000 0x1000>;
278 interrupts = <2>;
Sascha Hauerb700c112013-03-14 13:09:02 +0100279 clocks = <&clks 41>, <&clks 61>;
280 clock-names = "ipg", "per";
Sascha Hauerca26d042013-03-14 13:08:57 +0100281 };
Fabio Estevam3e24b052012-11-21 17:19:38 -0200282 };
283
284 aipi@10020000 { /* AIPI2 */
285 compatible = "fsl,aipi-bus", "simple-bus";
286 #address-cells = <1>;
287 #size-cells = <1>;
288 reg = <0x10020000 0x20000>;
289 ranges;
290
Shawn Guo0c456cf2012-04-02 14:39:26 +0800291 fec: ethernet@1002b000 {
Sascha Hauer9f0749e2012-02-28 21:57:50 +0100292 compatible = "fsl,imx27-fec";
293 reg = <0x1002b000 0x4000>;
294 interrupts = <50>;
Fabio Estevamc20736f2012-11-28 15:55:30 -0200295 clocks = <&clks 48>, <&clks 67>, <&clks 0>;
296 clock-names = "ipg", "ahb", "ptp";
Sascha Hauer9f0749e2012-02-28 21:57:50 +0100297 status = "disabled";
298 };
Fabio Estevamc20736f2012-11-28 15:55:30 -0200299
300 clks: ccm@10027000{
301 compatible = "fsl,imx27-ccm";
302 reg = <0x10027000 0x1000>;
303 #clock-cells = <1>;
304 };
Sascha Hauer9f0749e2012-02-28 21:57:50 +0100305 };
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100306
Fabio Estevamc20736f2012-11-28 15:55:30 -0200307
Sascha Hauer7b7d6722012-11-15 09:31:52 +0100308 nfc: nand@d8000000 {
Uwe Kleine-König37787362012-04-23 11:23:42 +0200309 #address-cells = <1>;
310 #size-cells = <1>;
311
312 compatible = "fsl,imx27-nand";
313 reg = <0xd8000000 0x1000>;
314 interrupts = <29>;
Fabio Estevamc20736f2012-11-28 15:55:30 -0200315 clocks = <&clks 54>;
Uwe Kleine-König37787362012-04-23 11:23:42 +0200316 status = "disabled";
317 };
Sascha Hauer9f0749e2012-02-28 21:57:50 +0100318 };
319};