[openwrt/openwrt] ramips: mt7621: TP-Link EAP235/615-Wall: add poe passthrough gpio definitions

LEDE Commits lede-commits at lists.infradead.org
Sat Mar 4 08:38:01 PST 2023


hauke pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/3817577c92618256565a55213e440cbcd1bd4e86

commit 3817577c92618256565a55213e440cbcd1bd4e86
Author: André Fonseca <mail at andrefonseca.pt>
AuthorDate: Mon Feb 27 12:58:08 2023 +0100

    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 at andrefonseca.pt>
---
 target/linux/ramips/mt7621/base-files/etc/board.d/03_gpio_switches | 4 ++++
 1 file changed, 4 insertions(+)

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"
 	;;




More information about the lede-commits mailing list