ARM: dts: msm: config WLAN_EN GPIO
Config CNSS2 to use the correct GPIO for WLAN enable.
CRs-Fixed: 2393887
Change-Id: I78b99bfc49fa9f83ac8316a79d56996d6c990671
Signed-off-by: Yuanyuan Liu <yuanliu@codeaurora.org>
diff --git a/arch/arm64/boot/dts/qcom/kona-pinctrl.dtsi b/arch/arm64/boot/dts/qcom/kona-pinctrl.dtsi
index 338e057..2146971 100644
--- a/arch/arm64/boot/dts/qcom/kona-pinctrl.dtsi
+++ b/arch/arm64/boot/dts/qcom/kona-pinctrl.dtsi
@@ -555,12 +555,12 @@
cnss_pins {
cnss_wlan_en_active: cnss_wlan_en_active {
mux {
- pins = "gpio169";
+ pins = "gpio20";
function = "gpio";
};
config {
- pins = "gpio169";
+ pins = "gpio20";
drive-strength = <16>;
output-high;
bias-pull-up;
@@ -569,12 +569,12 @@
cnss_wlan_en_sleep: cnss_wlan_en_sleep {
mux {
- pins = "gpio169";
+ pins = "gpio20";
function = "gpio";
};
config {
- pins = "gpio169";
+ pins = "gpio20";
drive-strength = <2>;
output-low;
bias-pull-down;
diff --git a/arch/arm64/boot/dts/qcom/kona.dtsi b/arch/arm64/boot/dts/qcom/kona.dtsi
index aee76bd..38d8ceb 100644
--- a/arch/arm64/boot/dts/qcom/kona.dtsi
+++ b/arch/arm64/boot/dts/qcom/kona.dtsi
@@ -3078,7 +3078,7 @@
reg = <0xa0000000 0x10000000>,
<0xb0000000 0x10000>;
reg-names = "smmu_iova_base", "smmu_iova_ipa";
- wlan-en-gpio = <&tlmm 169 0>;
+ wlan-en-gpio = <&tlmm 20 0>;
pinctrl-names = "wlan_en_active", "wlan_en_sleep";
pinctrl-0 = <&cnss_wlan_en_active>;
pinctrl-1 = <&cnss_wlan_en_sleep>;