aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/mt7621
diff options
context:
space:
mode:
authorRené van Dorst <opensource@vdorst.com>2020-04-07 22:00:20 +0200
committerChuanhong Guo <gch981213@gmail.com>2020-04-18 11:59:41 +0800
commitd682dcc939dc65dc7603083e27775e4dee577647 (patch)
tree35a054e039ce707ff6c9d22068c9401a3b369bc2 /target/linux/ramips/mt7621
parent2fac1322f73f8a808494380c46a242a16bf9afc7 (diff)
downloadupstream-d682dcc939dc65dc7603083e27775e4dee577647.tar.gz
upstream-d682dcc939dc65dc7603083e27775e4dee577647.tar.bz2
upstream-d682dcc939dc65dc7603083e27775e4dee577647.zip
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 <opensource@vdorst.com>
Diffstat (limited to 'target/linux/ramips/mt7621')
-rwxr-xr-xtarget/linux/ramips/mt7621/base-files/etc/board.d/03_gpio_switches10
1 files changed, 5 insertions, 5 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 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