From: xiaoyao Date: Thu, 18 May 2017 01:16:09 +0000 (+0800) Subject: arm64: dts: rockchip: rk3328-evb: add gpio control for vcc_sd X-Git-Tag: release-20171130_firefly~4^2~546 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=ebdc69684b17d42aaf4f95c5879dfc0f5de88196;p=firefly-linux-kernel-4.4.55.git arm64: dts: rockchip: rk3328-evb: add gpio control for vcc_sd Change-Id: Ib504aa0505bd6bea328c5fdd73d237baddcf17a5 Signed-off-by: xiaoyao --- 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 {