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/P2812HNUFX.dtsi | |
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/P2812HNUFX.dtsi')
-rw-r--r-- | target/linux/lantiq/dts/P2812HNUFX.dtsi | 24 |
1 files changed, 17 insertions, 7 deletions
diff --git a/target/linux/lantiq/dts/P2812HNUFX.dtsi b/target/linux/lantiq/dts/P2812HNUFX.dtsi index 8c10acc994..a03129f59e 100644 --- a/target/linux/lantiq/dts/P2812HNUFX.dtsi +++ b/target/linux/lantiq/dts/P2812HNUFX.dtsi @@ -3,6 +3,16 @@ / { chosen { bootargs = "console=ttyLTQ0,115200 init=/etc/preinit"; + + leds { + dsl = &dsl; + internet = &internet_green; + power = &power; + power2 = &power2; + usb = &usb1; + usb2 = &usb2; + wifi = &wireless_green; + }; }; memory@0 { @@ -267,11 +277,11 @@ label = "internet_red"; gpios = <&stp 16 1>; }; - internet_green { + internet_green: internet_green { label = "internet_green"; /* green */ gpios = <&stp 17 1>; }; - dsl { + dsl: dsl { label = "dsl"; gpios = <&stp 18 1>; }; @@ -283,23 +293,23 @@ label = "wireless_red"; gpios = <&stp 20 1>; }; - wireless_green { /* green */ + wireless_green: wireless_green { /* green */ label = "wireless_green"; gpios = <&stp 21 1>; }; - power { /* red */ + power: power { /* red */ label = "power"; gpios = <&stp 22 1>; }; - power2 { /* green */ + power2: power2 { /* green */ label = "power2"; gpios = <&stp 23 1>; }; - usb1 { /* green */ + usb1: usb1 { /* green */ label = "usb1"; gpios = <&gpio 38 1>; }; - usb2 { /* green */ + usb2: usb2 { /* green */ label = "usb2"; gpios = <&gpio 44 1>; }; |