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/ARV7525PW.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/ARV7525PW.dts')
-rw-r--r-- | target/linux/lantiq/dts/ARV7525PW.dts | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/target/linux/lantiq/dts/ARV7525PW.dts b/target/linux/lantiq/dts/ARV7525PW.dts index 57aa59cd16..d434556244 100644 --- a/target/linux/lantiq/dts/ARV7525PW.dts +++ b/target/linux/lantiq/dts/ARV7525PW.dts @@ -7,6 +7,14 @@ chosen { bootargs = "console=ttyLTQ0,115200 init=/etc/preinit"; + + leds { + dsl = &power; + internet = &online; + power = &power; + power1 = &power1; + wifi = &wifi; + }; }; memory@0 { @@ -114,15 +122,15 @@ gpio-leds { compatible = "gpio-leds"; - power { + power: power { label = "power"; gpios = <&gpio 3 1>; }; - power1 { + power1: power1 { label = "power1"; gpios = <&gpio 4 1>; }; - online { + online: online { label = "online"; gpios = <&gpio 5 1>; }; @@ -134,7 +142,7 @@ label = "voice2"; gpios = <&gpio 8 1>; }; - wifi { + wifi: wifi { label = "wifi"; gpios = <&gpio 9 1>; }; |