summaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq/dts/FRITZ3370.dts
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/dts/FRITZ3370.dts
parentebc71a4d1646eb88cf71e301c085a2dfa5d1efcf (diff)
downloadopenwrt-4cf3fd49fcb73655561cb2bea6315e3a3790b076.tar.gz
openwrt-4cf3fd49fcb73655561cb2bea6315e3a3790b076.tar.bz2
openwrt-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/dts/FRITZ3370.dts')
-rw-r--r--target/linux/lantiq/dts/FRITZ3370.dts11
1 files changed, 7 insertions, 4 deletions
diff --git a/target/linux/lantiq/dts/FRITZ3370.dts b/target/linux/lantiq/dts/FRITZ3370.dts
index a652b9b1bb..216f5ffca0 100644
--- a/target/linux/lantiq/dts/FRITZ3370.dts
+++ b/target/linux/lantiq/dts/FRITZ3370.dts
@@ -9,10 +9,12 @@
bootargs = "console=ttyLTQ0,115200 ubi.mtd=1,512 root=/dev/mtdblock9";
leds {
+ boot = &power_green;
+ failsafe = &power_red;
+ running = &power_green;
+
dsl = &dsl;
internet = &info_green;
- power = &power;
- power2 = &power2;
wifi = &wifi;
};
};
@@ -243,11 +245,12 @@
gpio-leds {
compatible = "gpio-leds";
- power: power {
+ power_green: power {
label = "power";
gpios = <&gpio 32 1>;
+ default-state = "keep";
};
- power2: power2 {
+ power_red: power2 {
label = "power2";
gpios = <&gpio 33 1>;
};