From c32676d3c40bf241b8fa5ac9ed547fffc41d40d0 Mon Sep 17 00:00:00 2001 From: Manivannan Sadhasivam Date: Tue, 4 Dec 2018 00:05:35 +0530 Subject: arm64: dts: hikey970: use dummy regulator for SD Signed-off-by: Manivannan Sadhasivam --- arch/arm64/boot/dts/hisilicon/hi3670-hikey970.dts | 25 +++++++++++++++++------ 1 file 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 = <®_3p3v>; + vqmmc-supply = <®_1p8v>; status = "okay"; }; -- cgit v1.2.1