aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Griffin <peter.griffin@linaro.org>2015-09-28 13:25:18 +0100
committerPeter Griffin <peter.griffin@linaro.org>2016-04-12 16:09:53 +0100
commitb8548a9061a46fdbd6f88fb090856feae132e610 (patch)
tree35548849cd6f4daf49e08599a40f0809d861df69
parent00fbf3fa0d7712258c4ffb32c8a42d82cb87038f (diff)
ARM: STi: DT: STiH407: Add the flashss voltage regulator DT node.v4.6-rc3-regulator
This patch adds the DT node for the flashss mmc voltage regulator. Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
-rw-r--r--arch/arm/boot/dts/stih407-family.dtsi12
-rw-r--r--arch/arm/boot/dts/stihxxx-b2120.dtsi4
2 files changed, 16 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/stih407-family.dtsi b/arch/arm/boot/dts/stih407-family.dtsi
index 81f81214cdf9..2d62036845e1 100644
--- a/arch/arm/boot/dts/stih407-family.dtsi
+++ b/arch/arm/boot/dts/stih407-family.dtsi
@@ -488,6 +488,17 @@
status = "disabled";
};
+ vqmmc_reg: voltage-regulator {
+ compatible = "st,vqmmc";
+ regulator-name = "vqmmc0";
+ /* Control register for the VSENSE Module */
+ reg = <0x9061004 0x4>;
+ status = "disabled";
+ regulator-min-microvolt = <1800000>;
+ regulator-max-microvolt = <3300000>;
+ regulator-always-on;
+ };
+
mmc0: sdhci@09060000 {
compatible = "st,sdhci-stih407", "st,sdhci";
status = "disabled";
@@ -501,6 +512,7 @@
clocks = <&clk_s_c0_flexgen CLK_MMC_0>;
bus-width = <8>;
non-removable;
+ vqmmc-supply = <&vqmmc_reg>;
};
mmc1: sdhci@09080000 {
diff --git a/arch/arm/boot/dts/stihxxx-b2120.dtsi b/arch/arm/boot/dts/stihxxx-b2120.dtsi
index 133375bc8aa5..f326d57ff2f6 100644
--- a/arch/arm/boot/dts/stihxxx-b2120.dtsi
+++ b/arch/arm/boot/dts/stihxxx-b2120.dtsi
@@ -72,6 +72,10 @@
status = "okay";
};
+ vqmmc_reg: voltage-regulator {
+ status = "okay";
+ };
+
/* SSC11 to HDMI */
hdmiddc: i2c@9541000 {
status = "okay";