bcm63xx: remove model name from LED labels

Like in the previous patches for various targets, this will remove
the "devicename" from LED labels in bcm63xx, as it's useless and
only creates complexity.

The devicename is removed in DTS files and 01_leds, merging
several cases on the way. A migration script is added for
existing configurations.

Note that a few labels were using "model::function" scheme without
color specified, those were converting to just "function" and the
necessary migrations were added to the migration script.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
This commit is contained in:
Adrian Schmutzler 2020-10-10 19:44:02 +02:00
parent 5423d9d27e
commit 55aac8463f
90 changed files with 639 additions and 631 deletions

View File

@ -8,104 +8,91 @@
board_config_update
board=$(board_name)
model="${board##*,}"
case "$board" in
actiontec,r1000h)
ucidef_set_led_usbport "usb" "USB" "R1000H:green:usb" "usb1-port1" "usb2-port1"
ucidef_set_led_usbport "usb" "USB" "green:usb" "usb1-port1" "usb2-port1"
;;
adb,a4001n)
ucidef_set_led_usbdev "usb" "USB" "A4001N:green:usb" "1-1"
adb,a4001n|\
comtrend,ar-5315u|\
comtrend,vr-3032u|\
huawei,hg253s-v2|\
nucom,r5010un-v2|\
sagem,fast-2704-v2)
ucidef_set_led_usbdev "usb" "USB" "green:usb" "1-1"
;;
adb,a4001n1)
ucidef_set_led_netdev "lan" "LAN" "A4001N1:green:eth" "eth0"
ucidef_set_led_usbdev "usb" "USB" "A4001N1:green:3g" "1-1"
ucidef_set_led_netdev "lan" "LAN" "green:eth" "eth0"
ucidef_set_led_usbdev "usb" "USB" "green:3g" "1-1"
;;
adb,pdg-a4001n-a-000-1a1-ax)
ucidef_set_led_netdev "lan" "LAN" "$model:green:internet" "eth0.1"
ucidef_set_led_netdev "wan" "WAN" "$model:green:adsl" "eth0.2"
ucidef_set_led_netdev "wlan0" "WIFI" "$model:green:wifi" "wlan0"
ucidef_set_led_usbdev "usb" "USB" "$model:green:service" "1-1"
ucidef_set_led_netdev "lan" "LAN" "green:internet" "eth0.1"
ucidef_set_led_netdev "wan" "WAN" "green:adsl" "eth0.2"
ucidef_set_led_netdev "wlan0" "WIFI" "green:wifi" "wlan0"
ucidef_set_led_usbdev "usb" "USB" "green:service" "1-1"
;;
adb,av4202n)
ucidef_set_led_netdev "wlan0" "WLAN" "AV4202N:blue:wifi" "wlan0"
ucidef_set_led_netdev "wlan0" "WLAN" "blue:wifi" "wlan0"
;;
bt,home-hub-2-a)
ucidef_set_led_netdev "lan" "LAN" "HOMEHUB2A:blue:broadband" "eth0.1"
ucidef_set_led_netdev "wlan0" "WIFI" "HOMEHUB2A:green:wireless" "wlan0"
ucidef_set_led_usbdev "usb1" "USB1" "HOMEHUB2A:blue:phone" "1-1"
ucidef_set_led_usbdev "usb2" "USB2" "HOMEHUB2A:green:phone" "2-1"
;;
comtrend,ar-5315u)
ucidef_set_led_usbdev "usb" "USB" "AR-5315u:green:usb" "1-1"
;;
comtrend,vr-3032u|\
huawei,hg253s-v2)
ucidef_set_led_usbdev "usb" "USB" "$model:green:usb" "1-1"
ucidef_set_led_netdev "lan" "LAN" "blue:broadband" "eth0.1"
ucidef_set_led_netdev "wlan0" "WIFI" "green:wireless" "wlan0"
ucidef_set_led_usbdev "usb1" "USB1" "blue:phone" "1-1"
ucidef_set_led_usbdev "usb2" "USB2" "green:phone" "2-1"
;;
huawei,echolife-hg553)
ucidef_set_led_netdev "lan" "LAN" "HW553:blue:lan" "eth0"
ucidef_set_led_usbdev "usb1" "USB1" "HW553:red:hspa" "1-1"
ucidef_set_led_usbdev "usb2" "USB2" "HW553:blue:hspa" "1-2"
ucidef_set_led_netdev "lan" "LAN" "blue:lan" "eth0"
ucidef_set_led_usbdev "usb1" "USB1" "red:hspa" "1-1"
ucidef_set_led_usbdev "usb2" "USB2" "blue:hspa" "1-2"
;;
huawei,echolife-hg556a-a|\
huawei,echolife-hg556a-b|\
huawei,echolife-hg556a-c)
ucidef_set_led_netdev "lan" "LAN" "HW556:red:dsl" "eth0"
ucidef_set_led_usbdev "usb" "USB" "HW556:red:hspa" "1-2"
;;
huawei,echolife-hg622)
ucidef_set_led_usbdev "usb" "USB" "HG622:green:usb" "1-2"
ucidef_set_led_netdev "lan" "LAN" "red:dsl" "eth0"
ucidef_set_led_usbdev "usb" "USB" "red:hspa" "1-2"
;;
huawei,echolife-hg622|\
huawei,echolife-hg655b)
ucidef_set_led_usbdev "usb" "USB" "HW65x:green:usb" "1-2"
ucidef_set_led_usbdev "usb" "USB" "green:usb" "1-2"
;;
inventel,livebox-1)
ucidef_set_led_netdev "lan" "LAN" "Livebox1:red:traffic" "eth0"
ucidef_set_led_netdev "wan" "WAN" "Livebox1:red:adsl" "eth1"
ucidef_set_led_netdev "wlan0" "WIFI" "Livebox1:red:wifi" "wlan0"
ucidef_set_led_netdev "lan" "LAN" "red:traffic" "eth0"
ucidef_set_led_netdev "wan" "WAN" "red:adsl" "eth1"
ucidef_set_led_netdev "wlan0" "WIFI" "red:wifi" "wlan0"
;;
netgear,dgnd3700-v1)
ucidef_set_led_netdev "lan" "LAN" "DGND3700v1_3800B:green:lan" "eth0.1"
ucidef_set_led_netdev "wan" "WAN" "DGND3700v1_3800B:green:inet" "eth0.2"
ucidef_set_led_netdev "wlan0" "WIFI2G" "DGND3700v1_3800B:green:wifi2g" "wlan0"
ucidef_set_led_netdev "wlan1" "WIFI5G" "DGND3700v1_3800B:blue:wifi5g" "wlan1"
ucidef_set_led_usbdev "usb1" "USB1" "DGND3700v1_3800B:green:usb-back" "1-1"
ucidef_set_led_usbdev "usb2" "USB2" "DGND3700v1_3800B:green:usb-front" "1-2"
ucidef_set_led_netdev "lan" "LAN" "green:lan" "eth0.1"
ucidef_set_led_netdev "wan" "WAN" "green:inet" "eth0.2"
ucidef_set_led_netdev "wlan0" "WIFI2G" "green:wifi2g" "wlan0"
ucidef_set_led_netdev "wlan1" "WIFI5G" "blue:wifi5g" "wlan1"
ucidef_set_led_usbdev "usb1" "USB1" "green:usb-back" "1-1"
ucidef_set_led_usbdev "usb2" "USB2" "green:usb-front" "1-2"
;;
netgear,dgnd3700-v2)
ucidef_set_led_netdev "lan" "LAN" "$model:green:ethernet" "eth0"
ucidef_set_led_usbdev "usb1" "USB1" "$model:green:usb1" "1-1"
ucidef_set_led_usbdev "usb2" "USB2" "$model:green:usb2" "1-2"
ucidef_set_led_netdev "lan" "LAN" "green:ethernet" "eth0"
ucidef_set_led_usbdev "usb1" "USB1" "green:usb1" "1-1"
ucidef_set_led_usbdev "usb2" "USB2" "green:usb2" "1-2"
;;
netgear,evg2000)
ucidef_set_led_netdev "lan" "LAN" "EVG2000:green:lan" "eth0"
ucidef_set_led_netdev "wan" "WAN" "EVG2000:green:wan" "eth1"
ucidef_set_led_netdev "wlan0" "WIFI" "EVG2000:green:wireless" "wlan0"
ucidef_set_led_usbdev "usb1" "USB1" "EVG2000:green:voip1" "1-1"
ucidef_set_led_usbdev "usb2" "USB2" "EVG2000:green:voip2" "1-2"
;;
nucom,r5010un-v2)
ucidef_set_led_usbdev "usb" "USB" "R5010UNv2:green:usb" "1-1"
ucidef_set_led_netdev "lan" "LAN" "green:lan" "eth0"
ucidef_set_led_netdev "wan" "WAN" "green:wan" "eth1"
ucidef_set_led_netdev "wlan0" "WIFI" "green:wireless" "wlan0"
ucidef_set_led_usbdev "usb1" "USB1" "green:voip1" "1-1"
ucidef_set_led_usbdev "usb2" "USB2" "green:voip2" "1-2"
;;
sagem,fast-2704n)
ucidef_set_led_netdev "wan" "WAN" "F@ST2704N:green:inet" "eth0.2"
;;
sagem,fast-2704-v2)
ucidef_set_led_usbdev "usb" "USB" "F@ST2704V2:green:usb" "1-1"
;;
sercomm,ad1018)
ucidef_set_led_netdev "wlan0" "WLAN" "$model:green:wifi" "wlan0"
ucidef_set_led_netdev "wan" "WAN" "green:inet" "eth0.2"
;;
sercomm,ad1018|\
sercomm,ad1018-nor)
ucidef_set_led_netdev "wlan0" "WLAN" "AD1018:green:wifi" "wlan0"
ucidef_set_led_netdev "wlan0" "WLAN" "green:wifi" "wlan0"
;;
sercomm,h500-s-lowi|\
sercomm,h500-s-vfes)
ucidef_set_led_netdev "wan" "WAN" "h500-s:green:internet" "eth0.2"
ucidef_set_led_netdev "wan" "WAN" "green:internet" "eth0.2"
;;
telsey,cpva502plus)
ucidef_set_led_netdev "lan" "LAN" "CPVA502+:amber:link" "eth0"
ucidef_set_led_netdev "lan" "LAN" "amber:link" "eth0"
;;
esac

View File

@ -0,0 +1,21 @@
. /lib/functions/migrations.sh
board=$(board_name)
case "$board" in
brcm,bcm96318ref-p300|\
brcm,bcm963281tan|\
brcm,bcm96328avng|\
d-link,dsl-2640b-b|\
d-link,dva-g3810bn-tl|\
netgear,dg834g-v4|\
usrobotics,usr9108)
migrate_leds "^.*::="
;;
esac
remove_devicename_leds
migrations_apply system
exit 0

View File

@ -24,7 +24,7 @@
compatible = "gpio-leds";
led_power_green: power_green {
label = "CVG834G:green:power";
label = "green:power";
gpios = <&gpio1 5 0>;
default-state = "on";
};

View File

@ -52,58 +52,58 @@
mobile_red {
reg = <0>;
label = "h500-s:red:mobile";
label = "red:mobile";
};
mobile_green {
reg = <1>;
label = "h500-s:green:mobile";
label = "green:mobile";
};
led_power_red: power_red {
reg = <8>;
label = "h500-s:red:power";
label = "red:power";
};
wifi_green {
reg = <9>;
label = "h500-s:green:wifi";
label = "green:wifi";
};
phone_red {
reg = <12>;
label = "h500-s:red:phone";
label = "red:phone";
};
wifi_red {
reg = <13>;
label = "h500-s:red:wifi";
label = "red:wifi";
};
internet_red {
reg = <14>;
label = "h500-s:red:internet";
label = "red:internet";
};
internet_green {
reg = <15>;
label = "h500-s:green:internet";
label = "green:internet";
};
phone_green {
reg = <16>;
label = "h500-s:green:phone";
label = "green:phone";
};
led_power_green: power_green {
reg = <17>;
label = "h500-s:green:power";
label = "green:power";
default-state = "on";
};
mobile_blue {
reg = <23>;
label = "h500-s:blue:mobile";
label = "blue:mobile";
};
};

View File

@ -70,31 +70,31 @@
led@2 {
reg = <2>;
active-low;
label = "vr-3032u:red:inet";
label = "red:inet";
};
led@3 {
reg = <3>;
active-low;
label = "vr-3032u:green:dsl";
label = "green:dsl";
};
led@4 {
reg = <4>;
active-low;
label = "vr-3032u:green:usb";
label = "green:usb";
};
led@7 {
reg = <7>;
active-low;
label = "vr-3032u:green:wps";
label = "green:wps";
};
led@8 {
reg = <8>;
active-low;
label = "vr-3032u:green:inet";
label = "green:inet";
};
led@9 {
@ -142,7 +142,7 @@
led_power_green: led@20 {
reg = <20>;
active-low;
label = "vr-3032u:green:power";
label = "green:power";
default-state = "on";
};
};

View File

@ -38,64 +38,64 @@
compatible = "gpio-leds";
lan1_green {
label = "SR102:green:lan1";
label = "green:lan1";
gpios = <&pinctrl 1 1>;
};
power_red {
label = "SR102:red:power";
label = "red:power";
gpios = <&pinctrl 2 1>;
};
wifi_red {
label = "SR102:red:wifi";
label = "red:wifi";
gpios = <&pinctrl 3 1>;
};
inet_red {
label = "SR102:red:inet";
label = "red:inet";
gpios = <&pinctrl 4 1>;
};
inet_white {
label = "SR102:white:inet";
label = "white:inet";
gpios = <&pinctrl 5 0>;
};
led_power_white: power_white {
label = "SR102:white:power";
label = "white:power";
gpios = <&pinctrl 6 0>;
default-state = "on";
};
wifi_white {
label = "SR102:white:wifi";
label = "white:wifi";
gpios = <&pinctrl 8 0>;
};
lan2_red {
label = "SR102:red:lan2";
label = "red:lan2";
gpios = <&pinctrl 9 1>;
};
lan3_red {
label = "SR102:red:lan3";
label = "red:lan3";
gpios = <&pinctrl 10 1>;
};
lan4_red {
label = "SR102:red:lan4";
label = "red:lan4";
gpios = <&pinctrl 11 1>;
};
lan1_red {
label = "SR102:red:lan1";
label = "red:lan1";
gpios = <&pinctrl 12 1>;
};
lan2_green {
label = "SR102:green:lan2";
label = "green:lan2";
gpios = <&pinctrl 13 0>;
};
lan3_green {
label = "SR102:green:lan3";
label = "green:lan3";
gpios = <&pinctrl 14 1>;
};
lan4_green {
label = "SR102:green:lan4";
label = "green:lan4";
gpios = <&pinctrl 15 1>;
};
hd_white {
label = "SR102:white:hd";
label = "white:hd";
gpios = <&pinctrl 18 0>;
};
};

View File

@ -56,50 +56,50 @@
led@2 {
reg = <2>;
active-low;
label = "vg-8050:red:internet";
label = "red:internet";
};
led@3 {
reg = <3>;
active-low;
label = "vg-8050:red:power";
label = "red:power";
};
led_power_green: led@6 {
reg = <6>;
active-low;
label = "vg-8050:green:power";
label = "green:power";
default-state = "on";
};
led@7 {
reg = <7>;
active-low;
label = "vg-8050:green:wps";
label = "green:wps";
};
led@8 {
reg = <8>;
active-low;
label = "vg-8050:green:internet";
label = "green:internet";
};
led@10 {
reg = <10>;
active-low;
label = "vg-8050:green:voip";
label = "green:voip";
};
led@12 {
reg = <12>;
active-low;
label = "vg-8050:red:voip";
label = "red:voip";
};
led@14 {
reg = <14>;
active-low;
label = "vg-8050:red:wps";
label = "red:wps";
};
};

View File

@ -38,22 +38,22 @@
compatible = "gpio-leds";
inet {
label = "96318REF_P300:green:inet";
label = "green:inet";
gpios = <&pinctrl 8 1>;
};
inet_fail {
label = "96318REF_P300:red:inet-fail";
label = "red:inet-fail";
gpios = <&pinctrl 9 1>;
};
post_failed {
label = "96318REF_P300:red:post-failed";
label = "red:post-failed";
gpios = <&pinctrl 11 1>;
};
usb_pwron {
label = "96318REF_P300::usb-pwron";
label = "usb-pwron";
gpios = <&pinctrl 13 1>;
default-state = "on";
};

View File

@ -38,17 +38,17 @@
compatible = "gpio-leds";
inet {
label = "96318REF:green:inet";
label = "green:inet";
gpios = <&pinctrl 8 1>;
};
inet_fail {
label = "96318REF:red:inet-fail";
label = "red:inet-fail";
gpios = <&pinctrl 9 1>;
};
post_failed {
label = "96318REF:red:post-failed";
label = "red:post-failed";
gpios = <&pinctrl 11 1>;
};
};

View File

@ -91,20 +91,20 @@
led@0 {
reg = <0>;
active-low;
label = "AR-5315u:green:wps";
label = "green:wps";
};
led_power_green: led@1 {
reg = <1>;
active-low;
label = "AR-5315u:green:power";
label = "green:power";
default-state = "on";
};
led@2 {
reg = <2>;
active-low;
label = "AR-5315u:green:usb";
label = "green:usb";
};
led@4 {
@ -138,25 +138,25 @@
led@8 {
reg = <8>;
active-low;
label = "AR-5315u:green:inet";
label = "green:inet";
};
led@9 {
reg = <9>;
active-low;
label = "AR-5315u:red:inet";
label = "red:inet";
};
led@10 {
reg = <10>;
active-low;
label = "AR-5315u:green:dsl";
label = "green:dsl";
};
led@11 {
reg = <11>;
active-low;
label = "AR-5315u:red:power";
label = "red:power";
};
};

View File

@ -52,39 +52,39 @@
compatible = "gpio-leds";
led_power_green: power_green {
label = "dsl-275xb:green:power";
label = "green:power";
gpios = <&pinctrl 3 1>;
default-state = "on";
};
inet_green {
label = "dsl-275xb:green:inet";
label = "green:inet";
gpios = <&pinctrl 8 1>;
};
inet_red {
label = "dsl-275xb:red:inet-fail";
label = "red:inet-fail";
gpios = <&pinctrl 9 1>;
};
power_red {
label = "dsl-275xb:red:post-failed";
label = "red:post-failed";
gpios = <&pinctrl 11 1>;
};
wps_blue {
label = "dsl-275xb:blue:wps";
label = "blue:wps";
gpios = <&pinctrl 16 1>;
};
dsl_green {
label = "dsl-275xb:green:dsl";
label = "green:dsl";
gpios = <&pinctrl 17 1>;
};
usb_green {
/* not user controllable? */
label = "dsl-275xb:green:usb";
label = "green:usb";
gpios = <&pinctrl 49 1>;
};
};

View File

@ -52,48 +52,48 @@
compatible = "gpio-leds";
wps_green {
label = "F@ST2704N:green:wps";
label = "green:wps";
gpios = <&pinctrl 2 1>;
};
lan1_green {
label = "F@ST2704N:green:lan1";
label = "green:lan1";
gpios = <&pinctrl 4 1>;
};
lan2_green {
label = "F@ST2704N:green:lan2";
label = "green:lan2";
gpios = <&pinctrl 5 1>;
};
lan3_green {
label = "F@ST2704N:green:lan3";
label = "green:lan3";
gpios = <&pinctrl 6 1>;
};
lan4_green {
label = "F@ST2704N:green:lan4";
label = "green:lan4";
gpios = <&pinctrl 7 1>;
};
inet_green {
label = "F@ST2704N:green:inet";
label = "green:inet";
gpios = <&pinctrl 8 1>;
};
inet_red {
label = "F@ST2704N:red:inet";
label = "red:inet";
gpios = <&pinctrl 9 1>;
};
dsl_green {
label = "F@ST2704N:green:dsl";
label = "green:dsl";
gpios = <&pinctrl 10 1>;
};
led_power_red: power_red {
label = "F@ST2704N:red:power";
label = "red:power";
gpios = <&pinctrl 11 1>;
};
power_green {
label = "F@ST2704N:green:power";
label = "green:power";
gpios = <&pinctrl 47 1>;
default-state = "on";
};
usb_green {
label = "F@ST2704N:green:usb";
label = "green:usb";
gpios = <&pinctrl 49 1>;
};
};

View File

@ -31,12 +31,12 @@
compatible = "gpio-leds";
usb1 {
label = "963269BHR:green:usb1";
label = "green:usb1";
gpios = <&pinctrl 9 1>;
};
usb2 {
label = "963269BHR:green:usb2";
label = "green:usb2";
gpios = <&pinctrl 10 1>;
};
};

View File

@ -45,24 +45,24 @@
compatible = "gpio-leds";
inet_red {
label = "A4001N:red:inet";
label = "red:inet";
gpios = <&pinctrl 1 0>;
};
power_red {
label = "A4001N:red:power";
label = "red:power";
gpios = <&pinctrl 4 0>;
};
led_power_green: power_green {
label = "A4001N:green:power";
label = "green:power";
gpios = <&pinctrl 8 0>;
default-state = "on";
};
usb_green {
label = "A4001N:green:usb";
label = "green:usb";
gpios = <&pinctrl 10 1>;
};
dsl_green {
label = "A4001N:green:dsl";
label = "green:dsl";
gpios = <&pinctrl 11 1>;
};
};

View File

@ -45,52 +45,52 @@
compatible = "gpio-leds";
inet_red {
label = "A4001N1:red:inet";
label = "red:inet";
gpios = <&pinctrl 2 1>;
};
ppp_green {
label = "A4001N1:green:ppp";
label = "green:ppp";
gpios = <&pinctrl 3 1>;
};
led_power_green: power_green {
label = "A4001N1:green:power";
label = "green:power";
gpios = <&pinctrl 4 1>;
default-state = "on";
};
ppp_red {
label = "A4001N1:red:ppp";
label = "red:ppp";
gpios = <&pinctrl 5 1>;
};
usb_green {
label = "A4001N1:green:3g";
label = "green:3g";
gpios = <&pinctrl 6 1>;
};
usb_red {
label = "A4001N1:red:3g";
label = "red:3g";
gpios = <&pinctrl 7 1>;
};
power_red {
label = "A4001N1:red:power";
label = "red:power";
gpios = <&pinctrl 8 1>;
};
wlan_green {
label = "A4001N1:green:wlan";
label = "green:wlan";
gpios = <&pinctrl 9 1>;
};
wlan_red {
label = "A4001N1:red:wlan";
label = "red:wlan";
gpios = <&pinctrl 10 1>;
};
inet_green {
label = "A4001N1:green:inet";
label = "green:inet";
gpios = <&pinctrl 11 1>;
};
eth_red {
label = "A4001N1:red:eth";
label = "red:eth";
gpios = <&pinctrl 20 1>;
};
eth_green {
label = "A4001N1:green:eth";
label = "green:eth";
gpios = <&pinctrl 31 1>;
};
};

View File

@ -53,61 +53,61 @@
led@2 {
reg = <2>;
active-low;
label = "pdg-a4001n-a-000-1a1-ax:red:internet";
label = "red:internet";
};
led@3 {
reg = <3>;
active-low;
label = "pdg-a4001n-a-000-1a1-ax:green:adsl";
label = "green:adsl";
};
led@5 {
reg = <5>;
active-low;
label = "pdg-a4001n-a-000-1a1-ax:red:adsl";
label = "red:adsl";
};
led@6 {
reg = <6>;
active-low;
label = "pdg-a4001n-a-000-1a1-ax:green:service";
label = "green:service";
};
led@7 {
reg = <7>;
active-low;
label = "pdg-a4001n-a-000-1a1-ax:red:service";
label = "red:service";
};
led@8 {
reg = <8>;
active-low;
label = "pdg-a4001n-a-000-1a1-ax:red:power";
label = "red:power";
};
led@9 {
reg = <9>;
active-low;
label = "pdg-a4001n-a-000-1a1-ax:green:wifi";
label = "green:wifi";
};
led@10 {
reg = <10>;
active-low;
label = "pdg-a4001n-a-000-1a1-ax:red:wifi";
label = "red:wifi";
};
led@11 {
reg = <11>;
active-low;
label = "pdg-a4001n-a-000-1a1-ax:green:internet";
label = "green:internet";
};
led_power_green: led@12 {
reg = <12>;
active-low;
label = "pdg-a4001n-a-000-1a1-ax:green:power";
label = "green:power";
default-state = "on";
};
};

View File

@ -24,28 +24,28 @@
compatible = "gpio-leds";
inet {
label = "963281TAN::internet";
label = "internet";
gpios = <&pinctrl 1 1>;
};
led_power: power {
label = "963281TAN::power";
label = "power";
gpios = <&pinctrl 4 1>;
default-state = "on";
};
inet_fail {
label = "963281TAN::internet-fail";
label = "internet-fail";
gpios = <&pinctrl 7 1>;
};
power_fail {
label = "963281TAN::power-fail";
label = "power-fail";
gpios = <&pinctrl 8 1>;
};
wps {
label = "963281TAN::wps";
label = "wps";
gpios = <&pinctrl 9 1>;
};
dsl {
label = "963281TAN::dsl";
label = "dsl";
gpios = <&pinctrl 11 1>;
};
};

View File

@ -24,28 +24,28 @@
compatible = "gpio-leds";
inet_fail {
label = "96328avng::internet-fail";
label = "internet-fail";
gpios = <&pinctrl 2 1>;
};
dsl {
label = "96328avng::dsl";
label = "dsl";
gpios = <&pinctrl 3 1>;
};
led_power: power {
label = "96328avng::power";
label = "power";
gpios = <&pinctrl 4 1>;
default-state = "on";
};
power_fail {
label = "96328avng::power-fail";
label = "power-fail";
gpios = <&pinctrl 8 1>;
};
wps {
label = "96328avng::wps";
label = "wps";
gpios = <&pinctrl 9 1>;
};
inet {
label = "96328avng::internet";
label = "internet";
gpios = <&pinctrl 11 1>;
};
};

View File

@ -82,19 +82,19 @@
led_alarm_red: led@2 {
reg = <2>;
active-low;
label = "AR-5381u:red:alarm";
label = "red:alarm";
};
led@3 {
reg = <3>;
active-low;
label = "AR-5381u:green:inet";
label = "green:inet";
};
led_power_green: led@4 {
reg = <4>;
active-low;
label = "AR-5381u:green:power";
label = "green:power";
default-state = "on";
};
};

View File

@ -81,29 +81,29 @@
led@1 {
reg = <1>;
label = "AR-5387un:red:inet";
label = "red:inet";
};
led@4 {
reg = <4>;
label = "AR-5387un:red:power";
label = "red:power";
};
led@7 {
reg = <7>;
label = "AR-5387un:green:inet";
label = "green:inet";
};
led_power_green: led@8 {
reg = <8>;
label = "AR-5387un:green:power";
label = "green:power";
default-state = "on";
};
led@11 {
reg = <11>;
active-low;
label = "AR-5387un:green:dsl";
label = "green:dsl";
};
};

View File

@ -52,28 +52,28 @@
compatible = "gpio-leds";
inet_red {
label = "dsl-274xb:red:internet";
label = "red:internet";
gpios = <&pinctrl 2 1>;
};
dsl_green {
label = "dsl-274xb:green:dsl";
label = "green:dsl";
gpios = <&pinctrl 3 1>;
};
led_power_green: power_green {
label = "dsl-274xb:green:power";
label = "green:power";
gpios = <&pinctrl 4 1>;
default-state = "on";
};
power_red {
label = "dsl-274xb:red:power";
label = "red:power";
gpios = <&pinctrl 8 1>;
};
wps_blue {
label = "dsl-274xb:blue:wps";
label = "blue:wps";
gpios = <&pinctrl 9 1>;
};
inet_green {
label = "dsl-274xb:green:internet";
label = "green:internet";
gpios = <&pinctrl 11 1>;
};
};

View File

@ -45,32 +45,32 @@
compatible = "gpio-leds";
inet_green {
label = "R5010UNv2:green:inet";
label = "green:inet";
gpios = <&pinctrl 1 1>;
};
inet_fail_red {
label = "R5010UNv2:red:inet-fail";
label = "red:inet-fail";
gpios = <&pinctrl 2 1>;
};
dsl_red {
label = "R5010UNv2:green:dsl";
label = "green:dsl";
gpios = <&pinctrl 3 1>;
};
led_power_green: power_green {
label = "R5010UNv2:green:power";
label = "green:power";
gpios = <&pinctrl 4 1>;
default-state = "on";
};
power_fail_red {
label = "R5010UNv2:red:power-fail";
label = "red:power-fail";
gpios = <&pinctrl 5 1>;
};
wps_green {
label = "R5010UNv2:green:wps";
label = "green:wps";
gpios = <&pinctrl 10 1>;
};
usb_green {
label = "R5010UNv2:green:usb";
label = "green:usb";
gpios = <&pinctrl 11 1>;
};
};

View File

@ -52,32 +52,32 @@
compatible = "gpio-leds";
usb_green {
label = "F@ST2704V2:green:usb";
label = "green:usb";
gpios = <&pinctrl 1 1>;
};
inet_red {
label = "F@ST2704V2:red:inet";
label = "red:inet";
gpios = <&pinctrl 2 1>;
};
dsl_green {
label = "F@ST2704V2:green:dsl";
label = "green:dsl";
gpios = <&pinctrl 3 1>;
};
led_power_green: power_green {
label = "F@ST2704V2:green:power";
label = "green:power";
gpios = <&pinctrl 4 1>;
default-state = "on";
};
power_red {
label = "F@ST2704V2:red:power";
label = "red:power";
gpios = <&pinctrl 5 1>;
};
wps_green {
label = "F@ST2704V2:green:wps";
label = "green:wps";
gpios = <&pinctrl 10 1>;
};
inet_green {
label = "F@ST2704V2:green:inet";
label = "green:inet";
gpios = <&pinctrl 11 1>;
};
};

View File

@ -71,56 +71,56 @@
inet_red@0 {
reg = <0>;
active-low;
label = "AD1018:red:internet";
label = "red:internet";
};
inet_green@1 {
reg = <1>;
active-low;
label = "AD1018:green:internet";
label = "green:internet";
};
led_power_green: power_green@8 {
reg = <8>;
active-low;
label = "AD1018:green:power";
label = "green:power";
default-state = "on";
};
adsl_green@10 {
reg = <10>;
active-low;
label = "AD1018:green:adsl";
label = "green:adsl";
};
adsl_red@11 {
reg = <11>;
active-low;
label = "AD1018:red:adsl";
label = "red:adsl";
};
phone_green@12 {
reg = <12>;
active-low;
label = "AD1018:green:phone";
label = "green:phone";
};
wps_green@13 {
reg = <13>;
active-low;
label = "AD1018:green:wps";
label = "green:wps";
};
wifi_green@14 {
reg = <14>;
active-low;
label = "AD1018:green:wifi";
label = "green:wifi";
};
usb_green@15 {
reg = <15>;
active-low;
label = "AD1018:green:usb";
label = "green:usb";
};
ephy0_spd@17 {

View File

@ -66,56 +66,56 @@
led@0 {
reg = <0>;
active-low;
label = "ad1018:red:internet";
label = "red:internet";
};
led@1 {
reg = <1>;
active-low;
label = "ad1018:green:internet";
label = "green:internet";
};
led_power_green: led@8 {
reg = <8>;
active-low;
label = "ad1018:green:power";
label = "green:power";
default-state = "on";
};
led@10 {
reg = <10>;
active-low;
label = "ad1018:green:adsl";
label = "green:adsl";
};
led@11 {
reg = <11>;
active-low;
label = "ad1018:red:adsl";
label = "red:adsl";
};
led@12 {
reg = <12>;
active-low;
label = "ad1018:green:phone";
label = "green:phone";
};
led@13 {
reg = <13>;
active-low;
label = "ad1018:green:wps";
label = "green:wps";
};
led@14 {
reg = <14>;
active-low;
label = "ad1018:green:wifi";
label = "green:wifi";
};
led@15 {
reg = <15>;
active-low;
label = "ad1018:green:usb";
label = "green:usb";
};
led@17 {

View File

@ -17,24 +17,24 @@
compatible = "gpio-leds";
power_green {
label = "96338GW:green:power";
label = "green:power";
gpios = <&gpio0 0 1>;
default-state = "on";
};
stop_green {
label = "96338GW:green:stop";
label = "green:stop";
gpios = <&gpio0 1 1>;
};
dsl_green {
label = "96338GW:green:adsl";
label = "green:adsl";
gpios = <&gpio0 3 1>;
};
ppp_fail_green {
label = "96338GW:green:ppp-fail";
label = "green:ppp-fail";
gpios = <&gpio0 4 1>;
};
ses_green {
label = "96338GW:green:ses";
label = "green:ses";
gpios = <&gpio0 5 1>;
};
};

View File

@ -17,24 +17,24 @@
compatible = "gpio-leds";
power_green {
label = "96338W:green:power";
label = "green:power";
gpios = <&gpio0 0 1>;
default-state = "on";
};
stop_green {
label = "96338W:green:stop";
label = "green:stop";
gpios = <&gpio0 1 1>;
};
dsl_green {
label = "96338W:green:adsl";
label = "green:adsl";
gpios = <&gpio0 3 1>;
};
ppp_fail_green {
label = "96338W:green:ppp-fail";
label = "green:ppp-fail";
gpios = <&gpio0 4 1>;
};
ses_green {
label = "96338W:green:ses";
label = "green:ses";
gpios = <&gpio0 5 1>;
};
};

View File

@ -17,18 +17,18 @@
compatible = "gpio-leds";
green_power {
label = "96338W2_E7T:green:power";
label = "green:power";
gpios = <&gpio0 0 1>;
default-state = "on";
};
green_stop {
label = "96338W2_E7T:green:ppp";
label = "green:ppp";
gpios = <&gpio0 4 1>;
};
green_adsl {
label = "96338W2_E7T:green:ppp-fail";
label = "green:ppp-fail";
gpios = <&gpio0 5 1>;
};
};

View File

@ -17,20 +17,20 @@
compatible = "gpio-leds";
green_power {
label = "RTA1320_16M:green:power";
label = "green:power";
gpios = <&gpio0 0 1>;
default-state = "on";
};
green_stop {
label = "RTA1320_16M:green:stop";
label = "green:stop";
gpios = <&gpio0 1 1>;
};
green_adsl {
label = "RTA1320_16M:green:adsl";
label = "green:adsl";
gpios = <&gpio0 3 1>;
};
green_ppp {
label = "RTA1320_16M:green:ppp";
label = "green:ppp";
gpios = <&gpio0 4 1>;
};
};

View File

@ -38,22 +38,22 @@
compatible = "gpio-leds";
usb {
label = "RTA770BW:green:usb";
label = "green:usb";
gpios = <&gpio0 7 1>;
};
adsl {
label = "RTA770BW:green:adsl";
label = "green:adsl";
gpios = <&gpio0 8 0>;
};
led_diag: diag {
label = "RTA770BW:green:diag";
label = "green:diag";
gpios = <&gpio0 10 1>;
};
wlan {
label = "RTA770BW:green:wlan";
label = "green:wlan";
gpios = <&gpio0 11 1>;
};
};

View File

@ -38,22 +38,22 @@
compatible = "gpio-leds";
usb {
label = "RTA770W:green:usb";
label = "green:usb";
gpios = <&gpio0 7 1>;
};
adsl {
label = "RTA770W:green:adsl";
label = "green:adsl";
gpios = <&gpio0 8 0>;
};
led_diag: diag {
label = "RTA770W:green:diag";
label = "green:diag";
gpios = <&gpio0 10 1>;
};
wlan {
label = "RTA770W:green:wlan";
label = "green:wlan";
gpios = <&gpio0 11 1>;
};
};

View File

@ -38,16 +38,16 @@
compatible = "gpio-leds";
led_power_green: power_green {
label = "AR1004G:green:power";
label = "green:power";
gpios = <&pinctrl 0 1>;
default-state = "on";
};
inet_green {
label = "AR1004G:green:inet";
label = "green:inet";
gpios = <&pinctrl 3 1>;
};
power_red {
label = "AR1004G:red:power";
label = "red:power";
gpios = <&pinctrl 6 1>;
};
};

View File

@ -31,24 +31,24 @@
compatible = "gpio-leds";
power_green {
label = "96348GW-10:green:power";
label = "green:power";
gpios = <&pinctrl 0 1>;
default-state = "on";
};
stop_green {
label = "96348GW-10:green:stop";
label = "green:stop";
gpios = <&pinctrl 1 1>;
};
adsl_fail_green {
label = "96348GW-10:green:adsl-fail";
label = "green:adsl-fail";
gpios = <&pinctrl 2 1>;
};
ppp_green {
label = "96348GW-10:green:ppp";
label = "green:ppp";
gpios = <&pinctrl 3 1>;
};
ppp_fail_green {
label = "96348GW-10:green:ppp-fail";
label = "green:ppp-fail";
gpios = <&pinctrl 4 1>;
};
};

View File

@ -31,24 +31,24 @@
compatible = "gpio-leds";
power_green {
label = "96348GW-10:green:power";
label = "green:power";
gpios = <&pinctrl 0 1>;
default-state = "on";
};
stop_green {
label = "96348GW-10:green:stop";
label = "green:stop";
gpios = <&pinctrl 1 1>;
};
adsl_fail_green {
label = "96348GW-10:green:adsl-fail";
label = "green:adsl-fail";
gpios = <&pinctrl 2 1>;
};
ppp_green {
label = "96348GW-10:green:ppp";
label = "green:ppp";
gpios = <&pinctrl 3 1>;
};
ppp_fail_green {
label = "96348GW-10:green:ppp-fail";
label = "green:ppp-fail";
gpios = <&pinctrl 4 1>;
};
};

View File

@ -38,24 +38,24 @@
compatible = "gpio-leds";
led_power_green: power_green {
label = "96348GW-11:green:power";
label = "green:power";
gpios = <&pinctrl 0 1>;
default-state = "on";
};
stop_green {
label = "96348GW-11:green:stop";
label = "green:stop";
gpios = <&pinctrl 1 1>;
};
adsl_fail_green {
label = "96348GW-11:green:adsl-fail";
label = "green:adsl-fail";
gpios = <&pinctrl 2 1>;
};
ppp_green {
label = "96348GW-11:green:ppp";
label = "green:ppp";
gpios = <&pinctrl 3 1>;
};
ppp_fail_green {
label = "96348GW-11:green:ppp-fail";
label = "green:ppp-fail";
gpios = <&pinctrl 4 1>;
};
};

View File

@ -38,24 +38,24 @@
compatible = "gpio-leds";
led_power_green: power_green {
label = "96348GW:green:power";
label = "green:power";
gpios = <&pinctrl 0 1>;
default-state = "on";
};
stop_green {
label = "96348GW:green:stop";
label = "green:stop";
gpios = <&pinctrl 1 1>;
};
adsl_fail_green {
label = "96348GW:green:adsl-fail";
label = "green:adsl-fail";
gpios = <&pinctrl 2 1>;
};
ppp_green {
label = "96348GW:green:ppp";
label = "green:ppp";
gpios = <&pinctrl 3 1>;
};
ppp_fail_green {
label = "96348GW:green:ppp-fail";
label = "green:ppp-fail";
gpios = <&pinctrl 4 1>;
};
};

View File

@ -17,24 +17,24 @@
compatible = "gpio-leds";
power_green {
label = "96348R:green:power";
label = "green:power";
gpios = <&pinctrl 0 1>;
default-state = "on";
};
stop_green {
label = "96348R:green:stop";
label = "green:stop";
gpios = <&pinctrl 1 1>;
};
adsl_fail_green {
label = "96348R:green:adsl-fail";
label = "green:adsl-fail";
gpios = <&pinctrl 2 1>;
};
ppp_green {
label = "96348R:green:ppp";
label = "green:ppp";
gpios = <&pinctrl 3 1>;
};
ppp_fail_green {
label = "96348R:green:ppp-fail";
label = "green:ppp-fail";
gpios = <&pinctrl 4 1>;
};
};

View File

@ -38,23 +38,23 @@
compatible = "gpio-leds";
led_power_green: power_green {
label = "V2110:green:power";
label = "green:power";
gpios = <&pinctrl 0 1>;
};
power_red {
label = "V2110:red:power";
label = "red:power";
gpios = <&pinctrl 1 1>;
};
adsl_green {
label = "V2110:green:adsl";
label = "green:adsl";
gpios = <&pinctrl 2 1>;
};
ppp_green {
label = "V2110:green:ppp";
label = "green:ppp";
gpios = <&pinctrl 3 1>;
};
wireless_green {
label = "V2110:green:wireless";
label = "green:wireless";
gpios = <&pinctrl 6 1>;
};
};

View File

@ -31,23 +31,23 @@
compatible = "gpio-leds";
power_green {
label = "V2500V_BB:green:power";
label = "green:power";
gpios = <&pinctrl 0 1>;
};
power_red {
label = "V2500V_BB:red:power";
label = "red:power";
gpios = <&pinctrl 1 1>;
};
adsl_green {
label = "V2500V_BB:green:adsl";
label = "green:adsl";
gpios = <&pinctrl 2 1>;
};
ppp_green {
label = "V2500V_BB:green:ppp";
label = "green:ppp";
gpios = <&pinctrl 3 1>;
};
wireless_green {
label = "V2500V_BB:green:wireless";
label = "green:wireless";
gpios = <&pinctrl 6 1>;
};
};

View File

@ -45,16 +45,16 @@
compatible = "gpio-leds";
power_green {
label = "96348A-122:green:power";
label = "green:power";
gpios = <&pinctrl 0 1>;
default-state = "on";
};
alarm_red {
label = "96348A-122:red:alarm";
label = "red:alarm";
gpios = <&pinctrl 2 1>;
};
wps_green {
label = "96348A-122:green:wps";
label = "green:wps";
gpios = <&pinctrl 6 1>;
};
};

View File

@ -38,12 +38,12 @@
compatible = "gpio-leds";
led_power_green: power_green {
label = "CT536_CT5621:green:power";
label = "green:power";
gpios = <&pinctrl 0 1>;
default-state = "on";
};
adsl_fail_green {
label = "CT536_CT5621:green:adsl-fail";
label = "green:adsl-fail";
gpios = <&pinctrl 2 1>;
};
};

View File

@ -38,20 +38,20 @@
compatible = "gpio-leds";
led_power_green: power_green {
label = "D-4P-W:green:power";
label = "green:power";
gpios = <&pinctrl 0 1>;
default-state = "on";
};
status {
label = "D-4P-W::status";
label = "status";
gpios = <&pinctrl 3 1>;
};
inet_green {
label = "D-4P-W:green:internet";
label = "green:internet";
gpios = <&pinctrl 4 1>;
};
inet_red {
label = "D-4P-W:red:internet";
label = "red:internet";
gpios = <&pinctrl 5 1>;
};
};

View File

@ -45,28 +45,28 @@
compatible = "gpio-leds";
led_red_adsl_fail: red_adsl_fail {
label = "Livebox1:red:adsl-fail-power";
label = "red:adsl-fail-power";
gpios = <&pinctrl 0 0>;
default-state = "on";
};
red_adsl {
label = "Livebox1:red:adsl";
label = "red:adsl";
gpios = <&pinctrl 1 0>;
};
red_traffic {
label = "Livebox1:red:traffic";
label = "red:traffic";
gpios = <&pinctrl 2 0>;
};
red_phone {
label = "Livebox1:red:phone";
label = "red:phone";
gpios = <&pinctrl 3 0>;
};
red_wifi {
label = "Livebox1:red:wifi";
label = "red:wifi";
gpios = <&pinctrl 4 0>;
};
};

View File

@ -31,20 +31,20 @@
compatible = "gpio-leds";
power_green {
label = "96348W3:green:power";
label = "green:power";
gpios = <&pinctrl 0 1>;
default-state = "on";
};
status {
label = "96348W3:red:power";
label = "red:power";
gpios = <&pinctrl 1 1>;
};
inet_green {
label = "96348W3::adsl";
label = "adsl";
gpios = <&pinctrl 2 1>;
};
inet_red {
label = "96348W3::internet";
label = "internet";
gpios = <&pinctrl 3 1>;
};
};

View File

@ -31,24 +31,24 @@
compatible = "gpio-leds";
power_green {
label = "96348GW-10:green:power";
label = "green:power";
gpios = <&pinctrl 0 1>;
default-state = "on";
};
stop_green {
label = "96348GW-10:green:stop";
label = "green:stop";
gpios = <&pinctrl 1 1>;
};
adsl_fail_green {
label = "96348GW-10:green:adsl-fail";
label = "green:adsl-fail";
gpios = <&pinctrl 2 1>;
};
ppp_green {
label = "96348GW-10:green:ppp";
label = "green:ppp";
gpios = <&pinctrl 3 1>;
};
ppp_fail_green {
label = "96348GW-10:green:ppp-fail";
label = "green:ppp-fail";
gpios = <&pinctrl 4 1>;
};
};

View File

@ -31,20 +31,20 @@
compatible = "gpio-leds";
power_green {
label = "F@ST2604:green:power";
label = "green:power";
gpios = <&pinctrl 0 1>;
default-state = "on";
};
power_red {
label = "F@ST2604:red:power";
label = "red:power";
gpios = <&pinctrl 1 1>;
};
inet_red {
label = "F@ST2604:red:inet";
label = "red:inet";
gpios = <&pinctrl 4 1>;
};
wps_green {
label = "F@ST2604:green:wps";
label = "green:wps";
gpios = <&pinctrl 5 1>;
};
};

View File

@ -38,24 +38,24 @@
compatible = "gpio-leds";
led_power_green: power_green {
label = "SPW500V:green:power";
label = "green:power";
gpios = <&pinctrl 0 1>;
default-state = "on";
};
power_red {
label = "SPW500V:red:power";
label = "red:power";
gpios = <&pinctrl 1 1>;
};
ppp_green {
label = "SPW500V:green:ppp";
label = "green:ppp";
gpios = <&pinctrl 3 1>;
};
pstn_green {
label = "SPW500V:green:pstn";
label = "green:pstn";
gpios = <&pinctrl 28 1>;
};
voip_green {
label = "SPW500V:green:voip";
label = "green:voip";
gpios = <&pinctrl 32 1>;
};
};

View File

@ -38,19 +38,19 @@
compatible = "gpio-leds";
led_line1_green: line1_green {
label = "GW6200:green:line1";
label = "green:line1";
gpios = <&pinctrl 4 1>;
};
line2_green {
label = "GW6200:green:line2";
label = "green:line2";
gpios = <&pinctrl 5 1>;
};
line3_green {
label = "GW6200:green:line3";
label = "green:line3";
gpios = <&pinctrl 6 1>;
};
tel_green {
label = "GW6200:green:tel";
label = "green:tel";
gpios = <&pinctrl 7 1>;
};
};

View File

@ -31,12 +31,12 @@
compatible = "gpio-leds";
phone_green {
label = "CPVA502+:green:phone";
label = "green:phone";
gpios = <&pinctrl 0 1>;
};
link_amber {
label = "CPVA502+:amber:link";
label = "amber:link";
gpios = <&pinctrl 5 1>;
};
};

View File

@ -17,38 +17,38 @@
compatible = "gpio-leds";
power {
label = "MAGIC:green:power";
label = "green:power";
gpios = <&pinctrl 0 1>;
default-state = "on";
};
stop {
label = "MAGIC:green:stop";
label = "green:stop";
gpios = <&pinctrl 1 1>;
};
hpna {
label = "MAGIC:green:hpna";
label = "green:hpna";
gpios = <&pinctrl 4 1>;
};
status {
label = "MAGIC:green:adsl";
label = "green:adsl";
gpios = <&pinctrl 5 1>;
};
voip {
label = "MAGIC:green:voip";
label = "green:voip";
gpios = <&pinctrl 22 1>;
};
wifi {
label = "MAGIC:green:wifi";
label = "green:wifi";
gpios = <&pinctrl 28 0>;
};
usb {
label = "MAGIC:green:usb";
label = "green:usb";
gpios = <&pinctrl 35 1>;
};
};

View File

@ -31,24 +31,24 @@
compatible = "gpio-leds";
power_green {
label = "96348GW-11:green:power";
label = "green:power";
gpios = <&pinctrl 0 1>;
default-state = "on";
};
stop_green {
label = "96348GW-11:green:stop";
label = "green:stop";
gpios = <&pinctrl 1 1>;
};
adsl_fail_green {
label = "96348GW-11:green:adsl-fail";
label = "green:adsl-fail";
gpios = <&pinctrl 2 1>;
};
ppp_green {
label = "96348GW-11:green:ppp";
label = "green:ppp";
gpios = <&pinctrl 3 1>;
};
ppp_fail_green {
label = "96348GW-11:green:ppp-fail";
label = "green:ppp-fail";
gpios = <&pinctrl 4 1>;
};
};

View File

@ -17,11 +17,11 @@
compatible = "gpio-leds";
usb {
label = "96348GW-A::usb";
label = "usb";
gpios = <&pinctrl 0 1>;
};
dsl {
label = "96348GW-A::adsl";
label = "adsl";
gpios = <&pinctrl 3 1>;
};
};

View File

@ -17,20 +17,20 @@
compatible = "gpio-leds";
stop_green {
label = "96358VW2:green:stop";
label = "green:stop";
gpios = <&pinctrl 4 1>;
};
power_green {
label = "96358VW2:green:power";
label = "green:power";
gpios = <&pinctrl 5 1>;
default-state = "on";
};
adsl_green {
label = "96358VW2:green:adsl";
label = "green:adsl";
gpios = <&pinctrl 22 1>;
};
ppp_fail_green {
label = "96358VW2:green:ppp-fail";
label = "green:ppp-fail";
gpios = <&pinctrl 23 0>;
};
};

View File

@ -17,24 +17,24 @@
compatible = "gpio-leds";
power_green {
label = "96358VW:green:power";
label = "green:power";
gpios = <&pinctrl 4 0>;
default-state = "on";
};
stop_green {
label = "96358VW:green:stop";
label = "green:stop";
gpios = <&pinctrl 5 0>;
};
adsl_fail_green {
label = "96358VW:green:adsl-fail";
label = "green:adsl-fail";
gpios = <&pinctrl 15 1>;
};
ppp_green {
label = "96358VW:green:ppp";
label = "green:ppp";
gpios = <&pinctrl 22 1>;
};
ppp_fail_green {
label = "96358VW:green:ppp-fail";
label = "green:ppp-fail";
gpios = <&pinctrl 23 1>;
};
};

View File

@ -17,20 +17,20 @@
compatible = "gpio-leds";
stop_green {
label = "96358VW2:green:stop";
label = "green:stop";
gpios = <&pinctrl 4 1>;
};
power_green {
label = "96358VW2:green:power";
label = "green:power";
gpios = <&pinctrl 5 1>;
default-state = "on";
};
adsl_green {
label = "96358VW2:green:adsl";
label = "green:adsl";
gpios = <&pinctrl 22 1>;
};
ppp_fail_green {
label = "96358VW2:green:ppp-fail";
label = "green:ppp-fail";
gpios = <&pinctrl 23 0>;
};
};

View File

@ -58,92 +58,92 @@
led@0 {
reg = <0>;
active-low;
label = "HOMEHUB2A:red:power";
label = "red:power";
};
led_power_green: led@1 {
reg = <0>;
active-low;
label = "HOMEHUB2A:green:power";
label = "green:power";
default-state = "on";
};
led@2 {
reg = <2>;
active-low;
label = "HOMEHUB2A:blue:power";
label = "blue:power";
};
led@3 {
reg = <3>;
active-low;
label = "HOMEHUB2A:red:broadband";
label = "red:broadband";
};
led@4 {
reg = <4>;
active-low;
label = "HOMEHUB2A:green:broadband";
label = "green:broadband";
};
led@5 {
reg = <5>;
active-low;
label = "HOMEHUB2A:blue:broadband";
label = "blue:broadband";
};
led@6 {
reg = <6>;
active-low;
label = "HOMEHUB2A:red:wireless";
label = "red:wireless";
};
led@7 {
reg = <7>;
active-low;
label = "HOMEHUB2A:green:wireless";
label = "green:wireless";
};
led@8 {
reg = <8>;
active-low;
label = "HOMEHUB2A:blue:wireless";
label = "blue:wireless";
};
led@9 {
reg = <9>;
active-low;
label = "HOMEHUB2A:red:phone";
label = "red:phone";
};
led@10 {
reg = <10>;
active-low;
label = "HOMEHUB2A:green:phone";
label = "green:phone";
};
led@11 {
reg = <11>;
active-low;
label = "HOMEHUB2A:blue:phone";
label = "blue:phone";
};
led@12 {
reg = <12>;
active-low;
label = "HOMEHUB2A:red:upgrading";
label = "red:upgrading";
};
led_upgrading_green: led@13 {
reg = <13>;
active-low;
label = "HOMEHUB2A:green:upgrading";
label = "green:upgrading";
};
led@14 {
reg = <14>;
active-low;
label = "HOMEHUB2A:blue:upgrading";
label = "blue:upgrading";
};
};

View File

@ -31,16 +31,16 @@
compatible = "gpio-leds";
power_green {
label = "CT6373-1:green:power";
label = "green:power";
gpios = <&pinctrl 0 0>;
default-state = "on";
};
usb_green {
label = "CT6373-1:green:usb";
label = "green:usb";
gpios = <&pinctrl 3 1>;
};
wlan_green {
label = "CT6373-1:green:wlan";
label = "green:wlan";
gpios = <&pinctrl 9 1>;
};
};
@ -55,25 +55,25 @@
led@0 {
reg = <0>;
active-low;
label = "CT6373-1:green:adsl";
label = "green:adsl";
};
led@1 {
reg = <1>;
active-low;
label = "CT6373-1:green:line";
label = "green:line";
};
led@2 {
reg = <2>;
active-low;
label = "CT6373-1:green:fxs1";
label = "green:fxs1";
};
led@3 {
reg = <3>;
active-low;
label = "CT6373-1:green:fxs2";
label = "green:fxs2";
};
};

View File

@ -17,20 +17,20 @@
compatible = "gpio-leds";
stop_green {
label = "96358VW2:green:stop";
label = "green:stop";
gpios = <&pinctrl 4 1>;
};
power_green {
label = "96358VW2:green:power";
label = "green:power";
gpios = <&pinctrl 5 1>;
default-state = "on";
};
adsl_green {
label = "96358VW2:green:adsl";
label = "green:adsl";
gpios = <&pinctrl 22 1>;
};
ppp_fail_green {
label = "96358VW2:green:ppp-fail";
label = "green:ppp-fail";
gpios = <&pinctrl 23 0>;
};
};

View File

@ -38,24 +38,24 @@
compatible = "gpio-leds";
inet_green {
label = "dsl-274xb:green:internet";
label = "green:internet";
gpios = <&pinctrl 2 0>;
};
power_red {
label = "dsl-274xb:red:power";
label = "red:power";
gpios = <&pinctrl 4 1>;
};
led_power_green: power_green {
label = "dsl-274xb:green:power";
label = "green:power";
gpios = <&pinctrl 5 1>;
default-state = "on";
};
dsl_green {
label = "dsl-274xb:green:adsl";
label = "green:adsl";
gpios = <&pinctrl 9 1>;
};
inet_red {
label = "dsl-274xb:red:internet";
label = "red:internet";
gpios = <&pinctrl 10 0>;
};
};

View File

@ -31,24 +31,24 @@
compatible = "gpio-leds";
voip {
label = "DVAG3810BN::voip";
label = "voip";
gpios = <&pinctrl 1 0>;
};
power {
label = "DVAG3810BN::power";
label = "power";
gpios = <&pinctrl 4 0>;
default-state = "on";
};
stop {
label = "DVAG3810BN::stop";
label = "stop";
gpios = <&pinctrl 5 0>;
};
dsl {
label = "DVAG3810BN::dsl";
label = "dsl";
gpios = <&pinctrl 22 1>;
};
inet {
label = "DVAG3810BN::internet";
label = "internet";
gpios = <&pinctrl 23 1>;
};
};

View File

@ -45,40 +45,40 @@
compatible = "gpio-leds";
led_power_blue: power_blue {
label = "HW553:blue:power";
label = "blue:power";
gpios = <&pinctrl 4 1>;
default-state = "on";
};
power_red {
label = "HW553:red:power";
label = "red:power";
gpios = <&pinctrl 5 1>;
};
hspa_red {
label = "HW553:red:hspa";
label = "red:hspa";
gpios = <&pinctrl 12 1>;
};
hspa_blue {
label = "HW553:blue:hspa";
label = "blue:hspa";
gpios = <&pinctrl 13 1>;
};
lan_red {
label = "HW553:red:lan";
label = "red:lan";
gpios = <&pinctrl 22 1>;
};
lan_blue {
label = "HW553:blue:lan";
label = "blue:lan";
gpios = <&pinctrl 23 1>;
};
wifi_red {
label = "HW553:red:wifi";
label = "red:wifi";
gpios = <&pinctrl 25 1>;
};
dsl_red {
label = "HW553:red:adsl";
label = "red:adsl";
gpios = <&pinctrl 34 1>;
};
dsl_blue {
label = "HW553:blue:adsl";
label = "blue:adsl";
gpios = <&pinctrl 35 1>;
};
};

View File

@ -59,57 +59,57 @@
compatible = "gpio-leds";
message_red {
label = "HW556:red:message";
label = "red:message";
gpios = <&pinctrl 0 1>;
};
hspa_red {
label = "HW556:red:hspa";
label = "red:hspa";
gpios = <&pinctrl 1 1>;
};
dsl_red {
label = "HW556:red:dsl";
label = "red:dsl";
gpios = <&pinctrl 2 1>;
};
led_power_red: power_red {
label = "HW556:red:power";
label = "red:power";
gpios = <&pinctrl 3 1>;
default-state = "on";
};
all_red {
label = "HW556:red:all";
label = "red:all";
gpios = <&pinctrl 6 1>;
default-state = "on";
};
lan1_green {
label = "HW556:green:lan1";
label = "green:lan1";
gpios = <&pinctrl 12 1>;
};
lan1_red {
label = "HW556:red:lan1";
label = "red:lan1";
gpios = <&pinctrl 13 1>;
};
lan2_green {
label = "HW556:green:lan2";
label = "green:lan2";
gpios = <&pinctrl 15 1>;
};
lan2_red {
label = "HW556:red:lan2";
label = "red:lan2";
gpios = <&pinctrl 22 1>;
};
lan3_green {
label = "HW556:green:lan3";
label = "green:lan3";
gpios = <&pinctrl 23 1>;
};
lan3_red {
label = "HW556:red:lan3";
label = "red:lan3";
gpios = <&pinctrl 26 1>;
};
lan4_green {
label = "HW556:green:lan4";
label = "green:lan4";
gpios = <&pinctrl 27 1>;
};
lan4_red {
label = "HW556:red:lan4";
label = "red:lan4";
gpios = <&pinctrl 28 1>;
};
};

View File

@ -59,57 +59,57 @@
compatible = "gpio-leds";
message_red {
label = "HW556:red:message";
label = "red:message";
gpios = <&pinctrl 0 1>;
};
hspa_red {
label = "HW556:red:hspa";
label = "red:hspa";
gpios = <&pinctrl 1 1>;
};
dsl_red {
label = "HW556:red:dsl";
label = "red:dsl";
gpios = <&pinctrl 2 1>;
};
led_power_red: power_red {
label = "HW556:red:power";
label = "red:power";
gpios = <&pinctrl 3 1>;
default-state = "on";
};
all_red {
label = "HW556:red:all";
label = "red:all";
gpios = <&pinctrl 6 1>;
default-state = "on";
};
lan1_green {
label = "HW556:green:lan1";
label = "green:lan1";
gpios = <&pinctrl 12 1>;
};
lan1_red {
label = "HW556:red:lan1";
label = "red:lan1";
gpios = <&pinctrl 13 1>;
};
lan2_green {
label = "HW556:green:lan2";
label = "green:lan2";
gpios = <&pinctrl 15 1>;
};
lan2_red {
label = "HW556:red:lan2";
label = "red:lan2";
gpios = <&pinctrl 22 1>;
};
lan3_green {
label = "HW556:green:lan3";
label = "green:lan3";
gpios = <&pinctrl 23 1>;
};
lan3_red {
label = "HW556:red:lan3";
label = "red:lan3";
gpios = <&pinctrl 26 1>;
};
lan4_green {
label = "HW556:green:lan4";
label = "green:lan4";
gpios = <&pinctrl 27 1>;
};
lan4_red {
label = "HW556:red:lan4";
label = "red:lan4";
gpios = <&pinctrl 28 1>;
};
};

View File

@ -59,52 +59,52 @@
compatible = "gpio-leds";
lan1_green {
label = "HW556:green:lan1";
label = "green:lan1";
gpios = <&pinctrl 0 1>;
};
lan2_green {
label = "HW556:green:lan2";
label = "green:lan2";
gpios = <&pinctrl 1 1>;
};
dsl_red {
label = "HW556:red:dsl";
label = "red:dsl";
gpios = <&pinctrl 2 1>;
};
led_power_red: power_red {
label = "HW556:red:power";
label = "red:power";
gpios = <&pinctrl 3 1>;
default-state = "on";
};
message_red {
label = "HW556:red:message";
label = "red:message";
gpios = <&pinctrl 12 1>;
};
lan1_red {
label = "HW556:red:lan1";
label = "red:lan1";
gpios = <&pinctrl 13 1>;
};
hspa_red {
label = "HW556:red:hspa";
label = "red:hspa";
gpios = <&pinctrl 15 1>;
};
lan2_red {
label = "HW556:red:lan2";
label = "red:lan2";
gpios = <&pinctrl 22 1>;
};
lan3_green {
label = "HW556:green:lan3";
label = "green:lan3";
gpios = <&pinctrl 23 1>;
};
lan3_red {
label = "HW556:red:lan3";
label = "red:lan3";
gpios = <&pinctrl 26 1>;
};
lan4_green {
label = "HW556:green:lan4";
label = "green:lan4";
gpios = <&pinctrl 27 1>;
};
lan4_red {
label = "HW556:red:lan4";
label = "red:lan4";
gpios = <&pinctrl 28 1>;
};
};

View File

@ -38,56 +38,56 @@
compatible = "gpio-leds";
voip_red {
label = "DWV-S0:red:VoIP";
label = "red:VoIP";
gpios = <&pinctrl 0 1>;
};
eth_red {
label = "DWV-S0:red:ethernet";
label = "red:ethernet";
gpios = <&pinctrl 1 1>;
};
dsl_green {
label = "DWV-S0:green:ADSL";
label = "green:ADSL";
gpios = <&pinctrl 2 1>;
};
usb_green {
label = "DWV-S0:green:USB";
label = "green:USB";
gpios = <&pinctrl 3 1>;
};
power_green {
label = "DWV-S0:green:power";
label = "green:power";
gpios = <&pinctrl 4 1>;
default-state = "on";
};
power_red {
label = "DWV-S0:red:power";
label = "red:power";
gpios = <&pinctrl 5 1>;
};
inet_red {
label = "DWV-S0:red:internet";
label = "red:internet";
gpios = <&pinctrl 6 1>;
};
inet_green {
label = "DWV-S0:green:internet";
label = "green:internet";
gpios = <&pinctrl 7 1>;
};
eth_green {
label = "DWV-S0:green:ethernet";
label = "green:ethernet";
gpios = <&pinctrl 8 1>;
};
voip_green {
label = "DWV-S0:green:VoIP";
label = "green:VoIP";
gpios = <&pinctrl 9 1>;
};
wifi_red {
label = "DWV-S0:red:wifi";
label = "red:wifi";
gpios = <&pinctrl 10 1>;
};
usb_red {
label = "DWV-S0:red:USB";
label = "red:USB";
gpios = <&pinctrl 11 1>;
};
dsl_red {
label = "DWV-S0:red:ADSL";
label = "red:ADSL";
gpios = <&pinctrl 12 1>;
};
};

View File

@ -38,56 +38,56 @@
compatible = "gpio-leds";
voip_red {
label = "DWV-S0:red:VoIP";
label = "red:VoIP";
gpios = <&pinctrl 0 1>;
};
eth_red {
label = "DWV-S0:red:ethernet";
label = "red:ethernet";
gpios = <&pinctrl 1 1>;
};
dsl_green {
label = "DWV-S0:green:ADSL";
label = "green:ADSL";
gpios = <&pinctrl 2 1>;
};
usb_green {
label = "DWV-S0:green:USB";
label = "green:USB";
gpios = <&pinctrl 3 1>;
};
power_green {
label = "DWV-S0:green:power";
label = "green:power";
gpios = <&pinctrl 4 1>;
default-state = "on";
};
power_red {
label = "DWV-S0:red:power";
label = "red:power";
gpios = <&pinctrl 5 1>;
};
inet_red {
label = "DWV-S0:red:internet";
label = "red:internet";
gpios = <&pinctrl 6 1>;
};
inet_green {
label = "DWV-S0:green:internet";
label = "green:internet";
gpios = <&pinctrl 7 1>;
};
eth_green {
label = "DWV-S0:green:ethernet";
label = "green:ethernet";
gpios = <&pinctrl 8 1>;
};
voip_green {
label = "DWV-S0:green:VoIP";
label = "green:VoIP";
gpios = <&pinctrl 9 1>;
};
wifi_red {
label = "DWV-S0:red:wifi";
label = "red:wifi";
gpios = <&pinctrl 10 1>;
};
usb_red {
label = "DWV-S0:red:USB";
label = "red:USB";
gpios = <&pinctrl 11 1>;
};
dsl_red {
label = "DWV-S0:red:ADSL";
label = "red:ADSL";
gpios = <&pinctrl 12 1>;
};
};

View File

@ -38,56 +38,56 @@
compatible = "gpio-leds";
voip_red {
label = "DWV-S0:red:VoIP";
label = "red:VoIP";
gpios = <&pinctrl 0 1>;
};
eth_red {
label = "DWV-S0:red:ethernet";
label = "red:ethernet";
gpios = <&pinctrl 1 1>;
};
dsl_green {
label = "DWV-S0:green:ADSL";
label = "green:ADSL";
gpios = <&pinctrl 2 1>;
};
usb_green {
label = "DWV-S0:green:USB";
label = "green:USB";
gpios = <&pinctrl 3 1>;
};
power_green {
label = "DWV-S0:green:power";
label = "green:power";
gpios = <&pinctrl 4 1>;
default-state = "on";
};
power_red {
label = "DWV-S0:red:power";
label = "red:power";
gpios = <&pinctrl 5 1>;
};
inet_red {
label = "DWV-S0:red:internet";
label = "red:internet";
gpios = <&pinctrl 6 1>;
};
inet_green {
label = "DWV-S0:green:internet";
label = "green:internet";
gpios = <&pinctrl 7 1>;
};
eth_green {
label = "DWV-S0:green:ethernet";
label = "green:ethernet";
gpios = <&pinctrl 8 1>;
};
voip_green {
label = "DWV-S0:green:VoIP";
label = "green:VoIP";
gpios = <&pinctrl 9 1>;
};
wifi_red {
label = "DWV-S0:red:wifi";
label = "red:wifi";
gpios = <&pinctrl 10 1>;
};
usb_red {
label = "DWV-S0:red:USB";
label = "red:USB";
gpios = <&pinctrl 11 1>;
};
dsl_red {
label = "DWV-S0:red:ADSL";
label = "red:ADSL";
gpios = <&pinctrl 12 1>;
};
};

View File

@ -38,60 +38,60 @@
compatible = "gpio-leds";
power_green {
label = "AGPF-S0:green:power";
label = "green:power";
gpios = <&pinctrl 4 1>;
default-state = "on";
};
power_red {
label = "AGPF-S0:red:power";
label = "red:power";
gpios = <&pinctrl 5 1>;
};
service_green {
label = "AGPF-S0:green:service";
label = "green:service";
gpios = <&pinctrl 6 1>;
};
service_red {
label = "AGPF-S0:red:service";
label = "red:service";
gpios = <&pinctrl 7 1>;
};
dsl_green {
label = "AGPF-S0:green:adsl";
label = "green:adsl";
gpios = <&pinctrl 9 1>;
};
dsl_red {
label = "AGPF-S0:red:adsl";
label = "red:adsl";
gpios = <&pinctrl 10 1>;
};
wifi_green {
label = "AGPF-S0:green:wifi";
label = "green:wifi";
gpios = <&pinctrl 22 1>;
};
wifi_red {
label = "AGPF-S0:red:wifi";
label = "red:wifi";
gpios = <&pinctrl 23 1>;
};
inet_red {
label = "AGPF-S0:red:internet";
label = "red:internet";
gpios = <&pinctrl 24 1>;
};
inet_green {
label = "AGPF-S0:green:internet";
label = "green:internet";
gpios = <&pinctrl 25 1>;
};
usr1_green {
label = "AGPF-S0:green:usr1";
label = "green:usr1";
gpios = <&pinctrl 26 1>;
};
usr1_red {
label = "AGPF-S0:red:usr1";
label = "red:usr1";
gpios = <&pinctrl 27 1>;
};
usr2_green {
label = "AGPF-S0:green:usr2";
label = "green:usr2";
gpios = <&pinctrl 29 1>;
};
usr2_red {
label = "AGPF-S0:red:usr2";
label = "red:usr2";
gpios = <&pinctrl 30 1>;
};
};

View File

@ -52,23 +52,23 @@
compatible = "gpio-leds";
traffic_white {
label = "NB4-FXC-r1:white:traffic";
label = "white:traffic";
gpios = <&pinctrl 2 0>;
};
service_blue {
label = "NB4-FXC-r1:blue:service";
label = "blue:service";
gpios = <&pinctrl 4 0>;
};
wifi_white {
label = "NB4-FXC-r1:white:wifi";
label = "white:wifi";
gpios = <&pinctrl 15 0>;
};
service_red {
label = "NB4-FXC-r1:red:service";
label = "red:service";
gpios = <&pinctrl 29 0>;
};
service_green {
label = "NB4-FXC-r1:green:service";
label = "green:service";
gpios = <&pinctrl 30 0>;
};
};
@ -83,25 +83,25 @@
led@0 {
reg = <0>;
active-low;
label = "NB4-FXC-r1:white:alarm";
label = "white:alarm";
};
led@2 {
reg = <2>;
active-low;
label = "NB4-FXC-r1:white:tv";
label = "white:tv";
};
led@3 {
reg = <3>;
active-low;
label = "NB4-FXC-r1:white:tel";
label = "white:tel";
};
led@4 {
reg = <4>;
active-low;
label = "NB4-FXC-r1:white:adsl";
label = "white:adsl";
};
};

View File

@ -52,23 +52,23 @@
compatible = "gpio-leds";
traffic_white {
label = "NB4-SER-r0:white:traffic";
label = "white:traffic";
gpios = <&pinctrl 2 1>;
};
service_blue {
label = "NB4-SER-r0:blue:service";
label = "blue:service";
gpios = <&pinctrl 4 1>;
};
wifi_white {
label = "NB4-SER-r0:white:wifi";
label = "white:wifi";
gpios = <&pinctrl 15 1>;
};
service_red {
label = "NB4-SER-r0:red:service";
label = "red:service";
gpios = <&pinctrl 29 1>;
};
service_green {
label = "NB4-SER-r0:green:service";
label = "green:service";
gpios = <&pinctrl 30 1>;
};
};
@ -83,25 +83,25 @@
led@0 {
reg = <0>;
active-low;
label = "NB4-SER-r0:white:alarm";
label = "white:alarm";
};
led@2 {
reg = <2>;
active-low;
label = "NB4-SER-r0:white:tv";
label = "white:tv";
};
led@3 {
reg = <3>;
active-low;
label = "NB4-SER-r0:white:tel";
label = "white:tel";
};
led@4 {
reg = <4>;
active-low;
label = "NB4-SER-r0:white:adsl";
label = "white:adsl";
};
};

View File

@ -45,28 +45,28 @@
compatible = "gpio-leds";
ses_green {
label = "spw303v:green:ses";
label = "green:ses";
gpios = <&pinctrl 0 1>;
};
power_adsl_red {
label = "spw303v:red:power+adsl";
label = "red:power+adsl";
gpios = <&pinctrl 2 1>;
};
ppp_green {
label = "spw303v:green:ppp";
label = "green:ppp";
gpios = <&pinctrl 5 1>;
};
led_power_adsl_green: power_adsl_green {
label = "spw303v:green:power+adsl";
label = "green:power+adsl";
gpios = <&pinctrl 22 1>;
default-state = "on";
};
voip_green {
label = "spw303v:green:voip";
label = "green:voip";
gpios = <&pinctrl 27 1>;
};
pots_green {
label = "spw303v:green:pots";
label = "green:pots";
gpios = <&pinctrl 31 1>;
};
};

View File

@ -45,44 +45,44 @@
compatible = "gpio-leds";
eth_green {
label = "CPVA642:green:ether";
label = "green:ether";
gpios = <&pinctrl 1 1>;
};
phone2_green {
label = "CPVA642:green:phone2";
label = "green:phone2";
gpios = <&pinctrl 2 1>;
};
usb_green {
label = "CPVA642:green:usb";
label = "green:usb";
gpios = <&pinctrl 3 1>;
};
phone1_green {
label = "CPVA642:green:phone1";
label = "green:phone1";
gpios = <&pinctrl 4 1>;
};
wifi_red {
label = "CPVA642:red:wifi";
label = "red:wifi";
gpios = <&pinctrl 6 1>;
};
link_red {
label = "CPVA642:red:link";
label = "red:link";
gpios = <&pinctrl 9 1>;
};
link_green {
label = "CPVA642:green:link";
label = "green:link";
gpios = <&pinctrl 10 1>;
};
led_power_green: power_green {
label = "CPVA642:green:power";
label = "green:power";
gpios = <&pinctrl 11 1>;
default-state = "on";
};
power_red {
label = "CPVA642:red:power";
label = "red:power";
gpios = <&pinctrl 14 1>;
};
wifi_green {
label = "CPVA642:green:wifi";
label = "green:wifi";
gpios = <&pinctrl 28 0>;
};
};

View File

@ -38,7 +38,7 @@
compatible = "gpio-leds";
led_inet_green: inet_green {
label = "HW520:green:net";
label = "green:net";
gpios = <&pinctrl 32 1>;
};
};

View File

@ -51,12 +51,12 @@
compatible = "gpio-leds";
led_phone_green: led@28 {
label = "hg253s-v2:green:phone";
label = "green:phone";
gpios = <&pinctrl 28 1>;
};
led@30 {
label = "hg253s-v2:green:usb";
label = "green:usb";
gpios = <&pinctrl 30 1>;
};
};
@ -71,13 +71,13 @@
led@3 {
reg = <3>;
active-low;
label = "hg253s-v2:green:internet";
label = "green:internet";
};
led@5 {
reg = <5>;
active-low;
label = "hg253s-v2:green:wifi";
label = "green:wifi";
};
};

View File

@ -54,12 +54,12 @@
compatible = "gpio-leds";
led@28 {
label = "dgnd3700-v2:green:dsl";
label = "green:dsl";
gpios = <&pinctrl 28 1>;
};
led@34 {
label = "dgnd3700-v2:red:power";
label = "red:power";
gpios = <&pinctrl 34 1>;
};
};
@ -78,67 +78,67 @@
led@1 {
reg = <1>;
active-low;
label = "dgnd3700-v2:green:internet";
label = "green:internet";
};
led_power_green: led@8 {
reg = <8>;
label = "dgnd3700-v2:green:power";
label = "green:power";
default-state = "on";
};
led@9 {
reg = <9>;
active-low;
label = "dgnd3700-v2:green:wps";
label = "green:wps";
};
led@10 {
reg = <10>;
active-low;
label = "dgnd3700-v2:green:usb1";
label = "green:usb1";
};
led@11 {
reg = <11>;
active-low;
label = "dgnd3700-v2:green:usb2";
label = "green:usb2";
};
led@12 {
reg = <12>;
active-low;
label = "dgnd3700-v2:amber:internet";
label = "amber:internet";
};
led@13 {
reg = <13>;
active-low;
label = "dgnd3700-v2:green:ethernet";
label = "green:ethernet";
};
led@14 {
reg = <14>;
active-low;
label = "dgnd3700-v2:amber:dsl";
label = "amber:dsl";
};
led@16 {
reg = <16>;
active-low;
label = "dgnd3700-v2:amber:usb1";
label = "amber:usb1";
};
led@17 {
reg = <17>;
active-low;
label = "dgnd3700-v2:amber:usb2";
label = "amber:usb2";
};
led@18 {
reg = <18>;
active-low;
label = "dgnd3700-v2:amber:ethernet";
label = "amber:ethernet";
};
};

View File

@ -45,28 +45,28 @@
compatible = "gpio-leds";
power_orange {
label = "fast2504n:orange:power";
label = "orange:power";
gpios = <&pinctrl 2 1>;
};
power_green {
label = "fast2504n:green:power";
label = "green:power";
gpios = <&pinctrl 10 1>;
default-state = "on";
};
inet_red {
label = "fast2504n:red:internet";
label = "red:internet";
gpios = <&pinctrl 26 1>;
};
led_ok_green: ok_green {
label = "fast2504n:green:ok";
label = "green:ok";
gpios = <&pinctrl 28 1>;
};
ok_orange {
label = "fast2504n:orange:ok";
label = "orange:ok";
gpios = <&pinctrl 29 1>;
};
wlan_orangee {
label = "fast2504n:orange:wlan";
label = "orange:wlan";
gpios = <&pinctrl 30 1>;
};
};

View File

@ -45,38 +45,38 @@
compatible = "gpio-leds";
inet_green {
label = "R1000H:green:inet";
label = "green:inet";
gpios = <&pinctrl 5 0>;
};
usb_green {
label = "R1000H:green:usb";
label = "green:usb";
gpios = <&pinctrl 21 1>;
};
led_power_green: power_green {
label = "R1000H:green:power";
label = "green:power";
gpios = <&pinctrl 22 0>;
default-state = "on";
};
wps_green {
label = "R1000H:green:wps";
label = "green:wps";
gpios = <&pinctrl 23 1>;
};
power_red {
label = "R1000H:red:power";
label = "red:power";
gpios = <&pinctrl 24 0>;
};
wps_red {
label = "R1000H:red:wps";
label = "red:wps";
gpios = <&pinctrl 30 1>;
};
inet_red {
label = "R1000H:red:inet";
label = "red:inet";
gpios = <&pinctrl 31 0>;
};
};

View File

@ -46,32 +46,32 @@
compatible = "gpio-leds";
led_power_white: power_white {
label = "AV4202N:white:power";
label = "white:power";
gpios = <&pinctrl 10 GPIO_ACTIVE_LOW>;
default-state = "on";
};
power_red {
label = "AV4202N:red:power";
label = "red:power";
gpios = <&pinctrl 11 GPIO_ACTIVE_LOW>;
};
wan_white {
label = "AV4202N:white:wan";
label = "white:wan";
gpios = <&pinctrl 26 GPIO_ACTIVE_LOW>;
};
wan_red {
label = "AV4202N:red:wan";
label = "red:wan";
gpios = <&pinctrl 27 GPIO_ACTIVE_LOW>;
};
phone_white {
label = "AV4202N:white:phone";
label = "white:phone";
gpios = <&pinctrl 24 GPIO_ACTIVE_LOW>;
};
phone_red {
label = "AV4202N:red:phone";
label = "red:phone";
gpios = <&pinctrl 25 GPIO_ACTIVE_LOW>;
};
wifi {
label = "AV4202N:blue:wifi";
label = "blue:wifi";
gpios = <&pinctrl 22 GPIO_ACTIVE_LOW>;
};
};

View File

@ -17,24 +17,24 @@
compatible = "gpio-leds";
dsl_green {
label = "96368MVNgr:green:adsl";
label = "green:adsl";
gpios = <&pinctrl 2 1>;
};
inet_fail_green {
label = "96368MVNgr:green:inet-fail";
label = "green:inet-fail";
gpios = <&pinctrl 3 0>;
};
inet_green {
label = "96368MVNgr:green:inet";
label = "green:inet";
gpios = <&pinctrl 5 0>;
};
power_green {
label = "96368MVNgr:green:power";
label = "green:power";
gpios = <&pinctrl 22 0>;
default-state = "on";
};
wps_green {
label = "96368MVNgr:green:wps";
label = "green:wps";
gpios = <&pinctrl 23 1>;
};
};

View File

@ -17,24 +17,24 @@
compatible = "gpio-leds";
dsl_green {
label = "96368MVWG:green:adsl";
label = "green:adsl";
gpios = <&pinctrl 2 1>;
};
ppp_green {
label = "96368MVWG:green:ppp";
label = "green:ppp";
gpios = <&pinctrl 5 0>;
};
power_green {
label = "96368MVWG:green:power";
label = "green:power";
gpios = <&pinctrl 22 0>;
default-state = "on";
};
wps_green {
label = "96368MVWG:green:wps";
label = "green:wps";
gpios = <&pinctrl 23 1>;
};
ppp_fail_red {
label = "96368MVWG:red:ppp-fail";
label = "red:ppp-fail";
gpios = <&pinctrl 31 0>;
};
};

View File

@ -38,24 +38,24 @@
compatible = "gpio-leds";
dsl_green {
label = "VR-3025u:green:dsl";
label = "green:dsl";
gpios = <&pinctrl 2 1>;
};
inet_green {
label = "VR-3025u:green:inet";
label = "green:inet";
gpios = <&pinctrl 5 0>;
};
led_power_green: power_green {
label = "VR-3025u:green:power";
label = "green:power";
gpios = <&pinctrl 22 0>;
default-state = "on";
};
power_red {
label = "VR-3025u:red:power";
label = "red:power";
gpios = <&pinctrl 24 0>;
};
inet_red {
label = "VR-3025u:red:inet";
label = "red:inet";
gpios = <&pinctrl 31 0>;
};
};

View File

@ -38,24 +38,24 @@
compatible = "gpio-leds";
dsl_green {
label = "VR-3025un:green:dsl";
label = "green:dsl";
gpios = <&pinctrl 2 1>;
};
inet_green {
label = "VR-3025un:green:inet";
label = "green:inet";
gpios = <&pinctrl 5 0>;
};
led_power_green: power_green {
label = "VR-3025un:green:power";
label = "green:power";
gpios = <&pinctrl 22 0>;
default-state = "on";
};
power_red {
label = "VR-3025un:red:power";
label = "red:power";
gpios = <&pinctrl 24 0>;
};
inet_red {
label = "VR-3025un:red:inet";
label = "red:inet";
gpios = <&pinctrl 31 0>;
};
};

View File

@ -38,24 +38,24 @@
compatible = "gpio-leds";
dsl_green {
label = "VR-3026e:green:dsl";
label = "green:dsl";
gpios = <&pinctrl 2 1>;
};
inet_green {
label = "VR-3026e:green:inet";
label = "green:inet";
gpios = <&pinctrl 5 0>;
};
led_power_green: power_green {
label = "VR-3026e:green:power";
label = "green:power";
gpios = <&pinctrl 22 0>;
default-state = "on";
};
power_red {
label = "VR-3026e:red:power";
label = "red:power";
gpios = <&pinctrl 24 0>;
};
inet_red {
label = "VR-3026e:red:inet";
label = "red:inet";
gpios = <&pinctrl 31 0>;
};
};

View File

@ -32,19 +32,19 @@
compatible = "gpio-leds";
dsl_green {
label = "HG622:green:dsl";
label = "green:dsl";
gpios = <&pinctrl 2 1>;
};
inet_green {
label = "HG622:green:inet";
label = "green:inet";
gpios = <&pinctrl 5 1>;
};
usb_green {
label = "HG622:green:usb";
label = "green:usb";
gpios = <&pinctrl 11 1>;
};
power_green {
label = "HG622:green:power";
label = "green:power";
gpios = <&pinctrl 22 1>;
default-state = "on";
};

View File

@ -52,29 +52,29 @@
compatible = "gpio-leds";
dsl_green {
label = "HW65x:green:dsl";
label = "green:dsl";
gpios = <&pinctrl 2 1>;
};
internet_green {
label = "HW65x:green:internet";
label = "green:internet";
gpios = <&pinctrl 5 1>;
};
usb_green {
label = "HW65x:green:usb";
label = "green:usb";
gpios = <&pinctrl 14 1>;
};
led_power_green: power_green {
label = "HW65x:green:power";
label = "green:power";
gpios = <&pinctrl 22 1>;
default-state = "on";
};
voip_green {
label = "HW65x:green:voip";
label = "green:voip";
gpios = <&pinctrl 25 1>;
};
wps_green {
label = "HW65x:green:wps";
label = "green:wps";
gpios = <&pinctrl 27 1>;
};
};

View File

@ -52,48 +52,48 @@
compatible = "gpio-leds";
dsl_green {
label = "DGND3700v1_3800B:green:dsl";
label = "green:dsl";
gpios = <&pinctrl 2 1>;
};
inet_red {
label = "DGND3700v1_3800B:red:inet";
label = "red:inet";
gpios = <&pinctrl 4 1>;
};
inet_green {
label = "DGND3700v1_3800B:green:inet";
label = "green:inet";
gpios = <&pinctrl 5 1>;
};
wps_green {
label = "DGND3700v1_3800B:green:wps";
label = "green:wps";
gpios = <&pinctrl 11 1>;
};
usbfront_green {
label = "DGND3700v1_3800B:green:usb-front";
label = "green:usb-front";
gpios = <&pinctrl 13 1>;
};
usbback_green {
label = "DGND3700v1_3800B:green:usb-back";
label = "green:usb-back";
gpios = <&pinctrl 14 1>;
};
power_red {
label = "DGND3700v1_3800B:red:power";
label = "red:power";
gpios = <&pinctrl 22 1>;
};
lan_green {
label = "DGND3700v1_3800B:green:lan";
label = "green:lan";
gpios = <&pinctrl 23 1>;
};
led_power_green: power_green {
label = "DGND3700v1_3800B:green:power";
label = "green:power";
gpios = <&pinctrl 24 1>;
default-state = "on";
};
wifi2g_green {
label = "DGND3700v1_3800B:green:wifi2g";
label = "green:wifi2g";
gpios = <&pinctrl 26 1>;
};
wifi5g_blue {
label = "DGND3700v1_3800B:blue:wifi5g";
label = "blue:wifi5g";
gpios = <&pinctrl 27 1>;
};
};

View File

@ -45,36 +45,36 @@
compatible = "gpio-leds";
dsl_blue {
label = "VH4032N:blue:dsl";
label = "blue:dsl";
gpios = <&pinctrl 2 1>;
};
dsl_red {
label = "VH4032N:red:dsl";
label = "red:dsl";
gpios = <&pinctrl 5 1>;
};
hspa_blue {
label = "VH4032N:blue:hspa";
label = "blue:hspa";
gpios = <&pinctrl 11 1>;
};
hspa_red {
label = "VH4032N:red:hspa";
label = "red:hspa";
gpios = <&pinctrl 12 1>;
};
led_power_blue: power_blue {
label = "VH4032N:blue:power";
label = "blue:power";
gpios = <&pinctrl 22 0>;
default-state = "on";
};
power_red {
label = "VH4032N:red:power";
label = "red:power";
gpios = <&pinctrl 24 0>;
};
voice_blue {
label = "VH4032N:blue:voice";
label = "blue:voice";
gpios = <&pinctrl 25 1>;
};
voice_red {
label = "VH4032N:red:voice";
label = "red:voice";
gpios = <&pinctrl 26 1>;
};
};

View File

@ -45,24 +45,24 @@
compatible = "gpio-leds";
led_power_green: power_green {
label = "P870HW-51a:green:power";
label = "green:power";
gpios = <&pinctrl 0 0>;
default-state = "on";
};
dsl_green {
label = "P870HW-51a:green:dsl";
label = "green:dsl";
gpios = <&pinctrl 2 1>;
};
inet_green {
label = "P870HW-51a:green:inet";
label = "green:inet";
gpios = <&pinctrl 22 1>;
};
wps_orange {
label = "P870HW-51a:orange:wps";
label = "orange:wps";
gpios = <&pinctrl 24 1>;
};
inet_red {
label = "P870HW-51a:red:inet";
label = "red:inet";
gpios = <&pinctrl 33 1>;
};
};

View File

@ -52,24 +52,24 @@
compatible = "gpio-leds";
inet_green {
label = "WAP-5813n:green:inet";
label = "green:inet";
gpios = <&pinctrl 5 0>;
};
led_power_green: power_green {
label = "WAP-5813n:green:power";
label = "green:power";
gpios = <&pinctrl 22 0>;
default-state = "on";
};
wps_green {
label = "WAP-5813n:green:wps";
label = "green:wps";
gpios = <&pinctrl 23 1>;
};
power_red {
label = "WAP-5813n:red:power";
label = "red:power";
gpios = <&pinctrl 24 0>;
};
inet_red {
label = "WAP-5813n:red:inet";
label = "red:inet";
gpios = <&pinctrl 31 0>;
};
};

View File

@ -45,44 +45,44 @@
compatible = "gpio-leds";
voip1_green {
label = "EVG2000:green:voip1";
label = "green:voip1";
gpios = <&pinctrl 14 1>;
};
voip2_green {
label = "EVG2000:green:voip2";
label = "green:voip2";
gpios = <&pinctrl 2 1>;
};
inet_red {
label = "EVG2000:red:inet";
label = "red:inet";
gpios = <&pinctrl 4 1>;
};
inet_green {
label = "EVG2000:green:inet";
label = "green:inet";
gpios = <&pinctrl 5 1>;
};
usb_green {
label = "EVG2000:green:usb";
label = "green:usb";
gpios = <&pinctrl 15 1>;
};
led_power_green: power_green {
label = "EVG2000:green:power";
label = "green:power";
gpios = <&pinctrl 22 1>;
default-state = "on";
};
power_red {
label = "EVG2000:red:power";
label = "red:power";
gpios = <&pinctrl 23 1>;
};
lan_green {
label = "EVG2000:green:lan";
label = "green:lan";
gpios = <&pinctrl 24 1>;
};
wireless_green {
label = "EVG2000:green:wireless";
label = "green:wireless";
gpios = <&pinctrl 26 1>;
};
wan_green {
label = "EVG2000:green:wan";
label = "green:wan";
gpios = <&pinctrl 27 1>;
};
};