aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorDENG Qingfang <dengqf6@mail2.sysu.edu.cn>2020-11-16 14:06:12 +0800
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-11-16 13:43:39 +0100
commitfe1f11ce320ffca521d758ec6f5d7916fb59aa8a (patch)
treeae647b671501a42a0db4c01619f576a87e6cf141 /target
parent0f7a3288e10fb244a33d80230e7b04b323668821 (diff)
downloadupstream-fe1f11ce320ffca521d758ec6f5d7916fb59aa8a.tar.gz
upstream-fe1f11ce320ffca521d758ec6f5d7916fb59aa8a.tar.bz2
upstream-fe1f11ce320ffca521d758ec6f5d7916fb59aa8a.zip
ramips: mt7621: fix Telco X1 GPIO switches
The GPIO base of MT7621 GPIO 0~31 is 480 on kernel 5.4 Fix the GPIO numbering. Signed-off-by: DENG Qingfang <dengqf6@mail2.sysu.edu.cn>
Diffstat (limited to 'target')
-rwxr-xr-xtarget/linux/ramips/mt7621/base-files/etc/board.d/03_gpio_switches2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ramips/mt7621/base-files/etc/board.d/03_gpio_switches b/target/linux/ramips/mt7621/base-files/etc/board.d/03_gpio_switches
index f809df7f2f..82bbdd24f6 100755
--- a/target/linux/ramips/mt7621/base-files/etc/board.d/03_gpio_switches
+++ b/target/linux/ramips/mt7621/base-files/etc/board.d/03_gpio_switches
@@ -11,7 +11,7 @@ mikrotik,routerboard-760igs)
ucidef_add_gpio_switch "poe_passthrough" "PoE Passthrough" "497"
;;
telco-electronics,x1)
- ucidef_add_gpio_switch "modem_reset" "Modem Reset" "16"
+ ucidef_add_gpio_switch "modem_reset" "Modem Reset" "496"
;;
ubnt,edgerouter-x)
ucidef_add_gpio_switch "poe_passthrough" "PoE Passthrough" "480"