ath79: fix 5GHz External Antenna A GPIO for BSAP-1840
authorShiji Yang <yangshiji66@qq.com>
Thu, 4 Jul 2024 10:35:50 +0000 (18:35 +0800)
committerRobert Marko <robimarko@gmail.com>
Thu, 4 Jul 2024 17:30:37 +0000 (19:30 +0200)
commit8895c51d694ea4b76d5821c41b14a09ff97f858b
tree865a746bc280c9fc8654966550c5fe4ce6e7102b
parent731318667d8b11a13bce05e9f877079ae40bea50
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@qq.com>
Link: https://github.com/openwrt/openwrt/pull/15784
Signed-off-by: Robert Marko <robimarko@gmail.com>
target/linux/ath79/generic/base-files/etc/board.d/03_gpio_switches