diff options
author | John Crispin <blogic@openwrt.org> | 2016-01-01 21:18:08 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2016-01-01 21:18:08 +0000 |
commit | acaa9cd4f0d28400543ef5b3aee7f6b30c58cefe (patch) | |
tree | 482dee78a57ef91665d9611c7ff7e531064f9e7c /target/linux/lantiq/dts/ARV752DPW.dts | |
parent | 396406d064046bd8c2466e6ad3e1a7f72c546cb2 (diff) | |
download | master-187ad058-acaa9cd4f0d28400543ef5b3aee7f6b30c58cefe.tar.gz master-187ad058-acaa9cd4f0d28400543ef5b3aee7f6b30c58cefe.tar.bz2 master-187ad058-acaa9cd4f0d28400543ef5b3aee7f6b30c58cefe.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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48037 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/lantiq/dts/ARV752DPW.dts')
-rw-r--r-- | target/linux/lantiq/dts/ARV752DPW.dts | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/target/linux/lantiq/dts/ARV752DPW.dts b/target/linux/lantiq/dts/ARV752DPW.dts index 8848c71cf7..a26779a2a2 100644 --- a/target/linux/lantiq/dts/ARV752DPW.dts +++ b/target/linux/lantiq/dts/ARV752DPW.dts @@ -7,6 +7,13 @@ chosen { bootargs = "console=ttyLTQ0,115200 init=/etc/preinit"; + + leds { + internet = &internet; + power = &power; + power1 = &power1; + wifi = &wifi; + }; }; memory@0 { @@ -170,11 +177,11 @@ gpio-leds { compatible = "gpio-leds"; - power1 { + power1: power1 { label = "power1"; gpios = <&gpio 3 1>; }; - internet { + internet: internet { label = "internet"; gpios = <&gpio 4 1>; }; @@ -182,7 +189,7 @@ label = "message"; gpios = <&gpio 5 1>; }; - power { + power: power { label = "power"; gpios = <&gpio 6 1>; default-state = "keep"; @@ -195,7 +202,7 @@ label = "umts"; gpios = <&gpiomm 3 1>; }; - wifi { + wifi: wifi { label = "wifi"; gpios = <&gpiomm 4 1>; }; |