mediatek: Set GPIO pins to reset the LTE module on Edgecore EAP112

Fixes: WIFI-14098
Signed-off-by: Tanya Singh <tanya_singh@accton.com>
This commit is contained in:
Tanya Singh
2024-12-25 14:11:25 +08:00
committed by John Crispin
parent 77144209e9
commit 1cf48ae6d9

View File

@@ -0,0 +1,18 @@
#!/bin/sh
. /lib/functions/uci-defaults.sh
board_config_update
board=$(board_name)
case $board in
edgecore,eap112)
ucidef_add_gpio_switch "gpio_lte_reset" "LTE_reset" "457" "1"
ucidef_add_gpio_switch "gpio_lte_power" "LTE_power" "458" "1"
;;
esac
board_config_flush
exit 0