From bca68e1028557249b8be6a8b5bbf513bd1ebe46d Mon Sep 17 00:00:00 2001 From: John Crispin Date: Sun, 20 Mar 2016 14:41:33 +0000 Subject: 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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49045 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/ramips/base-files/etc/board.d/01_leds | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'target/linux/ramips/base-files') 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" -- cgit v1.2.3