2 * Copyright 2012 Linaro Ltd
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:
8 * http://www.opensource.org/licenses/gpl-license.html
9 * http://www.gnu.org/copyleft/gpl.html
12 /include/ "skeleton.dtsi"
18 compatible = "stericsson,db8500";
19 interrupt-parent = <&intc>;
22 intc: interrupt-controller@a0411000 {
23 compatible = "arm,cortex-a9-gic";
24 #interrupt-cells = <3>;
27 reg = <0xa0411000 0x1000>,
32 compatible = "arm,pl310-cache";
33 reg = <0xa0412000 0x1000>;
34 interrupts = <0 13 4>;
40 compatible = "arm,cortex-a9-pmu";
41 interrupts = <0 7 0x4>;
45 compatible = "arm,cortex-a9-twd-timer";
46 reg = <0xa0410600 0x20>;
47 interrupts = <1 13 0x304>;
51 compatible = "arm,rtc-pl031", "arm,primecell";
52 reg = <0x80154000 0x1000>;
53 interrupts = <0 18 0x4>;
56 gpio0: gpio@8012e000 {
57 compatible = "stericsson,db8500-gpio",
59 reg = <0x8012e000 0x80>;
60 interrupts = <0 119 0x4>;
62 #interrupt-cells = <2>;
63 st,supports-sleepmode;
69 gpio1: gpio@8012e080 {
70 compatible = "stericsson,db8500-gpio",
72 reg = <0x8012e080 0x80>;
73 interrupts = <0 120 0x4>;
75 #interrupt-cells = <2>;
76 st,supports-sleepmode;
82 gpio2: gpio@8000e000 {
83 compatible = "stericsson,db8500-gpio",
85 reg = <0x8000e000 0x80>;
86 interrupts = <0 121 0x4>;
88 #interrupt-cells = <2>;
89 st,supports-sleepmode;
95 gpio3: gpio@8000e080 {
96 compatible = "stericsson,db8500-gpio",
98 reg = <0x8000e080 0x80>;
99 interrupts = <0 122 0x4>;
100 interrupt-controller;
101 #interrupt-cells = <2>;
102 st,supports-sleepmode;
108 gpio4: gpio@8000e100 {
109 compatible = "stericsson,db8500-gpio",
111 reg = <0x8000e100 0x80>;
112 interrupts = <0 123 0x4>;
113 interrupt-controller;
114 #interrupt-cells = <2>;
115 st,supports-sleepmode;
121 gpio5: gpio@8000e180 {
122 compatible = "stericsson,db8500-gpio",
124 reg = <0x8000e180 0x80>;
125 interrupts = <0 124 0x4>;
126 interrupt-controller;
127 #interrupt-cells = <2>;
128 st,supports-sleepmode;
134 gpio6: gpio@8011e000 {
135 compatible = "stericsson,db8500-gpio",
137 reg = <0x8011e000 0x80>;
138 interrupts = <0 125 0x4>;
139 interrupt-controller;
140 #interrupt-cells = <2>;
141 st,supports-sleepmode;
147 gpio7: gpio@8011e080 {
148 compatible = "stericsson,db8500-gpio",
150 reg = <0x8011e080 0x80>;
151 interrupts = <0 126 0x4>;
152 interrupt-controller;
153 #interrupt-cells = <2>;
154 st,supports-sleepmode;
160 gpio8: gpio@a03fe000 {
161 compatible = "stericsson,db8500-gpio",
163 reg = <0xa03fe000 0x80>;
164 interrupts = <0 127 0x4>;
165 interrupt-controller;
166 #interrupt-cells = <2>;
167 st,supports-sleepmode;
174 compatible = "stericsson,nmk-pinctrl";
179 compatible = "stericsson,db8500-musb",
181 reg = <0xa03e0000 0x10000>;
182 interrupts = <0 23 0x4>;
185 dma-controller@801C0000 {
186 compatible = "stericsson,db8500-dma40",
188 reg = <0x801C0000 0x1000 0x40010000 0x800>;
189 interrupts = <0 25 0x4>;
192 prcmu: prcmu@80157000 {
193 compatible = "stericsson,db8500-prcmu";
194 reg = <0x80157000 0x1000>;
196 interrupts = <0 47 0x4>;
197 #address-cells = <1>;
199 interrupt-controller;
200 #interrupt-cells = <2>;
203 prcmu-timer-4@80157450 {
204 compatible = "stericsson,db8500-prcmu-timer-4";
205 reg = <0x80157450 0xC>;
209 compatible = "stericsson,db8500-thermal";
210 reg = <0x801573c0 0x40>;
211 interrupts = <21 0x4>, <22 0x4>;
212 interrupt-names = "IRQ_HOTMON_LOW", "IRQ_HOTMON_HIGH";
216 db8500-prcmu-regulators {
217 compatible = "stericsson,db8500-prcmu-regulator";
219 // DB8500_REGULATOR_VAPE
220 db8500_vape_reg: db8500_vape {
221 regulator-compatible = "db8500_vape";
225 // DB8500_REGULATOR_VARM
226 db8500_varm_reg: db8500_varm {
227 regulator-compatible = "db8500_varm";
230 // DB8500_REGULATOR_VMODEM
231 db8500_vmodem_reg: db8500_vmodem {
232 regulator-compatible = "db8500_vmodem";
235 // DB8500_REGULATOR_VPLL
236 db8500_vpll_reg: db8500_vpll {
237 regulator-compatible = "db8500_vpll";
240 // DB8500_REGULATOR_VSMPS1
241 db8500_vsmps1_reg: db8500_vsmps1 {
242 regulator-compatible = "db8500_vsmps1";
245 // DB8500_REGULATOR_VSMPS2
246 db8500_vsmps2_reg: db8500_vsmps2 {
247 regulator-compatible = "db8500_vsmps2";
250 // DB8500_REGULATOR_VSMPS3
251 db8500_vsmps3_reg: db8500_vsmps3 {
252 regulator-compatible = "db8500_vsmps3";
255 // DB8500_REGULATOR_VRF1
256 db8500_vrf1_reg: db8500_vrf1 {
257 regulator-compatible = "db8500_vrf1";
260 // DB8500_REGULATOR_SWITCH_SVAMMDSP
261 db8500_sva_mmdsp_reg: db8500_sva_mmdsp {
262 regulator-compatible = "db8500_sva_mmdsp";
265 // DB8500_REGULATOR_SWITCH_SVAMMDSPRET
266 db8500_sva_mmdsp_ret_reg: db8500_sva_mmdsp_ret {
267 regulator-compatible = "db8500_sva_mmdsp_ret";
270 // DB8500_REGULATOR_SWITCH_SVAPIPE
271 db8500_sva_pipe_reg: db8500_sva_pipe {
272 regulator-compatible = "db8500_sva_pipe";
275 // DB8500_REGULATOR_SWITCH_SIAMMDSP
276 db8500_sia_mmdsp_reg: db8500_sia_mmdsp {
277 regulator-compatible = "db8500_sia_mmdsp";
280 // DB8500_REGULATOR_SWITCH_SIAMMDSPRET
281 db8500_sia_mmdsp_ret_reg: db8500_sia_mmdsp_ret {
284 // DB8500_REGULATOR_SWITCH_SIAPIPE
285 db8500_sia_pipe_reg: db8500_sia_pipe {
286 regulator-compatible = "db8500_sia_pipe";
289 // DB8500_REGULATOR_SWITCH_SGA
290 db8500_sga_reg: db8500_sga {
291 regulator-compatible = "db8500_sga";
292 vin-supply = <&db8500_vape_reg>;
295 // DB8500_REGULATOR_SWITCH_B2R2_MCDE
296 db8500_b2r2_mcde_reg: db8500_b2r2_mcde {
297 regulator-compatible = "db8500_b2r2_mcde";
298 vin-supply = <&db8500_vape_reg>;
301 // DB8500_REGULATOR_SWITCH_ESRAM12
302 db8500_esram12_reg: db8500_esram12 {
303 regulator-compatible = "db8500_esram12";
306 // DB8500_REGULATOR_SWITCH_ESRAM12RET
307 db8500_esram12_ret_reg: db8500_esram12_ret {
308 regulator-compatible = "db8500_esram12_ret";
311 // DB8500_REGULATOR_SWITCH_ESRAM34
312 db8500_esram34_reg: db8500_esram34 {
313 regulator-compatible = "db8500_esram34";
316 // DB8500_REGULATOR_SWITCH_ESRAM34RET
317 db8500_esram34_ret_reg: db8500_esram34_ret {
318 regulator-compatible = "db8500_esram34_ret";
323 compatible = "stericsson,ab8500";
324 reg = <5>; /* mailbox 5 is i2c */
325 interrupt-parent = <&intc>;
326 interrupts = <0 40 0x4>;
327 interrupt-controller;
328 #interrupt-cells = <2>;
331 compatible = "stericsson,ab8500-rtc";
334 interrupt-names = "60S", "ALARM";
338 compatible = "stericsson,ab8500-gpadc";
341 interrupt-names = "HW_CONV_END", "SW_CONV_END";
342 vddadc-supply = <&ab8500_ldo_tvout_reg>;
345 ab8500_battery: ab8500_battery {
346 stericsson,battery-type = "LIPO";
347 thermistor-on-batctrl;
351 compatible = "stericsson,ab8500-fg";
352 battery = <&ab8500_battery>;
356 compatible = "stericsson,ab8500-btemp";
357 battery = <&ab8500_battery>;
361 compatible = "stericsson,ab8500-charger";
362 battery = <&ab8500_battery>;
363 vddadc-supply = <&ab8500_ldo_tvout_reg>;
367 compatible = "stericsson,ab8500-chargalg";
368 battery = <&ab8500_battery>;
372 compatible = "stericsson,ab8500-usb";
373 interrupts = < 90 0x4
380 interrupt-names = "ID_WAKEUP_R",
385 "USB_ADP_PROBE_PLUG",
386 "USB_ADP_PROBE_UNPLUG";
387 vddulpivio18-supply = <&ab8500_ldo_initcore_reg>;
388 v-ape-supply = <&db8500_vape_reg>;
389 musb_1v8-supply = <&db8500_vsmps2_reg>;
393 compatible = "stericsson,ab8500-poweron-key";
396 interrupt-names = "ONKEY_DBF", "ONKEY_DBR";
400 compatible = "stericsson,ab8500-sysctrl";
404 compatible = "stericsson,ab8500-pwm";
408 compatible = "stericsson,ab8500-debug";
411 codec: ab8500-codec {
412 compatible = "stericsson,ab8500-codec";
414 stericsson,earpeice-cmv = <950>; /* Units in mV. */
418 compatible = "stericsson,ab8500-regulator";
420 // supplies to the display/camera
421 ab8500_ldo_aux1_reg: ab8500_ldo_aux1 {
422 regulator-compatible = "ab8500_ldo_aux1";
423 regulator-min-microvolt = <2500000>;
424 regulator-max-microvolt = <2900000>;
426 /* BUG: If turned off MMC will be affected. */
430 // supplies to the on-board eMMC
431 ab8500_ldo_aux2_reg: ab8500_ldo_aux2 {
432 regulator-compatible = "ab8500_ldo_aux2";
433 regulator-min-microvolt = <1100000>;
434 regulator-max-microvolt = <3300000>;
437 // supply for VAUX3; SDcard slots
438 ab8500_ldo_aux3_reg: ab8500_ldo_aux3 {
439 regulator-compatible = "ab8500_ldo_aux3";
440 regulator-min-microvolt = <1100000>;
441 regulator-max-microvolt = <3300000>;
444 // supply for v-intcore12; VINTCORE12 LDO
445 ab8500_ldo_initcore_reg: ab8500_ldo_initcore {
446 regulator-compatible = "ab8500_ldo_initcore";
449 // supply for tvout; gpadc; TVOUT LDO
450 ab8500_ldo_tvout_reg: ab8500_ldo_tvout {
451 regulator-compatible = "ab8500_ldo_tvout";
454 // supply for ab8500-usb; USB LDO
455 ab8500_ldo_usb_reg: ab8500_ldo_usb {
456 regulator-compatible = "ab8500_ldo_usb";
459 // supply for ab8500-vaudio; VAUDIO LDO
460 ab8500_ldo_audio_reg: ab8500_ldo_audio {
461 regulator-compatible = "ab8500_ldo_audio";
464 // supply for v-anamic1 VAMic1-LDO
465 ab8500_ldo_anamic1_reg: ab8500_ldo_anamic1 {
466 regulator-compatible = "ab8500_ldo_anamic1";
469 // supply for v-amic2; VAMIC2 LDO; reuse constants for AMIC1
470 ab8500_ldo_amamic2_reg: ab8500_ldo_amamic2 {
471 regulator-compatible = "ab8500_ldo_amamic2";
474 // supply for v-dmic; VDMIC LDO
475 ab8500_ldo_dmic_reg: ab8500_ldo_dmic {
476 regulator-compatible = "ab8500_ldo_dmic";
479 // supply for U8500 CSI/DSI; VANA LDO
480 ab8500_ldo_ana_reg: ab8500_ldo_ana {
481 regulator-compatible = "ab8500_ldo_ana";
488 compatible = "stericsson,db8500-i2c", "st,nomadik-i2c", "arm,primecell";
489 reg = <0x80004000 0x1000>;
490 interrupts = <0 21 0x4>;
491 arm,primecell-periphid = <0x180024>;
493 #address-cells = <1>;
495 v-i2c-supply = <&db8500_vape_reg>;
497 clock-frequency = <400000>;
501 compatible = "stericsson,db8500-i2c", "st,nomadik-i2c", "arm,primecell";
502 reg = <0x80122000 0x1000>;
503 interrupts = <0 22 0x4>;
504 arm,primecell-periphid = <0x180024>;
506 #address-cells = <1>;
508 v-i2c-supply = <&db8500_vape_reg>;
510 clock-frequency = <400000>;
514 compatible = "stericsson,db8500-i2c", "st,nomadik-i2c", "arm,primecell";
515 reg = <0x80128000 0x1000>;
516 interrupts = <0 55 0x4>;
517 arm,primecell-periphid = <0x180024>;
519 #address-cells = <1>;
521 v-i2c-supply = <&db8500_vape_reg>;
523 clock-frequency = <400000>;
527 compatible = "stericsson,db8500-i2c", "st,nomadik-i2c", "arm,primecell";
528 reg = <0x80110000 0x1000>;
529 interrupts = <0 12 0x4>;
530 arm,primecell-periphid = <0x180024>;
532 #address-cells = <1>;
534 v-i2c-supply = <&db8500_vape_reg>;
536 clock-frequency = <400000>;
540 compatible = "stericsson,db8500-i2c", "st,nomadik-i2c", "arm,primecell";
541 reg = <0x8012a000 0x1000>;
542 interrupts = <0 51 0x4>;
543 arm,primecell-periphid = <0x180024>;
545 #address-cells = <1>;
547 v-i2c-supply = <&db8500_vape_reg>;
549 clock-frequency = <400000>;
553 compatible = "arm,pl022", "arm,primecell";
554 reg = <0x80002000 0x1000>;
555 interrupts = <0 14 0x4>;
556 #address-cells = <1>;
560 // Add one of these for each child device
561 cs-gpios = <&gpio0 31 0x4 &gpio4 14 0x4 &gpio4 16 0x4
562 &gpio6 22 0x4 &gpio7 0 0x4>;
567 compatible = "arm,pl011", "arm,primecell";
568 reg = <0x80120000 0x1000>;
569 interrupts = <0 11 0x4>;
573 compatible = "arm,pl011", "arm,primecell";
574 reg = <0x80121000 0x1000>;
575 interrupts = <0 19 0x4>;
579 compatible = "arm,pl011", "arm,primecell";
580 reg = <0x80007000 0x1000>;
581 interrupts = <0 26 0x4>;
586 compatible = "arm,pl18x", "arm,primecell";
587 reg = <0x80126000 0x1000>;
588 interrupts = <0 60 0x4>;
593 compatible = "arm,pl18x", "arm,primecell";
594 reg = <0x80118000 0x1000>;
595 interrupts = <0 50 0x4>;
600 compatible = "arm,pl18x", "arm,primecell";
601 reg = <0x80005000 0x1000>;
602 interrupts = <0 41 0x4>;
607 compatible = "arm,pl18x", "arm,primecell";
608 reg = <0x80119000 0x1000>;
609 interrupts = <0 59 0x4>;
614 compatible = "arm,pl18x", "arm,primecell";
615 reg = <0x80114000 0x1000>;
616 interrupts = <0 99 0x4>;
621 compatible = "arm,pl18x", "arm,primecell";
622 reg = <0x80008000 0x1000>;
623 interrupts = <0 100 0x4>;
628 compatible = "stericsson,ux500-msp-i2s";
629 reg = <0x80123000 0x1000>;
630 interrupts = <0 31 0x4>;
631 v-ape-supply = <&db8500_vape_reg>;
636 compatible = "stericsson,ux500-msp-i2s";
637 reg = <0x80124000 0x1000>;
638 interrupts = <0 62 0x4>;
639 v-ape-supply = <&db8500_vape_reg>;
645 compatible = "stericsson,ux500-msp-i2s";
646 reg = <0x80117000 0x1000>;
647 interrupts = <0 98 0x4>;
648 v-ape-supply = <&db8500_vape_reg>;
653 compatible = "stericsson,ux500-msp-i2s";
654 reg = <0x80125000 0x1000>;
655 interrupts = <0 62 0x4>;
656 v-ape-supply = <&db8500_vape_reg>;
660 external-bus@50000000 {
661 compatible = "simple-bus";
662 reg = <0x50000000 0x4000000>;
663 #address-cells = <1>;
665 ranges = <0 0x50000000 0x4000000>;
670 compatible = "stericsson,db8500-cpufreq-cooling";
674 vmmci: regulator-gpio {
675 compatible = "regulator-gpio";
677 regulator-min-microvolt = <1800000>;
678 regulator-max-microvolt = <2600000>;
679 regulator-name = "mmci-reg";
680 regulator-type = "voltage";
682 states = <1800000 0x1