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/FRITZ7320.dts | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'target/linux/lantiq/dts/FRITZ7320.dts') diff --git a/target/linux/lantiq/dts/FRITZ7320.dts b/target/linux/lantiq/dts/FRITZ7320.dts index 13845751e7..b5aa5e86bd 100644 --- a/target/linux/lantiq/dts/FRITZ7320.dts +++ b/target/linux/lantiq/dts/FRITZ7320.dts @@ -7,6 +7,13 @@ chosen { bootargs = "console=ttyLTQ0,115200 init=/etc/preinit"; + + leds { + dsl = &power; + internet = &online; + power = &power; + wifi = &wlan; + }; }; memory@0 { @@ -110,7 +117,7 @@ gpio-leds { compatible = "gpio-leds"; - power { + power: power { label = "power"; gpios = <&gpio 44 1>; }; @@ -122,11 +129,11 @@ label = "dect"; gpios = <&gpio 38 1>; }; - wlan { + wlan: wlan { label = "wlan"; gpios = <&gpio 37 1>; }; - online { + online: online { label = "online"; gpios = <&gpio 35 1>; }; -- cgit v1.2.3