ARM: dts: add pbias dt node
[cascardo/linux.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                 counter32k: counter@49020000 {
18                         compatible = "ti,omap-counter32k";
19                         reg = <0x49020000 0x20>;
20                         ti,hwmods = "counter_32k";
21                 };
22
23                 omap2430_pmx: pinmux@49002030 {
24                         compatible = "ti,omap2430-padconf", "pinctrl-single";
25                         reg = <0x49002030 0x0154>;
26                         #address-cells = <1>;
27                         #size-cells = <0>;
28                         pinctrl-single,register-width = <8>;
29                         pinctrl-single,function-mask = <0x3f>;
30                 };
31
32                 omap2_scm_general: tisyscon@49002270 {
33                         compatible = "syscon";
34                         reg = <0x49002270 0x240>;
35                 };
36
37                 pbias_regulator: pbias_regulator {
38                         compatible = "ti,pbias-omap";
39                         reg = <0x230 0x4>;
40                         syscon = <&omap2_scm_general>;
41                         pbias_mmc_reg: pbias_mmc_omap2430 {
42                                 regulator-name = "pbias_mmc_omap2430";
43                                 regulator-min-microvolt = <1800000>;
44                                 regulator-max-microvolt = <3000000>;
45                         };
46                 };
47
48                 gpio1: gpio@4900c000 {
49                         compatible = "ti,omap2-gpio";
50                         reg = <0x4900c000 0x200>;
51                         interrupts = <29>;
52                         ti,hwmods = "gpio1";
53                         ti,gpio-always-on;
54                         #gpio-cells = <2>;
55                         gpio-controller;
56                         #interrupt-cells = <2>;
57                         interrupt-controller;
58                 };
59
60                 gpio2: gpio@4900e000 {
61                         compatible = "ti,omap2-gpio";
62                         reg = <0x4900e000 0x200>;
63                         interrupts = <30>;
64                         ti,hwmods = "gpio2";
65                         ti,gpio-always-on;
66                         #gpio-cells = <2>;
67                         gpio-controller;
68                         #interrupt-cells = <2>;
69                         interrupt-controller;
70                 };
71
72                 gpio3: gpio@49010000 {
73                         compatible = "ti,omap2-gpio";
74                         reg = <0x49010000 0x200>;
75                         interrupts = <31>;
76                         ti,hwmods = "gpio3";
77                         ti,gpio-always-on;
78                         #gpio-cells = <2>;
79                         gpio-controller;
80                         #interrupt-cells = <2>;
81                         interrupt-controller;
82                 };
83
84                 gpio4: gpio@49012000 {
85                         compatible = "ti,omap2-gpio";
86                         reg = <0x49012000 0x200>;
87                         interrupts = <32>;
88                         ti,hwmods = "gpio4";
89                         ti,gpio-always-on;
90                         #gpio-cells = <2>;
91                         gpio-controller;
92                         #interrupt-cells = <2>;
93                         interrupt-controller;
94                 };
95
96                 gpio5: gpio@480b6000 {
97                         compatible = "ti,omap2-gpio";
98                         reg = <0x480b6000 0x200>;
99                         interrupts = <33>;
100                         ti,hwmods = "gpio5";
101                         #gpio-cells = <2>;
102                         gpio-controller;
103                         #interrupt-cells = <2>;
104                         interrupt-controller;
105                 };
106
107                 gpmc: gpmc@6e000000 {
108                         compatible = "ti,omap2430-gpmc";
109                         reg = <0x6e000000 0x1000>;
110                         #address-cells = <2>;
111                         #size-cells = <1>;
112                         interrupts = <20>;
113                         gpmc,num-cs = <8>;
114                         gpmc,num-waitpins = <4>;
115                         ti,hwmods = "gpmc";
116                 };
117
118                 mcbsp1: mcbsp@48074000 {
119                         compatible = "ti,omap2430-mcbsp";
120                         reg = <0x48074000 0xff>;
121                         reg-names = "mpu";
122                         interrupts = <64>, /* OCP compliant interrupt */
123                                      <59>, /* TX interrupt */
124                                      <60>, /* RX interrupt */
125                                      <61>; /* RX overflow interrupt */
126                         interrupt-names = "common", "tx", "rx", "rx_overflow";
127                         ti,buffer-size = <128>;
128                         ti,hwmods = "mcbsp1";
129                         dmas = <&sdma 31>,
130                                <&sdma 32>;
131                         dma-names = "tx", "rx";
132                 };
133
134                 mcbsp2: mcbsp@48076000 {
135                         compatible = "ti,omap2430-mcbsp";
136                         reg = <0x48076000 0xff>;
137                         reg-names = "mpu";
138                         interrupts = <16>, /* OCP compliant interrupt */
139                                      <62>, /* TX interrupt */
140                                      <63>; /* RX interrupt */
141                         interrupt-names = "common", "tx", "rx";
142                         ti,buffer-size = <128>;
143                         ti,hwmods = "mcbsp2";
144                         dmas = <&sdma 33>,
145                                <&sdma 34>;
146                         dma-names = "tx", "rx";
147                 };
148
149                 mcbsp3: mcbsp@4808c000 {
150                         compatible = "ti,omap2430-mcbsp";
151                         reg = <0x4808c000 0xff>;
152                         reg-names = "mpu";
153                         interrupts = <17>, /* OCP compliant interrupt */
154                                      <89>, /* TX interrupt */
155                                      <90>; /* RX interrupt */
156                         interrupt-names = "common", "tx", "rx";
157                         ti,buffer-size = <128>;
158                         ti,hwmods = "mcbsp3";
159                         dmas = <&sdma 17>,
160                                <&sdma 18>;
161                         dma-names = "tx", "rx";
162                 };
163
164                 mcbsp4: mcbsp@4808e000 {
165                         compatible = "ti,omap2430-mcbsp";
166                         reg = <0x4808e000 0xff>;
167                         reg-names = "mpu";
168                         interrupts = <18>, /* OCP compliant interrupt */
169                                      <54>, /* TX interrupt */
170                                      <55>; /* RX interrupt */
171                         interrupt-names = "common", "tx", "rx";
172                         ti,buffer-size = <128>;
173                         ti,hwmods = "mcbsp4";
174                         dmas = <&sdma 19>,
175                                <&sdma 20>;
176                         dma-names = "tx", "rx";
177                 };
178
179                 mcbsp5: mcbsp@48096000 {
180                         compatible = "ti,omap2430-mcbsp";
181                         reg = <0x48096000 0xff>;
182                         reg-names = "mpu";
183                         interrupts = <19>, /* OCP compliant interrupt */
184                                      <81>, /* TX interrupt */
185                                      <82>; /* RX interrupt */
186                         interrupt-names = "common", "tx", "rx";
187                         ti,buffer-size = <128>;
188                         ti,hwmods = "mcbsp5";
189                         dmas = <&sdma 21>,
190                                <&sdma 22>;
191                         dma-names = "tx", "rx";
192                 };
193
194                 mmc1: mmc@4809c000 {
195                         compatible = "ti,omap2-hsmmc";
196                         reg = <0x4809c000 0x200>;
197                         interrupts = <83>;
198                         ti,hwmods = "mmc1";
199                         ti,dual-volt;
200                         dmas = <&sdma 61>, <&sdma 62>;
201                         dma-names = "tx", "rx";
202                         pbias-supply = <&pbias_mmc_reg>;
203                 };
204
205                 mmc2: mmc@480b4000 {
206                         compatible = "ti,omap2-hsmmc";
207                         reg = <0x480b4000 0x200>;
208                         interrupts = <86>;
209                         ti,hwmods = "mmc2";
210                         dmas = <&sdma 47>, <&sdma 48>;
211                         dma-names = "tx", "rx";
212                 };
213
214                 timer1: timer@49018000 {
215                         compatible = "ti,omap2420-timer";
216                         reg = <0x49018000 0x400>;
217                         interrupts = <37>;
218                         ti,hwmods = "timer1";
219                         ti,timer-alwon;
220                 };
221
222                 mcspi3: mcspi@480b8000 {
223                         compatible = "ti,omap2-mcspi";
224                         ti,hwmods = "mcspi3";
225                         reg = <0x480b8000 0x100>;
226                         interrupts = <91>;
227                         dmas = <&sdma 15 &sdma 16 &sdma 23 &sdma 24>;
228                         dma-names = "tx0", "rx0", "tx1", "rx1";
229                 };
230
231                 usb_otg_hs: usb_otg_hs@480ac000 {
232                         compatible = "ti,omap2-musb";
233                         ti,hwmods = "usb_otg_hs";
234                         reg = <0x480ac000 0x1000>;
235                         interrupts = <93>;
236                 };
237
238                 wd_timer2: wdt@49016000 {
239                         compatible = "ti,omap2-wdt";
240                         ti,hwmods = "wd_timer2";
241                         reg = <0x49016000 0x80>;
242                 };
243         };
244 };
245
246 &i2c1 {
247         compatible = "ti,omap2430-i2c";
248 };
249
250 &i2c2 {
251         compatible = "ti,omap2430-i2c";
252 };