ipq40xx: add PoE passthrpugh GPIO master
authorDavid Bauer <mail@david-bauer.net>
Sat, 14 Sep 2024 17:10:10 +0000 (19:10 +0200)
committerDavid Bauer <mail@david-bauer.net>
Sat, 14 Sep 2024 17:10:13 +0000 (19:10 +0200)
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>
target/linux/ipq40xx/base-files/etc/board.d/03_gpio_switches

index 226785d46c43dfc79a0e1d09d57ee4a63ef43198..672a8000dc100961b378d4b6ecec74083c6d0edf 100644 (file)
@@ -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" "446" "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"