mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-10-30 18:07:52 +00:00
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:
committed by
John Crispin
parent
77144209e9
commit
1cf48ae6d9
18
feeds/mediatek-sdk/mediatek/mt7981/base-files/etc/board.d/03_gpio_switches
Executable file
18
feeds/mediatek-sdk/mediatek/mt7981/base-files/etc/board.d/03_gpio_switches
Executable 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
|
||||||
Reference in New Issue
Block a user