aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq/dts/EASY80920.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/EASY80920.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/EASY80920.dtsi')
-rw-r--r--target/linux/lantiq/dts/EASY80920.dtsi12
1 files changed, 9 insertions, 3 deletions
diff --git a/target/linux/lantiq/dts/EASY80920.dtsi b/target/linux/lantiq/dts/EASY80920.dtsi
index a9293af377..bdd759687a 100644
--- a/target/linux/lantiq/dts/EASY80920.dtsi
+++ b/target/linux/lantiq/dts/EASY80920.dtsi
@@ -3,6 +3,12 @@
/ {
chosen {
bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
+
+ leds {
+ power = &power;
+ usb = &usb1;
+ usb2 = &usb2;
+ };
};
memory@0 {
@@ -293,7 +299,7 @@
gpio-leds {
compatible = "gpio-leds";
- power {
+ power: power {
label = "power";
gpios = <&stp 9 0>;
default-state = "on";
@@ -314,11 +320,11 @@
label = "fxo";
gpios = <&stp 19 0>;
};
- usb1 {
+ usb1: usb1 {
label = "usb1";
gpios = <&stp 18 0>;
};
- usb2 {
+ usb2: usb2 {
label = "usb2";
gpios = <&stp 15 0>;
};