summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/ste-snowball.dts
diff options
context:
space:
mode:
authorUlf Hansson <ulf.hansson@linaro.org>2015-04-20 17:02:31 +0300
committerLinus Walleij <linus.walleij@linaro.org>2015-04-27 10:01:01 +0300
commit53d2669844263fd5fdc70f0eb6a2eb8a21086d8e (patch)
tree3acb15fb1bdad398b1967850eb7ca993eb4cbb90 /arch/arm/boot/dts/ste-snowball.dts
parentb787f68c36d49bb1d9236f403813641efa74a031 (diff)
downloadlinux-53d2669844263fd5fdc70f0eb6a2eb8a21086d8e.tar.xz
ARM: ux500: Move GPIO regulator for SD-card into board DTSs
The GPIO regulator for the SD-card isn't a ux500 SOC configuration, but instead it's specific to the board. Move the definition of it, into the board DTSs. Fixes: c94a4ab7af3f ("ARM: ux500: Disable the MMCI gpio-regulator by default") Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> Reviewed-by: Bjorn Andersson <bjorn.andersson@sonymobile.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'arch/arm/boot/dts/ste-snowball.dts')
-rw-r--r--arch/arm/boot/dts/ste-snowball.dts15
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/ste-snowball.dts b/arch/arm/boot/dts/ste-snowball.dts
index 206826a855c0..65a7f630af82 100644
--- a/arch/arm/boot/dts/ste-snowball.dts
+++ b/arch/arm/boot/dts/ste-snowball.dts
@@ -146,8 +146,23 @@
};
vmmci: regulator-gpio {
+ compatible = "regulator-gpio";
+
gpios = <&gpio7 4 0x4>;
enable-gpio = <&gpio6 25 0x4>;
+
+ regulator-min-microvolt = <1800000>;
+ regulator-max-microvolt = <2900000>;
+ regulator-name = "mmci-reg";
+ regulator-type = "voltage";
+
+ startup-delay-us = <100>;
+ enable-active-high;
+
+ states = <1800000 0x1
+ 2900000 0x0>;
+
+ status = "disabled";
};
// External Micro SD slot