aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVishal Mahaveer2018-08-23 14:44:00 -0500
committerVishal Mahaveer2018-08-23 14:44:00 -0500
commit76d1124a747c3cdb42f233ec6fd7e3743711419a (patch)
treef469b19f94ce69ab1581b3c2336922042169b503
parentaf47ffac7d508d9da2bfd9b819c70357db06c6fe (diff)
downloadkernel-omap-6AO.1.0-lcard-revb.tar.gz
kernel-omap-6AO.1.0-lcard-revb.tar.xz
kernel-omap-6AO.1.0-lcard-revb.zip
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.dts32
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 @@
105 regulator-boot-on; 105 regulator-boot-on;
106 }; 106 };
107 107
108 vmmcwl_fixed: fixedregulator-mmcwl { 108 evm_3v3_wlan: fixedregulator-wlan {
109 compatible = "regulator-fixed"; 109 compatible = "regulator-fixed";
110 regulator-name = "vmmcwl_fixed"; 110 regulator-name = "evm_3v3_wlan";
111 regulator-min-microvolt = <1800000>; 111 regulator-min-microvolt = <3300000>;
112 regulator-max-microvolt = <1800000>; 112 regulator-max-microvolt = <3300000>;
113 gpio = <&gpio1 25 GPIO_ACTIVE_HIGH>; 113 vin-supply = <&evm_3v3_sw>;
114 enable-active-high; 114 enable-active-high;
115 regulator-always-on;
116 gpio = <&gpio1 25 GPIO_ACTIVE_HIGH>;
115 }; 117 };
116 118
117 hdmi0: connector { 119 hdmi0: connector {
@@ -404,7 +406,7 @@
404 /* LDO1_OUT --> SDIO */ 406 /* LDO1_OUT --> SDIO */
405 regulator-name = "ldo1"; 407 regulator-name = "ldo1";
406 regulator-min-microvolt = <1800000>; 408 regulator-min-microvolt = <1800000>;
407 regulator-max-microvolt = <1800000>; 409 regulator-max-microvolt = <3300000>;
408 regulator-always-on; 410 regulator-always-on;
409 regulator-boot-on; 411 regulator-boot-on;
410 regulator-allow-bypass; 412 regulator-allow-bypass;
@@ -446,7 +448,8 @@
446 448
447&mmc1 { 449&mmc1 {
448 status = "okay"; 450 status = "okay";
449 vmmc-supply = <&vmmcwl_fixed>; 451 vmmc-supply = <&evm_3v3_wlan>;
452 vmmc_aux-supply = <&ldo1_reg>;
450 bus-width = <4>; 453 bus-width = <4>;
451 pinctrl-names = "default", "hs", "sdr12", "sdr25", "sdr50"; 454 pinctrl-names = "default", "hs", "sdr12", "sdr25", "sdr50";
452 pinctrl-0 = <&mmc1_pins_default>; 455 pinctrl-0 = <&mmc1_pins_default>;
@@ -743,3 +746,18 @@
743 #size-cells = <0>; 746 #size-cells = <0>;
744 }; 747 };
745}; 748};
749
750&gpio5 {
751 status = "okay";
752
753 /* H_MMC1_SELn : select between MMC1 and Wireless
754 * Low : MMC1 is selected
755 * HIGH: Wireless is selected
756 */
757 p26 {
758 gpio-hog;
759 gpios = <26 GPIO_ACTIVE_HIGH>;
760 output-high;
761 line-name = "H_MMC1_SELn";
762 };
763};