ARM: dts: keystone-k2g-evm: Add "vqmmc-supply" property for mmc0/mmc1
authorKishon Vijay Abraham I <kishon@ti.com>
Fri, 29 Jun 2018 22:57:18 +0000 (15:57 -0700)
committerSantosh Shilimkar <santosh.shilimkar@oracle.com>
Fri, 29 Jun 2018 22:57:18 +0000 (15:57 -0700)
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: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
arch/arm/boot/dts/keystone-k2g-evm.dts

index f028a004ac38fb8e8453cbcb3c30ea2c5f479395..b7f10bf945760e2563fd8c3f84d1ec67eb57b04f 100644 (file)
                regulator-max-microvolt = <3300000>;
                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 {
        pinctrl-names = "default";
        pinctrl-0 = <&mmc0_pins>;
        vmmc-supply = <&vcc3v3_dcin_reg>;
+       vqmmc-supply = <&vcc3v3_dcin_reg>;
        cd-gpios = <&gpio1 12 GPIO_ACTIVE_LOW>;
        status = "okay";
 };
        pinctrl-names = "default";
        pinctrl-0 = <&mmc1_pins>;
        vmmc-supply = <&vcc3v3_dcin_reg>; /* VCC3V3_EMMC is connected to VCC3V3_DCIN */
+       vqmmc-supply = <&vcc1v8_ldo1_reg>;
        ti,non-removable;
        status = "okay";
 };