diff options
author | Vishal Mahaveer <vishalm@ti.com> | 2018-08-23 14:44:00 -0500 |
---|---|---|
committer | Vishal Mahaveer <vishalm@ti.com> | 2018-08-23 14:44:00 -0500 |
commit | 76d1124a747c3cdb42f233ec6fd7e3743711419a (patch) | |
tree | f469b19f94ce69ab1581b3c2336922042169b503 | |
parent | af47ffac7d508d9da2bfd9b819c70357db06c6fe (diff) | |
download | jacinto6evm-6AO.1.0-lcard-revb.tar.gz |
dra71x: lcard: fix wlan enumeration on MMC16AO.1.0-lcard-revb
Add changes needed for bringing up WiLink on MMC1 interface.
Also add the gpio configuration needed for selecting WiLink over SD card
on this board.
Change-Id: I64891707fdcb1d22fbff60645c9c891710d43462
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
-rw-r--r-- | arch/arm/boot/dts/dra71-lcard.dts | 32 |
1 files changed, 25 insertions, 7 deletions
diff --git a/arch/arm/boot/dts/dra71-lcard.dts b/arch/arm/boot/dts/dra71-lcard.dts index 5f5caa8bd5ee..ddfeea793e55 100644 --- a/arch/arm/boot/dts/dra71-lcard.dts +++ b/arch/arm/boot/dts/dra71-lcard.dts @@ -105,13 +105,15 @@ regulator-boot-on; }; - vmmcwl_fixed: fixedregulator-mmcwl { + evm_3v3_wlan: fixedregulator-wlan { compatible = "regulator-fixed"; - regulator-name = "vmmcwl_fixed"; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - gpio = <&gpio1 25 GPIO_ACTIVE_HIGH>; + regulator-name = "evm_3v3_wlan"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + vin-supply = <&evm_3v3_sw>; enable-active-high; + regulator-always-on; + gpio = <&gpio1 25 GPIO_ACTIVE_HIGH>; }; hdmi0: connector { @@ -404,7 +406,7 @@ /* LDO1_OUT --> SDIO */ regulator-name = "ldo1"; regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; + regulator-max-microvolt = <3300000>; regulator-always-on; regulator-boot-on; regulator-allow-bypass; @@ -446,7 +448,8 @@ &mmc1 { status = "okay"; - vmmc-supply = <&vmmcwl_fixed>; + vmmc-supply = <&evm_3v3_wlan>; + vmmc_aux-supply = <&ldo1_reg>; bus-width = <4>; pinctrl-names = "default", "hs", "sdr12", "sdr25", "sdr50"; pinctrl-0 = <&mmc1_pins_default>; @@ -743,3 +746,18 @@ #size-cells = <0>; }; }; + +&gpio5 { + status = "okay"; + + /* H_MMC1_SELn : select between MMC1 and Wireless + * Low : MMC1 is selected + * HIGH: Wireless is selected + */ + p26 { + gpio-hog; + gpios = <26 GPIO_ACTIVE_HIGH>; + output-high; + line-name = "H_MMC1_SELn"; + }; +}; |