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/TDW89X0.dtsi | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) (limited to 'target/linux/lantiq/dts/TDW89X0.dtsi') diff --git a/target/linux/lantiq/dts/TDW89X0.dtsi b/target/linux/lantiq/dts/TDW89X0.dtsi index 46ff11f547..3d9e59e2ef 100644 --- a/target/linux/lantiq/dts/TDW89X0.dtsi +++ b/target/linux/lantiq/dts/TDW89X0.dtsi @@ -3,6 +3,15 @@ / { chosen { bootargs = "console=ttyLTQ0,115200 init=/etc/preinit"; + + leds { + dsl = &dsl; + internet = &internet; + /* the power led can't be controlled, use the wps led instead */ + power = &wps; + usb = &usb0; + usb2 = &usb2; + }; }; memory@0 { @@ -214,23 +223,23 @@ gpio-leds { compatible = "gpio-leds"; - dsl { + dsl: dsl { label = "dsl"; gpios = <&gpio 4 0>; }; - internet { + internet: internet { label = "internet"; gpios = <&gpio 5 0>; }; - usb0 { + usb0: usb0 { label = "usb"; gpios = <&gpio 19 0>; }; - usb2 { + usb2: usb2 { label = "usb2"; gpios = <&gpio 20 0>; }; - wps { + wps: wps { label = "wps"; gpios = <&gpio 37 0>; }; -- cgit v1.2.3