rockchip: dts: rk3328-evb: add sdmmc-pwren regulator
authorKever Yang <kever.yang@rock-chips.com>
Thu, 8 Jun 2017 07:32:06 +0000 (15:32 +0800)
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Tue, 11 Jul 2017 13:23:38 +0000 (15:23 +0200)
Use fixed regulator for sdmmc-pwren for sdmmc power.

Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
Acked-by: Simon Glass <sjg@chromium.org>
Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
arch/arm/dts/rk3328-evb.dts

index 220d0ab35031f659f61503ee7172f0f1b6ee3f7b..8a14c653e4697d8cd5e28330a1d38bbcf786d02f 100644 (file)
                stdout-path = &uart2;
        };
 
+       vcc3v3_sdmmc: sdmmc-pwren {
+               compatible = "regulator-fixed";
+               regulator-name = "vcc3v3";
+               gpio = <&gpio0 30 GPIO_ACTIVE_LOW>;
+               regulator-always-on;
+               regulator-boot-on;
+       };
+
        vcc5v0_otg: vcc5v0-otg-drv {
                compatible = "regulator-fixed";
                enable-active-high;