blob: d170fadd7ddb5de8c004bbf86f09708363c25851 [file] [log] [blame]
Arnd Bergmann5d0769f2012-03-02 23:07:21 +00001/*
2 * Copyright 2012 Linaro Ltd
3 *
4 * The code contained herein is licensed under the GNU General Public
5 * License. You may obtain a copy of the GNU General Public License
6 * Version 2 or later at the following locations:
7 *
8 * http://www.opensource.org/licenses/gpl-license.html
9 * http://www.gnu.org/copyleft/gpl.html
10 */
11
12/include/ "skeleton.dtsi"
13
14/ {
15 soc-u9500 {
16 #address-cells = <1>;
17 #size-cells = <1>;
Lee Jones7e0ce272012-03-15 16:46:17 +000018 compatible = "stericsson,db8500";
Lee Jonesdab64872012-03-07 17:22:30 +000019 interrupt-parent = <&intc>;
Arnd Bergmann5d0769f2012-03-02 23:07:21 +000020 ranges;
Lee Jones7e0ce272012-03-15 16:46:17 +000021
Lee Jonesdab64872012-03-07 17:22:30 +000022 intc: interrupt-controller@a0411000 {
23 compatible = "arm,cortex-a9-gic";
24 #interrupt-cells = <3>;
25 #address-cells = <1>;
26 interrupt-controller;
Lee Jonesdab64872012-03-07 17:22:30 +000027 reg = <0xa0411000 0x1000>,
28 <0xa0410100 0x100>;
29 };
30
Lee Jonesf1949ea2012-03-08 09:02:02 +000031 L2: l2-cache {
32 compatible = "arm,pl310-cache";
33 reg = <0xa0412000 0x1000>;
34 interrupts = <0 13 4>;
35 cache-unified;
36 cache-level = <2>;
37 };
38
Lee Jones7e0ce272012-03-15 16:46:17 +000039 pmu {
40 compatible = "arm,cortex-a9-pmu";
41 interrupts = <0 7 0x4>;
42 };
43
Lee Jones71de5c42012-03-16 09:53:24 +000044 timer@a0410600 {
45 compatible = "arm,cortex-a9-twd-timer";
46 reg = <0xa0410600 0x20>;
47 interrupts = <1 13 0x304>;
48 };
49
Lee Jones7e0ce272012-03-15 16:46:17 +000050 rtc@80154000 {
Lee Jonesddb3b992012-05-26 07:01:31 +010051 compatible = "arm,rtc-pl031", "arm,primecell";
Lee Jones7e0ce272012-03-15 16:46:17 +000052 reg = <0x80154000 0x1000>;
53 interrupts = <0 18 0x4>;
54 };
55
56 gpio0: gpio@8012e000 {
57 compatible = "stericsson,db8500-gpio",
Lee Jonesfd9a80b2012-04-13 15:05:03 +010058 "st,nomadik-gpio";
Lee Jones7e0ce272012-03-15 16:46:17 +000059 reg = <0x8012e000 0x80>;
60 interrupts = <0 119 0x4>;
Lee Jones93b56982012-05-29 14:17:36 +080061 interrupt-controller;
62 #interrupt-cells = <2>;
Lee Jones61be4982012-06-14 11:16:03 +010063 st,supports-sleepmode;
Lee Jones7e0ce272012-03-15 16:46:17 +000064 gpio-controller;
Lee Jonesc0b133b2012-04-13 15:05:05 +010065 #gpio-cells = <2>;
66 gpio-bank = <0>;
Lee Jones7e0ce272012-03-15 16:46:17 +000067 };
68
69 gpio1: gpio@8012e080 {
70 compatible = "stericsson,db8500-gpio",
Lee Jonesfd9a80b2012-04-13 15:05:03 +010071 "st,nomadik-gpio";
Lee Jones7e0ce272012-03-15 16:46:17 +000072 reg = <0x8012e080 0x80>;
73 interrupts = <0 120 0x4>;
Lee Jones93b56982012-05-29 14:17:36 +080074 interrupt-controller;
75 #interrupt-cells = <2>;
Lee Jones61be4982012-06-14 11:16:03 +010076 st,supports-sleepmode;
Lee Jones7e0ce272012-03-15 16:46:17 +000077 gpio-controller;
Lee Jonesc0b133b2012-04-13 15:05:05 +010078 #gpio-cells = <2>;
79 gpio-bank = <1>;
Lee Jones7e0ce272012-03-15 16:46:17 +000080 };
81
82 gpio2: gpio@8000e000 {
83 compatible = "stericsson,db8500-gpio",
Lee Jonesfd9a80b2012-04-13 15:05:03 +010084 "st,nomadik-gpio";
Lee Jones7e0ce272012-03-15 16:46:17 +000085 reg = <0x8000e000 0x80>;
86 interrupts = <0 121 0x4>;
Lee Jones93b56982012-05-29 14:17:36 +080087 interrupt-controller;
88 #interrupt-cells = <2>;
Lee Jones61be4982012-06-14 11:16:03 +010089 st,supports-sleepmode;
Lee Jones7e0ce272012-03-15 16:46:17 +000090 gpio-controller;
Lee Jonesc0b133b2012-04-13 15:05:05 +010091 #gpio-cells = <2>;
92 gpio-bank = <2>;
Lee Jones7e0ce272012-03-15 16:46:17 +000093 };
94
95 gpio3: gpio@8000e080 {
96 compatible = "stericsson,db8500-gpio",
Lee Jonesfd9a80b2012-04-13 15:05:03 +010097 "st,nomadik-gpio";
Lee Jones7e0ce272012-03-15 16:46:17 +000098 reg = <0x8000e080 0x80>;
99 interrupts = <0 122 0x4>;
Lee Jones93b56982012-05-29 14:17:36 +0800100 interrupt-controller;
101 #interrupt-cells = <2>;
Lee Jones61be4982012-06-14 11:16:03 +0100102 st,supports-sleepmode;
Lee Jones7e0ce272012-03-15 16:46:17 +0000103 gpio-controller;
Lee Jonesc0b133b2012-04-13 15:05:05 +0100104 #gpio-cells = <2>;
105 gpio-bank = <3>;
Lee Jones7e0ce272012-03-15 16:46:17 +0000106 };
107
108 gpio4: gpio@8000e100 {
109 compatible = "stericsson,db8500-gpio",
Lee Jonesfd9a80b2012-04-13 15:05:03 +0100110 "st,nomadik-gpio";
Lee Jones7e0ce272012-03-15 16:46:17 +0000111 reg = <0x8000e100 0x80>;
112 interrupts = <0 123 0x4>;
Lee Jones93b56982012-05-29 14:17:36 +0800113 interrupt-controller;
114 #interrupt-cells = <2>;
Lee Jones61be4982012-06-14 11:16:03 +0100115 st,supports-sleepmode;
Lee Jones7e0ce272012-03-15 16:46:17 +0000116 gpio-controller;
Lee Jonesc0b133b2012-04-13 15:05:05 +0100117 #gpio-cells = <2>;
118 gpio-bank = <4>;
Lee Jones7e0ce272012-03-15 16:46:17 +0000119 };
120
121 gpio5: gpio@8000e180 {
122 compatible = "stericsson,db8500-gpio",
Lee Jonesfd9a80b2012-04-13 15:05:03 +0100123 "st,nomadik-gpio";
Lee Jones7e0ce272012-03-15 16:46:17 +0000124 reg = <0x8000e180 0x80>;
125 interrupts = <0 124 0x4>;
Lee Jones93b56982012-05-29 14:17:36 +0800126 interrupt-controller;
127 #interrupt-cells = <2>;
Lee Jones61be4982012-06-14 11:16:03 +0100128 st,supports-sleepmode;
Lee Jones7e0ce272012-03-15 16:46:17 +0000129 gpio-controller;
Lee Jonesc0b133b2012-04-13 15:05:05 +0100130 #gpio-cells = <2>;
131 gpio-bank = <5>;
Lee Jones7e0ce272012-03-15 16:46:17 +0000132 };
133
134 gpio6: gpio@8011e000 {
135 compatible = "stericsson,db8500-gpio",
Lee Jonesfd9a80b2012-04-13 15:05:03 +0100136 "st,nomadik-gpio";
Lee Jones7e0ce272012-03-15 16:46:17 +0000137 reg = <0x8011e000 0x80>;
138 interrupts = <0 125 0x4>;
Lee Jones93b56982012-05-29 14:17:36 +0800139 interrupt-controller;
140 #interrupt-cells = <2>;
Lee Jones61be4982012-06-14 11:16:03 +0100141 st,supports-sleepmode;
Lee Jones7e0ce272012-03-15 16:46:17 +0000142 gpio-controller;
Lee Jonesc0b133b2012-04-13 15:05:05 +0100143 #gpio-cells = <2>;
144 gpio-bank = <6>;
Lee Jones7e0ce272012-03-15 16:46:17 +0000145 };
146
147 gpio7: gpio@8011e080 {
148 compatible = "stericsson,db8500-gpio",
Lee Jonesfd9a80b2012-04-13 15:05:03 +0100149 "st,nomadik-gpio";
Lee Jones7e0ce272012-03-15 16:46:17 +0000150 reg = <0x8011e080 0x80>;
151 interrupts = <0 126 0x4>;
Lee Jones93b56982012-05-29 14:17:36 +0800152 interrupt-controller;
153 #interrupt-cells = <2>;
Lee Jones61be4982012-06-14 11:16:03 +0100154 st,supports-sleepmode;
Lee Jones7e0ce272012-03-15 16:46:17 +0000155 gpio-controller;
Lee Jonesc0b133b2012-04-13 15:05:05 +0100156 #gpio-cells = <2>;
157 gpio-bank = <7>;
Lee Jones7e0ce272012-03-15 16:46:17 +0000158 };
159
160 gpio8: gpio@a03fe000 {
161 compatible = "stericsson,db8500-gpio",
Lee Jonesfd9a80b2012-04-13 15:05:03 +0100162 "st,nomadik-gpio";
Lee Jones7e0ce272012-03-15 16:46:17 +0000163 reg = <0xa03fe000 0x80>;
164 interrupts = <0 127 0x4>;
Lee Jones93b56982012-05-29 14:17:36 +0800165 interrupt-controller;
166 #interrupt-cells = <2>;
Lee Jones61be4982012-06-14 11:16:03 +0100167 st,supports-sleepmode;
Lee Jones7e0ce272012-03-15 16:46:17 +0000168 gpio-controller;
Lee Jonesc0b133b2012-04-13 15:05:05 +0100169 #gpio-cells = <2>;
170 gpio-bank = <8>;
Lee Jones7e0ce272012-03-15 16:46:17 +0000171 };
172
Lee Jones5910de92012-05-26 06:25:36 +0100173 pinctrl {
174 compatible = "stericsson,nmk_pinctrl";
175 };
176
Lee Jones7e0ce272012-03-15 16:46:17 +0000177 usb@a03e0000 {
178 compatible = "stericsson,db8500-musb",
179 "mentor,musb";
180 reg = <0xa03e0000 0x10000>;
181 interrupts = <0 23 0x4>;
182 };
183
184 dma-controller@801C0000 {
185 compatible = "stericsson,db8500-dma40",
186 "stericsson,dma40";
187 reg = <0x801C0000 0x1000 0x40010000 0x800>;
188 interrupts = <0 25 0x4>;
189 };
190
191 prcmu@80157000 {
192 compatible = "stericsson,db8500-prcmu";
193 reg = <0x80157000 0x1000>;
Lee Jonesccf74f72012-05-28 16:50:49 +0800194 interrupts = <0 47 0x4>;
Lee Jones7e0ce272012-03-15 16:46:17 +0000195 #address-cells = <1>;
Lee Jones3de3d742012-04-24 10:00:15 +0100196 #size-cells = <1>;
Lee Jonesc09090b2012-08-03 15:42:25 +0100197 interrupt-controller;
198 #interrupt-cells = <2>;
Lee Jones3de3d742012-04-24 10:00:15 +0100199 ranges;
200
Lee Jonesccf74f72012-05-28 16:50:49 +0800201 prcmu-timer-4@80157450 {
Lee Jones3de3d742012-04-24 10:00:15 +0100202 compatible = "stericsson,db8500-prcmu-timer-4";
203 reg = <0x80157450 0xC>;
204 };
Lee Jones7e0ce272012-03-15 16:46:17 +0000205
Lee Jonese5999f22012-05-04 13:32:34 +0100206 db8500-prcmu-regulators {
207 compatible = "stericsson,db8500-prcmu-regulator";
208
209 // DB8500_REGULATOR_VAPE
210 db8500_vape_reg: db8500_vape {
Laxman Dewanganda268482012-06-20 17:53:05 +0530211 regulator-compatible = "db8500_vape";
Lee Jonese5999f22012-05-04 13:32:34 +0100212 regulator-name = "db8500-vape";
213 regulator-always-on;
214 };
215
216 // DB8500_REGULATOR_VARM
217 db8500_varm_reg: db8500_varm {
Laxman Dewanganda268482012-06-20 17:53:05 +0530218 regulator-compatible = "db8500_varm";
Lee Jonese5999f22012-05-04 13:32:34 +0100219 regulator-name = "db8500-varm";
220 };
221
222 // DB8500_REGULATOR_VMODEM
223 db8500_vmodem_reg: db8500_vmodem {
Laxman Dewanganda268482012-06-20 17:53:05 +0530224 regulator-compatible = "db8500_vmodem";
Lee Jonese5999f22012-05-04 13:32:34 +0100225 regulator-name = "db8500-vmodem";
226 };
227
228 // DB8500_REGULATOR_VPLL
229 db8500_vpll_reg: db8500_vpll {
Laxman Dewanganda268482012-06-20 17:53:05 +0530230 regulator-compatible = "db8500_vpll";
Lee Jonese5999f22012-05-04 13:32:34 +0100231 regulator-name = "db8500-vpll";
232 };
233
234 // DB8500_REGULATOR_VSMPS1
235 db8500_vsmps1_reg: db8500_vsmps1 {
Laxman Dewanganda268482012-06-20 17:53:05 +0530236 regulator-compatible = "db8500_vsmps1";
Lee Jonese5999f22012-05-04 13:32:34 +0100237 regulator-name = "db8500-vsmps1";
238 };
239
240 // DB8500_REGULATOR_VSMPS2
241 db8500_vsmps2_reg: db8500_vsmps2 {
Laxman Dewanganda268482012-06-20 17:53:05 +0530242 regulator-compatible = "db8500_vsmps2";
Lee Jonese5999f22012-05-04 13:32:34 +0100243 regulator-name = "db8500-vsmps2";
244 };
245
246 // DB8500_REGULATOR_VSMPS3
247 db8500_vsmps3_reg: db8500_vsmps3 {
Laxman Dewanganda268482012-06-20 17:53:05 +0530248 regulator-compatible = "db8500_vsmps3";
Lee Jonese5999f22012-05-04 13:32:34 +0100249 regulator-name = "db8500-vsmps3";
250 };
251
252 // DB8500_REGULATOR_VRF1
253 db8500_vrf1_reg: db8500_vrf1 {
Laxman Dewanganda268482012-06-20 17:53:05 +0530254 regulator-compatible = "db8500_vrf1";
Lee Jonese5999f22012-05-04 13:32:34 +0100255 regulator-name = "db8500-vrf1";
256 };
257
258 // DB8500_REGULATOR_SWITCH_SVAMMDSP
259 db8500_sva_mmdsp_reg: db8500_sva_mmdsp {
Laxman Dewanganda268482012-06-20 17:53:05 +0530260 regulator-compatible = "db8500_sva_mmdsp";
Lee Jonese5999f22012-05-04 13:32:34 +0100261 regulator-name = "db8500-sva-mmdsp";
262 };
263
264 // DB8500_REGULATOR_SWITCH_SVAMMDSPRET
265 db8500_sva_mmdsp_ret_reg: db8500_sva_mmdsp_ret {
Laxman Dewanganda268482012-06-20 17:53:05 +0530266 regulator-compatible = "db8500_sva_mmdsp_ret";
Lee Jonese5999f22012-05-04 13:32:34 +0100267 regulator-name = "db8500-sva-mmdsp-ret";
268 };
269
270 // DB8500_REGULATOR_SWITCH_SVAPIPE
271 db8500_sva_pipe_reg: db8500_sva_pipe {
Laxman Dewanganda268482012-06-20 17:53:05 +0530272 regulator-compatible = "db8500_sva_pipe";
Lee Jonese5999f22012-05-04 13:32:34 +0100273 regulator-name = "db8500_sva_pipe";
274 };
275
276 // DB8500_REGULATOR_SWITCH_SIAMMDSP
277 db8500_sia_mmdsp_reg: db8500_sia_mmdsp {
Laxman Dewanganda268482012-06-20 17:53:05 +0530278 regulator-compatible = "db8500_sia_mmdsp";
Lee Jonese5999f22012-05-04 13:32:34 +0100279 regulator-name = "db8500_sia_mmdsp";
280 };
281
282 // DB8500_REGULATOR_SWITCH_SIAMMDSPRET
283 db8500_sia_mmdsp_ret_reg: db8500_sia_mmdsp_ret {
284 regulator-name = "db8500-sia-mmdsp-ret";
285 };
286
287 // DB8500_REGULATOR_SWITCH_SIAPIPE
288 db8500_sia_pipe_reg: db8500_sia_pipe {
Laxman Dewanganda268482012-06-20 17:53:05 +0530289 regulator-compatible = "db8500_sia_pipe";
Lee Jonese5999f22012-05-04 13:32:34 +0100290 regulator-name = "db8500-sia-pipe";
291 };
292
293 // DB8500_REGULATOR_SWITCH_SGA
294 db8500_sga_reg: db8500_sga {
Laxman Dewanganda268482012-06-20 17:53:05 +0530295 regulator-compatible = "db8500_sga";
Lee Jonese5999f22012-05-04 13:32:34 +0100296 regulator-name = "db8500-sga";
297 vin-supply = <&db8500_vape_reg>;
298 };
299
300 // DB8500_REGULATOR_SWITCH_B2R2_MCDE
301 db8500_b2r2_mcde_reg: db8500_b2r2_mcde {
Laxman Dewanganda268482012-06-20 17:53:05 +0530302 regulator-compatible = "db8500_b2r2_mcde";
Lee Jonese5999f22012-05-04 13:32:34 +0100303 regulator-name = "db8500-b2r2-mcde";
304 vin-supply = <&db8500_vape_reg>;
305 };
306
307 // DB8500_REGULATOR_SWITCH_ESRAM12
308 db8500_esram12_reg: db8500_esram12 {
Laxman Dewanganda268482012-06-20 17:53:05 +0530309 regulator-compatible = "db8500_esram12";
Lee Jonese5999f22012-05-04 13:32:34 +0100310 regulator-name = "db8500-esram12";
311 };
312
313 // DB8500_REGULATOR_SWITCH_ESRAM12RET
314 db8500_esram12_ret_reg: db8500_esram12_ret {
Laxman Dewanganda268482012-06-20 17:53:05 +0530315 regulator-compatible = "db8500_esram12_ret";
Lee Jonese5999f22012-05-04 13:32:34 +0100316 regulator-name = "db8500-esram12-ret";
317 };
318
319 // DB8500_REGULATOR_SWITCH_ESRAM34
320 db8500_esram34_reg: db8500_esram34 {
Laxman Dewanganda268482012-06-20 17:53:05 +0530321 regulator-compatible = "db8500_esram34";
Lee Jonese5999f22012-05-04 13:32:34 +0100322 regulator-name = "db8500-esram34";
323 };
324
325 // DB8500_REGULATOR_SWITCH_ESRAM34RET
326 db8500_esram34_ret_reg: db8500_esram34_ret {
Laxman Dewanganda268482012-06-20 17:53:05 +0530327 regulator-compatible = "db8500_esram34_ret";
Lee Jonese5999f22012-05-04 13:32:34 +0100328 regulator-name = "db8500-esram34-ret";
329 };
330 };
331
Lee Jones7e0ce272012-03-15 16:46:17 +0000332 ab8500@5 {
333 compatible = "stericsson,ab8500";
334 reg = <5>; /* mailbox 5 is i2c */
Lee Jones8d4c6d42012-08-03 20:37:35 +0100335 interrupt-parent = <&intc>;
Lee Jones7e0ce272012-03-15 16:46:17 +0000336 interrupts = <0 40 0x4>;
Lee Jones732973c2012-05-29 10:49:33 +0800337 interrupt-controller;
338 #interrupt-cells = <2>;
Lee Jones4a85c7f2012-05-29 14:29:53 +0800339
Lee Jonesd4b29ac2012-05-26 07:03:48 +0100340 ab8500-rtc {
341 compatible = "stericsson,ab8500-rtc";
342 interrupts = <17 0x4
343 18 0x4>;
344 interrupt-names = "60S", "ALARM";
345 };
346
Lee Jones4eda9122012-05-28 16:59:26 +0800347 ab8500-gpadc {
348 compatible = "stericsson,ab8500-gpadc";
Lee Jones732973c2012-05-29 10:49:33 +0800349 interrupts = <32 0x4
350 39 0x4>;
Lee Jones4eda9122012-05-28 16:59:26 +0800351 interrupt-names = "HW_CONV_END", "SW_CONV_END";
352 vddadc-supply = <&ab8500_ldo_tvout_reg>;
353 };
354
Rajanikanth H.Ve0f1abe2012-11-18 18:45:41 -0800355 ab8500_battery: ab8500_battery {
356 stericsson,battery-type = "LIPO";
357 thermistor-on-batctrl;
358 };
359
360 ab8500_fg {
361 compatible = "stericsson,ab8500-fg";
362 battery = <&ab8500_battery>;
363 };
364
Rajanikanth H.Vbd9e8ab2012-11-18 19:16:58 -0800365 ab8500_btemp {
366 compatible = "stericsson,ab8500-btemp";
367 battery = <&ab8500_battery>;
368 };
369
Rajanikanth H.Ve0f1abe2012-11-18 18:45:41 -0800370 ab8500_usb {
Lee Jonesee189ce2012-05-03 14:40:24 +0100371 compatible = "stericsson,ab8500-usb";
Lee Jones732973c2012-05-29 10:49:33 +0800372 interrupts = < 90 0x4
373 96 0x4
374 14 0x4
375 15 0x4
376 79 0x4
377 74 0x4
378 75 0x4>;
Lee Jonesee189ce2012-05-03 14:40:24 +0100379 interrupt-names = "ID_WAKEUP_R",
380 "ID_WAKEUP_F",
381 "VBUS_DET_F",
382 "VBUS_DET_R",
383 "USB_LINK_STATUS",
384 "USB_ADP_PROBE_PLUG",
385 "USB_ADP_PROBE_UNPLUG";
386 vddulpivio18-supply = <&ab8500_ldo_initcore_reg>;
387 v-ape-supply = <&db8500_vape_reg>;
388 musb_1v8-supply = <&db8500_vsmps2_reg>;
389 };
390
Lee Jones12cb7bd2012-05-02 08:45:40 +0100391 ab8500-ponkey {
Lee Jones74630702012-08-09 13:00:12 +0100392 compatible = "stericsson,ab8500-poweron-key";
Lee Jones732973c2012-05-29 10:49:33 +0800393 interrupts = <6 0x4
394 7 0x4>;
Lee Jones12cb7bd2012-05-02 08:45:40 +0100395 interrupt-names = "ONKEY_DBF", "ONKEY_DBR";
396 };
397
Lee Jones401cd1b2012-05-03 12:53:55 +0100398 ab8500-sysctrl {
399 compatible = "stericsson,ab8500-sysctrl";
400 };
401
Lee Jones78451de2012-05-03 13:03:59 +0100402 ab8500-pwm {
403 compatible = "stericsson,ab8500-pwm";
404 };
405
Lee Jones215891e2012-05-01 16:11:19 +0100406 ab8500-debugfs {
407 compatible = "stericsson,ab8500-debug";
408 };
Lee Jones4a85c7f2012-05-29 14:29:53 +0800409
Lee Jones9c06af32012-07-25 12:50:13 +0100410 codec: ab8500-codec {
411 compatible = "stericsson,ab8500-codec";
412
413 stericsson,earpeice-cmv = <950>; /* Units in mV. */
414 };
415
Lee Jones4a85c7f2012-05-29 14:29:53 +0800416 ab8500-regulators {
417 compatible = "stericsson,ab8500-regulator";
418
419 // supplies to the display/camera
420 ab8500_ldo_aux1_reg: ab8500_ldo_aux1 {
Laxman Dewanganda268482012-06-20 17:53:05 +0530421 regulator-compatible = "ab8500_ldo_aux1";
Lee Jones4a85c7f2012-05-29 14:29:53 +0800422 regulator-name = "V-DISPLAY";
423 regulator-min-microvolt = <2500000>;
424 regulator-max-microvolt = <2900000>;
425 regulator-boot-on;
426 /* BUG: If turned off MMC will be affected. */
427 regulator-always-on;
428 };
429
430 // supplies to the on-board eMMC
431 ab8500_ldo_aux2_reg: ab8500_ldo_aux2 {
Laxman Dewanganda268482012-06-20 17:53:05 +0530432 regulator-compatible = "ab8500_ldo_aux2";
Lee Jones4a85c7f2012-05-29 14:29:53 +0800433 regulator-name = "V-eMMC1";
434 regulator-min-microvolt = <1100000>;
435 regulator-max-microvolt = <3300000>;
436 };
437
438 // supply for VAUX3; SDcard slots
439 ab8500_ldo_aux3_reg: ab8500_ldo_aux3 {
Laxman Dewanganda268482012-06-20 17:53:05 +0530440 regulator-compatible = "ab8500_ldo_aux3";
Lee Jones4a85c7f2012-05-29 14:29:53 +0800441 regulator-name = "V-MMC-SD";
442 regulator-min-microvolt = <1100000>;
443 regulator-max-microvolt = <3300000>;
444 };
445
446 // supply for v-intcore12; VINTCORE12 LDO
447 ab8500_ldo_initcore_reg: ab8500_ldo_initcore {
Laxman Dewanganda268482012-06-20 17:53:05 +0530448 regulator-compatible = "ab8500_ldo_initcore";
Lee Jones4a85c7f2012-05-29 14:29:53 +0800449 regulator-name = "V-INTCORE";
450 };
451
452 // supply for tvout; gpadc; TVOUT LDO
453 ab8500_ldo_tvout_reg: ab8500_ldo_tvout {
Laxman Dewanganda268482012-06-20 17:53:05 +0530454 regulator-compatible = "ab8500_ldo_tvout";
Lee Jones4a85c7f2012-05-29 14:29:53 +0800455 regulator-name = "V-TVOUT";
456 };
457
458 // supply for ab8500-usb; USB LDO
459 ab8500_ldo_usb_reg: ab8500_ldo_usb {
Laxman Dewanganda268482012-06-20 17:53:05 +0530460 regulator-compatible = "ab8500_ldo_usb";
Lee Jones4a85c7f2012-05-29 14:29:53 +0800461 regulator-name = "dummy";
462 };
463
464 // supply for ab8500-vaudio; VAUDIO LDO
465 ab8500_ldo_audio_reg: ab8500_ldo_audio {
Laxman Dewanganda268482012-06-20 17:53:05 +0530466 regulator-compatible = "ab8500_ldo_audio";
Lee Jones4a85c7f2012-05-29 14:29:53 +0800467 regulator-name = "V-AUD";
468 };
469
470 // supply for v-anamic1 VAMic1-LDO
471 ab8500_ldo_anamic1_reg: ab8500_ldo_anamic1 {
Laxman Dewanganda268482012-06-20 17:53:05 +0530472 regulator-compatible = "ab8500_ldo_anamic1";
Lee Jones4a85c7f2012-05-29 14:29:53 +0800473 regulator-name = "V-AMIC1";
474 };
475
476 // supply for v-amic2; VAMIC2 LDO; reuse constants for AMIC1
477 ab8500_ldo_amamic2_reg: ab8500_ldo_amamic2 {
Laxman Dewanganda268482012-06-20 17:53:05 +0530478 regulator-compatible = "ab8500_ldo_amamic2";
Lee Jones4a85c7f2012-05-29 14:29:53 +0800479 regulator-name = "V-AMIC2";
480 };
481
482 // supply for v-dmic; VDMIC LDO
483 ab8500_ldo_dmic_reg: ab8500_ldo_dmic {
Laxman Dewanganda268482012-06-20 17:53:05 +0530484 regulator-compatible = "ab8500_ldo_dmic";
Lee Jones4a85c7f2012-05-29 14:29:53 +0800485 regulator-name = "V-DMIC";
486 };
487
488 // supply for U8500 CSI/DSI; VANA LDO
489 ab8500_ldo_ana_reg: ab8500_ldo_ana {
Laxman Dewanganda268482012-06-20 17:53:05 +0530490 regulator-compatible = "ab8500_ldo_ana";
Lee Jones4a85c7f2012-05-29 14:29:53 +0800491 regulator-name = "V-CSI/DSI";
492 };
493 };
Lee Jones7e0ce272012-03-15 16:46:17 +0000494 };
495 };
496
497 i2c@80004000 {
Lee Jonesd524fa72012-06-18 09:55:44 +0100498 compatible = "stericsson,db8500-i2c", "st,nomadik-i2c", "arm,primecell";
Lee Jones7e0ce272012-03-15 16:46:17 +0000499 reg = <0x80004000 0x1000>;
500 interrupts = <0 21 0x4>;
Lee Jones35b33d22012-10-24 11:07:02 +0100501 arm,primecell-periphid = <0x180024>;
502
Lee Jones7e0ce272012-03-15 16:46:17 +0000503 #address-cells = <1>;
504 #size-cells = <0>;
Lee Jonesd524fa72012-06-18 09:55:44 +0100505 v-i2c-supply = <&db8500_vape_reg>;
506
507 clock-frequency = <400000>;
Lee Jones7e0ce272012-03-15 16:46:17 +0000508 };
509
510 i2c@80122000 {
Lee Jonesd524fa72012-06-18 09:55:44 +0100511 compatible = "stericsson,db8500-i2c", "st,nomadik-i2c", "arm,primecell";
Lee Jones7e0ce272012-03-15 16:46:17 +0000512 reg = <0x80122000 0x1000>;
513 interrupts = <0 22 0x4>;
Lee Jones35b33d22012-10-24 11:07:02 +0100514 arm,primecell-periphid = <0x180024>;
515
Lee Jones7e0ce272012-03-15 16:46:17 +0000516 #address-cells = <1>;
517 #size-cells = <0>;
Lee Jonesd524fa72012-06-18 09:55:44 +0100518 v-i2c-supply = <&db8500_vape_reg>;
519
520 clock-frequency = <400000>;
Lee Jones7e0ce272012-03-15 16:46:17 +0000521 };
522
523 i2c@80128000 {
Lee Jonesd524fa72012-06-18 09:55:44 +0100524 compatible = "stericsson,db8500-i2c", "st,nomadik-i2c", "arm,primecell";
Lee Jones7e0ce272012-03-15 16:46:17 +0000525 reg = <0x80128000 0x1000>;
526 interrupts = <0 55 0x4>;
Lee Jones35b33d22012-10-24 11:07:02 +0100527 arm,primecell-periphid = <0x180024>;
528
Lee Jones7e0ce272012-03-15 16:46:17 +0000529 #address-cells = <1>;
530 #size-cells = <0>;
Lee Jonesd524fa72012-06-18 09:55:44 +0100531 v-i2c-supply = <&db8500_vape_reg>;
532
533 clock-frequency = <400000>;
Lee Jones7e0ce272012-03-15 16:46:17 +0000534 };
535
536 i2c@80110000 {
Lee Jonesd524fa72012-06-18 09:55:44 +0100537 compatible = "stericsson,db8500-i2c", "st,nomadik-i2c", "arm,primecell";
Lee Jones7e0ce272012-03-15 16:46:17 +0000538 reg = <0x80110000 0x1000>;
539 interrupts = <0 12 0x4>;
Lee Jones35b33d22012-10-24 11:07:02 +0100540 arm,primecell-periphid = <0x180024>;
541
Lee Jones7e0ce272012-03-15 16:46:17 +0000542 #address-cells = <1>;
543 #size-cells = <0>;
Lee Jonesd524fa72012-06-18 09:55:44 +0100544 v-i2c-supply = <&db8500_vape_reg>;
545
546 clock-frequency = <400000>;
Lee Jones7e0ce272012-03-15 16:46:17 +0000547 };
548
549 i2c@8012a000 {
Lee Jonesd524fa72012-06-18 09:55:44 +0100550 compatible = "stericsson,db8500-i2c", "st,nomadik-i2c", "arm,primecell";
Lee Jones7e0ce272012-03-15 16:46:17 +0000551 reg = <0x8012a000 0x1000>;
552 interrupts = <0 51 0x4>;
Lee Jones35b33d22012-10-24 11:07:02 +0100553 arm,primecell-periphid = <0x180024>;
554
Lee Jones7e0ce272012-03-15 16:46:17 +0000555 #address-cells = <1>;
556 #size-cells = <0>;
Lee Jonesd524fa72012-06-18 09:55:44 +0100557 v-i2c-supply = <&db8500_vape_reg>;
558
559 clock-frequency = <400000>;
Lee Jones7e0ce272012-03-15 16:46:17 +0000560 };
561
562 ssp@80002000 {
563 compatible = "arm,pl022", "arm,primecell";
Lee Jonesc164fa62012-09-07 12:09:34 +0100564 reg = <0x80002000 0x1000>;
Lee Jones7e0ce272012-03-15 16:46:17 +0000565 interrupts = <0 14 0x4>;
566 #address-cells = <1>;
567 #size-cells = <0>;
568 status = "disabled";
Lee Jones15daf692012-03-15 16:47:11 +0000569
570 // Add one of these for each child device
Lee Jones93b56982012-05-29 14:17:36 +0800571 cs-gpios = <&gpio0 31 0x4 &gpio4 14 0x4 &gpio4 16 0x4
572 &gpio6 22 0x4 &gpio7 0 0x4>;
Lee Jones15daf692012-03-15 16:47:11 +0000573
Lee Jones7e0ce272012-03-15 16:46:17 +0000574 };
575
576 uart@80120000 {
577 compatible = "arm,pl011", "arm,primecell";
578 reg = <0x80120000 0x1000>;
579 interrupts = <0 11 0x4>;
580 status = "disabled";
581 };
582 uart@80121000 {
583 compatible = "arm,pl011", "arm,primecell";
584 reg = <0x80121000 0x1000>;
585 interrupts = <0 19 0x4>;
586 status = "disabled";
587 };
588 uart@80007000 {
589 compatible = "arm,pl011", "arm,primecell";
590 reg = <0x80007000 0x1000>;
591 interrupts = <0 26 0x4>;
592 status = "disabled";
593 };
594
595 sdi@80126000 {
596 compatible = "arm,pl18x", "arm,primecell";
597 reg = <0x80126000 0x1000>;
598 interrupts = <0 60 0x4>;
599 status = "disabled";
600 };
Lee Jones76ff4e42012-10-24 11:10:05 +0100601
Lee Jones7e0ce272012-03-15 16:46:17 +0000602 sdi@80118000 {
603 compatible = "arm,pl18x", "arm,primecell";
604 reg = <0x80118000 0x1000>;
605 interrupts = <0 50 0x4>;
606 status = "disabled";
607 };
Lee Jones76ff4e42012-10-24 11:10:05 +0100608
Lee Jones7e0ce272012-03-15 16:46:17 +0000609 sdi@80005000 {
610 compatible = "arm,pl18x", "arm,primecell";
611 reg = <0x80005000 0x1000>;
612 interrupts = <0 41 0x4>;
613 status = "disabled";
614 };
Lee Jones76ff4e42012-10-24 11:10:05 +0100615
Lee Jones7e0ce272012-03-15 16:46:17 +0000616 sdi@80119000 {
617 compatible = "arm,pl18x", "arm,primecell";
618 reg = <0x80119000 0x1000>;
619 interrupts = <0 59 0x4>;
620 status = "disabled";
621 };
Lee Jones76ff4e42012-10-24 11:10:05 +0100622
Lee Jones7e0ce272012-03-15 16:46:17 +0000623 sdi@80114000 {
624 compatible = "arm,pl18x", "arm,primecell";
625 reg = <0x80114000 0x1000>;
626 interrupts = <0 99 0x4>;
627 status = "disabled";
628 };
Lee Jones76ff4e42012-10-24 11:10:05 +0100629
Lee Jones7e0ce272012-03-15 16:46:17 +0000630 sdi@80008000 {
631 compatible = "arm,pl18x", "arm,primecell";
Lee Jones76ff4e42012-10-24 11:10:05 +0100632 reg = <0x80008000 0x1000>;
Lee Jones7e0ce272012-03-15 16:46:17 +0000633 interrupts = <0 100 0x4>;
634 status = "disabled";
635 };
Lee Jonesbf76e062012-04-24 10:53:18 +0100636
Lee Jonesfe164522012-07-31 12:37:16 +0100637 msp0: msp@80123000 {
638 compatible = "stericsson,ux500-msp-i2s";
639 reg = <0x80123000 0x1000>;
640 interrupts = <0 31 0x4>;
641 v-ape-supply = <&db8500_vape_reg>;
642 status = "disabled";
643 };
644
645 msp1: msp@80124000 {
646 compatible = "stericsson,ux500-msp-i2s";
647 reg = <0x80124000 0x1000>;
648 interrupts = <0 62 0x4>;
649 v-ape-supply = <&db8500_vape_reg>;
650 status = "disabled";
651 };
652
653 // HDMI sound
654 msp2: msp@80117000 {
655 compatible = "stericsson,ux500-msp-i2s";
656 reg = <0x80117000 0x1000>;
657 interrupts = <0 98 0x4>;
658 v-ape-supply = <&db8500_vape_reg>;
659 status = "disabled";
660 };
661
662 msp3: msp@80125000 {
663 compatible = "stericsson,ux500-msp-i2s";
664 reg = <0x80125000 0x1000>;
665 interrupts = <0 62 0x4>;
666 v-ape-supply = <&db8500_vape_reg>;
667 status = "disabled";
668 };
669
Lee Jonesbf76e062012-04-24 10:53:18 +0100670 external-bus@50000000 {
671 compatible = "simple-bus";
672 reg = <0x50000000 0x4000000>;
673 #address-cells = <1>;
674 #size-cells = <1>;
675 ranges = <0 0x50000000 0x4000000>;
676 status = "disabled";
677 };
Arnd Bergmann5d0769f2012-03-02 23:07:21 +0000678 };
679};