Commit bb601b38 authored by Kishon Vijay Abraham I's avatar Kishon Vijay Abraham I Committed by Santosh Shilimkar

ARM: dts: keystone-k2g-evm: Add "vqmmc-supply" property for mmc0/mmc1

Add "vqmmc-supply" property for mmc0/mmc1 to indicate the supply connected
to the IO lines. Also add dt node for ldo1 regulator required for mmc1
vqmmc-supply.
Signed-off-by: default avatarKishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: default avatarSantosh Shilimkar <santosh.shilimkar@oracle.com>
parent bf5ebea4
...@@ -37,6 +37,14 @@ vcc3v3_dcin_reg: fixedregulator-vcc3v3-dcin { ...@@ -37,6 +37,14 @@ vcc3v3_dcin_reg: fixedregulator-vcc3v3-dcin {
regulator-max-microvolt = <3300000>; regulator-max-microvolt = <3300000>;
regulator-always-on; regulator-always-on;
}; };
vcc1v8_ldo1_reg: fixedregulator-vcc1v8-ldo1 {
compatible = "regulator-fixed";
regulator-name = "ldo1";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
regulator-always-on;
};
}; };
&k2g_pinctrl { &k2g_pinctrl {
...@@ -168,6 +176,7 @@ &mmc0 { ...@@ -168,6 +176,7 @@ &mmc0 {
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&mmc0_pins>; pinctrl-0 = <&mmc0_pins>;
vmmc-supply = <&vcc3v3_dcin_reg>; vmmc-supply = <&vcc3v3_dcin_reg>;
vqmmc-supply = <&vcc3v3_dcin_reg>;
cd-gpios = <&gpio1 12 GPIO_ACTIVE_LOW>; cd-gpios = <&gpio1 12 GPIO_ACTIVE_LOW>;
status = "okay"; status = "okay";
}; };
...@@ -176,6 +185,7 @@ &mmc1 { ...@@ -176,6 +185,7 @@ &mmc1 {
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&mmc1_pins>; pinctrl-0 = <&mmc1_pins>;
vmmc-supply = <&vcc3v3_dcin_reg>; /* VCC3V3_EMMC is connected to VCC3V3_DCIN */ vmmc-supply = <&vcc3v3_dcin_reg>; /* VCC3V3_EMMC is connected to VCC3V3_DCIN */
vqmmc-supply = <&vcc1v8_ldo1_reg>;
ti,non-removable; ti,non-removable;
status = "okay"; status = "okay";
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment