aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>2018-12-04 00:05:35 +0530
committerManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>2018-12-04 00:05:35 +0530
commitc32676d3c40bf241b8fa5ac9ed547fffc41d40d0 (patch)
treeb4373a3c2c7962b0a6606dfe8f6243102470eb1d
parent6caf3632e3269bd454d5755afc22e995c6c6499a (diff)
download96b-common-hikey970-pmic.tar.gz
arm64: dts: hikey970: use dummy regulator for SDhikey970-pmic
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
-rw-r--r--arch/arm64/boot/dts/hisilicon/hi3670-hikey970.dts25
1 files changed, 19 insertions, 6 deletions
diff --git a/arch/arm64/boot/dts/hisilicon/hi3670-hikey970.dts b/arch/arm64/boot/dts/hisilicon/hi3670-hikey970.dts
index c4e627a8fc1a..78aa9715c8a5 100644
--- a/arch/arm64/boot/dts/hisilicon/hi3670-hikey970.dts
+++ b/arch/arm64/boot/dts/hisilicon/hi3670-hikey970.dts
@@ -105,6 +105,23 @@
};
};
+ reg_1p8v: regulator-1p8v {
+ compatible = "regulator-fixed";
+ regulator-name = "fixed-1.8V";
+ regulator-min-microvolt = <1800000>;
+ regulator-max-microvolt = <1800000>;
+ regulator-always-on;
+ };
+
+ reg_3p3v: regulator-3p3v {
+ compatible = "regulator-fixed";
+ regulator-name = "fixed-3.3V";
+ regulator-min-microvolt = <3300000>;
+ regulator-max-microvolt = <3300000>;
+ regulator-boot-on;
+ regulator-always-on;
+ };
+
};
/*
@@ -427,10 +444,6 @@
&dwmmc1 {
bus-width = <0x4>;
cap-sd-highspeed;
- sd-uhs-sdr12;
- sd-uhs-sdr25;
- sd-uhs-sdr50;
- sd-uhs-sdr104;
disable-wp;
cd-inverted;
cd-gpios = <&gpio25 5 0>;
@@ -438,8 +451,8 @@
pinctrl-0 = <&sd_pmx_func
&sd_clk_cfg_func
&sd_cfg_func>;
- vmmc-supply = <&ldo16>;
- vqmmc-supply = <&ldo9>;
+ vmmc-supply = <&reg_3p3v>;
+ vqmmc-supply = <&reg_1p8v>;
status = "okay";
};