summaryrefslogtreecommitdiff
path: root/target/linux/lantiq/dts/ARV4520PW.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/ARV4520PW.dts
parent5b6f0250f644756c573557add4b103ecf7560dec (diff)
downloadmtk-20170518-a3042500ab1114bae29ae55071aa3f26fd19c0a4.zip
mtk-20170518-a3042500ab1114bae29ae55071aa3f26fd19c0a4.tar.gz
mtk-20170518-a3042500ab1114bae29ae55071aa3f26fd19c0a4.tar.bz2
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/ARV4520PW.dts')
-rw-r--r--target/linux/lantiq/dts/ARV4520PW.dts21
1 files changed, 15 insertions, 6 deletions
diff --git a/target/linux/lantiq/dts/ARV4520PW.dts b/target/linux/lantiq/dts/ARV4520PW.dts
index 8a5b797..642bde2 100644
--- a/target/linux/lantiq/dts/ARV4520PW.dts
+++ b/target/linux/lantiq/dts/ARV4520PW.dts
@@ -7,6 +7,15 @@
chosen {
bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
+
+ leds {
+ dsl = &adsl;
+ internet = &internet;
+ power = &power;
+ power2 = &power2;
+ usb = &usb;
+ wifi = &wifi;
+ };
};
memory@0 {
@@ -140,19 +149,19 @@
gpio-leds {
compatible = "gpio-leds";
- power {
+ power: power {
label = "power";
gpios = <&gpio 3 1>;
};
- adsl {
+ adsl: adsl {
label = "adsl";
gpios = <&gpio 4 1>;
};
- internet {
+ internet: internet {
label = "internet";
gpios = <&gpio 5 1>;
};
- power2 {
+ power2: power2 {
label = "power2";
gpios = <&gpio 6 1>;
};
@@ -184,11 +193,11 @@
label = "voice";
gpios = <&gpiomm 4 1>;
};
- usb {
+ usb: usb {
label = "usb";
gpios = <&gpiomm 5 1>;
};
- wifi {
+ wifi: wifi {
label = "wifi";
gpios = <&gpiomm 6 1>;
};