aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq/dts/DGN1000B.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/DGN1000B.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/DGN1000B.dts')
-rw-r--r--target/linux/lantiq/dts/DGN1000B.dts17
1 files changed, 10 insertions, 7 deletions
diff --git a/target/linux/lantiq/dts/DGN1000B.dts b/target/linux/lantiq/dts/DGN1000B.dts
index 7c4f4a52f9..a6bd5a8021 100644
--- a/target/linux/lantiq/dts/DGN1000B.dts
+++ b/target/linux/lantiq/dts/DGN1000B.dts
@@ -14,7 +14,7 @@
running = &power;
dsl = &dsl;
- internet = &online;
+ internet = &online_green;
};
};
@@ -118,29 +118,32 @@
gpio-leds {
compatible = "gpio-leds";
dsl: dsl {
- label = "dsl";
+ label = "dgn1000b:green:dsl";
gpios = <&gpio 1 1>;
default-state = "on";
};
- online: online {
- label = "online";
+ online_green: online {
+ label = "dgn1000b:green:online";
gpios = <&gpio 2 1>;
default-state = "on";
};
online2 {
- label = "online2";
+ label = "dgn1000b:red:online";
gpios = <&gpio 3 1>;
default-state = "on";
};
wps {
- label = "wps";
+ label = "dgn1000b:green:wps";
gpios = <&gpio 4 1>;
default-state = "on";
};
power: power {
- label = "power";
+ label = "dgn1000b:green:power";
gpios = <&gpio 13 1>;
default-state = "keep";
};
+ /*
+ power red is missing
+ */
};
};