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/ARV4520PW.dts | 42 ++++++++++++++++++++--------------- 1 file changed, 24 insertions(+), 18 deletions(-) (limited to 'target/linux/lantiq/dts/ARV4520PW.dts') diff --git a/target/linux/lantiq/dts/ARV4520PW.dts b/target/linux/lantiq/dts/ARV4520PW.dts index d97009c..75665b9 100644 --- a/target/linux/lantiq/dts/ARV4520PW.dts +++ b/target/linux/lantiq/dts/ARV4520PW.dts @@ -13,8 +13,8 @@ failsafe = &power_red; running = &power_blue; - dsl = &adsl; - internet = &internet; + dsl = &dsl; + internet = &internet_blue; usb = &usb; wifi = &wifi; }; @@ -152,61 +152,67 @@ compatible = "gpio-leds"; power_blue: power { - label = "power"; + label = "arv4520pw:blue:power"; gpios = <&gpio 3 1>; default-state = "keep"; }; - adsl: adsl { - label = "adsl"; + dsl: dsl { + label = "arv4520pw:blue:dsl"; gpios = <&gpio 4 1>; }; - internet: internet { - label = "internet"; + internet_blue: internet { + label = "arv4520pw:blue:internet"; gpios = <&gpio 5 1>; }; power_red: power2 { - label = "power2"; + label = "arv4520pw:red:power"; gpios = <&gpio 6 1>; }; wps { - label = "wps"; + label = "arv4520pw:yellow:wps"; gpios = <&gpio 7 1>; }; wps2 { - label = "wps2"; + label = "arv4520pw:red:wps"; gpios = <&gpio 9 1>; }; + /* + wps green is missing + */ fxs1 { - label = "fxs1"; + label = "arv4520pw:blue:telefon1"; gpios = <&gpiomm 0 1>; }; fxs2 { - label = "fxs2"; + label = "arv4520pw:blue:telefon2"; gpios = <&gpiomm 1 1>; }; isdn { - label = "isdn"; + label = "arv4520pw:blue:isdn"; gpios = <&gpiomm 2 1>; }; fxo { - label = "fxo"; + label = "arv4520pw:blue:line"; gpios = <&gpiomm 3 1>; }; voice { - label = "voice"; + label = "arv4520pw:blue:sprache"; gpios = <&gpiomm 4 1>; }; usb: usb { - label = "usb"; + label = "arv4520pw:blue:usb"; gpios = <&gpiomm 5 1>; }; wifi: wifi { - label = "wifi"; + label = "arv4520pw:blue:wifi"; gpios = <&gpiomm 6 1>; }; internet2 { - label = "internet2"; + label = "arv4520pw:red:internet"; gpios = <&gpiomm 9 1>; }; + /* + info is missing + */ }; }; -- cgit v1.1