aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq/base-files/etc/board.d
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2016-01-01 21:18:47 +0000
committerJohn Crispin <john@openwrt.org>2016-01-01 21:18:47 +0000
commit4cf3fd49fcb73655561cb2bea6315e3a3790b076 (patch)
treefc9dccdbebbaf2478ef997d7ac307c38e7d5d6c8 /target/linux/lantiq/base-files/etc/board.d
parentebc71a4d1646eb88cf71e301c085a2dfa5d1efcf (diff)
downloadupstream-4cf3fd49fcb73655561cb2bea6315e3a3790b076.tar.gz
upstream-4cf3fd49fcb73655561cb2bea6315e3a3790b076.tar.bz2
upstream-4cf3fd49fcb73655561cb2bea6315e3a3790b076.zip
lantiq: add support for indicating the boot state using three leds
The BTHOMEHUBV5A has a RGB power led, where every colour is perfect to indicate the current boot state. This patch adds support for such cases. The existing led sequences should be the same as before. Boards which are using a led different from power (like TDW89x0) are changed to switch of the led after boot Signed-off-by: Mathias Kresin <openwrt@kresin.me> SVN-Revision: 48041
Diffstat (limited to 'target/linux/lantiq/base-files/etc/board.d')
-rwxr-xr-xtarget/linux/lantiq/base-files/etc/board.d/01_leds18
1 files changed, 0 insertions, 18 deletions
diff --git a/target/linux/lantiq/base-files/etc/board.d/01_leds b/target/linux/lantiq/base-files/etc/board.d/01_leds
index a95c72c3a9..ac9e14ec57 100755
--- a/target/linux/lantiq/base-files/etc/board.d/01_leds
+++ b/target/linux/lantiq/base-files/etc/board.d/01_leds
@@ -27,39 +27,21 @@ board_config_update
board=$(lantiq_board_name)
case "$board" in
-BTHOMEHUBV2B)
- ucidef_set_led_default "power" "power" "soc:blue:power" "1"
- ;;
-BTHOMEHUBV3A)
- ucidef_set_led_default "power" "power" "soc:blue:power" "1"
- ;;
BTHOMEHUBV5A)
- ucidef_set_led_default "power" "power" "soc:blue:power" "1"
ucidef_set_led_default "dimmed" "dimmed" "dimmed" "0"
;;
VGV7510KW22)
- ucidef_set_led_default "power" "power" "power" "1"
- ucidef_set_led_default "power2" "power2" "power2" "0"
ucidef_set_led_wlan "wifi" "wifi" "wifi" "phy0radio"
;;
VGV7519)
- ucidef_set_led_default "power" "power" "power" "0"
- ucidef_set_led_default "power2" "power2" "power2" "1"
ucidef_set_led_wlan "wifi" "wifi" "wireless_yellow" "phy0radio"
;;
P2812HNUF*)
- ucidef_set_led_default "power" "power" "power" "0"
- ucidef_set_led_default "power2" "power2" "power2" "1"
ucidef_set_led_wlan "wifi" "wifi" "wireless_green" "phy0radio"
;;
ARV7519RW22)
- ucidef_set_led_default "power" "power" "power" "1"
ucidef_set_led_netdev "lan" "lan" "lan" "eth0.1"
;;
-ARV8539PW22)
- ucidef_set_led_default "power" "power" "soc:green:power" "1"
- ucidef_set_led_default "power2" "power2" "soc:red:power" "0"
- ;;
*)
;;
esac