diff options
author | John Crispin <john@openwrt.org> | 2016-01-01 21:18:08 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2016-01-01 21:18:08 +0000 |
commit | a3042500ab1114bae29ae55071aa3f26fd19c0a4 (patch) | |
tree | 7f23dfe057fd24edc68c2a4a0d6d8fb2a5719437 /target/linux/lantiq/dts/ARV7519RW22.dts | |
parent | 5b6f0250f644756c573557add4b103ecf7560dec (diff) | |
download | upstream-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/ARV7519RW22.dts')
-rw-r--r-- | target/linux/lantiq/dts/ARV7519RW22.dts | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/target/linux/lantiq/dts/ARV7519RW22.dts b/target/linux/lantiq/dts/ARV7519RW22.dts index d33e9d8df3..8c7c3e6ed2 100644 --- a/target/linux/lantiq/dts/ARV7519RW22.dts +++ b/target/linux/lantiq/dts/ARV7519RW22.dts @@ -7,6 +7,11 @@ chosen { bootargs = "console=ttyLTQ0,115200 init=/etc/preinit"; + + leds { + internet = &internet_green; + power = &power_green; + }; }; memory@0 { @@ -205,7 +210,7 @@ label = "internet_red"; gpios = <&gpio 10 1>; }; - power_green { + power_green: power_green { label = "power"; gpios = <&gpio 14 1>; default-state = "on"; @@ -218,7 +223,7 @@ label = "internet_orange"; gpios = <&gpio 19 1>; }; - internet_green { + internet_green: internet_green { label = "internet_green"; gpios = <&gpio 28 1>; }; |