From acaa9cd4f0d28400543ef5b3aee7f6b30c58cefe 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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48037 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/lantiq/dts/DGN1000B.dts | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'target/linux/lantiq/dts/DGN1000B.dts') diff --git a/target/linux/lantiq/dts/DGN1000B.dts b/target/linux/lantiq/dts/DGN1000B.dts index 199d3a9ec6..d5d7b98d63 100644 --- a/target/linux/lantiq/dts/DGN1000B.dts +++ b/target/linux/lantiq/dts/DGN1000B.dts @@ -7,6 +7,12 @@ chosen { bootargs = "console=ttyLTQ0,115200 init=/etc/preinit"; + + leds { + dsl = &dsl; + internet = &online; + power = &power; + }; }; memory@0 { @@ -108,12 +114,12 @@ gpio-leds { compatible = "gpio-leds"; - dsl { + dsl: dsl { label = "dsl"; gpios = <&gpio 1 1>; default-state = "on"; }; - online { + online: online { label = "online"; gpios = <&gpio 2 1>; default-state = "on"; @@ -128,7 +134,7 @@ gpios = <&gpio 4 1>; default-state = "on"; }; - power { + power: power { label = "power"; gpios = <&gpio 13 1>; default-state = "on"; -- cgit v1.2.3