blob: af9b1822ff84fea58290788753dac0bc363456cc [file] [log] [blame]
Benoit Cousson189892f2011-08-16 21:02:01 +05301/*
2 * Device Tree Source for OMAP3 SoC
3 *
4 * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/
5 *
6 * This file is licensed under the terms of the GNU General Public License
7 * version 2. This program is licensed "as is" without any warranty of any
8 * kind, whether express or implied.
9 */
10
11/include/ "skeleton.dtsi"
12
13/ {
14 compatible = "ti,omap3430", "ti,omap3";
Benoit Cousson4c94ac22012-10-24 10:47:52 +020015 interrupt-parent = <&intc>;
Benoit Cousson189892f2011-08-16 21:02:01 +053016
Rajendra Nayakcf3c79d2011-12-14 17:25:46 +053017 aliases {
18 serial0 = &uart1;
19 serial1 = &uart2;
20 serial2 = &uart3;
Rajendra Nayakcf3c79d2011-12-14 17:25:46 +053021 };
22
Benoit Cousson476b6792011-08-16 11:49:08 +020023 cpus {
24 cpu@0 {
25 compatible = "arm,cortex-a8";
26 };
27 };
28
Benoit Cousson189892f2011-08-16 21:02:01 +053029 /*
30 * The soc node represents the soc top level view. It is uses for IPs
31 * that are not memory mapped in the MPU view or for the MPU itself.
32 */
33 soc {
34 compatible = "ti,omap-infra";
Benoit Cousson476b6792011-08-16 11:49:08 +020035 mpu {
36 compatible = "ti,omap3-mpu";
37 ti,hwmods = "mpu";
38 };
39
40 iva {
41 compatible = "ti,iva2.2";
42 ti,hwmods = "iva";
43
44 dsp {
45 compatible = "ti,omap3-c64";
46 };
47 };
Benoit Cousson189892f2011-08-16 21:02:01 +053048 };
49
50 /*
51 * XXX: Use a flat representation of the OMAP3 interconnect.
52 * The real OMAP interconnect network is quite complex.
53 * Since that will not bring real advantage to represent that in DT for
54 * the moment, just use a fake OCP bus entry to represent the whole bus
55 * hierarchy.
56 */
57 ocp {
58 compatible = "simple-bus";
59 #address-cells = <1>;
60 #size-cells = <1>;
61 ranges;
62 ti,hwmods = "l3_main";
63
Benoit Coussond65c5422011-11-30 19:26:42 +010064 intc: interrupt-controller@48200000 {
65 compatible = "ti,omap2-intc";
Benoit Cousson189892f2011-08-16 21:02:01 +053066 interrupt-controller;
67 #interrupt-cells = <1>;
Benoit Coussond65c5422011-11-30 19:26:42 +010068 ti,intc-size = <96>;
69 reg = <0x48200000 0x1000>;
Benoit Cousson189892f2011-08-16 21:02:01 +053070 };
Rajendra Nayakcf3c79d2011-12-14 17:25:46 +053071
Tony Lindgren679e3312012-09-10 10:34:51 -070072 omap3_pmx_core: pinmux@48002030 {
73 compatible = "ti,omap3-padconf", "pinctrl-single";
74 reg = <0x48002030 0x05cc>;
75 #address-cells = <1>;
76 #size-cells = <0>;
77 pinctrl-single,register-width = <16>;
78 pinctrl-single,function-mask = <0x7fff>;
79 };
80
81 omap3_pmx_wkup: pinmux@0x48002a58 {
82 compatible = "ti,omap3-padconf", "pinctrl-single";
83 reg = <0x48002a58 0x5c>;
84 #address-cells = <1>;
85 #size-cells = <0>;
86 pinctrl-single,register-width = <16>;
87 pinctrl-single,function-mask = <0x7fff>;
88 };
89
Benoit Cousson385a64b2011-08-16 11:51:54 +020090 gpio1: gpio@48310000 {
91 compatible = "ti,omap3-gpio";
92 ti,hwmods = "gpio1";
93 gpio-controller;
94 #gpio-cells = <2>;
95 interrupt-controller;
96 #interrupt-cells = <1>;
97 };
98
99 gpio2: gpio@49050000 {
100 compatible = "ti,omap3-gpio";
101 ti,hwmods = "gpio2";
102 gpio-controller;
103 #gpio-cells = <2>;
104 interrupt-controller;
105 #interrupt-cells = <1>;
106 };
107
108 gpio3: gpio@49052000 {
109 compatible = "ti,omap3-gpio";
110 ti,hwmods = "gpio3";
111 gpio-controller;
112 #gpio-cells = <2>;
113 interrupt-controller;
114 #interrupt-cells = <1>;
115 };
116
117 gpio4: gpio@49054000 {
118 compatible = "ti,omap3-gpio";
119 ti,hwmods = "gpio4";
120 gpio-controller;
121 #gpio-cells = <2>;
122 interrupt-controller;
123 #interrupt-cells = <1>;
124 };
125
126 gpio5: gpio@49056000 {
127 compatible = "ti,omap3-gpio";
128 ti,hwmods = "gpio5";
129 gpio-controller;
130 #gpio-cells = <2>;
131 interrupt-controller;
132 #interrupt-cells = <1>;
133 };
134
135 gpio6: gpio@49058000 {
136 compatible = "ti,omap3-gpio";
137 ti,hwmods = "gpio6";
138 gpio-controller;
139 #gpio-cells = <2>;
140 interrupt-controller;
141 #interrupt-cells = <1>;
142 };
143
Benoit Cousson19bfb762012-02-16 11:55:27 +0100144 uart1: serial@4806a000 {
Rajendra Nayakcf3c79d2011-12-14 17:25:46 +0530145 compatible = "ti,omap3-uart";
146 ti,hwmods = "uart1";
147 clock-frequency = <48000000>;
148 };
149
Benoit Cousson19bfb762012-02-16 11:55:27 +0100150 uart2: serial@4806c000 {
Rajendra Nayakcf3c79d2011-12-14 17:25:46 +0530151 compatible = "ti,omap3-uart";
152 ti,hwmods = "uart2";
153 clock-frequency = <48000000>;
154 };
155
Benoit Cousson19bfb762012-02-16 11:55:27 +0100156 uart3: serial@49020000 {
Rajendra Nayakcf3c79d2011-12-14 17:25:46 +0530157 compatible = "ti,omap3-uart";
158 ti,hwmods = "uart3";
159 clock-frequency = <48000000>;
160 };
161
Benoit Coussonca59a5c2011-08-30 16:50:24 +0200162 i2c1: i2c@48070000 {
163 compatible = "ti,omap3-i2c";
164 #address-cells = <1>;
165 #size-cells = <0>;
166 ti,hwmods = "i2c1";
167 };
168
169 i2c2: i2c@48072000 {
170 compatible = "ti,omap3-i2c";
171 #address-cells = <1>;
172 #size-cells = <0>;
173 ti,hwmods = "i2c2";
174 };
175
176 i2c3: i2c@48060000 {
177 compatible = "ti,omap3-i2c";
178 #address-cells = <1>;
179 #size-cells = <0>;
180 ti,hwmods = "i2c3";
181 };
Benoit Coussonfc72d242012-01-20 14:15:58 +0100182
183 mcspi1: spi@48098000 {
184 compatible = "ti,omap2-mcspi";
185 #address-cells = <1>;
186 #size-cells = <0>;
187 ti,hwmods = "mcspi1";
188 ti,spi-num-cs = <4>;
189 };
190
191 mcspi2: spi@4809a000 {
192 compatible = "ti,omap2-mcspi";
193 #address-cells = <1>;
194 #size-cells = <0>;
195 ti,hwmods = "mcspi2";
196 ti,spi-num-cs = <2>;
197 };
198
199 mcspi3: spi@480b8000 {
200 compatible = "ti,omap2-mcspi";
201 #address-cells = <1>;
202 #size-cells = <0>;
203 ti,hwmods = "mcspi3";
204 ti,spi-num-cs = <2>;
205 };
206
207 mcspi4: spi@480ba000 {
208 compatible = "ti,omap2-mcspi";
209 #address-cells = <1>;
210 #size-cells = <0>;
211 ti,hwmods = "mcspi4";
212 ti,spi-num-cs = <1>;
213 };
Rajendra Nayakb3431f52012-02-22 17:42:27 +0530214
215 mmc1: mmc@4809c000 {
216 compatible = "ti,omap3-hsmmc";
217 ti,hwmods = "mmc1";
218 ti,dual-volt;
219 };
220
221 mmc2: mmc@480b4000 {
222 compatible = "ti,omap3-hsmmc";
223 ti,hwmods = "mmc2";
224 };
225
226 mmc3: mmc@480ad000 {
227 compatible = "ti,omap3-hsmmc";
228 ti,hwmods = "mmc3";
229 };
Xiao Jiang94c30732012-06-01 12:44:14 +0800230
231 wdt2: wdt@48314000 {
232 compatible = "ti,omap3-wdt";
233 ti,hwmods = "wd_timer2";
234 };
Peter Ujfalusi0be484b2012-09-05 14:21:22 +0300235
236 mcbsp1: mcbsp@48074000 {
237 compatible = "ti,omap3-mcbsp";
238 reg = <0x48074000 0xff>;
239 reg-names = "mpu";
240 interrupts = <16>, /* OCP compliant interrupt */
241 <59>, /* TX interrupt */
242 <60>; /* RX interrupt */
243 interrupt-names = "common", "tx", "rx";
Peter Ujfalusi0be484b2012-09-05 14:21:22 +0300244 ti,buffer-size = <128>;
245 ti,hwmods = "mcbsp1";
246 };
247
248 mcbsp2: mcbsp@49022000 {
249 compatible = "ti,omap3-mcbsp";
250 reg = <0x49022000 0xff>,
251 <0x49028000 0xff>;
252 reg-names = "mpu", "sidetone";
253 interrupts = <17>, /* OCP compliant interrupt */
254 <62>, /* TX interrupt */
255 <63>, /* RX interrupt */
256 <4>; /* Sidetone */
257 interrupt-names = "common", "tx", "rx", "sidetone";
Peter Ujfalusi0be484b2012-09-05 14:21:22 +0300258 ti,buffer-size = <1280>;
Peter Ujfalusieef6fca2012-10-18 11:25:07 +0200259 ti,hwmods = "mcbsp2", "mcbsp2_sidetone";
Peter Ujfalusi0be484b2012-09-05 14:21:22 +0300260 };
261
262 mcbsp3: mcbsp@49024000 {
263 compatible = "ti,omap3-mcbsp";
264 reg = <0x49024000 0xff>,
265 <0x4902a000 0xff>;
266 reg-names = "mpu", "sidetone";
267 interrupts = <22>, /* OCP compliant interrupt */
268 <89>, /* TX interrupt */
269 <90>, /* RX interrupt */
270 <5>; /* Sidetone */
271 interrupt-names = "common", "tx", "rx", "sidetone";
Peter Ujfalusi0be484b2012-09-05 14:21:22 +0300272 ti,buffer-size = <128>;
Peter Ujfalusieef6fca2012-10-18 11:25:07 +0200273 ti,hwmods = "mcbsp3", "mcbsp3_sidetone";
Peter Ujfalusi0be484b2012-09-05 14:21:22 +0300274 };
275
276 mcbsp4: mcbsp@49026000 {
277 compatible = "ti,omap3-mcbsp";
278 reg = <0x49026000 0xff>;
279 reg-names = "mpu";
280 interrupts = <23>, /* OCP compliant interrupt */
281 <54>, /* TX interrupt */
282 <55>; /* RX interrupt */
283 interrupt-names = "common", "tx", "rx";
Peter Ujfalusi0be484b2012-09-05 14:21:22 +0300284 ti,buffer-size = <128>;
285 ti,hwmods = "mcbsp4";
286 };
287
288 mcbsp5: mcbsp@48096000 {
289 compatible = "ti,omap3-mcbsp";
290 reg = <0x48096000 0xff>;
291 reg-names = "mpu";
292 interrupts = <27>, /* OCP compliant interrupt */
293 <81>, /* TX interrupt */
294 <82>; /* RX interrupt */
295 interrupt-names = "common", "tx", "rx";
Peter Ujfalusi0be484b2012-09-05 14:21:22 +0300296 ti,buffer-size = <128>;
297 ti,hwmods = "mcbsp5";
298 };
Jon Hunterfab8ad02012-10-19 09:59:00 -0500299
300 timer1: timer@48318000 {
301 compatible = "ti,omap2-timer";
302 reg = <0x48318000 0x400>;
303 interrupts = <37>;
304 ti,hwmods = "timer1";
305 ti,timer-alwon;
306 };
307
308 timer2: timer@49032000 {
309 compatible = "ti,omap2-timer";
310 reg = <0x49032000 0x400>;
311 interrupts = <38>;
312 ti,hwmods = "timer2";
313 };
314
315 timer3: timer@49034000 {
316 compatible = "ti,omap2-timer";
317 reg = <0x49034000 0x400>;
318 interrupts = <39>;
319 ti,hwmods = "timer3";
320 };
321
322 timer4: timer@49036000 {
323 compatible = "ti,omap2-timer";
324 reg = <0x49036000 0x400>;
325 interrupts = <40>;
326 ti,hwmods = "timer4";
327 };
328
329 timer5: timer@49038000 {
330 compatible = "ti,omap2-timer";
331 reg = <0x49038000 0x400>;
332 interrupts = <41>;
333 ti,hwmods = "timer5";
334 ti,timer-dsp;
335 };
336
337 timer6: timer@4903a000 {
338 compatible = "ti,omap2-timer";
339 reg = <0x4903a000 0x400>;
340 interrupts = <42>;
341 ti,hwmods = "timer6";
342 ti,timer-dsp;
343 };
344
345 timer7: timer@4903c000 {
346 compatible = "ti,omap2-timer";
347 reg = <0x4903c000 0x400>;
348 interrupts = <43>;
349 ti,hwmods = "timer7";
350 ti,timer-dsp;
351 };
352
353 timer8: timer@4903e000 {
354 compatible = "ti,omap2-timer";
355 reg = <0x4903e000 0x400>;
356 interrupts = <44>;
357 ti,hwmods = "timer8";
358 ti,timer-pwm;
359 ti,timer-dsp;
360 };
361
362 timer9: timer@49040000 {
363 compatible = "ti,omap2-timer";
364 reg = <0x49040000 0x400>;
365 interrupts = <45>;
366 ti,hwmods = "timer9";
367 ti,timer-pwm;
368 };
369
370 timer10: timer@48086000 {
371 compatible = "ti,omap2-timer";
372 reg = <0x48086000 0x400>;
373 interrupts = <46>;
374 ti,hwmods = "timer10";
375 ti,timer-pwm;
376 };
377
378 timer11: timer@48088000 {
379 compatible = "ti,omap2-timer";
380 reg = <0x48088000 0x400>;
381 interrupts = <47>;
382 ti,hwmods = "timer11";
383 ti,timer-pwm;
384 };
385
386 timer12: timer@48304000 {
387 compatible = "ti,omap2-timer";
388 reg = <0x48304000 0x400>;
389 interrupts = <95>;
390 ti,hwmods = "timer12";
391 ti,timer-alwon;
392 ti,timer-secure;
393 };
Benoit Cousson189892f2011-08-16 21:02:01 +0530394 };
395};