aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq/dts/VGV7519.dtsi
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/VGV7519.dtsi
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/VGV7519.dtsi')
-rw-r--r--target/linux/lantiq/dts/VGV7519.dtsi18
1 files changed, 13 insertions, 5 deletions
diff --git a/target/linux/lantiq/dts/VGV7519.dtsi b/target/linux/lantiq/dts/VGV7519.dtsi
index 7a7fddb8ed..3ba3ac54cd 100644
--- a/target/linux/lantiq/dts/VGV7519.dtsi
+++ b/target/linux/lantiq/dts/VGV7519.dtsi
@@ -6,6 +6,14 @@
chosen {
bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
+
+ leds {
+ dsl = &broadband_yellow;
+ internet = &internet_yellow;
+ power = &power;
+ power2 = &power2;
+ wifi = &wireless_yellow;
+ };
};
memory@0 {
@@ -279,7 +287,7 @@
label = "tv";
gpios = <&stp 6 1>;
};
- internet_yellow { /* yellow */
+ internet_yellow: internet_yellow { /* yellow */
label = "internet_yellow";
gpios = <&stp 7 1>;
};
@@ -291,7 +299,7 @@
label = "broadband_red";
gpios = <&stp 9 1>;
};
- broadband_yellow { /* yellow */
+ broadband_yellow: broadband_yellow { /* yellow */
label = "broadband_yellow";
gpios = <&stp 10 1>;
};
@@ -303,15 +311,15 @@
label = "wireless_red";
gpios = <&stp 12 1>;
};
- wireless_yellow { /* yellow */
+ wireless_yellow: wireless_yellow { /* yellow */
label = "wireless_yellow";
gpios = <&stp 13 1>;
};
- power2 { /* yellow */
+ power2: power2 { /* yellow */
label = "power2";
gpios = <&stp 14 1>;
};
- power { /* red */
+ power: power { /* red */
label = "power";
gpios = <&stp 15 1>;
default-state = "on";