ramips: mt7621: Ubiquiti ER-X: fix gpio number for POE enable gpio

With v5.4 kernel a new gpio driver is used.
GPIO numbering has changed so update 03_gpio_switches too.

Signed-off-by: René van Dorst <opensource@vdorst.com>
This commit is contained in:
René van Dorst 2020-04-09 14:03:13 +02:00 committed by Chuanhong Guo
parent d74fb0088c
commit 2fac1322f7

View File

@ -14,7 +14,7 @@ telco-electronics,x1)
ucidef_add_gpio_switch "modem_reset" "Modem Reset" "16" ucidef_add_gpio_switch "modem_reset" "Modem Reset" "16"
;; ;;
ubnt,edgerouter-x) ubnt,edgerouter-x)
ucidef_add_gpio_switch "poe_passthrough" "PoE Passthrough" "0" ucidef_add_gpio_switch "poe_passthrough" "PoE Passthrough" "480"
;; ;;
ubnt,edgerouter-x-sfp) ubnt,edgerouter-x-sfp)
ucidef_add_gpio_switch "poe_power_port0" "PoE Power Port0" "496" ucidef_add_gpio_switch "poe_power_port0" "PoE Power Port0" "496"