summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Bauer2024-09-14 17:10:10 +0000
committerDavid Bauer2024-09-20 17:52:46 +0000
commitdd4b05ee8a6a80ddf4e0ed188234fa04d841867c (patch)
treec8446e39ddf283509b65429353b2dd9fd3048b90
parent4d7ad378914382759e66dc32f1ffcab58639309a (diff)
downloadopenwrt-dd4b05ee8a6a80ddf4e0ed188234fa04d841867c.tar.gz
ipq40xx: add PoE passthrough GPIO
Add the GPIO pin of the PoE passthrough switch on the Aruba AP-303H. Power is activated when the pin is low. It enables a PSE chip, so power is only supplied to downstream devices when they are 802.3af/at compliant devices. Ensure you use a sufficient power supply when chaining a consuming device after the AP. Signed-off-by: David Bauer <mail@david-bauer.net> (cherry picked from commit b40cc46cc882ff97f2752e7837173ffc9f884eb9)
-rw-r--r--target/linux/ipq40xx/base-files/etc/board.d/03_gpio_switches3
1 files changed, 3 insertions, 0 deletions
diff --git a/target/linux/ipq40xx/base-files/etc/board.d/03_gpio_switches b/target/linux/ipq40xx/base-files/etc/board.d/03_gpio_switches
index 2035d84993..f57d4c5888 100644
--- a/target/linux/ipq40xx/base-files/etc/board.d/03_gpio_switches
+++ b/target/linux/ipq40xx/base-files/etc/board.d/03_gpio_switches
@@ -6,6 +6,9 @@ board_config_update
board=$(board_name)
case "$board" in
+aruba,ap-303h)
+ ucidef_add_gpio_switch "poe_passtrough" "POE passtrough disable" "546" "1"
+ ;;
cellc,rtl30vw)
ucidef_add_gpio_switch "w_disable" "W_DISABLE mPCIE pin" "398" "1"
ucidef_add_gpio_switch "pmd_resin_n" "PMD_RESIN_N pin" "399" "1"