blob: 75095e306d7759562ae4761de8d0f65d241f4d5f [file] [log] [blame]
Benoit Coussond9fda072011-08-09 17:15:17 +02001/*
2 * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/
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 version 2 as
6 * published by the Free Software Foundation.
7 */
8
9/*
10 * Carveout for multimedia usecases
11 * It should be the last 48MB of the first 512MB memory part
12 * In theory, it should not even exist. That zone should be reserved
13 * dynamically during the .reserve callback.
14 */
15/memreserve/ 0x9d000000 0x03000000;
16
17/include/ "skeleton.dtsi"
18
19/ {
20 compatible = "ti,omap4430", "ti,omap4";
21 interrupt-parent = <&gic>;
22
23 aliases {
Rajendra Nayakcf3c79d2011-12-14 17:25:46 +053024 serial0 = &uart1;
25 serial1 = &uart2;
26 serial2 = &uart3;
27 serial3 = &uart4;
Benoit Coussond9fda072011-08-09 17:15:17 +020028 };
29
Benoit Cousson476b6792011-08-16 11:49:08 +020030 cpus {
31 cpu@0 {
32 compatible = "arm,cortex-a9";
Santosh Shilimkar926fd452012-07-04 17:57:34 +053033 next-level-cache = <&L2>;
Benoit Cousson476b6792011-08-16 11:49:08 +020034 };
35 cpu@1 {
36 compatible = "arm,cortex-a9";
Santosh Shilimkar926fd452012-07-04 17:57:34 +053037 next-level-cache = <&L2>;
Benoit Cousson476b6792011-08-16 11:49:08 +020038 };
39 };
40
Benoit Cousson56351212012-09-03 17:56:32 +020041 gic: interrupt-controller@48241000 {
42 compatible = "arm,cortex-a9-gic";
43 interrupt-controller;
44 #interrupt-cells = <3>;
45 reg = <0x48241000 0x1000>,
46 <0x48240100 0x0100>;
47 };
48
Santosh Shilimkar926fd452012-07-04 17:57:34 +053049 L2: l2-cache-controller@48242000 {
50 compatible = "arm,pl310-cache";
51 reg = <0x48242000 0x1000>;
52 cache-unified;
53 cache-level = <2>;
54 };
55
Santosh Shilimkareed0de22012-07-04 18:32:32 +053056 local-timer@0x48240600 {
57 compatible = "arm,cortex-a9-twd-timer";
58 reg = <0x48240600 0x20>;
59 interrupts = <1 13 0x304>;
60 };
61
Benoit Coussond9fda072011-08-09 17:15:17 +020062 /*
63 * The soc node represents the soc top level view. It is uses for IPs
64 * that are not memory mapped in the MPU view or for the MPU itself.
65 */
66 soc {
67 compatible = "ti,omap-infra";
Benoit Cousson476b6792011-08-16 11:49:08 +020068 mpu {
69 compatible = "ti,omap4-mpu";
70 ti,hwmods = "mpu";
71 };
72
73 dsp {
74 compatible = "ti,omap3-c64";
75 ti,hwmods = "dsp";
76 };
77
78 iva {
79 compatible = "ti,ivahd";
80 ti,hwmods = "iva";
81 };
Benoit Coussond9fda072011-08-09 17:15:17 +020082 };
83
84 /*
85 * XXX: Use a flat representation of the OMAP4 interconnect.
86 * The real OMAP interconnect network is quite complex.
Benoit Coussond9fda072011-08-09 17:15:17 +020087 * Since that will not bring real advantage to represent that in DT for
88 * the moment, just use a fake OCP bus entry to represent the whole bus
89 * hierarchy.
90 */
91 ocp {
Benoit Coussonad8dfac2011-08-12 13:48:47 +020092 compatible = "ti,omap4-l3-noc", "simple-bus";
Benoit Coussond9fda072011-08-09 17:15:17 +020093 #address-cells = <1>;
94 #size-cells = <1>;
95 ranges;
Benoit Coussonad8dfac2011-08-12 13:48:47 +020096 ti,hwmods = "l3_main_1", "l3_main_2", "l3_main_3";
Benoit Coussond9fda072011-08-09 17:15:17 +020097
Benoit Coussone3e5a922011-08-16 11:51:54 +020098 gpio1: gpio@4a310000 {
99 compatible = "ti,omap4-gpio";
Benoit Cousson48420db2012-09-05 11:38:23 +0200100 reg = <0x4a310000 0x200>;
101 interrupts = <0 29 0x4>;
Benoit Coussone3e5a922011-08-16 11:51:54 +0200102 ti,hwmods = "gpio1";
103 gpio-controller;
104 #gpio-cells = <2>;
105 interrupt-controller;
106 #interrupt-cells = <1>;
107 };
108
109 gpio2: gpio@48055000 {
110 compatible = "ti,omap4-gpio";
Benoit Cousson48420db2012-09-05 11:38:23 +0200111 reg = <0x48055000 0x200>;
112 interrupts = <0 30 0x4>;
Benoit Coussone3e5a922011-08-16 11:51:54 +0200113 ti,hwmods = "gpio2";
114 gpio-controller;
115 #gpio-cells = <2>;
116 interrupt-controller;
117 #interrupt-cells = <1>;
118 };
119
120 gpio3: gpio@48057000 {
121 compatible = "ti,omap4-gpio";
Benoit Cousson48420db2012-09-05 11:38:23 +0200122 reg = <0x48057000 0x200>;
123 interrupts = <0 31 0x4>;
Benoit Coussone3e5a922011-08-16 11:51:54 +0200124 ti,hwmods = "gpio3";
125 gpio-controller;
126 #gpio-cells = <2>;
127 interrupt-controller;
128 #interrupt-cells = <1>;
129 };
130
131 gpio4: gpio@48059000 {
132 compatible = "ti,omap4-gpio";
Benoit Cousson48420db2012-09-05 11:38:23 +0200133 reg = <0x48059000 0x200>;
134 interrupts = <0 32 0x4>;
Benoit Coussone3e5a922011-08-16 11:51:54 +0200135 ti,hwmods = "gpio4";
136 gpio-controller;
137 #gpio-cells = <2>;
138 interrupt-controller;
139 #interrupt-cells = <1>;
140 };
141
142 gpio5: gpio@4805b000 {
143 compatible = "ti,omap4-gpio";
Benoit Cousson48420db2012-09-05 11:38:23 +0200144 reg = <0x4805b000 0x200>;
145 interrupts = <0 33 0x4>;
Benoit Coussone3e5a922011-08-16 11:51:54 +0200146 ti,hwmods = "gpio5";
147 gpio-controller;
148 #gpio-cells = <2>;
149 interrupt-controller;
150 #interrupt-cells = <1>;
151 };
152
153 gpio6: gpio@4805d000 {
154 compatible = "ti,omap4-gpio";
Benoit Cousson48420db2012-09-05 11:38:23 +0200155 reg = <0x4805d000 0x200>;
156 interrupts = <0 34 0x4>;
Benoit Coussone3e5a922011-08-16 11:51:54 +0200157 ti,hwmods = "gpio6";
158 gpio-controller;
159 #gpio-cells = <2>;
160 interrupt-controller;
161 #interrupt-cells = <1>;
162 };
163
Benoit Cousson19bfb762012-02-16 11:55:27 +0100164 uart1: serial@4806a000 {
Rajendra Nayakcf3c79d2011-12-14 17:25:46 +0530165 compatible = "ti,omap4-uart";
Benoit Cousson48420db2012-09-05 11:38:23 +0200166 reg = <0x4806a000 0x100>;
167 interrupts = <0 72 0x4>;
Rajendra Nayakcf3c79d2011-12-14 17:25:46 +0530168 ti,hwmods = "uart1";
169 clock-frequency = <48000000>;
170 };
171
Benoit Cousson19bfb762012-02-16 11:55:27 +0100172 uart2: serial@4806c000 {
Rajendra Nayakcf3c79d2011-12-14 17:25:46 +0530173 compatible = "ti,omap4-uart";
Benoit Cousson48420db2012-09-05 11:38:23 +0200174 reg = <0x4806c000 0x100>;
175 interrupts = <0 73 0x4>;
Rajendra Nayakcf3c79d2011-12-14 17:25:46 +0530176 ti,hwmods = "uart2";
177 clock-frequency = <48000000>;
178 };
179
Benoit Cousson19bfb762012-02-16 11:55:27 +0100180 uart3: serial@48020000 {
Rajendra Nayakcf3c79d2011-12-14 17:25:46 +0530181 compatible = "ti,omap4-uart";
Benoit Cousson48420db2012-09-05 11:38:23 +0200182 reg = <0x48020000 0x100>;
183 interrupts = <0 74 0x4>;
Rajendra Nayakcf3c79d2011-12-14 17:25:46 +0530184 ti,hwmods = "uart3";
185 clock-frequency = <48000000>;
186 };
187
Benoit Cousson19bfb762012-02-16 11:55:27 +0100188 uart4: serial@4806e000 {
Rajendra Nayakcf3c79d2011-12-14 17:25:46 +0530189 compatible = "ti,omap4-uart";
Benoit Cousson48420db2012-09-05 11:38:23 +0200190 reg = <0x4806e000 0x100>;
191 interrupts = <0 70 0x4>;
Rajendra Nayakcf3c79d2011-12-14 17:25:46 +0530192 ti,hwmods = "uart4";
193 clock-frequency = <48000000>;
194 };
Benoit Cousson58e778f2011-08-17 19:00:03 +0530195
196 i2c1: i2c@48070000 {
197 compatible = "ti,omap4-i2c";
Benoit Cousson48420db2012-09-05 11:38:23 +0200198 reg = <0x48070000 0x100>;
199 interrupts = <0 56 0x4>;
Benoit Cousson58e778f2011-08-17 19:00:03 +0530200 #address-cells = <1>;
201 #size-cells = <0>;
202 ti,hwmods = "i2c1";
203 };
204
205 i2c2: i2c@48072000 {
206 compatible = "ti,omap4-i2c";
Benoit Cousson48420db2012-09-05 11:38:23 +0200207 reg = <0x48072000 0x100>;
208 interrupts = <0 57 0x4>;
Benoit Cousson58e778f2011-08-17 19:00:03 +0530209 #address-cells = <1>;
210 #size-cells = <0>;
211 ti,hwmods = "i2c2";
212 };
213
214 i2c3: i2c@48060000 {
215 compatible = "ti,omap4-i2c";
Benoit Cousson48420db2012-09-05 11:38:23 +0200216 reg = <0x48060000 0x100>;
217 interrupts = <0 61 0x4>;
Benoit Cousson58e778f2011-08-17 19:00:03 +0530218 #address-cells = <1>;
219 #size-cells = <0>;
220 ti,hwmods = "i2c3";
221 };
222
223 i2c4: i2c@48350000 {
224 compatible = "ti,omap4-i2c";
Benoit Cousson48420db2012-09-05 11:38:23 +0200225 reg = <0x48350000 0x100>;
226 interrupts = <0 62 0x4>;
Benoit Cousson58e778f2011-08-17 19:00:03 +0530227 #address-cells = <1>;
228 #size-cells = <0>;
229 ti,hwmods = "i2c4";
230 };
Benoit Coussonefcf1e52012-01-20 14:15:58 +0100231
232 mcspi1: spi@48098000 {
233 compatible = "ti,omap4-mcspi";
Benoit Cousson48420db2012-09-05 11:38:23 +0200234 reg = <0x48098000 0x200>;
235 interrupts = <0 65 0x4>;
Benoit Coussonefcf1e52012-01-20 14:15:58 +0100236 #address-cells = <1>;
237 #size-cells = <0>;
238 ti,hwmods = "mcspi1";
239 ti,spi-num-cs = <4>;
240 };
241
242 mcspi2: spi@4809a000 {
243 compatible = "ti,omap4-mcspi";
Benoit Cousson48420db2012-09-05 11:38:23 +0200244 reg = <0x4809a000 0x200>;
245 interrupts = <0 66 0x4>;
Benoit Coussonefcf1e52012-01-20 14:15:58 +0100246 #address-cells = <1>;
247 #size-cells = <0>;
248 ti,hwmods = "mcspi2";
249 ti,spi-num-cs = <2>;
250 };
251
252 mcspi3: spi@480b8000 {
253 compatible = "ti,omap4-mcspi";
Benoit Cousson48420db2012-09-05 11:38:23 +0200254 reg = <0x480b8000 0x200>;
255 interrupts = <0 91 0x4>;
Benoit Coussonefcf1e52012-01-20 14:15:58 +0100256 #address-cells = <1>;
257 #size-cells = <0>;
258 ti,hwmods = "mcspi3";
259 ti,spi-num-cs = <2>;
260 };
261
262 mcspi4: spi@480ba000 {
263 compatible = "ti,omap4-mcspi";
Benoit Cousson48420db2012-09-05 11:38:23 +0200264 reg = <0x480ba000 0x200>;
265 interrupts = <0 48 0x4>;
Benoit Coussonefcf1e52012-01-20 14:15:58 +0100266 #address-cells = <1>;
267 #size-cells = <0>;
268 ti,hwmods = "mcspi4";
269 ti,spi-num-cs = <1>;
270 };
Rajendra Nayak74981762011-10-04 17:10:27 +0530271
272 mmc1: mmc@4809c000 {
273 compatible = "ti,omap4-hsmmc";
Benoit Cousson48420db2012-09-05 11:38:23 +0200274 reg = <0x4809c000 0x400>;
275 interrupts = <0 83 0x4>;
Rajendra Nayak74981762011-10-04 17:10:27 +0530276 ti,hwmods = "mmc1";
277 ti,dual-volt;
278 ti,needs-special-reset;
279 };
280
281 mmc2: mmc@480b4000 {
282 compatible = "ti,omap4-hsmmc";
Benoit Cousson48420db2012-09-05 11:38:23 +0200283 reg = <0x480b4000 0x400>;
284 interrupts = <0 86 0x4>;
Rajendra Nayak74981762011-10-04 17:10:27 +0530285 ti,hwmods = "mmc2";
286 ti,needs-special-reset;
287 };
288
289 mmc3: mmc@480ad000 {
290 compatible = "ti,omap4-hsmmc";
Benoit Cousson48420db2012-09-05 11:38:23 +0200291 reg = <0x480ad000 0x400>;
292 interrupts = <0 94 0x4>;
Rajendra Nayak74981762011-10-04 17:10:27 +0530293 ti,hwmods = "mmc3";
294 ti,needs-special-reset;
295 };
296
297 mmc4: mmc@480d1000 {
298 compatible = "ti,omap4-hsmmc";
Benoit Cousson48420db2012-09-05 11:38:23 +0200299 reg = <0x480d1000 0x400>;
300 interrupts = <0 96 0x4>;
Rajendra Nayak74981762011-10-04 17:10:27 +0530301 ti,hwmods = "mmc4";
302 ti,needs-special-reset;
303 };
304
305 mmc5: mmc@480d5000 {
306 compatible = "ti,omap4-hsmmc";
Benoit Cousson48420db2012-09-05 11:38:23 +0200307 reg = <0x480d5000 0x400>;
308 interrupts = <0 59 0x4>;
Rajendra Nayak74981762011-10-04 17:10:27 +0530309 ti,hwmods = "mmc5";
310 ti,needs-special-reset;
311 };
Xiao Jiang94c30732012-06-01 12:44:14 +0800312
313 wdt2: wdt@4a314000 {
314 compatible = "ti,omap4-wdt", "ti,omap3-wdt";
Benoit Cousson48420db2012-09-05 11:38:23 +0200315 reg = <0x4a314000 0x80>;
316 interrupts = <0 80 0x4>;
Xiao Jiang94c30732012-06-01 12:44:14 +0800317 ti,hwmods = "wd_timer2";
318 };
Peter Ujfalusi4f4b5c72012-06-08 17:01:59 +0300319
320 mcpdm: mcpdm@40132000 {
321 compatible = "ti,omap4-mcpdm";
322 reg = <0x40132000 0x7f>, /* MPU private access */
323 <0x49032000 0x7f>; /* L3 Interconnect */
Peter Ujfalusi63467cf2012-08-29 16:31:06 +0300324 reg-names = "mpu", "dma";
Peter Ujfalusi4f4b5c72012-06-08 17:01:59 +0300325 interrupts = <0 112 0x4>;
326 interrupt-parent = <&gic>;
327 ti,hwmods = "mcpdm";
328 };
Peter Ujfalusia4c38312012-06-08 17:02:00 +0300329
330 dmic: dmic@4012e000 {
331 compatible = "ti,omap4-dmic";
332 reg = <0x4012e000 0x7f>, /* MPU private access */
333 <0x4902e000 0x7f>; /* L3 Interconnect */
Peter Ujfalusi63467cf2012-08-29 16:31:06 +0300334 reg-names = "mpu", "dma";
Peter Ujfalusia4c38312012-06-08 17:02:00 +0300335 interrupts = <0 114 0x4>;
336 interrupt-parent = <&gic>;
337 ti,hwmods = "dmic";
338 };
Sourav Poddar61bc3542012-08-14 16:45:37 +0530339
Peter Ujfalusi2995a102012-07-26 17:13:21 +0300340 mcbsp1: mcbsp@40122000 {
341 compatible = "ti,omap4-mcbsp";
342 reg = <0x40122000 0xff>, /* MPU private access */
343 <0x49022000 0xff>; /* L3 Interconnect */
344 reg-names = "mpu", "dma";
345 interrupts = <0 17 0x4>;
346 interrupt-names = "common";
347 interrupt-parent = <&gic>;
348 ti,buffer-size = <128>;
349 ti,hwmods = "mcbsp1";
350 };
351
352 mcbsp2: mcbsp@40124000 {
353 compatible = "ti,omap4-mcbsp";
354 reg = <0x40124000 0xff>, /* MPU private access */
355 <0x49024000 0xff>; /* L3 Interconnect */
356 reg-names = "mpu", "dma";
357 interrupts = <0 22 0x4>;
358 interrupt-names = "common";
359 interrupt-parent = <&gic>;
360 ti,buffer-size = <128>;
361 ti,hwmods = "mcbsp2";
362 };
363
364 mcbsp3: mcbsp@40126000 {
365 compatible = "ti,omap4-mcbsp";
366 reg = <0x40126000 0xff>, /* MPU private access */
367 <0x49026000 0xff>; /* L3 Interconnect */
368 reg-names = "mpu", "dma";
369 interrupts = <0 23 0x4>;
370 interrupt-names = "common";
371 interrupt-parent = <&gic>;
372 ti,buffer-size = <128>;
373 ti,hwmods = "mcbsp3";
374 };
375
376 mcbsp4: mcbsp@48096000 {
377 compatible = "ti,omap4-mcbsp";
378 reg = <0x48096000 0xff>; /* L4 Interconnect */
379 reg-names = "mpu";
380 interrupts = <0 16 0x4>;
381 interrupt-names = "common";
382 interrupt-parent = <&gic>;
383 ti,buffer-size = <128>;
384 ti,hwmods = "mcbsp4";
385 };
386
Sourav Poddar61bc3542012-08-14 16:45:37 +0530387 keypad: keypad@4a31c000 {
388 compatible = "ti,omap4-keypad";
Benoit Cousson48420db2012-09-05 11:38:23 +0200389 reg = <0x4a31c000 0x80>;
390 interrupts = <0 120 0x4>;
391 reg-names = "mpu";
Sourav Poddar61bc3542012-08-14 16:45:37 +0530392 ti,hwmods = "kbd";
393 };
Aneesh V11c27062012-01-20 20:35:26 +0530394
395 emif1: emif@4c000000 {
396 compatible = "ti,emif-4d";
Benoit Cousson48420db2012-09-05 11:38:23 +0200397 reg = <0x4c000000 0x100>;
398 interrupts = <0 110 0x4>;
Aneesh V11c27062012-01-20 20:35:26 +0530399 ti,hwmods = "emif1";
400 phy-type = <1>;
401 hw-caps-read-idle-ctrl;
402 hw-caps-ll-interface;
403 hw-caps-temp-alert;
404 };
405
406 emif2: emif@4d000000 {
407 compatible = "ti,emif-4d";
Benoit Cousson48420db2012-09-05 11:38:23 +0200408 reg = <0x4d000000 0x100>;
409 interrupts = <0 111 0x4>;
Aneesh V11c27062012-01-20 20:35:26 +0530410 ti,hwmods = "emif2";
411 phy-type = <1>;
412 hw-caps-read-idle-ctrl;
413 hw-caps-ll-interface;
414 hw-caps-temp-alert;
415 };
Benoit Coussond9fda072011-08-09 17:15:17 +0200416 };
417};