From: René van Dorst Date: Tue, 7 Apr 2020 20:00:20 +0000 (+0200) Subject: ramips: mt7621: Ubiquiti ER-X-SFP: fix gpio numbers for POE enable gpios X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=d682dcc939dc65dc7603083e27775e4dee577647;p=openwrt%2Fstaging%2Fldir.git ramips: mt7621: Ubiquiti ER-X-SFP: fix gpio numbers for POE enable gpios 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 --- 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 a8162c10f7..24bfcb2051 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 @@ -17,11 +17,11 @@ ubnt,edgerouter-x) ucidef_add_gpio_switch "poe_passthrough" "PoE Passthrough" "480" ;; ubnt,edgerouter-x-sfp) - ucidef_add_gpio_switch "poe_power_port0" "PoE Power Port0" "496" - ucidef_add_gpio_switch "poe_power_port1" "PoE Power Port1" "497" - ucidef_add_gpio_switch "poe_power_port2" "PoE Power Port2" "498" - ucidef_add_gpio_switch "poe_power_port3" "PoE Power Port3" "499" - ucidef_add_gpio_switch "poe_power_port4" "PoE Power Port4" "500" + ucidef_add_gpio_switch "poe_power_port0" "PoE Power Port0" "400" + ucidef_add_gpio_switch "poe_power_port1" "PoE Power Port1" "401" + ucidef_add_gpio_switch "poe_power_port2" "PoE Power Port2" "402" + ucidef_add_gpio_switch "poe_power_port3" "PoE Power Port3" "403" + ucidef_add_gpio_switch "poe_power_port4" "PoE Power Port4" "404" ;; esac