Commit d682dcc9 authored by René van Dorst's avatar René van Dorst Committed by Chuanhong Guo
Browse files

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: default avatarRené van Dorst <opensource@vdorst.com>
parent 2fac1322
...@@ -17,11 +17,11 @@ ubnt,edgerouter-x) ...@@ -17,11 +17,11 @@ ubnt,edgerouter-x)
ucidef_add_gpio_switch "poe_passthrough" "PoE Passthrough" "480" 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" "400"
ucidef_add_gpio_switch "poe_power_port1" "PoE Power Port1" "497" ucidef_add_gpio_switch "poe_power_port1" "PoE Power Port1" "401"
ucidef_add_gpio_switch "poe_power_port2" "PoE Power Port2" "498" ucidef_add_gpio_switch "poe_power_port2" "PoE Power Port2" "402"
ucidef_add_gpio_switch "poe_power_port3" "PoE Power Port3" "499" ucidef_add_gpio_switch "poe_power_port3" "PoE Power Port3" "403"
ucidef_add_gpio_switch "poe_power_port4" "PoE Power Port4" "500" ucidef_add_gpio_switch "poe_power_port4" "PoE Power Port4" "404"
;; ;;
esac esac
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment