aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>2019-11-18 23:59:06 +0100
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2019-11-21 12:26:05 +0100
commit317e98a5a2c6f1e2ac599ec530478669b965602c (patch)
treebb07dc09486fa294cb4ce3e88132182ba4a15277 /target
parente7a96acf1bd505880133e136e48b09d33344e466 (diff)
downloadupstream-317e98a5a2c6f1e2ac599ec530478669b965602c.tar.gz
upstream-317e98a5a2c6f1e2ac599ec530478669b965602c.tar.bz2
upstream-317e98a5a2c6f1e2ac599ec530478669b965602c.zip
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>
Diffstat (limited to 'target')
-rwxr-xr-xtarget/linux/ath79/generic/base-files/etc/board.d/03_gpio_switches6
1 files changed, 6 insertions, 0 deletions
diff --git a/target/linux/ath79/generic/base-files/etc/board.d/03_gpio_switches b/target/linux/ath79/generic/base-files/etc/board.d/03_gpio_switches
index 04206f4a58..9bce6cc51b 100755
--- a/target/linux/ath79/generic/base-files/etc/board.d/03_gpio_switches
+++ b/target/linux/ath79/generic/base-files/etc/board.d/03_gpio_switches
@@ -52,6 +52,12 @@ tplink,wbs210-v2)
ubnt,nanostation-ac)
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)
ucidef_add_gpio_switch "poe_passthrough" "PoE Passthrough" "11"
;;