diff options
-rw-r--r-- | arch/arm/boot/dts/db8500.dtsi | 68 | ||||
-rw-r--r-- | arch/arm/boot/dts/snowball.dts | 2 |
2 files changed, 70 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/db8500.dtsi b/arch/arm/boot/dts/db8500.dtsi index 646c80b41661..1fa5546b5971 100644 --- a/arch/arm/boot/dts/db8500.dtsi +++ b/arch/arm/boot/dts/db8500.dtsi | |||
@@ -308,6 +308,74 @@ | |||
308 | compatible = "stericsson,ab8500"; | 308 | compatible = "stericsson,ab8500"; |
309 | reg = <5>; /* mailbox 5 is i2c */ | 309 | reg = <5>; /* mailbox 5 is i2c */ |
310 | interrupts = <0 40 0x4>; | 310 | interrupts = <0 40 0x4>; |
311 | |||
312 | ab8500-regulators { | ||
313 | compatible = "stericsson,ab8500-regulator"; | ||
314 | |||
315 | // supplies to the display/camera | ||
316 | ab8500_ldo_aux1_reg: ab8500_ldo_aux1 { | ||
317 | regulator-name = "V-DISPLAY"; | ||
318 | regulator-min-microvolt = <2500000>; | ||
319 | regulator-max-microvolt = <2900000>; | ||
320 | regulator-boot-on; | ||
321 | /* BUG: If turned off MMC will be affected. */ | ||
322 | regulator-always-on; | ||
323 | }; | ||
324 | |||
325 | // supplies to the on-board eMMC | ||
326 | ab8500_ldo_aux2_reg: ab8500_ldo_aux2 { | ||
327 | regulator-name = "V-eMMC1"; | ||
328 | regulator-min-microvolt = <1100000>; | ||
329 | regulator-max-microvolt = <3300000>; | ||
330 | }; | ||
331 | |||
332 | // supply for VAUX3; SDcard slots | ||
333 | ab8500_ldo_aux3_reg: ab8500_ldo_aux3 { | ||
334 | regulator-name = "V-MMC-SD"; | ||
335 | regulator-min-microvolt = <1100000>; | ||
336 | regulator-max-microvolt = <3300000>; | ||
337 | }; | ||
338 | |||
339 | // supply for v-intcore12; VINTCORE12 LDO | ||
340 | ab8500_ldo_initcore_reg: ab8500_ldo_initcore { | ||
341 | regulator-name = "V-INTCORE"; | ||
342 | }; | ||
343 | |||
344 | // supply for tvout; gpadc; TVOUT LDO | ||
345 | ab8500_ldo_tvout_reg: ab8500_ldo_tvout { | ||
346 | regulator-name = "V-TVOUT"; | ||
347 | }; | ||
348 | |||
349 | // supply for ab8500-usb; USB LDO | ||
350 | ab8500_ldo_usb_reg: ab8500_ldo_usb { | ||
351 | regulator-name = "dummy"; | ||
352 | }; | ||
353 | |||
354 | // supply for ab8500-vaudio; VAUDIO LDO | ||
355 | ab8500_ldo_audio_reg: ab8500_ldo_audio { | ||
356 | regulator-name = "V-AUD"; | ||
357 | }; | ||
358 | |||
359 | // supply for v-anamic1 VAMic1-LDO | ||
360 | ab8500_ldo_anamic1_reg: ab8500_ldo_anamic1 { | ||
361 | regulator-name = "V-AMIC1"; | ||
362 | }; | ||
363 | |||
364 | // supply for v-amic2; VAMIC2 LDO; reuse constants for AMIC1 | ||
365 | ab8500_ldo_amamic2_reg: ab8500_ldo_amamic2 { | ||
366 | regulator-name = "V-AMIC2"; | ||
367 | }; | ||
368 | |||
369 | // supply for v-dmic; VDMIC LDO | ||
370 | ab8500_ldo_dmic_reg: ab8500_ldo_dmic { | ||
371 | regulator-name = "V-DMIC"; | ||
372 | }; | ||
373 | |||
374 | // supply for U8500 CSI/DSI; VANA LDO | ||
375 | ab8500_ldo_ana_reg: ab8500_ldo_ana { | ||
376 | regulator-name = "V-CSI/DSI"; | ||
377 | }; | ||
378 | }; | ||
311 | }; | 379 | }; |
312 | }; | 380 | }; |
313 | 381 | ||
diff --git a/arch/arm/boot/dts/snowball.dts b/arch/arm/boot/dts/snowball.dts index d6c05ea9e518..ec3c33975110 100644 --- a/arch/arm/boot/dts/snowball.dts +++ b/arch/arm/boot/dts/snowball.dts | |||
@@ -103,11 +103,13 @@ | |||
103 | 103 | ||
104 | sdi@80126000 { | 104 | sdi@80126000 { |
105 | status = "enabled"; | 105 | status = "enabled"; |
106 | vmmc-supply = <&ab8500_ldo_aux3_reg>; | ||
106 | cd-gpios = <&gpio6 26 0x4>; // 218 | 107 | cd-gpios = <&gpio6 26 0x4>; // 218 |
107 | }; | 108 | }; |
108 | 109 | ||
109 | sdi@80114000 { | 110 | sdi@80114000 { |
110 | status = "enabled"; | 111 | status = "enabled"; |
112 | vmmc-supply = <&ab8500_ldo_aux2_reg>; | ||
111 | }; | 113 | }; |
112 | 114 | ||
113 | uart@80120000 { | 115 | uart@80120000 { |