From 3cbfc74cde8e7064b2b8c2cbb7aa20374e759dc0 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Fri, 1 Jan 2016 21:18:54 +0000 Subject: lantiq: use devicename:colour:function led naming scheme The leds of the following boards are not renamed due to lack of manuals/informations: - ARV7519PW - ARV7510PW22 - ARV4510PW The leds of the ARV4518PWR01* boards are unchanged, since the leds doesn't match the leds from the manual or pictures (e.g. there shouldn't be a wps led). Signed-off-by: Mathias Kresin SVN-Revision: 48042 --- target/linux/lantiq/dts/DGN3500.dtsi | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) (limited to 'target/linux/lantiq/dts/DGN3500.dtsi') diff --git a/target/linux/lantiq/dts/DGN3500.dtsi b/target/linux/lantiq/dts/DGN3500.dtsi index b9459c554e..bda4006805 100644 --- a/target/linux/lantiq/dts/DGN3500.dtsi +++ b/target/linux/lantiq/dts/DGN3500.dtsi @@ -162,32 +162,38 @@ gpio-leds { compatible = "gpio-leds"; internet: internet { - label = "internet"; + label = "dgn3500:green:internet"; gpios = <&gpio 2 1>; }; + /* + internet red is missing + */ dsl: dsl { - label = "dsl"; + label = "dgn3500:green:dsl"; gpios = <&gpio 4 1>; }; usb: usb { - label = "usb"; + label = "dgn3500:green:usb"; gpios = <&gpio 22 1>; }; power_green: power { - label = "power"; + label = "dgn3500:green:power"; gpios = <&gpio 34 1>; default-state = "keep"; }; power_red: power2 { - label = "power2"; + label = "dgn3500:red:power"; gpios = <&gpio 39 1>; }; + /* + power amber is missing + */ wifi: wifi { - label = "wifi"; + label = "dgn3500:blue:wireless"; gpios = <&gpio 51 1>; }; wps { - label = "wps"; + label = "dgn3500:green:wps"; gpios = <&gpio 52 1>; }; }; -- cgit v1.2.3