[openwrt/openwrt] mediatek: filogic: Fix GPIOs for Zbtlink ZBT-Z8102AX

LEDE Commits lede-commits at lists.infradead.org
Sun Dec 10 10:34:02 PST 2023


dangole pushed a commit to openwrt/openwrt.git, branch openwrt-23.05:
https://git.openwrt.org/efdafcc9748973cd181100eda37a9bb0f61d7728

commit efdafcc9748973cd181100eda37a9bb0f61d7728
Author: Hauke Mehrtens <hauke at hauke-m.de>
AuthorDate: Sat Nov 25 18:06:41 2023 +0100

    mediatek: filogic: Fix GPIOs for Zbtlink ZBT-Z8102AX
    
    The PGIO configuration should be added for the ZBT-Z8102AX and not the ZBT-Z8103AX
    
    Fixes: c8c2f522625c ("mediatek: add support for Zbtlink ZBT-Z8102AX")
    Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
    (cherry picked from commit d99aed31a0e54f68cb26d2dfe814f51a3df31cc4)
---
 target/linux/mediatek/filogic/base-files/etc/board.d/03_gpio_switches | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/target/linux/mediatek/filogic/base-files/etc/board.d/03_gpio_switches b/target/linux/mediatek/filogic/base-files/etc/board.d/03_gpio_switches
index ff32a3650c..4cbec1ef07 100644
--- a/target/linux/mediatek/filogic/base-files/etc/board.d/03_gpio_switches
+++ b/target/linux/mediatek/filogic/base-files/etc/board.d/03_gpio_switches
@@ -5,7 +5,7 @@ board_config_update
 board=$(board_name)
 
 case "$board" in
-zbtlink,zbt-z8103ax)
+zbtlink,zbt-z8102ax)
 	ucidef_add_gpio_switch "5g1" "Power 1st modem" "5g1" "1"
 	ucidef_add_gpio_switch "5g2" "Power 2nd modem" "5g2" "1"
 	ucidef_add_gpio_switch "pcie" "Power PCIe port" "pcie" "1"




More information about the lede-commits mailing list