aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq/dts/ARV7518PW.dts
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2016-01-01 21:18:08 +0000
committerJohn Crispin <blogic@openwrt.org>2016-01-01 21:18:08 +0000
commitacaa9cd4f0d28400543ef5b3aee7f6b30c58cefe (patch)
tree482dee78a57ef91665d9611c7ff7e531064f9e7c /target/linux/lantiq/dts/ARV7518PW.dts
parent396406d064046bd8c2466e6ad3e1a7f72c546cb2 (diff)
downloadmaster-187ad058-acaa9cd4f0d28400543ef5b3aee7f6b30c58cefe.tar.gz
master-187ad058-acaa9cd4f0d28400543ef5b3aee7f6b30c58cefe.tar.bz2
master-187ad058-acaa9cd4f0d28400543ef5b3aee7f6b30c58cefe.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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48037 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/lantiq/dts/ARV7518PW.dts')
-rw-r--r--target/linux/lantiq/dts/ARV7518PW.dts21
1 files changed, 15 insertions, 6 deletions
diff --git a/target/linux/lantiq/dts/ARV7518PW.dts b/target/linux/lantiq/dts/ARV7518PW.dts
index c6f4759ed4..7693bc2662 100644
--- a/target/linux/lantiq/dts/ARV7518PW.dts
+++ b/target/linux/lantiq/dts/ARV7518PW.dts
@@ -7,6 +7,15 @@
chosen {
bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
+
+ leds {
+ dsl = &dsl;
+ internet = &online;
+ power = &power;
+ power2 = &power2;
+ usb = &usb;
+ wifi = &wifi;
+ };
};
memory@0 {
@@ -158,23 +167,23 @@
gpio-leds {
compatible = "gpio-leds";
- power {
+ power: power {
label = "power";
gpios = <&gpio 2 1>;
};
- dsl {
+ dsl: dsl {
label = "dsl";
gpios = <&gpio 4 1>;
};
- online {
+ online: online {
label = "online";
gpios = <&gpio 5 1>;
};
- wifi {
+ wifi: wifi {
label = "wifi";
gpios = <&gpio 6 1>;
};
- power2 {
+ power2: power2 {
label = "power2";
gpios = <&gpio 7 1>;
};
@@ -182,7 +191,7 @@
label = "online2";
gpios = <&gpio 8 1>;
};
- usb {
+ usb: usb {
label = "usb";
gpios = <&gpio 19 1>;
};