diff options
author | René van Dorst <opensource@vdorst.com> | 2020-04-09 14:03:13 +0200 |
---|---|---|
committer | Chuanhong Guo <gch981213@gmail.com> | 2020-04-18 11:59:41 +0800 |
commit | 2fac1322f73f8a808494380c46a242a16bf9afc7 (patch) | |
tree | 52dd4af99f6fdccfbdb4c6cf41642bb7f09bf5be | |
parent | d74fb0088c5bc89ba080816921699a980966d015 (diff) | |
download | upstream-2fac1322f73f8a808494380c46a242a16bf9afc7.tar.gz upstream-2fac1322f73f8a808494380c46a242a16bf9afc7.tar.bz2 upstream-2fac1322f73f8a808494380c46a242a16bf9afc7.zip |
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>
-rwxr-xr-x | target/linux/ramips/mt7621/base-files/etc/board.d/03_gpio_switches | 2 |
1 files changed, 1 insertions, 1 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 91a9459d8c..a8162c10f7 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 @@ -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" |