aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2016-03-20 14:41:33 +0000
committerJohn Crispin <john@openwrt.org>2016-03-20 14:41:33 +0000
commitcc82da0bc10561b5af902fb8abaca1952b2c4bfb (patch)
tree8fa26bb0943d3ba974a8180074d9dc1df735cd36 /target/linux/ramips/base-files
parente9db6eb8b2c630b912c5ebf733eb39a4b38c0c57 (diff)
downloadupstream-cc82da0bc10561b5af902fb8abaca1952b2c4bfb.tar.gz
upstream-cc82da0bc10561b5af902fb8abaca1952b2c4bfb.tar.bz2
upstream-cc82da0bc10561b5af902fb8abaca1952b2c4bfb.zip
ramips: MiWifi-Nano - change gpios to leds, add to default build group
1) Use leds to indicate: Red - Power Amber - Radio On Blue - Wifi associated 2) Add profile to default build group for MT7628 subtarget Signed-off-by: Noble Pepper <openwrtmail@noblepepper.com> SVN-Revision: 49045
Diffstat (limited to 'target/linux/ramips/base-files')
-rwxr-xr-xtarget/linux/ramips/base-files/etc/board.d/01_leds5
1 files changed, 5 insertions, 0 deletions
diff --git a/target/linux/ramips/base-files/etc/board.d/01_leds b/target/linux/ramips/base-files/etc/board.d/01_leds
index 6c25c86753..5816e60f66 100755
--- a/target/linux/ramips/base-files/etc/board.d/01_leds
+++ b/target/linux/ramips/base-files/etc/board.d/01_leds
@@ -185,6 +185,11 @@ miniembplug)
miwifi-mini)
ucidef_set_led_default "power" "power" "$board:red:status" "1"
;;
+miwifi-nano)
+ ucidef_set_led_default "power" "power" "$board:red:status" "1"
+ ucidef_set_led_wlan "radio_led" "radio" "$board:amber:radio" "phy0radio"
+ ucidef_set_led_wlan "wifi_led" "wifi" "$board:blue:wifi" "phy0assoc"
+ ;;
mlw221|\
mlwg2)
set_wifi_led "$board:blue:wifi"