aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2015-09-14 20:09:40 +0000
committerJohn Crispin <blogic@openwrt.org>2015-09-14 20:09:40 +0000
commit4e15d3515eb6b46bdba0ae798d0a0c62a97a9953 (patch)
treeeac5b34b85ae82da89d3adc35619a4ac8cf7efef /target/linux
parenteaf3f510eff2bfa93ee586eb05d32a60c10c7bea (diff)
downloadmaster-187ad058-4e15d3515eb6b46bdba0ae798d0a0c62a97a9953.tar.gz
master-187ad058-4e15d3515eb6b46bdba0ae798d0a0c62a97a9953.tar.bz2
master-187ad058-4e15d3515eb6b46bdba0ae798d0a0c62a97a9953.zip
ar71xx: assign proper GPIO pin for Ubiquiti Nanostation models
The GPIO pins for "POE passthrough" of Ubiquiti Nanostation models are the following: * Ubiquiti Nanostation M XM: Pin 8 * Ubiquiti Nanostation M XW: Pin 2 The previous definition of the pins was mixed up between XM and XW model. Signed-off-by: Lars Kruse <lists@sumpfralle.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46922 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/ar71xx/base-files/etc/uci-defaults/01_gpio-switches4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/01_gpio-switches b/target/linux/ar71xx/base-files/etc/uci-defaults/01_gpio-switches
index 81d3982ed8..b41f27554b 100644
--- a/target/linux/ar71xx/base-files/etc/uci-defaults/01_gpio-switches
+++ b/target/linux/ar71xx/base-files/etc/uci-defaults/01_gpio-switches
@@ -10,10 +10,10 @@ board=$(ar71xx_board_name)
case "$board" in
nanostation-m)
- ucidef_set_gpio_switch "poe_passthrough" "PoE Passthrough" "2"
+ ucidef_set_gpio_switch "poe_passthrough" "PoE Passthrough" "8"
;;
nanostation-m-xw)
- ucidef_set_gpio_switch "poe_passthrough" "PoE Passthrough" "8"
+ ucidef_set_gpio_switch "poe_passthrough" "PoE Passthrough" "2"
;;
cpe510)
ucidef_set_gpio_switch "poe_passthrough" "PoE Passthrough" "20"