summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/ste-hrefprev60-tvk.dts
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2020-12-19 21:31:55 +0100
committerLinus Walleij <linus.walleij@linaro.org>2021-01-13 13:12:20 +0100
commit5282da459a97640ad2d12029665fa8c0a09d72a2 (patch)
treea49ee27134d1f32bda25adf51d69d135a324522f /arch/arm/boot/dts/ste-hrefprev60-tvk.dts
parentace79dd1b0d99a3789809d94a00d230d76f61c57 (diff)
ARM: dts: ux500: Push VMMCI down to each tree
The setting of VMMCI differs so much between different boards that we need to handle it on a per-board basis rather that complicating things by overriding stuff from the included DTSI:s. Push it down into top-level tree instead. Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'arch/arm/boot/dts/ste-hrefprev60-tvk.dts')
-rw-r--r--arch/arm/boot/dts/ste-hrefprev60-tvk.dts19
1 files changed, 19 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/ste-hrefprev60-tvk.dts b/arch/arm/boot/dts/ste-hrefprev60-tvk.dts
index 142f5475521f..4e6e4439dcff 100644
--- a/arch/arm/boot/dts/ste-hrefprev60-tvk.dts
+++ b/arch/arm/boot/dts/ste-hrefprev60-tvk.dts
@@ -11,4 +11,23 @@
/ {
model = "ST-Ericsson HREF (pre-v60) and TVK1281618 UIB";
compatible = "st-ericsson,mop500", "st-ericsson,u8500";
+
+ /* ST6G3244ME level translator for 1.8/2.9 V */
+ vmmci: regulator-gpio {
+ compatible = "regulator-gpio";
+
+ regulator-min-microvolt = <1800000>;
+ regulator-max-microvolt = <2900000>;
+ regulator-name = "mmci-reg";
+ regulator-type = "voltage";
+
+ startup-delay-us = <100>;
+
+ states = <1800000 0x1
+ 2900000 0x0>;
+
+ gpios = <&tc3589x_gpio 18 GPIO_ACTIVE_HIGH>;
+ enable-gpio = <&tc3589x_gpio 17 GPIO_ACTIVE_HIGH>;
+ enable-active-high;
+ };
};