aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq/dts/ARV4525PW.dts
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2016-01-01 21:18:08 +0000
committerJohn Crispin <john@openwrt.org>2016-01-01 21:18:08 +0000
commita3042500ab1114bae29ae55071aa3f26fd19c0a4 (patch)
tree7f23dfe057fd24edc68c2a4a0d6d8fb2a5719437 /target/linux/lantiq/dts/ARV4525PW.dts
parent5b6f0250f644756c573557add4b103ecf7560dec (diff)
downloadupstream-a3042500ab1114bae29ae55071aa3f26fd19c0a4.tar.gz
upstream-a3042500ab1114bae29ae55071aa3f26fd19c0a4.tar.bz2
upstream-a3042500ab1114bae29ae55071aa3f26fd19c0a4.zip
lantiq: define default leds in dts files
- ARV7525PW: use the power led as dsl led as done by the stock firmware - FRITZ3370: use the info led as internet led - FRITZ7320: use the power led as dsl led as done by the stock firmware Signed-off-by: Mathias Kresin <openwrt@kresin.me> SVN-Revision: 48037
Diffstat (limited to 'target/linux/lantiq/dts/ARV4525PW.dts')
-rw-r--r--target/linux/lantiq/dts/ARV4525PW.dts16
1 files changed, 13 insertions, 3 deletions
diff --git a/target/linux/lantiq/dts/ARV4525PW.dts b/target/linux/lantiq/dts/ARV4525PW.dts
index 3c420e7cf2..b1a92a7154 100644
--- a/target/linux/lantiq/dts/ARV4525PW.dts
+++ b/target/linux/lantiq/dts/ARV4525PW.dts
@@ -5,6 +5,16 @@
/ {
model = "ARV4525PW - Speedport W501V Typ A";
+ chosen {
+ leds {
+ dsl = &dsl;
+ internet = &online;
+ /* we dont have a power led, lets use the online led */
+ power = &online;
+ wifi = &wifi;
+ };
+ };
+
memory@0 {
reg = <0x0 0x2000000>;
};
@@ -136,15 +146,15 @@
label = "fxs";
gpios = <&gpio 5 1>;
};
- dsl {
+ dsl: dsl {
label = "dsl";
gpios = <&gpio 6 1>;
};
- wifi {
+ wifi: wifi {
label = "wifi";
gpios = <&gpio 8 1>;
};
- online {
+ online: online {
/*label = "online"; - we dont have a power led, lets use this one */
label = "power";
gpios = <&gpio 9 1>;