diff options
author | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2019-11-18 23:59:06 +0100 |
---|---|---|
committer | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2019-11-26 17:00:54 +0100 |
commit | 1cb763c559b81a7c38eadffcf1f6c6d3cde72153 (patch) | |
tree | 4b054d3711602a764530d66c6a36a56cc9dd1de4 /target/linux | |
parent | a0897f8a4663aac33de71c70177cd123b3738aa3 (diff) | |
download | upstream-1cb763c559b81a7c38eadffcf1f6c6d3cde72153.tar.gz upstream-1cb763c559b81a7c38eadffcf1f6c6d3cde72153.tar.bz2 upstream-1cb763c559b81a7c38eadffcf1f6c6d3cde72153.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>
(cherry picked from commit 317e98a5a2c6f1e2ac599ec530478669b965602c)
Diffstat (limited to 'target/linux')
-rwxr-xr-x | target/linux/ath79/base-files/etc/board.d/03_gpio_switches | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/target/linux/ath79/base-files/etc/board.d/03_gpio_switches b/target/linux/ath79/base-files/etc/board.d/03_gpio_switches index 7f40285daf..8a3312389c 100755 --- a/target/linux/ath79/base-files/etc/board.d/03_gpio_switches +++ b/target/linux/ath79/base-files/etc/board.d/03_gpio_switches @@ -30,6 +30,12 @@ tplink,archer-c25-v1) 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" ;; |