aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq/dts/WBMR.dts
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2016-01-01 21:18:54 +0000
committerJohn Crispin <john@openwrt.org>2016-01-01 21:18:54 +0000
commit3cbfc74cde8e7064b2b8c2cbb7aa20374e759dc0 (patch)
treed5d4c3d0422d731a2753c83a624f622dd91b469d /target/linux/lantiq/dts/WBMR.dts
parent4cf3fd49fcb73655561cb2bea6315e3a3790b076 (diff)
downloadupstream-3cbfc74cde8e7064b2b8c2cbb7aa20374e759dc0.tar.gz
upstream-3cbfc74cde8e7064b2b8c2cbb7aa20374e759dc0.tar.bz2
upstream-3cbfc74cde8e7064b2b8c2cbb7aa20374e759dc0.zip
lantiq: use devicename:colour:function led naming scheme
The leds of the following boards are not renamed due to lack of manuals/informations: - ARV7519PW - ARV7510PW22 - ARV4510PW The leds of the ARV4518PWR01* boards are unchanged, since the leds doesn't match the leds from the manual or pictures (e.g. there shouldn't be a wps led). Signed-off-by: Mathias Kresin <openwrt@kresin.me> SVN-Revision: 48042
Diffstat (limited to 'target/linux/lantiq/dts/WBMR.dts')
-rw-r--r--target/linux/lantiq/dts/WBMR.dts32
1 files changed, 16 insertions, 16 deletions
diff --git a/target/linux/lantiq/dts/WBMR.dts b/target/linux/lantiq/dts/WBMR.dts
index 1ca7668468..4a20850b1b 100644
--- a/target/linux/lantiq/dts/WBMR.dts
+++ b/target/linux/lantiq/dts/WBMR.dts
@@ -9,12 +9,12 @@
bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
leds {
- boot = &power;
- failsafe = &power2;
- running = &power;
+ boot = &power_green;
+ failsafe = &power_red;
+ running = &power_green;
dsl = &dsl;
- internet = &online;
+ internet = &online_green;
usb = &usb;
wifi = &wifi;
};
@@ -138,41 +138,41 @@
gpio-leds {
compatible = "gpio-leds";
- power: power {
- label = "power";
+ power_green: power {
+ label = "wbmr:green:power";
gpios = <&gpio 1 1>;
default-state = "keep";
};
- power2: power2 {
- label = "power2";
+ power_red: power2 {
+ label = "wbmr:red:power";
gpios = <&gpio 5 1>;
};
security {
- label = "security";
+ label = "wbmr:yellow:security";
gpios = <&gpio 14 1>;
};
wifi: wifi {
- label = "wifi";
+ label = "wbmr:green:wireless";
gpios = <&gpio 15 1>;
};
dsl: dsl {
- label = "dsl";
+ label = "wbmr:green:dsl";
gpios = <&gpio 16 1>;
};
- online: online {
- label = "online";
+ online_green: online {
+ label = "wbmr:green:internet";
gpios = <&gpio 17 1>;
};
online2 {
- label = "online2";
+ label = "wbmr:red:internet";
gpios = <&gpio 18 1>;
};
movie {
- label = "movie";
+ label = "wbmr:blue:movie";
gpios = <&gpio 20 1>;
};
usb: usb {
- label = "usb";
+ label = "wbmr:green:usb";
gpios = <&gpio 28 1>;
default-state = "on";
};