blob: 812461efdea6572a7578fe10559e7c2561480770 [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
Tony Lindgren679e3312012-09-10 10:34:51 -070098 omap4_pmx_core: pinmux@4a100040 {
99 compatible = "ti,omap4-padconf", "pinctrl-single";
100 reg = <0x4a100040 0x0196>;
101 #address-cells = <1>;
102 #size-cells = <0>;
103 pinctrl-single,register-width = <16>;
104 pinctrl-single,function-mask = <0x7fff>;
105 };
106 omap4_pmx_wkup: pinmux@4a31e040 {
107 compatible = "ti,omap4-padconf", "pinctrl-single";
108 reg = <0x4a31e040 0x0038>;
109 #address-cells = <1>;
110 #size-cells = <0>;
111 pinctrl-single,register-width = <16>;
112 pinctrl-single,function-mask = <0x7fff>;
113 };
114
Benoit Coussone3e5a922011-08-16 11:51:54 +0200115 gpio1: gpio@4a310000 {
116 compatible = "ti,omap4-gpio";
Benoit Cousson48420db2012-09-05 11:38:23 +0200117 reg = <0x4a310000 0x200>;
118 interrupts = <0 29 0x4>;
Benoit Coussone3e5a922011-08-16 11:51:54 +0200119 ti,hwmods = "gpio1";
120 gpio-controller;
121 #gpio-cells = <2>;
122 interrupt-controller;
123 #interrupt-cells = <1>;
124 };
125
126 gpio2: gpio@48055000 {
127 compatible = "ti,omap4-gpio";
Benoit Cousson48420db2012-09-05 11:38:23 +0200128 reg = <0x48055000 0x200>;
129 interrupts = <0 30 0x4>;
Benoit Coussone3e5a922011-08-16 11:51:54 +0200130 ti,hwmods = "gpio2";
131 gpio-controller;
132 #gpio-cells = <2>;
133 interrupt-controller;
134 #interrupt-cells = <1>;
135 };
136
137 gpio3: gpio@48057000 {
138 compatible = "ti,omap4-gpio";
Benoit Cousson48420db2012-09-05 11:38:23 +0200139 reg = <0x48057000 0x200>;
140 interrupts = <0 31 0x4>;
Benoit Coussone3e5a922011-08-16 11:51:54 +0200141 ti,hwmods = "gpio3";
142 gpio-controller;
143 #gpio-cells = <2>;
144 interrupt-controller;
145 #interrupt-cells = <1>;
146 };
147
148 gpio4: gpio@48059000 {
149 compatible = "ti,omap4-gpio";
Benoit Cousson48420db2012-09-05 11:38:23 +0200150 reg = <0x48059000 0x200>;
151 interrupts = <0 32 0x4>;
Benoit Coussone3e5a922011-08-16 11:51:54 +0200152 ti,hwmods = "gpio4";
153 gpio-controller;
154 #gpio-cells = <2>;
155 interrupt-controller;
156 #interrupt-cells = <1>;
157 };
158
159 gpio5: gpio@4805b000 {
160 compatible = "ti,omap4-gpio";
Benoit Cousson48420db2012-09-05 11:38:23 +0200161 reg = <0x4805b000 0x200>;
162 interrupts = <0 33 0x4>;
Benoit Coussone3e5a922011-08-16 11:51:54 +0200163 ti,hwmods = "gpio5";
164 gpio-controller;
165 #gpio-cells = <2>;
166 interrupt-controller;
167 #interrupt-cells = <1>;
168 };
169
170 gpio6: gpio@4805d000 {
171 compatible = "ti,omap4-gpio";
Benoit Cousson48420db2012-09-05 11:38:23 +0200172 reg = <0x4805d000 0x200>;
173 interrupts = <0 34 0x4>;
Benoit Coussone3e5a922011-08-16 11:51:54 +0200174 ti,hwmods = "gpio6";
175 gpio-controller;
176 #gpio-cells = <2>;
177 interrupt-controller;
178 #interrupt-cells = <1>;
179 };
180
Benoit Cousson19bfb762012-02-16 11:55:27 +0100181 uart1: serial@4806a000 {
Rajendra Nayakcf3c79d2011-12-14 17:25:46 +0530182 compatible = "ti,omap4-uart";
Benoit Cousson48420db2012-09-05 11:38:23 +0200183 reg = <0x4806a000 0x100>;
184 interrupts = <0 72 0x4>;
Rajendra Nayakcf3c79d2011-12-14 17:25:46 +0530185 ti,hwmods = "uart1";
186 clock-frequency = <48000000>;
187 };
188
Benoit Cousson19bfb762012-02-16 11:55:27 +0100189 uart2: serial@4806c000 {
Rajendra Nayakcf3c79d2011-12-14 17:25:46 +0530190 compatible = "ti,omap4-uart";
Benoit Cousson48420db2012-09-05 11:38:23 +0200191 reg = <0x4806c000 0x100>;
192 interrupts = <0 73 0x4>;
Rajendra Nayakcf3c79d2011-12-14 17:25:46 +0530193 ti,hwmods = "uart2";
194 clock-frequency = <48000000>;
195 };
196
Benoit Cousson19bfb762012-02-16 11:55:27 +0100197 uart3: serial@48020000 {
Rajendra Nayakcf3c79d2011-12-14 17:25:46 +0530198 compatible = "ti,omap4-uart";
Benoit Cousson48420db2012-09-05 11:38:23 +0200199 reg = <0x48020000 0x100>;
200 interrupts = <0 74 0x4>;
Rajendra Nayakcf3c79d2011-12-14 17:25:46 +0530201 ti,hwmods = "uart3";
202 clock-frequency = <48000000>;
203 };
204
Benoit Cousson19bfb762012-02-16 11:55:27 +0100205 uart4: serial@4806e000 {
Rajendra Nayakcf3c79d2011-12-14 17:25:46 +0530206 compatible = "ti,omap4-uart";
Benoit Cousson48420db2012-09-05 11:38:23 +0200207 reg = <0x4806e000 0x100>;
208 interrupts = <0 70 0x4>;
Rajendra Nayakcf3c79d2011-12-14 17:25:46 +0530209 ti,hwmods = "uart4";
210 clock-frequency = <48000000>;
211 };
Benoit Cousson58e778f2011-08-17 19:00:03 +0530212
213 i2c1: i2c@48070000 {
214 compatible = "ti,omap4-i2c";
Benoit Cousson48420db2012-09-05 11:38:23 +0200215 reg = <0x48070000 0x100>;
216 interrupts = <0 56 0x4>;
Benoit Cousson58e778f2011-08-17 19:00:03 +0530217 #address-cells = <1>;
218 #size-cells = <0>;
219 ti,hwmods = "i2c1";
220 };
221
222 i2c2: i2c@48072000 {
223 compatible = "ti,omap4-i2c";
Benoit Cousson48420db2012-09-05 11:38:23 +0200224 reg = <0x48072000 0x100>;
225 interrupts = <0 57 0x4>;
Benoit Cousson58e778f2011-08-17 19:00:03 +0530226 #address-cells = <1>;
227 #size-cells = <0>;
228 ti,hwmods = "i2c2";
229 };
230
231 i2c3: i2c@48060000 {
232 compatible = "ti,omap4-i2c";
Benoit Cousson48420db2012-09-05 11:38:23 +0200233 reg = <0x48060000 0x100>;
234 interrupts = <0 61 0x4>;
Benoit Cousson58e778f2011-08-17 19:00:03 +0530235 #address-cells = <1>;
236 #size-cells = <0>;
237 ti,hwmods = "i2c3";
238 };
239
240 i2c4: i2c@48350000 {
241 compatible = "ti,omap4-i2c";
Benoit Cousson48420db2012-09-05 11:38:23 +0200242 reg = <0x48350000 0x100>;
243 interrupts = <0 62 0x4>;
Benoit Cousson58e778f2011-08-17 19:00:03 +0530244 #address-cells = <1>;
245 #size-cells = <0>;
246 ti,hwmods = "i2c4";
247 };
Benoit Coussonefcf1e52012-01-20 14:15:58 +0100248
249 mcspi1: spi@48098000 {
250 compatible = "ti,omap4-mcspi";
Benoit Cousson48420db2012-09-05 11:38:23 +0200251 reg = <0x48098000 0x200>;
252 interrupts = <0 65 0x4>;
Benoit Coussonefcf1e52012-01-20 14:15:58 +0100253 #address-cells = <1>;
254 #size-cells = <0>;
255 ti,hwmods = "mcspi1";
256 ti,spi-num-cs = <4>;
257 };
258
259 mcspi2: spi@4809a000 {
260 compatible = "ti,omap4-mcspi";
Benoit Cousson48420db2012-09-05 11:38:23 +0200261 reg = <0x4809a000 0x200>;
262 interrupts = <0 66 0x4>;
Benoit Coussonefcf1e52012-01-20 14:15:58 +0100263 #address-cells = <1>;
264 #size-cells = <0>;
265 ti,hwmods = "mcspi2";
266 ti,spi-num-cs = <2>;
267 };
268
269 mcspi3: spi@480b8000 {
270 compatible = "ti,omap4-mcspi";
Benoit Cousson48420db2012-09-05 11:38:23 +0200271 reg = <0x480b8000 0x200>;
272 interrupts = <0 91 0x4>;
Benoit Coussonefcf1e52012-01-20 14:15:58 +0100273 #address-cells = <1>;
274 #size-cells = <0>;
275 ti,hwmods = "mcspi3";
276 ti,spi-num-cs = <2>;
277 };
278
279 mcspi4: spi@480ba000 {
280 compatible = "ti,omap4-mcspi";
Benoit Cousson48420db2012-09-05 11:38:23 +0200281 reg = <0x480ba000 0x200>;
282 interrupts = <0 48 0x4>;
Benoit Coussonefcf1e52012-01-20 14:15:58 +0100283 #address-cells = <1>;
284 #size-cells = <0>;
285 ti,hwmods = "mcspi4";
286 ti,spi-num-cs = <1>;
287 };
Rajendra Nayak74981762011-10-04 17:10:27 +0530288
289 mmc1: mmc@4809c000 {
290 compatible = "ti,omap4-hsmmc";
Benoit Cousson48420db2012-09-05 11:38:23 +0200291 reg = <0x4809c000 0x400>;
292 interrupts = <0 83 0x4>;
Rajendra Nayak74981762011-10-04 17:10:27 +0530293 ti,hwmods = "mmc1";
294 ti,dual-volt;
295 ti,needs-special-reset;
296 };
297
298 mmc2: mmc@480b4000 {
299 compatible = "ti,omap4-hsmmc";
Benoit Cousson48420db2012-09-05 11:38:23 +0200300 reg = <0x480b4000 0x400>;
301 interrupts = <0 86 0x4>;
Rajendra Nayak74981762011-10-04 17:10:27 +0530302 ti,hwmods = "mmc2";
303 ti,needs-special-reset;
304 };
305
306 mmc3: mmc@480ad000 {
307 compatible = "ti,omap4-hsmmc";
Benoit Cousson48420db2012-09-05 11:38:23 +0200308 reg = <0x480ad000 0x400>;
309 interrupts = <0 94 0x4>;
Rajendra Nayak74981762011-10-04 17:10:27 +0530310 ti,hwmods = "mmc3";
311 ti,needs-special-reset;
312 };
313
314 mmc4: mmc@480d1000 {
315 compatible = "ti,omap4-hsmmc";
Benoit Cousson48420db2012-09-05 11:38:23 +0200316 reg = <0x480d1000 0x400>;
317 interrupts = <0 96 0x4>;
Rajendra Nayak74981762011-10-04 17:10:27 +0530318 ti,hwmods = "mmc4";
319 ti,needs-special-reset;
320 };
321
322 mmc5: mmc@480d5000 {
323 compatible = "ti,omap4-hsmmc";
Benoit Cousson48420db2012-09-05 11:38:23 +0200324 reg = <0x480d5000 0x400>;
325 interrupts = <0 59 0x4>;
Rajendra Nayak74981762011-10-04 17:10:27 +0530326 ti,hwmods = "mmc5";
327 ti,needs-special-reset;
328 };
Xiao Jiang94c30732012-06-01 12:44:14 +0800329
330 wdt2: wdt@4a314000 {
331 compatible = "ti,omap4-wdt", "ti,omap3-wdt";
Benoit Cousson48420db2012-09-05 11:38:23 +0200332 reg = <0x4a314000 0x80>;
333 interrupts = <0 80 0x4>;
Xiao Jiang94c30732012-06-01 12:44:14 +0800334 ti,hwmods = "wd_timer2";
335 };
Peter Ujfalusi4f4b5c72012-06-08 17:01:59 +0300336
337 mcpdm: mcpdm@40132000 {
338 compatible = "ti,omap4-mcpdm";
339 reg = <0x40132000 0x7f>, /* MPU private access */
340 <0x49032000 0x7f>; /* L3 Interconnect */
Peter Ujfalusi63467cf2012-08-29 16:31:06 +0300341 reg-names = "mpu", "dma";
Peter Ujfalusi4f4b5c72012-06-08 17:01:59 +0300342 interrupts = <0 112 0x4>;
343 interrupt-parent = <&gic>;
344 ti,hwmods = "mcpdm";
345 };
Peter Ujfalusia4c38312012-06-08 17:02:00 +0300346
347 dmic: dmic@4012e000 {
348 compatible = "ti,omap4-dmic";
349 reg = <0x4012e000 0x7f>, /* MPU private access */
350 <0x4902e000 0x7f>; /* L3 Interconnect */
Peter Ujfalusi63467cf2012-08-29 16:31:06 +0300351 reg-names = "mpu", "dma";
Peter Ujfalusia4c38312012-06-08 17:02:00 +0300352 interrupts = <0 114 0x4>;
353 interrupt-parent = <&gic>;
354 ti,hwmods = "dmic";
355 };
Sourav Poddar61bc3542012-08-14 16:45:37 +0530356
Peter Ujfalusi2995a102012-07-26 17:13:21 +0300357 mcbsp1: mcbsp@40122000 {
358 compatible = "ti,omap4-mcbsp";
359 reg = <0x40122000 0xff>, /* MPU private access */
360 <0x49022000 0xff>; /* L3 Interconnect */
361 reg-names = "mpu", "dma";
362 interrupts = <0 17 0x4>;
363 interrupt-names = "common";
364 interrupt-parent = <&gic>;
365 ti,buffer-size = <128>;
366 ti,hwmods = "mcbsp1";
367 };
368
369 mcbsp2: mcbsp@40124000 {
370 compatible = "ti,omap4-mcbsp";
371 reg = <0x40124000 0xff>, /* MPU private access */
372 <0x49024000 0xff>; /* L3 Interconnect */
373 reg-names = "mpu", "dma";
374 interrupts = <0 22 0x4>;
375 interrupt-names = "common";
376 interrupt-parent = <&gic>;
377 ti,buffer-size = <128>;
378 ti,hwmods = "mcbsp2";
379 };
380
381 mcbsp3: mcbsp@40126000 {
382 compatible = "ti,omap4-mcbsp";
383 reg = <0x40126000 0xff>, /* MPU private access */
384 <0x49026000 0xff>; /* L3 Interconnect */
385 reg-names = "mpu", "dma";
386 interrupts = <0 23 0x4>;
387 interrupt-names = "common";
388 interrupt-parent = <&gic>;
389 ti,buffer-size = <128>;
390 ti,hwmods = "mcbsp3";
391 };
392
393 mcbsp4: mcbsp@48096000 {
394 compatible = "ti,omap4-mcbsp";
395 reg = <0x48096000 0xff>; /* L4 Interconnect */
396 reg-names = "mpu";
397 interrupts = <0 16 0x4>;
398 interrupt-names = "common";
399 interrupt-parent = <&gic>;
400 ti,buffer-size = <128>;
401 ti,hwmods = "mcbsp4";
402 };
403
Sourav Poddar61bc3542012-08-14 16:45:37 +0530404 keypad: keypad@4a31c000 {
405 compatible = "ti,omap4-keypad";
Benoit Cousson48420db2012-09-05 11:38:23 +0200406 reg = <0x4a31c000 0x80>;
407 interrupts = <0 120 0x4>;
408 reg-names = "mpu";
Sourav Poddar61bc3542012-08-14 16:45:37 +0530409 ti,hwmods = "kbd";
410 };
Aneesh V11c27062012-01-20 20:35:26 +0530411
412 emif1: emif@4c000000 {
413 compatible = "ti,emif-4d";
Benoit Cousson48420db2012-09-05 11:38:23 +0200414 reg = <0x4c000000 0x100>;
415 interrupts = <0 110 0x4>;
Aneesh V11c27062012-01-20 20:35:26 +0530416 ti,hwmods = "emif1";
417 phy-type = <1>;
418 hw-caps-read-idle-ctrl;
419 hw-caps-ll-interface;
420 hw-caps-temp-alert;
421 };
422
423 emif2: emif@4d000000 {
424 compatible = "ti,emif-4d";
Benoit Cousson48420db2012-09-05 11:38:23 +0200425 reg = <0x4d000000 0x100>;
426 interrupts = <0 111 0x4>;
Aneesh V11c27062012-01-20 20:35:26 +0530427 ti,hwmods = "emif2";
428 phy-type = <1>;
429 hw-caps-read-idle-ctrl;
430 hw-caps-ll-interface;
431 hw-caps-temp-alert;
432 };
Linus Torvalds8f446a72012-10-01 18:46:13 -0700433
Kishon Vijay Abraham I3ce0a992012-09-19 16:02:51 +0530434 ocp2scp@4a0ad000 {
Kishon Vijay Abraham I59bafcf2012-08-22 14:10:03 +0530435 compatible = "ti,omap-ocp2scp";
Kishon Vijay Abraham I3ce0a992012-09-19 16:02:51 +0530436 reg = <0x4a0ad000 0x1f>;
Kishon Vijay Abraham I59bafcf2012-08-22 14:10:03 +0530437 #address-cells = <1>;
438 #size-cells = <1>;
439 ranges;
440 ti,hwmods = "ocp2scp_usb_phy";
441 };
Benoit Coussond9fda072011-08-09 17:15:17 +0200442 };
443};