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/ARV4519PW.dts | 50 +++++++++++++++++------------------ 1 file changed, 25 insertions(+), 25 deletions(-) (limited to 'target/linux/lantiq/dts/ARV4519PW.dts') diff --git a/target/linux/lantiq/dts/ARV4519PW.dts b/target/linux/lantiq/dts/ARV4519PW.dts index be65337093..5e0b8464b4 100644 --- a/target/linux/lantiq/dts/ARV4519PW.dts +++ b/target/linux/lantiq/dts/ARV4519PW.dts @@ -3,18 +3,18 @@ /include/ "danube.dtsi" / { - model = "ARV4519PW - Vodafone, Pirelli"; + model = "ARV4519PW - Vodafone Netfaster IAD 2, Pirelli P.RG A4201G"; chosen { bootargs = "console=ttyLTQ0,115200 init=/etc/preinit"; leds { - boot = &power; - failsafe = &power2; - running = &power; + boot = &power_green; + failsafe = &power_red; + running = &power_green; dsl = &dsl; - internet = &online; + internet = &internet_green; usb = &usb; wifi = &wifi; }; @@ -129,61 +129,61 @@ gpio-leds { compatible = "gpio-leds"; - power: power { - label = "power"; + power_green: power { + label = "arv4519pw:green:power"; gpios = <&gpio 2 1>; default-state = "keep"; }; - power2: power2 { - label = "power2"; + power_red: power2 { + label = "arv4519pw:red:power"; gpios = <&gpio 7 1>; }; wifi: wifi { - label = "wifi"; + label = "arv4519pw:green:wlan"; gpios = <&gpio 6 1>; }; dsl: dsl { - label = "dsl"; + label = "arv4519pw:green:dsl"; gpios = <&gpio 4 1>; }; - online: online { - label = "online"; + internet_green: online { + label = "arv4519pw:green:internet"; gpios = <&gpio 5 1>; }; online2 { - label = "online2"; + label = "arv4519pw:red:internet"; gpios = <&gpio 8 1>; }; usb: usb { - label = "usb"; + label = "arv4519pw:green:usb"; gpios = <&gpio 19 1>; }; voip { - label = "voip"; + label = "arv4519pw:green:voip"; gpios = <&gpiomm 0 1>; }; fxs1 { - label = "fxs1"; + label = "arv4519pw:green:phone1"; gpios = <&gpiomm 1 1>; }; fxs2 { - label = "fxs2"; + label = "arv4519pw:green:phone2"; gpios = <&gpiomm 2 1>; }; fxo { - label = "fxo"; + label = "arv4519pw:green:line"; gpios = <&gpiomm 3 1>; }; - wps { - label = "wps"; - gpios = <&gpiomm 5 1>; - }; wps2 { - label = "wps2"; + label = "arv4519pw:green:wps"; gpios = <&gpiomm 4 1>; }; + wps { + label = "arv4519pw:orange:wps"; + gpios = <&gpiomm 5 1>; + }; wps3 { - label = "wps3"; + label = "arv4519pw:red:wps"; gpios = <&gpiomm 6 1>; }; }; -- cgit v1.2.3