blob: f024bb3034a6e5322928b7ff4393716d2d302940 [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";
15
Rajendra Nayakcf3c79d2011-12-14 17:25:46 +053016 aliases {
17 serial0 = &uart1;
18 serial1 = &uart2;
19 serial2 = &uart3;
20 serial3 = &uart4;
21 };
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
Benoit Cousson385a64b2011-08-16 11:51:54 +020072 gpio1: gpio@48310000 {
73 compatible = "ti,omap3-gpio";
74 ti,hwmods = "gpio1";
75 gpio-controller;
76 #gpio-cells = <2>;
77 interrupt-controller;
78 #interrupt-cells = <1>;
79 };
80
81 gpio2: gpio@49050000 {
82 compatible = "ti,omap3-gpio";
83 ti,hwmods = "gpio2";
84 gpio-controller;
85 #gpio-cells = <2>;
86 interrupt-controller;
87 #interrupt-cells = <1>;
88 };
89
90 gpio3: gpio@49052000 {
91 compatible = "ti,omap3-gpio";
92 ti,hwmods = "gpio3";
93 gpio-controller;
94 #gpio-cells = <2>;
95 interrupt-controller;
96 #interrupt-cells = <1>;
97 };
98
99 gpio4: gpio@49054000 {
100 compatible = "ti,omap3-gpio";
101 ti,hwmods = "gpio4";
102 gpio-controller;
103 #gpio-cells = <2>;
104 interrupt-controller;
105 #interrupt-cells = <1>;
106 };
107
108 gpio5: gpio@49056000 {
109 compatible = "ti,omap3-gpio";
110 ti,hwmods = "gpio5";
111 gpio-controller;
112 #gpio-cells = <2>;
113 interrupt-controller;
114 #interrupt-cells = <1>;
115 };
116
117 gpio6: gpio@49058000 {
118 compatible = "ti,omap3-gpio";
119 ti,hwmods = "gpio6";
120 gpio-controller;
121 #gpio-cells = <2>;
122 interrupt-controller;
123 #interrupt-cells = <1>;
124 };
125
Benoit Cousson19bfb762012-02-16 11:55:27 +0100126 uart1: serial@4806a000 {
Rajendra Nayakcf3c79d2011-12-14 17:25:46 +0530127 compatible = "ti,omap3-uart";
128 ti,hwmods = "uart1";
129 clock-frequency = <48000000>;
130 };
131
Benoit Cousson19bfb762012-02-16 11:55:27 +0100132 uart2: serial@4806c000 {
Rajendra Nayakcf3c79d2011-12-14 17:25:46 +0530133 compatible = "ti,omap3-uart";
134 ti,hwmods = "uart2";
135 clock-frequency = <48000000>;
136 };
137
Benoit Cousson19bfb762012-02-16 11:55:27 +0100138 uart3: serial@49020000 {
Rajendra Nayakcf3c79d2011-12-14 17:25:46 +0530139 compatible = "ti,omap3-uart";
140 ti,hwmods = "uart3";
141 clock-frequency = <48000000>;
142 };
143
Benoit Cousson19bfb762012-02-16 11:55:27 +0100144 uart4: serial@49042000 {
Rajendra Nayakcf3c79d2011-12-14 17:25:46 +0530145 compatible = "ti,omap3-uart";
146 ti,hwmods = "uart4";
147 clock-frequency = <48000000>;
148 };
Benoit Coussonca59a5c2011-08-30 16:50:24 +0200149
150 i2c1: i2c@48070000 {
151 compatible = "ti,omap3-i2c";
152 #address-cells = <1>;
153 #size-cells = <0>;
154 ti,hwmods = "i2c1";
155 };
156
157 i2c2: i2c@48072000 {
158 compatible = "ti,omap3-i2c";
159 #address-cells = <1>;
160 #size-cells = <0>;
161 ti,hwmods = "i2c2";
162 };
163
164 i2c3: i2c@48060000 {
165 compatible = "ti,omap3-i2c";
166 #address-cells = <1>;
167 #size-cells = <0>;
168 ti,hwmods = "i2c3";
169 };
Benoit Coussonfc72d242012-01-20 14:15:58 +0100170
171 mcspi1: spi@48098000 {
172 compatible = "ti,omap2-mcspi";
173 #address-cells = <1>;
174 #size-cells = <0>;
175 ti,hwmods = "mcspi1";
176 ti,spi-num-cs = <4>;
177 };
178
179 mcspi2: spi@4809a000 {
180 compatible = "ti,omap2-mcspi";
181 #address-cells = <1>;
182 #size-cells = <0>;
183 ti,hwmods = "mcspi2";
184 ti,spi-num-cs = <2>;
185 };
186
187 mcspi3: spi@480b8000 {
188 compatible = "ti,omap2-mcspi";
189 #address-cells = <1>;
190 #size-cells = <0>;
191 ti,hwmods = "mcspi3";
192 ti,spi-num-cs = <2>;
193 };
194
195 mcspi4: spi@480ba000 {
196 compatible = "ti,omap2-mcspi";
197 #address-cells = <1>;
198 #size-cells = <0>;
199 ti,hwmods = "mcspi4";
200 ti,spi-num-cs = <1>;
201 };
Rajendra Nayakb3431f52012-02-22 17:42:27 +0530202
203 mmc1: mmc@4809c000 {
204 compatible = "ti,omap3-hsmmc";
205 ti,hwmods = "mmc1";
206 ti,dual-volt;
207 };
208
209 mmc2: mmc@480b4000 {
210 compatible = "ti,omap3-hsmmc";
211 ti,hwmods = "mmc2";
212 };
213
214 mmc3: mmc@480ad000 {
215 compatible = "ti,omap3-hsmmc";
216 ti,hwmods = "mmc3";
217 };
Xiao Jiang94c30732012-06-01 12:44:14 +0800218
219 wdt2: wdt@48314000 {
220 compatible = "ti,omap3-wdt";
221 ti,hwmods = "wd_timer2";
222 };
Peter Ujfalusi0be484b2012-09-05 14:21:22 +0300223
224 mcbsp1: mcbsp@48074000 {
225 compatible = "ti,omap3-mcbsp";
226 reg = <0x48074000 0xff>;
227 reg-names = "mpu";
228 interrupts = <16>, /* OCP compliant interrupt */
229 <59>, /* TX interrupt */
230 <60>; /* RX interrupt */
231 interrupt-names = "common", "tx", "rx";
232 interrupt-parent = <&intc>;
233 ti,buffer-size = <128>;
234 ti,hwmods = "mcbsp1";
235 };
236
237 mcbsp2: mcbsp@49022000 {
238 compatible = "ti,omap3-mcbsp";
239 reg = <0x49022000 0xff>,
240 <0x49028000 0xff>;
241 reg-names = "mpu", "sidetone";
242 interrupts = <17>, /* OCP compliant interrupt */
243 <62>, /* TX interrupt */
244 <63>, /* RX interrupt */
245 <4>; /* Sidetone */
246 interrupt-names = "common", "tx", "rx", "sidetone";
247 interrupt-parent = <&intc>;
248 ti,buffer-size = <1280>;
249 ti,hwmods = "mcbsp2";
250 };
251
252 mcbsp3: mcbsp@49024000 {
253 compatible = "ti,omap3-mcbsp";
254 reg = <0x49024000 0xff>,
255 <0x4902a000 0xff>;
256 reg-names = "mpu", "sidetone";
257 interrupts = <22>, /* OCP compliant interrupt */
258 <89>, /* TX interrupt */
259 <90>, /* RX interrupt */
260 <5>; /* Sidetone */
261 interrupt-names = "common", "tx", "rx", "sidetone";
262 interrupt-parent = <&intc>;
263 ti,buffer-size = <128>;
264 ti,hwmods = "mcbsp3";
265 };
266
267 mcbsp4: mcbsp@49026000 {
268 compatible = "ti,omap3-mcbsp";
269 reg = <0x49026000 0xff>;
270 reg-names = "mpu";
271 interrupts = <23>, /* OCP compliant interrupt */
272 <54>, /* TX interrupt */
273 <55>; /* RX interrupt */
274 interrupt-names = "common", "tx", "rx";
275 interrupt-parent = <&intc>;
276 ti,buffer-size = <128>;
277 ti,hwmods = "mcbsp4";
278 };
279
280 mcbsp5: mcbsp@48096000 {
281 compatible = "ti,omap3-mcbsp";
282 reg = <0x48096000 0xff>;
283 reg-names = "mpu";
284 interrupts = <27>, /* OCP compliant interrupt */
285 <81>, /* TX interrupt */
286 <82>; /* RX interrupt */
287 interrupt-names = "common", "tx", "rx";
288 interrupt-parent = <&intc>;
289 ti,buffer-size = <128>;
290 ti,hwmods = "mcbsp5";
291 };
Benoit Cousson189892f2011-08-16 21:02:01 +0530292 };
293};