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/ARV752DPW22.dts | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) (limited to 'target/linux/lantiq/dts/ARV752DPW22.dts') diff --git a/target/linux/lantiq/dts/ARV752DPW22.dts b/target/linux/lantiq/dts/ARV752DPW22.dts index 168dc6619b..21c7a8f2cf 100644 --- a/target/linux/lantiq/dts/ARV752DPW22.dts +++ b/target/linux/lantiq/dts/ARV752DPW22.dts @@ -7,6 +7,13 @@ chosen { bootargs = "console=ttyLTQ0,115200 init=/etc/preinit"; + + leds { + internet = &internet; + power = &power; + power1 = &power1; + wifi = &wifi; + }; }; memory@0 { @@ -174,11 +181,11 @@ gpio-leds { compatible = "gpio-leds"; - power1 { + power1: power1 { label = "power1"; gpios = <&gpio 3 1>; }; - internet { + internet: internet { label = "internet"; gpios = <&gpio 4 1>; }; @@ -186,7 +193,7 @@ label = "message"; gpios = <&gpio 5 1>; }; - power { + power: power { label = "power"; gpios = <&gpio 6 1>; default-state = "keep"; @@ -199,7 +206,7 @@ label = "umts"; gpios = <&gpiomm 3 1>; }; - wifi { + wifi: wifi { label = "wifi_rt"; gpios = <&gpiomm 4 1>; }; -- cgit v1.2.3