diff mbox series

ramips: mt7621: fix Telco X1 GPIO switches

Message ID 20201116060612.26135-1-dengqf6@mail2.sysu.edu.cn
State Accepted
Headers show
Series ramips: mt7621: fix Telco X1 GPIO switches | expand

Commit Message

DENG Qingfang Nov. 16, 2020, 6:06 a.m. UTC
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>
---
 .../linux/ramips/mt7621/base-files/etc/board.d/03_gpio_switches | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

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 f809df7f2f94..82bbdd24f674 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"