ARM: dts: dra72-evm: add evm_3v3_sd regulator

Add a node for evm_3v3_sd using pcf which feeds on to mmc vdd.
Update mapping for vmmc-supply and vmmc_aux-supply.
evm_3v3_sd supplies to SD card vdd, and ldo1 to sdcard i/o lines.

Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
This commit is contained in:
Kishon Vijay Abraham I 2015-07-30 13:43:34 +05:30 committed by Tony Lindgren
parent c9ab94dfd2
commit a238707d98

View file

@ -30,6 +30,15 @@
regulator-max-microvolt = <3300000>; regulator-max-microvolt = <3300000>;
}; };
evm_3v3_sd: fixedregulator-sd {
compatible = "regulator-fixed";
regulator-name = "evm_3v3_sd";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
enable-active-high;
gpio = <&pcf_gpio_21 5 GPIO_ACTIVE_HIGH>;
};
extcon_usb1: extcon_usb1 { extcon_usb1: extcon_usb1 {
compatible = "linux,extcon-usb-gpio"; compatible = "linux,extcon-usb-gpio";
id-gpio = <&pcf_gpio_21 1 GPIO_ACTIVE_HIGH>; id-gpio = <&pcf_gpio_21 1 GPIO_ACTIVE_HIGH>;
@ -497,8 +506,8 @@
status = "okay"; status = "okay";
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&mmc1_pins_default>; pinctrl-0 = <&mmc1_pins_default>;
vmmc-supply = <&evm_3v3_sd>;
vmmc-supply = <&ldo1_reg>; vmmc_aux-supply = <&ldo1_reg>;
bus-width = <4>; bus-width = <4>;
/* /*
* SDCD signal is not being used here - using the fact that GPIO mode * SDCD signal is not being used here - using the fact that GPIO mode