summaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq/dts/P2601HNFX.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/P2601HNFX.dts
parent5b6f0250f644756c573557add4b103ecf7560dec (diff)
downloadmaster-31e0f0ae-a3042500ab1114bae29ae55071aa3f26fd19c0a4.tar.gz
master-31e0f0ae-a3042500ab1114bae29ae55071aa3f26fd19c0a4.tar.bz2
master-31e0f0ae-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/P2601HNFX.dts')
-rw-r--r--target/linux/lantiq/dts/P2601HNFX.dts18
1 files changed, 13 insertions, 5 deletions
diff --git a/target/linux/lantiq/dts/P2601HNFX.dts b/target/linux/lantiq/dts/P2601HNFX.dts
index bb9193eb1f..3193c3954c 100644
--- a/target/linux/lantiq/dts/P2601HNFX.dts
+++ b/target/linux/lantiq/dts/P2601HNFX.dts
@@ -7,6 +7,14 @@
chosen {
bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
+
+ leds {
+ dsl = &dsl;
+ internet = &online;
+ power = &power;
+ power2 = &power2;
+ wifi = &wifi;
+ };
};
memory@0 {
@@ -135,16 +143,16 @@
gpio-leds {
compatible = "gpio-leds";
- power {
+ power: power {
label = "power";
gpios = <&stp 11 1>;
default-state = "on";
};
- power2 {
+ power2: power2 {
label = "power2";
gpios = <&gpio 29 1>;
};
- online {
+ online: online {
label = "online";
gpios = <&stp 13 1>;
};
@@ -152,7 +160,7 @@
label = "online2";
gpios = <&stp 12 1>;
};
- dsl {
+ dsl: dsl {
label = "dsl";
gpios = <&stp 14 1>;
};
@@ -164,7 +172,7 @@
label = "phone2";
gpios = <&stp 8 1>;
};
- wifi {
+ wifi: wifi {
label = "wifi";
gpios = <&stp 15 1>;
};