mirror of https://github.com/hak5/openwrt.git
ath79: add PoE passthrough switch for Ubiquiti Nanostation (XM/XW)
This adds the gpio switch to enable PoE passthrough on Ubiquiti
Nanostation (XM/XW).
Values are copied from the implementation in ar71xx.
GPIO values checked on:
- NanoStation M5 XW
- NanoStation M2 XM
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
(cherry picked from commit 317e98a5a2
)
openwrt-19.07
parent
a0897f8a46
commit
1cb763c559
|
@ -30,6 +30,12 @@ tplink,archer-c25-v1)
|
||||||
ubnt,nanostation-ac)
|
ubnt,nanostation-ac)
|
||||||
ucidef_add_gpio_switch "poe_passthrough" "PoE Passthrough" "3"
|
ucidef_add_gpio_switch "poe_passthrough" "PoE Passthrough" "3"
|
||||||
;;
|
;;
|
||||||
|
ubnt,nanostation-m)
|
||||||
|
ucidef_add_gpio_switch "poe_passthrough" "PoE Passthrough" "8"
|
||||||
|
;;
|
||||||
|
ubnt,nanostation-m-xw)
|
||||||
|
ucidef_add_gpio_switch "poe_passthrough" "PoE Passthrough" "2"
|
||||||
|
;;
|
||||||
ubnt,acb-isp)
|
ubnt,acb-isp)
|
||||||
ucidef_add_gpio_switch "poe_passthrough" "PoE Passthrough" "11"
|
ucidef_add_gpio_switch "poe_passthrough" "PoE Passthrough" "11"
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Reference in New Issue