Merge tag 'arc-4.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/vgupta/arc
[sfrench/cifs-2.6.git] / arch / arm / boot / dts / omap2430.dtsi
1 /*
2  * Device Tree Source for OMAP243x SoC
3  *
4  * Copyright (C) 2012 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 "omap2.dtsi"
12
13 / {
14         compatible = "ti,omap2430", "ti,omap2";
15
16         ocp {
17                 l4_wkup: l4_wkup@49000000 {
18                         compatible = "ti,omap2-l4-wkup", "simple-bus";
19                         #address-cells = <1>;
20                         #size-cells = <1>;
21                         ranges = <0 0x49000000 0x31000>;
22
23                         prcm: prcm@6000 {
24                                 compatible = "ti,omap2-prcm";
25                                 reg = <0x6000 0x1000>;
26
27                                 prcm_clocks: clocks {
28                                         #address-cells = <1>;
29                                         #size-cells = <0>;
30                                 };
31
32                                 prcm_clockdomains: clockdomains {
33                                 };
34                         };
35
36                         scm: scm@2000 {
37                                 compatible = "ti,omap2-scm", "simple-bus";
38                                 reg = <0x2000 0x1000>;
39                                 #address-cells = <1>;
40                                 #size-cells = <1>;
41                                 ranges = <0 0x2000 0x1000>;
42
43                                 omap2430_pmx: pinmux@30 {
44                                         compatible = "ti,omap2430-padconf",
45                                                      "pinctrl-single";
46                                         reg = <0x30 0x0154>;
47                                         #address-cells = <1>;
48                                         #size-cells = <0>;
49                                         pinctrl-single,register-width = <8>;
50                                         pinctrl-single,function-mask = <0x3f>;
51                                 };
52
53                                 scm_conf: scm_conf@270 {
54                                         compatible = "syscon";
55                                         reg = <0x270 0x240>;
56                                         #address-cells = <1>;
57                                         #size-cells = <1>;
58
59                                         scm_clocks: clocks {
60                                                 #address-cells = <1>;
61                                                 #size-cells = <0>;
62                                         };
63
64                                         pbias_regulator: pbias_regulator {
65                                                 compatible = "ti,pbias-omap";
66                                                 reg = <0x230 0x4>;
67                                                 syscon = <&scm_conf>;
68                                                 pbias_mmc_reg: pbias_mmc_omap2430 {
69                                                         regulator-name = "pbias_mmc_omap2430";
70                                                         regulator-min-microvolt = <1800000>;
71                                                         regulator-max-microvolt = <3000000>;
72                                                 };
73                                         };
74                                 };
75
76                                 scm_clockdomains: clockdomains {
77                                 };
78                         };
79
80                         counter32k: counter@20000 {
81                                 compatible = "ti,omap-counter32k";
82                                 reg = <0x20000 0x20>;
83                                 ti,hwmods = "counter_32k";
84                         };
85                 };
86
87                 gpio1: gpio@4900c000 {
88                         compatible = "ti,omap2-gpio";
89                         reg = <0x4900c000 0x200>;
90                         interrupts = <29>;
91                         ti,hwmods = "gpio1";
92                         ti,gpio-always-on;
93                         #gpio-cells = <2>;
94                         gpio-controller;
95                         #interrupt-cells = <2>;
96                         interrupt-controller;
97                 };
98
99                 gpio2: gpio@4900e000 {
100                         compatible = "ti,omap2-gpio";
101                         reg = <0x4900e000 0x200>;
102                         interrupts = <30>;
103                         ti,hwmods = "gpio2";
104                         ti,gpio-always-on;
105                         #gpio-cells = <2>;
106                         gpio-controller;
107                         #interrupt-cells = <2>;
108                         interrupt-controller;
109                 };
110
111                 gpio3: gpio@49010000 {
112                         compatible = "ti,omap2-gpio";
113                         reg = <0x49010000 0x200>;
114                         interrupts = <31>;
115                         ti,hwmods = "gpio3";
116                         ti,gpio-always-on;
117                         #gpio-cells = <2>;
118                         gpio-controller;
119                         #interrupt-cells = <2>;
120                         interrupt-controller;
121                 };
122
123                 gpio4: gpio@49012000 {
124                         compatible = "ti,omap2-gpio";
125                         reg = <0x49012000 0x200>;
126                         interrupts = <32>;
127                         ti,hwmods = "gpio4";
128                         ti,gpio-always-on;
129                         #gpio-cells = <2>;
130                         gpio-controller;
131                         #interrupt-cells = <2>;
132                         interrupt-controller;
133                 };
134
135                 gpio5: gpio@480b6000 {
136                         compatible = "ti,omap2-gpio";
137                         reg = <0x480b6000 0x200>;
138                         interrupts = <33>;
139                         ti,hwmods = "gpio5";
140                         #gpio-cells = <2>;
141                         gpio-controller;
142                         #interrupt-cells = <2>;
143                         interrupt-controller;
144                 };
145
146                 gpmc: gpmc@6e000000 {
147                         compatible = "ti,omap2430-gpmc";
148                         reg = <0x6e000000 0x1000>;
149                         #address-cells = <2>;
150                         #size-cells = <1>;
151                         interrupts = <20>;
152                         gpmc,num-cs = <8>;
153                         gpmc,num-waitpins = <4>;
154                         ti,hwmods = "gpmc";
155                 };
156
157                 mcbsp1: mcbsp@48074000 {
158                         compatible = "ti,omap2430-mcbsp";
159                         reg = <0x48074000 0xff>;
160                         reg-names = "mpu";
161                         interrupts = <64>, /* OCP compliant interrupt */
162                                      <59>, /* TX interrupt */
163                                      <60>, /* RX interrupt */
164                                      <61>; /* RX overflow interrupt */
165                         interrupt-names = "common", "tx", "rx", "rx_overflow";
166                         ti,buffer-size = <128>;
167                         ti,hwmods = "mcbsp1";
168                         dmas = <&sdma 31>,
169                                <&sdma 32>;
170                         dma-names = "tx", "rx";
171                         status = "disabled";
172                 };
173
174                 mcbsp2: mcbsp@48076000 {
175                         compatible = "ti,omap2430-mcbsp";
176                         reg = <0x48076000 0xff>;
177                         reg-names = "mpu";
178                         interrupts = <16>, /* OCP compliant interrupt */
179                                      <62>, /* TX interrupt */
180                                      <63>; /* RX interrupt */
181                         interrupt-names = "common", "tx", "rx";
182                         ti,buffer-size = <128>;
183                         ti,hwmods = "mcbsp2";
184                         dmas = <&sdma 33>,
185                                <&sdma 34>;
186                         dma-names = "tx", "rx";
187                         status = "disabled";
188                 };
189
190                 mcbsp3: mcbsp@4808c000 {
191                         compatible = "ti,omap2430-mcbsp";
192                         reg = <0x4808c000 0xff>;
193                         reg-names = "mpu";
194                         interrupts = <17>, /* OCP compliant interrupt */
195                                      <89>, /* TX interrupt */
196                                      <90>; /* RX interrupt */
197                         interrupt-names = "common", "tx", "rx";
198                         ti,buffer-size = <128>;
199                         ti,hwmods = "mcbsp3";
200                         dmas = <&sdma 17>,
201                                <&sdma 18>;
202                         dma-names = "tx", "rx";
203                         status = "disabled";
204                 };
205
206                 mcbsp4: mcbsp@4808e000 {
207                         compatible = "ti,omap2430-mcbsp";
208                         reg = <0x4808e000 0xff>;
209                         reg-names = "mpu";
210                         interrupts = <18>, /* OCP compliant interrupt */
211                                      <54>, /* TX interrupt */
212                                      <55>; /* RX interrupt */
213                         interrupt-names = "common", "tx", "rx";
214                         ti,buffer-size = <128>;
215                         ti,hwmods = "mcbsp4";
216                         dmas = <&sdma 19>,
217                                <&sdma 20>;
218                         dma-names = "tx", "rx";
219                         status = "disabled";
220                 };
221
222                 mcbsp5: mcbsp@48096000 {
223                         compatible = "ti,omap2430-mcbsp";
224                         reg = <0x48096000 0xff>;
225                         reg-names = "mpu";
226                         interrupts = <19>, /* OCP compliant interrupt */
227                                      <81>, /* TX interrupt */
228                                      <82>; /* RX interrupt */
229                         interrupt-names = "common", "tx", "rx";
230                         ti,buffer-size = <128>;
231                         ti,hwmods = "mcbsp5";
232                         dmas = <&sdma 21>,
233                                <&sdma 22>;
234                         dma-names = "tx", "rx";
235                         status = "disabled";
236                 };
237
238                 mmc1: mmc@4809c000 {
239                         compatible = "ti,omap2-hsmmc";
240                         reg = <0x4809c000 0x200>;
241                         interrupts = <83>;
242                         ti,hwmods = "mmc1";
243                         ti,dual-volt;
244                         dmas = <&sdma 61>, <&sdma 62>;
245                         dma-names = "tx", "rx";
246                         pbias-supply = <&pbias_mmc_reg>;
247                 };
248
249                 mmc2: mmc@480b4000 {
250                         compatible = "ti,omap2-hsmmc";
251                         reg = <0x480b4000 0x200>;
252                         interrupts = <86>;
253                         ti,hwmods = "mmc2";
254                         dmas = <&sdma 47>, <&sdma 48>;
255                         dma-names = "tx", "rx";
256                 };
257
258                 mailbox: mailbox@48094000 {
259                         compatible = "ti,omap2-mailbox";
260                         reg = <0x48094000 0x200>;
261                         interrupts = <26>;
262                         ti,hwmods = "mailbox";
263                         #mbox-cells = <1>;
264                         ti,mbox-num-users = <4>;
265                         ti,mbox-num-fifos = <6>;
266                         mbox_dsp: dsp {
267                                 ti,mbox-tx = <0 0 0>;
268                                 ti,mbox-rx = <1 0 0>;
269                         };
270                 };
271
272                 timer1: timer@49018000 {
273                         compatible = "ti,omap2420-timer";
274                         reg = <0x49018000 0x400>;
275                         interrupts = <37>;
276                         ti,hwmods = "timer1";
277                         ti,timer-alwon;
278                 };
279
280                 mcspi3: mcspi@480b8000 {
281                         compatible = "ti,omap2-mcspi";
282                         ti,hwmods = "mcspi3";
283                         reg = <0x480b8000 0x100>;
284                         interrupts = <91>;
285                         dmas = <&sdma 15 &sdma 16 &sdma 23 &sdma 24>;
286                         dma-names = "tx0", "rx0", "tx1", "rx1";
287                 };
288
289                 usb_otg_hs: usb_otg_hs@480ac000 {
290                         compatible = "ti,omap2-musb";
291                         ti,hwmods = "usb_otg_hs";
292                         reg = <0x480ac000 0x1000>;
293                         interrupts = <93>;
294                 };
295
296                 wd_timer2: wdt@49016000 {
297                         compatible = "ti,omap2-wdt";
298                         ti,hwmods = "wd_timer2";
299                         reg = <0x49016000 0x80>;
300                 };
301         };
302 };
303
304 &i2c1 {
305         compatible = "ti,omap2430-i2c";
306 };
307
308 &i2c2 {
309         compatible = "ti,omap2430-i2c";
310 };
311
312 /include/ "omap24xx-clocks.dtsi"
313 /include/ "omap2430-clocks.dtsi"