[openwrt/openwrt] ath79: fix 5GHz External Antenna A GPIO for BSAP-1840
LEDE Commits
lede-commits at lists.infradead.org
Thu Jul 4 10:30:46 PDT 2024
robimarko pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/8895c51d694ea4b76d5821c41b14a09ff97f858b
commit 8895c51d694ea4b76d5821c41b14a09ff97f858b
Author: Shiji Yang <yangshiji66 at qq.com>
AuthorDate: Thu Jul 4 18:35:50 2024 +0800
ath79: fix 5GHz External Antenna A GPIO for BSAP-1840
Each ath9k device only has 10 gpios. ath9k-0 gpio number range is
502-511, and ath9k-1 gpio number range is 492-501. So "5GHz External
Antenna A" gpio line number should be 492 instead of 489.
Signed-off-by: Shiji Yang <yangshiji66 at qq.com>
Link: https://github.com/openwrt/openwrt/pull/15784
Signed-off-by: Robert Marko <robimarko at gmail.com>
---
target/linux/ath79/generic/base-files/etc/board.d/03_gpio_switches | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/target/linux/ath79/generic/base-files/etc/board.d/03_gpio_switches b/target/linux/ath79/generic/base-files/etc/board.d/03_gpio_switches
index 279f518409..dffd412d10 100644
--- a/target/linux/ath79/generic/base-files/etc/board.d/03_gpio_switches
+++ b/target/linux/ath79/generic/base-files/etc/board.d/03_gpio_switches
@@ -11,7 +11,7 @@ board=$(board_name)
case "$board" in
adtran,bsap1800-v2|\
adtran,bsap1840)
- ucidef_add_gpio_switch "wifi1_ext_a" "5GHz External Antenna A" "489" "1"
+ ucidef_add_gpio_switch "wifi1_ext_a" "5GHz External Antenna A" "492" "1"
ucidef_add_gpio_switch "wifi1_int_a" "5GHz Internal Antenna A" "493"
ucidef_add_gpio_switch "wifi1_ext_b" "5GHz External Antenna B" "494" "1"
ucidef_add_gpio_switch "wifi1_int_b" "5GHz Internal Antenna B" "495"
More information about the lede-commits
mailing list