aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorAndré Fonseca <mail@andrefonseca.pt>2023-02-27 12:58:08 +0100
committerHauke Mehrtens <hauke@hauke-m.de>2023-03-04 17:37:25 +0100
commit3817577c92618256565a55213e440cbcd1bd4e86 (patch)
tree68f5994975c594748c778ea5746edd25873ba111 /target
parent3e4c014008659c760b2e4638f606da90df1e3c93 (diff)
downloadupstream-3817577c92618256565a55213e440cbcd1bd4e86.tar.gz
upstream-3817577c92618256565a55213e440cbcd1bd4e86.tar.bz2
upstream-3817577c92618256565a55213e440cbcd1bd4e86.zip
ramips: mt7621: TP-Link EAP235/615-Wall: add poe passthrough gpio definitions
Add the missing definitions for the PoE passthrough functionality. The relevant pin is already being exported, but it is missing from the initial board configuration file. With this change, the user is now able to toggle the PoE passthorough functionality via the uci cli Signed-off-by: André Fonseca <mail@andrefonseca.pt>
Diffstat (limited to 'target')
-rw-r--r--target/linux/ramips/mt7621/base-files/etc/board.d/03_gpio_switches4
1 files changed, 4 insertions, 0 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 4bf2aa37e0..ec2bf695a0 100644
--- 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
@@ -12,6 +12,10 @@ mikrotik,routerboard-760igs)
telco-electronics,x1)
ucidef_add_gpio_switch "modem_reset" "Modem Reset" "496"
;;
+tplink,eap235-wall-v1|\
+tplink,eap615-wall-v1)
+ ucidef_add_gpio_switch "poe_passthrough" "PoE Passthrough" "poe-passthrough"
+ ;;
ubnt,edgerouter-x)
ucidef_add_gpio_switch "poe_passthrough" "PoE Passthrough" "480"
;;