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/FRITZ3370.dts | |
parent | 5b6f0250f644756c573557add4b103ecf7560dec (diff) | |
download | mtk-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/FRITZ3370.dts')
-rw-r--r-- | target/linux/lantiq/dts/FRITZ3370.dts | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/target/linux/lantiq/dts/FRITZ3370.dts b/target/linux/lantiq/dts/FRITZ3370.dts index 91eb7b6..a652b9b 100644 --- a/target/linux/lantiq/dts/FRITZ3370.dts +++ b/target/linux/lantiq/dts/FRITZ3370.dts @@ -7,6 +7,14 @@ chosen { bootargs = "console=ttyLTQ0,115200 ubi.mtd=1,512 root=/dev/mtdblock9"; + + leds { + dsl = &dsl; + internet = &info_green; + power = &power; + power2 = &power2; + wifi = &wifi; + }; }; memory@0 { @@ -235,11 +243,11 @@ gpio-leds { compatible = "gpio-leds"; - power { + power: power { label = "power"; gpios = <&gpio 32 1>; }; - power2 { + power2: power2 { label = "power2"; gpios = <&gpio 33 1>; }; @@ -247,11 +255,11 @@ label = "info_red"; gpios = <&gpio 34 1>; }; - wifi { + wifi: wifi { label = "wifi"; gpios = <&gpio 35 1>; }; - dsl { + dsl: dsl { label = "dsl"; gpios = <&gpio 36 1>; }; @@ -259,7 +267,7 @@ label = "lan"; gpios = <&gpio 38 1>; }; - info_green { + info_green: info_green { label = "info_green"; gpios = <&gpio 47 1>; }; |