ramips: mt7621: Ubiquiti ER-X: fix gpio number for POE enable gpio
authorRené van Dorst <opensource@vdorst.com>
Thu, 9 Apr 2020 12:03:13 +0000 (14:03 +0200)
committerChuanhong Guo <gch981213@gmail.com>
Sat, 18 Apr 2020 03:59:41 +0000 (11:59 +0800)
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>
target/linux/ramips/mt7621/base-files/etc/board.d/03_gpio_switches

index 91a9459d8c86f1c06c4976361ed54a25d725edbf..a8162c10f7abe0e5e19a8848a3baea48009f4e3a 100755 (executable)
@@ -14,7 +14,7 @@ telco-electronics,x1)
        ucidef_add_gpio_switch "modem_reset" "Modem Reset" "16"
        ;;
 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)
        ucidef_add_gpio_switch "poe_power_port0" "PoE Power Port0" "496"