From a3042500ab1114bae29ae55071aa3f26fd19c0a4 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Fri, 1 Jan 2016 21:18:08 +0000 Subject: 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 SVN-Revision: 48037 --- target/linux/lantiq/dts/ARV8539PW22.dts | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) (limited to 'target/linux/lantiq/dts/ARV8539PW22.dts') diff --git a/target/linux/lantiq/dts/ARV8539PW22.dts b/target/linux/lantiq/dts/ARV8539PW22.dts index acca47f9dd..b1f1b33417 100644 --- a/target/linux/lantiq/dts/ARV8539PW22.dts +++ b/target/linux/lantiq/dts/ARV8539PW22.dts @@ -5,6 +5,15 @@ / { model = "ARV8539PW22 - Speedport W 504V Typ A"; + chosen { + leds { + dsl = &dsl_green; + internet = &online_green; + power = &power_green; + wifi = &wireless_green; + }; + }; + memory@0 { reg = <0x0 0x4000000>; }; @@ -134,7 +143,7 @@ gpio-leds { compatible = "gpio-leds"; - power-green { + power_green: power-green { label = "power"; gpios = <&gpio 24 1>; }; @@ -143,17 +152,17 @@ gpios = <&gpio 4 1>; }; - dsl-green { + dsl_green: dsl-green { label = "soc:green:dsl"; gpios = <&gpio 5 1>; }; - online-green { + online_green: online-green { label = "soc:green:online"; gpios = <&gpio 6 1>; }; - wireless-green { + wireless_green: wireless-green { label = "soc:green:wireless"; gpios = <&gpio 8 1>; }; -- cgit v1.2.3