From ebdc69684b17d42aaf4f95c5879dfc0f5de88196 Mon Sep 17 00:00:00 2001 From: xiaoyao Date: Thu, 18 May 2017 09:16:09 +0800 Subject: [PATCH] arm64: dts: rockchip: rk3328-evb: add gpio control for vcc_sd Change-Id: Ib504aa0505bd6bea328c5fdd73d237baddcf17a5 Signed-off-by: xiaoyao --- arch/arm64/boot/dts/rockchip/rk3328-evb.dts | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3328-evb.dts b/arch/arm64/boot/dts/rockchip/rk3328-evb.dts index b435f1990f20..ac12d780510c 100644 --- a/arch/arm64/boot/dts/rockchip/rk3328-evb.dts +++ b/arch/arm64/boot/dts/rockchip/rk3328-evb.dts @@ -120,6 +120,17 @@ regulator-boot-on; }; + vcc_sd: sdmmc-regulator { + compatible = "regulator-fixed"; + gpio = <&gpio0 30 GPIO_ACTIVE_LOW>; + pinctrl-names = "default"; + pinctrl-0 = <&sdmmc0m1_gpio>; + regulator-name = "vcc_sd"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + vin-supply = <&vcc_io>; + }; + wireless-wlan { compatible = "wlan-platdata"; rockchip,grf = <&grf>; @@ -369,6 +380,7 @@ pinctrl-0 = <&sdmmc0_clk &sdmmc0_cmd &sdmmc0_dectn &sdmmc0_bus4>; supports-sd; status = "okay"; + vmmc-supply = <&vcc_sd>; }; &spdif { -- 2.34.1