diff options
author | Vignesh R <vigneshr@ti.com> | 2016-08-10 15:17:20 +0530 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-08-12 09:22:18 -0400 |
commit | 257bdb3f665117a6c5b34a4fd797778f98bd5d22 (patch) | |
tree | 4ca003c24b8ab0370166c33ac0c1ea948aabaa4f /arch/arm/dts/dra7-evm.dts | |
parent | eba3fbd6a12b1c4a75c24135535075f0d0fb8074 (diff) |
ARM: dts: dra7xx-evm: add evm_3v3_sd regulator
Add a node for evm_3v3_sd using onboard PCF GPIO expander 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: Vignesh R <vigneshr@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'arch/arm/dts/dra7-evm.dts')
-rw-r--r-- | arch/arm/dts/dra7-evm.dts | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/arch/arm/dts/dra7-evm.dts b/arch/arm/dts/dra7-evm.dts index 06b7b367e4..fe755c0584 100644 --- a/arch/arm/dts/dra7-evm.dts +++ b/arch/arm/dts/dra7-evm.dts @@ -24,6 +24,15 @@ reg = <0x80000000 0x60000000>; /* 1536 MB */ }; + 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>; + }; + mmc2_3v3: fixedregulator-mmc2 { compatible = "regulator-fixed"; regulator-name = "mmc2_3v3"; @@ -468,7 +477,8 @@ &mmc1 { status = "okay"; - vmmc-supply = <&ldo1_reg>; + vmmc-supply = <&evm_3v3_sd>; + vmmc_aux-supply = <&ldo1_reg>; bus-width = <4>; /* * SDCD signal is not being used here - using the fact that GPIO mode |