aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq/dts/DGN1000B.dts
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2016-01-01 21:18:54 +0000
committerJohn Crispin <blogic@openwrt.org>2016-01-01 21:18:54 +0000
commit00431250ef967a6e2b6fcc24457b0919f96b5c0d (patch)
treec1662f52a6aaff6455d29d038e1bc1be01eb6faa /target/linux/lantiq/dts/DGN1000B.dts
parent1351936e19016ff3d93fc1fd8e8e0201a4d07c2e (diff)
downloadmaster-187ad058-00431250ef967a6e2b6fcc24457b0919f96b5c0d.tar.gz
master-187ad058-00431250ef967a6e2b6fcc24457b0919f96b5c0d.tar.bz2
master-187ad058-00431250ef967a6e2b6fcc24457b0919f96b5c0d.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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48042 3c298f89-4303-0410-b956-a3cf2f4a3e73
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
+ */
};
};