treewide: dts: Remove default-state=off property from all gpio LED nodes

>From the Documentation/devicetree/bindings/leds/common.txt:

- default-state : The initial state of the LED. Valid values are "on", "off",
  and "keep". If the LED is already on or off and the default-state property is
  set the to same value, then no glitch should be produced where the LED
  momentarily turns off (or on). The "keep" setting will keep the LED at
  whatever its current state is, without producing a glitch.  The default is
  off if this property is not present.

So setting the default-state of the LEDs to `off` is redundant as `off`
is default LED state anyway. We should remove it as almost every new
PR/patch submission contains this property by default which seems to be
just copy&paste from some DTS file already present in the tree.

Signed-off-by: Petr Štetiar <ynezz@true.cz>
This commit is contained in:
Petr Štetiar 2018-12-16 12:26:34 +01:00 committed by John Crispin
parent 1e4ee63cc8
commit 0d23fd2ab2
72 changed files with 0 additions and 233 deletions

View File

@ -98,19 +98,16 @@
led0 {
label = "wb50n:blue:led0";
gpios = <&pioA 12 GPIO_ACTIVE_LOW>;
default-state = "off";
};
led1 {
label = "wb50n:green:led1";
gpios = <&pioA 24 GPIO_ACTIVE_LOW>;
default-state = "off";
};
led2 {
label = "wb50n:red:led2";
gpios = <&pioA 26 GPIO_ACTIVE_LOW>;
default-state = "off";
};
};
};

View File

@ -29,32 +29,27 @@
children {
label = "wn-ag300dgr:green:children";
gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
default-state = "off";
};
eco {
label = "wn-ag300dgr:green:eco";
gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
default-state = "off";
};
notification {
label = "wn-ag300dgr:amber:notification";
gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
default-state = "off";
};
wlan2g {
label = "wn-ag300dgr:green:wlan2g";
gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
default-state = "off";
linux,default-trigger = "phy0tpt";
};
wlan5g {
label = "wn-ag300dgr:green:wlan5g";
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
default-state = "off";
linux,default-trigger = "phy1tpt";
};
};

View File

@ -33,7 +33,6 @@
diag: diag {
label = "buffalo:red:diag";
gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
default-state = "off";
};
};
@ -44,13 +43,11 @@
band2g_a {
label = "buffalo:amber:band2g";
gpios = <&ath9k0 1 GPIO_ACTIVE_LOW>;
default-state = "off";
};
usb {
label = "buffalo:green:usb";
gpios = <&ath9k0 3 GPIO_ACTIVE_LOW>;
default-state = "off";
trigger-sources = <&usb_ochi_port>, <&usb_echi_port>;
linux,default-trigger = "usbport";
};
@ -58,33 +55,28 @@
band2g_g {
label = "buffalo:green:band2g";
gpios = <&ath9k0 5 GPIO_ACTIVE_LOW>;
default-state = "off";
linux,default-trigger = "phy0tpt";
};
band5g_g {
label = "buffalo:green:band5g";
gpios = <&ath9k1 1 GPIO_ACTIVE_LOW>;
default-state = "off";
linux,default-trigger = "phy1tpt";
};
router {
label = "buffalo:green:router";
gpios = <&ath9k1 3 GPIO_ACTIVE_LOW>;
default-state = "off";
};
movie_engine {
label = "buffalo:blue:movie_engine";
gpios = <&ath9k1 4 GPIO_ACTIVE_LOW>;
default-state = "off";
};
band5g_a {
label = "buffalo:amber:band5g";
gpios = <&ath9k1 5 GPIO_ACTIVE_LOW>;
default-state = "off";
};
};

View File

@ -33,7 +33,6 @@
blue_usb {
label = "d-link:blue:usb";
gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
default-state = "off";
trigger-sources = <&usb_ochi_port>, <&usb_echi_port>;
linux,default-trigger = "usbport";
};
@ -47,25 +46,21 @@
blue_power: blue_power {
label = "d-link:blue:power";
gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
default-state = "off";
};
blue_wps {
label = "d-link:blue:wps";
gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
default-state = "off";
};
orange_planet {
label = "d-link:orange:planet";
gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
default-state = "off";
};
blue_planet {
label = "d-link:blue:planet";
gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
default-state = "off";
};
};
@ -75,14 +70,12 @@
wlan2g {
label = "d-link:blue:wlan2g";
gpios = <&ath9k0 5 GPIO_ACTIVE_LOW>;
default-state = "off";
linux,default-trigger = "phy0tpt";
};
wlan5g {
label = "d-link:blue:wlan5g";
gpios = <&ath9k1 5 GPIO_ACTIVE_LOW>;
default-state = "off";
linux,default-trigger = "phy1tpt";
};
};

View File

@ -42,13 +42,11 @@
wps {
label = "netgear:orange:wps";
gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
default-state = "off";
};
power_green: power_green {
label = "netgear:green:power";
gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
default-state = "off";
};
power_orange: power_orange {
@ -60,13 +58,11 @@
wps_green {
label = "netgear:green:wps";
gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
default-state = "off";
};
wan_green {
label = "netgear:green:wan";
gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
default-state = "off";
};
};
@ -75,13 +71,11 @@
wlan2g {
label = "netgear:green:wlan2g";
gpios = <&ath9k0 5 GPIO_ACTIVE_LOW>;
default-state = "off";
linux,default-trigger = "phy0tpt";
};
wlan5g {
label = "netgear:blue:wlan5g";
gpios = <&ath9k1 5 GPIO_ACTIVE_LOW>;
default-state = "off";
linux,default-trigger = "phy1tpt";
};
};

View File

@ -31,7 +31,6 @@
rf: rf_green {
label = "ubnt:green:rf";
gpios = <&gpio 2 GPIO_ACTIVE_HIGH>;
default-state = "off";
};
};

View File

@ -103,7 +103,6 @@
wlan {
label = "whr-g301n:green:wlan";
gpios = <&ath9k 1 GPIO_ACTIVE_LOW>;
default-state = "off";
linux,default-trigger = "phy0tpt";
};
};

View File

@ -51,7 +51,6 @@
wlan: wlan {
label = "netgear:green:wlan";
gpios = <&ath9k 1 GPIO_ACTIVE_LOW>;
default-state = "off";
linux,default-trigger = "phy0tpt";
};
};

View File

@ -79,7 +79,6 @@
wlan {
label = "tp-link:green:wlan";
gpios = <&ath9k 1 GPIO_ACTIVE_LOW>;
default-state = "off";
linux,default-trigger = "phy0tpt";
};
};

View File

@ -13,7 +13,6 @@
wlan {
label = "tp-link:green:wlan";
gpios = <&ath9k 1 GPIO_ACTIVE_LOW>;
default-state = "off";
linux,default-trigger = "phy0tpt";
};
};

View File

@ -13,7 +13,6 @@
wlan {
label = "tp-link:green:wlan";
gpios = <&ath9k 0 GPIO_ACTIVE_LOW>;
default-state = "off";
linux,default-trigger = "phy0tpt";
};
};

View File

@ -19,7 +19,6 @@
led3g {
label = "tp-link:green:3g";
gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
default-state = "off";
trigger-sources = <&hub_port>;
linux,default-trigger = "usbport";
};

View File

@ -13,7 +13,6 @@
wlan {
label = "tp-link:green:wlan";
gpios = <&ath9k 0 GPIO_ACTIVE_LOW>;
default-state = "off";
linux,default-trigger = "phy0tpt";
};
};

View File

@ -43,19 +43,16 @@
sec_vpn: sec_vpn {
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
default-state = "off";
};
diag: diag {
label = "buffalo:red:diag";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
default-state = "off";
};
usb {
label = "buffalo:green:usb";
gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
default-state = "off";
trigger-sources = <&hub_port>;
linux,default-trigger = "usbport";
};

View File

@ -70,7 +70,6 @@
diag: diag {
label = "buffalo:red:diag";
gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
default-state = "off";
};
};
@ -80,7 +79,6 @@
usb {
label = "buffalo:blue:usb";
gpios = <&ath9k 4 GPIO_ACTIVE_LOW>;
default-state = "off";
trigger-sources = <&hub_port>;
linux,default-trigger = "usbport";
};
@ -88,32 +86,27 @@
wireless {
label = "buffalo:green:wireless";
gpios = <&ath9k 5 GPIO_ACTIVE_LOW>;
default-state = "off";
linux,default-trigger = "phy0tpt";
};
security {
label = "buffalo:orange:security";
gpios = <&ath9k 6 GPIO_ACTIVE_LOW>;
default-state = "off";
};
router {
label = "buffalo:green:router";
gpios = <&ath9k 7 GPIO_ACTIVE_LOW>;
default-state = "off";
};
movie_engine_on {
label = "buffalo:blue:movie_engine_on";
gpios = <&ath9k 8 GPIO_ACTIVE_LOW>;
default-state = "off";
};
movie_engine_off {
label = "buffalo:blue:movie_engine_off";
gpios = <&ath9k 9 GPIO_ACTIVE_LOW>;
default-state = "off";
};
};

View File

@ -16,19 +16,16 @@
led_movie_engine {
label = "buffalo:blue:movie_engine";
gpios = <&ath9k 13 GPIO_ACTIVE_LOW>;
default-state = "off";
};
router {
label = "buffalo:green:router";
gpios = <&ath9k 14 GPIO_ACTIVE_LOW>;
default-state = "off";
};
wireless {
label = "buffalo:green:wireless";
gpios = <&ath9k 15 GPIO_ACTIVE_LOW>;
default-state = "off";
linux,default-trigger = "phy0tpt";
};
};

View File

@ -52,13 +52,11 @@
system: wps {
label = "tplink:green:wps";
gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
default-state = "off";
};
usb {
label = "tplink:green:usb";
gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
default-state = "off";
trigger-sources = <&hub_port>;
linux,default-trigger = "usbport";
};
@ -70,14 +68,12 @@
wlan2g {
label = "tplink:green:wlan2g";
gpios = <&ath9k 0 GPIO_ACTIVE_LOW>;
default-state = "off";
linux,default-trigger = "phy0tpt";
};
wlan5g {
label = "tplink:green:wlan5g";
gpios = <&ath9k 1 GPIO_ACTIVE_LOW>;
default-state = "off";
linux,default-trigger = "phy0tpt";
};
};

View File

@ -52,13 +52,11 @@
qss {
label = "tp-link:green:qss";
gpios = <&gpio 4 GPIO_ACTIVE_HIGH>;
default-state = "off";
};
wlan {
label = "tp-link:green:wlan";
gpios = <&gpio 9 GPIO_ACTIVE_LOW>;
default-state = "off";
linux,default-trigger = "phy0tpt";
};
};

View File

@ -46,7 +46,6 @@
usb {
label = "tp-link:green:usb";
gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
default-state = "off";
trigger-sources = <&hub_port>;
linux,default-trigger = "usbport";
};
@ -65,7 +64,6 @@
wlan {
label = "tp-link:green:wlan";
gpios = <&gpio 9 GPIO_ACTIVE_LOW>;
default-state = "off";
linux,default-trigger = "phy0tpt";
};
};

View File

@ -56,7 +56,6 @@
wlan {
label = "tp-link:green:wlan";
gpios = <&gpio 9 GPIO_ACTIVE_LOW>;
default-state = "off";
linux,default-trigger = "phy0tpt";
};
};

View File

@ -23,20 +23,17 @@
wlan: wlan {
label = "gl-ar150:orange:wlan";
gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
default-state = "off";
linux,default-trigger = "phy0tpt";
};
lan {
label = "gl-ar150:green:lan";
gpios = <&gpio 13 GPIO_ACTIVE_HIGH>;
default-state = "off";
};
wan {
label = "gl-ar150:green:wan";
gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;
default-state = "off";
};
};

View File

@ -23,14 +23,12 @@
wlan: wlan {
label = "air-pen:blue:wlan";
gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
default-state = "off";
linux,default-trigger = "phy0tpt";
};
wps {
label = "air-pen:blue:wps";
gpios = <&gpio 23 GPIO_ACTIVE_HIGH>;
default-state = "off";
};
};

View File

@ -20,7 +20,6 @@
system {
label = "dpt-module:green:system";
gpios = <&gpio 27 GPIO_ACTIVE_LOW>;
default-state = "off";
};
};

View File

@ -20,25 +20,21 @@
wlan {
label = "dragino2:red:wlan";
gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
default-state = "off";
};
lan {
label = "dragino2:red:lan";
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
default-state = "off";
};
wan {
label = "dragino2:red:wan";
gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
default-state = "off";
};
system {
label = "dragino2:red:system";
gpios = <&gpio 28 GPIO_ACTIVE_HIGH>;
default-state = "off";
};
};

View File

@ -24,7 +24,6 @@
status: status {
label = "dorin:green:status";
gpios = <&gpio 21 GPIO_ACTIVE_LOW>;
default-state = "off";
};
};

View File

@ -30,25 +30,21 @@
modbus {
label = "eg200:red:modbus";
gpios = <&gpio 16 GPIO_ACTIVE_HIGH>;
default-state = "off";
};
etactica {
label = "eg200:red:etactica";
gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;
default-state = "off";
};
eth0 {
label = "eg200:red:eth0";
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
default-state = "off";
};
wlan {
label = "eg200:red:wlan";
gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
default-state = "off";
linux,default-trigger = "phy0tpt";
};
};

View File

@ -20,7 +20,6 @@
system {
label = "onion:amber:system";
gpios = <&gpio 27 GPIO_ACTIVE_LOW>;
default-state = "off";
};
};

View File

@ -24,26 +24,22 @@
wlan {
label = "tp-link:green:wlan";
gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
default-state = "off";
linux,default-trigger = "phy0tpt";
};
lan {
label = "tp-link:green:lan";
gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
default-state = "off";
};
system: wps {
label = "tp-link:green:wps";
gpios = <&gpio 26 GPIO_ACTIVE_LOW>;
default-state = "off";
};
led3g {
label = "tp-link:green:3g";
gpios = <&gpio 27 GPIO_ACTIVE_LOW>;
default-state = "off";
trigger-sources = <&hub_port>;
linux,default-trigger = "usbport";
};

View File

@ -21,20 +21,17 @@
wlan {
label = "tp-link:green:wlan";
gpios = <&gpio 26 GPIO_ACTIVE_LOW>;
default-state = "off";
linux,default-trigger = "phy0tpt";
};
led_lan: lan {
label = "tp-link:green:lan";
gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
default-state = "off";
};
led3g {
label = "tp-link:green:3g";
gpios = <&gpio 27 GPIO_ACTIVE_LOW>;
default-state = "off";
trigger-sources = <&hub_port>;
linux,default-trigger = "usbport";
};

View File

@ -80,7 +80,6 @@
wlan {
label = "tp-link:green:wlan";
gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
default-state = "off";
linux,default-trigger = "phy0tpt";
};
};

View File

@ -52,38 +52,32 @@
wlan2g {
label = "pcs:blue:wlan";
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
default-state = "off";
linux,default-trigger = "phy0tpt";
};
wan {
label = "pcs:blue:wan";
gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
default-state = "off";
};
lan1 {
label = "pcs:blue:lan1";
gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
default-state = "off";
};
lan2 {
label = "pcs:blue:lan2";
gpios = <&gpio 20 GPIO_ACTIVE_LOW>;
default-state = "off";
};
lan3 {
label = "pcs:blue:lan3";
gpios = <&gpio 21 GPIO_ACTIVE_LOW>;
default-state = "off";
};
lan4 {
label = "pcs:blue:lan4";
gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
default-state = "off";
};
};
};

View File

@ -52,50 +52,42 @@
wlan {
label = "tp-link:green:wlan";
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
default-state = "off";
linux,default-trigger = "phy0tpt";
};
qss {
label = "tp-link:green:qss";
gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
default-state = "off";
};
wan {
label = "tp-link:green:wan";
gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
default-state = "off";
};
lan1 {
label = "tp-link:green:lan1";
gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
default-state = "off";
};
lan2 {
label = "tp-link:green:lan2";
gpios = <&gpio 20 GPIO_ACTIVE_LOW>;
default-state = "off";
};
lan3 {
label = "tp-link:green:lan3";
gpios = <&gpio 21 GPIO_ACTIVE_LOW>;
default-state = "off";
};
lan4 {
label = "tp-link:green:lan4";
gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
default-state = "off";
};
usb {
label = "tp-link:green:usb";
gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
default-state = "off";
trigger-sources = <&hub_port>;
linux,default-trigger = "usbport";
};

View File

@ -29,7 +29,6 @@
notification {
label = "etg3-r:green:notification";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
default-state = "off";
};
};

View File

@ -33,7 +33,6 @@
wlan2g {
label = "raccoon:yellow:wlan24";
gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
default-state = "off";
linux,default-trigger = "phy0tpt";
};
@ -49,7 +48,6 @@
wlan5g {
label = "raccoon:red:wlan5";
gpios = <&ath9k 0 GPIO_ACTIVE_LOW>;
default-state = "off";
linux,default-trigger = "phy1tpt";
};
};

View File

@ -39,7 +39,6 @@
status: power_amber {
label = "pcs:amber:power";
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
default-state = "off";
};
running: power_green {
@ -51,27 +50,23 @@
wlan_amber {
label = "pcs:amber:wlan";
gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
default-state = "off";
linux,default-trigger = "phy1tpt";
};
wlan_green {
label = "pcs:green:wlan";
gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
default-state = "off";
linux,default-trigger = "phy0tpt";
};
lan_amber {
label = "pcs:lan:amber";
gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
default-state = "off";
};
lan_green {
label = "pcs:lan:green";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
default-state = "off";
};
};
};

View File

@ -53,14 +53,12 @@
wlan2g {
label = "pcs:blue:wlan";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
default-state = "off";
linux,default-trigger = "phy0tpt";
};
wps_white {
label = "pcs:white:wps";
gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
default-state = "off";
};
};
};

View File

@ -19,7 +19,6 @@
usb1 {
label = "tp-link:green:usb1";
gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
default-state = "off";
trigger-sources = <&hub_port1>;
linux,default-trigger = "usbport";
};
@ -27,7 +26,6 @@
usb2 {
label = "tp-link:green:usb2";
gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
default-state = "off";
trigger-sources = <&hub_port2>;
linux,default-trigger = "usbport";
};
@ -35,7 +33,6 @@
wlan2g {
label = "tp-link:green:wlan2g";
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
default-state = "off";
linux,default-trigger = "phy0tpt";
};
@ -48,7 +45,6 @@
qss {
label = "tp-link:green:qss";
gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
default-state = "off";
};
};
@ -58,7 +54,6 @@
wlan5g {
label = "tp-link:green:wlan5g";
gpios = <&ath9k 0 GPIO_ACTIVE_LOW>;
default-state = "off";
linux,default-trigger = "phy1tpt";
};
};

View File

@ -41,14 +41,12 @@
wlan2g {
label = "wb2000:green:2g";
gpios = <&gpio 20 GPIO_ACTIVE_HIGH>;
default-state = "off";
linux,default-trigger = "phy0tpt";
};
usb {
label = "wb2000:green:usb";
gpios = <&gpio 21 GPIO_ACTIVE_HIGH>;
default-state = "off";
trigger-sources = <&hub_port1>, <&hub_port2>;
linux,default-trigger = "usbport";
};
@ -77,7 +75,6 @@
wlan {
label = "wb2000:green:5g";
gpios = <&ath9k 6 GPIO_ACTIVE_LOW>;
default-state = "off";
linux,default-trigger = "phy1tpt";
};
};

View File

@ -48,13 +48,11 @@
wan {
label = "gl-x750:green:wan";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
default-state = "off";
};
4g {
label = "gl-x750:green:4g";
gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
default-state = "off";
};
};
};

View File

@ -22,12 +22,10 @@
system_led: system {
label = "tp-link:green:system";
gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
default-state = "off";
};
wan_orange {
label = "tp-link:orange:wan";
gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
default-state = "off";
};
};

View File

@ -17,44 +17,37 @@
wifi {
label = "tp-link:green:wlan";
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
default-state = "off";
linux,default-trigger = "phy0tpt";
};
qss_led: qss {
label = "tp-link:green:qss";
gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
default-state = "off";
};
wan {
label = "tp-link:green:wan";
gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
default-state = "off";
};
lan1 {
label = "tp-link:green:lan1";
gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
default-state = "off";
};
lan2 {
label = "tp-link:green:lan2";
gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
default-state = "off";
};
lan3 {
label = "tp-link:green:lan3";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
default-state = "off";
};
lan4 {
label = "tp-link:green:lan4";
gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
default-state = "off";
};
};

View File

@ -33,19 +33,16 @@
diag {
label = "bhr-4grv2:orange:diag";
gpios = <&gpio 20 GPIO_ACTIVE_LOW>;
default-state = "off";
};
vpn_orange {
label = "bhr-4grv2:orange:vpn";
gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
default-state = "off";
};
vpn_green {
label = "bhr-4grv2:green:vpn";
gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
default-state = "off";
};
};

View File

@ -30,33 +30,28 @@
copy {
label = "iodata:green:copy";
gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
default-state = "off";
};
eco {
label = "iodata:green:eco";
gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
default-state = "off";
};
wlan5g {
label = "iodata:green:wlan5g";
gpios = <&gpio 21 GPIO_ACTIVE_LOW>;
default-state = "off";
linux,default-trigger = "phy0tpt";
};
wlan2g {
label = "iodata:green:wlan2g";
gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
default-state = "off";
linux,default-trigger = "phy1tpt";
};
notification {
label = "iodata:amber:notification";
gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
default-state = "off";
};
};

View File

@ -34,20 +34,17 @@
label = "koala:yellow:wlan2";
gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy1tpt";
default-state = "off";
};
wifi5 {
label = "koala:red:wlan58";
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
default-state = "off";
};
system: system {
label = "koala:blue:sys";
gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
default-state = "off";
};
};

View File

@ -23,25 +23,21 @@
power {
label = "om5pac:blue:power";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
default-state = "off";
};
wifi_green {
label = "om5pac:green:wifi";
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
default-state = "off";
};
wifi_yellow {
label = "om5pac:yellow:wifi";
gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
default-state = "off";
};
wifi_red {
label = "om5pac:red:wifi";
gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
default-state = "off";
};
};

View File

@ -24,7 +24,6 @@
wlan5g {
label = "tp-link:green:wlan5g";
gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
default-state = "off";
linux,default-trigger = "phy0tpt";
};
};

View File

@ -24,7 +24,6 @@
wlan5g {
label = "tp-link:green:wlan5g";
gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
default-state = "off";
linux,default-trigger = "phy0tpt";
};
};

View File

@ -30,7 +30,6 @@
usb1 {
label = "tp-link:green:usb1";
gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
default-state = "off";
trigger-sources = <&hub_port1>;
linux,default-trigger = "usbport";
};
@ -38,7 +37,6 @@
usb2 {
label = "tp-link:green:usb2";
gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
default-state = "off";
trigger-sources = <&hub_port0>;
linux,default-trigger = "usbport";
};
@ -46,14 +44,12 @@
led_wlan2g: wlan2g {
label = "tp-link:green:wlan2g";
gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
default-state = "off";
linux,default-trigger = "phy1tpt";
};
qss {
label = "tp-link:green:qss";
gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
default-state = "off";
};
};

View File

@ -33,7 +33,6 @@
usb1 {
label = "tp-link:green:usb1";
gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
default-state = "off";
trigger-sources = <&hub_port1>;
linux,default-trigger = "usbport";
};
@ -41,7 +40,6 @@
usb2 {
label = "tp-link:green:usb2";
gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
default-state = "off";
trigger-sources = <&hub_port0>;
linux,default-trigger = "usbport";
};
@ -49,14 +47,12 @@
wlan2g {
label = "tp-link:blue:wlan2g";
gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
default-state = "off";
linux,default-trigger = "phy0tpt";
};
qss {
label = "tp-link:blue:qss";
gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
default-state = "off";
};
};
@ -66,7 +62,6 @@
wlan5g {
label = "tp-link:blue:wlan5g";
gpios = <&ath9k 0 GPIO_ACTIVE_LOW>;
default-state = "off";
linux,default-trigger = "phy1tpt";
};
};

View File

@ -30,7 +30,6 @@
usb {
label = "tp-link:green:usb";
gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
default-state = "off";
trigger-sources = <&hub_port0>;
linux,default-trigger = "usbport";
};
@ -38,14 +37,12 @@
wifi_green {
label = "tp-link:green:wlan";
gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
default-state = "off";
linux,default-trigger = "phy0tpt";
};
wifi_wps {
label = "tp-link:green:wps";
gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
default-state = "off";
};
};

View File

@ -61,31 +61,26 @@
label = "fritz4020:green:wlan";
gpios = <&led_gpio 3 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
default-state = "off";
};
lan {
label = "fritz4020:green:lan";
gpios = <&led_gpio 0 GPIO_ACTIVE_LOW>;
default-state = "off";
};
wan {
label = "fritz4020:green:wan";
gpios = <&led_gpio 4 GPIO_ACTIVE_LOW>;
default-state = "off";
};
info {
label = "fritz4020:green:info";
gpios = <&led_gpio 6 GPIO_ACTIVE_LOW>;
default-state = "off";
};
info_red: info_red {
label = "fritz4020:red:info";
gpios = <&led_gpio 1 GPIO_ACTIVE_LOW>;
default-state = "off";
};
};

View File

@ -30,38 +30,32 @@
label = "tp-link:green:wlan2g";
gpios = <&led_gpio 1 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy1tpt";
default-state = "off";
};
wlan5g {
label = "tp-link:green:wlan5g";
gpios = <&led_gpio 2 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
default-state = "off";
};
wan_green {
label = "tp-link:green:wan";
gpios = <&led_gpio 4 GPIO_ACTIVE_LOW>;
default-state = "off";
};
wan_amber {
label = "tp-link:amber:wan";
gpios = <&led_gpio 5 GPIO_ACTIVE_LOW>;
default-state = "off";
};
lan {
label = "tp-link:green:lan";
gpios = <&led_gpio 3 GPIO_ACTIVE_LOW>;
default-state = "off";
};
wps {
label = "tp-link:green:wps";
gpios = <&led_gpio 6 GPIO_ACTIVE_LOW>;
default-state = "off";
};
};
};

View File

@ -30,44 +30,37 @@
label = "tp-link:green:wlan2g";
gpios = <&led_gpio 1 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy1tpt";
default-state = "off";
};
wlan5g {
label = "tp-link:green:wlan5g";
gpios = <&led_gpio 2 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
default-state = "off";
};
wan_green {
label = "tp-link:green:wan";
gpios = <&led_gpio 4 GPIO_ACTIVE_LOW>;
default-state = "off";
};
wan_amber {
label = "tp-link:amber:wan";
gpios = <&led_gpio 5 GPIO_ACTIVE_LOW>;
default-state = "off";
};
lan {
label = "tp-link:green:lan";
gpios = <&led_gpio 3 GPIO_ACTIVE_LOW>;
default-state = "off";
};
wps {
label = "tp-link:green:wps";
gpios = <&led_gpio 6 GPIO_ACTIVE_LOW>;
default-state = "off";
};
usb {
label = "tp-link:green:usb";
gpios = <&led_gpio 7 GPIO_ACTIVE_LOW>;
default-state = "off";
linux,default-trigger = "usbport";
trigger-sources = <&hub_port>;
};

View File

@ -33,14 +33,12 @@
wlan2g {
label = "wrc-300ghbk2-i:white:wlan2g";
gpios = <&gpio 7 GPIO_ACTIVE_HIGH>;
default-state = "off";
linux,default-trigger = "phy0tpt";
};
wps {
label = "wrc-300ghbk2-i:red:wps";
gpios = <&gpio 9 GPIO_ACTIVE_HIGH>;
default-state = "off";
};
};

View File

@ -27,19 +27,16 @@
status_blue {
label = "phicomm:blue:status";
gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
default-state = "off";
};
status_red: status_red {
label = "phicomm:red:status";
gpios = <&gpio 7 GPIO_ACTIVE_HIGH>;
default-state = "off";
};
status_yellow {
label = "phicomm:yellow:status";
gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
default-state = "off";
};
};

View File

@ -33,39 +33,33 @@
wlan2g {
label = "tp-link:blue:wlan2g";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
default-state = "off";
linux,default-trigger = "phy1tpt";
};
wlan5g {
label = "tp-link:blue:wlan5g";
gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
default-state = "off";
linux,default-trigger = "phy0tpt";
};
lan_link {
label = "tp-link:green:lan_link";
gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
default-state = "off";
};
lan_data {
label = "tp-link:green:lan_data";
gpios = <&gpio 9 GPIO_ACTIVE_LOW>;
default-state = "off";
};
wps_blue {
label = "tp-link:blue:wps";
gpios = <&gpio 17 GPIO_ACTIVE_HIGH>;
default-state = "off";
};
wps_red {
label = "tp-link:red:wps";
gpios = <&gpio 20 GPIO_ACTIVE_HIGH>;
default-state = "off";
};
};

View File

@ -30,50 +30,42 @@
wifi_green {
label = "tp-link:green:wlan";
gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
default-state = "off";
linux,default-trigger = "phy0tpt";
};
wifi_wps {
label = "tp-link:green:wps";
gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
default-state = "off";
};
wan {
label = "tp-link:green:wan";
gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
default-state = "off";
};
wan_fail {
label = "tp-link:orange:wan";
gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
default-state = "off";
};
lan1 {
label = "tp-link:green:lan1";
gpios = <&gpio 9 GPIO_ACTIVE_LOW>;
default-state = "off";
};
lan2 {
label = "tp-link:green:lan2";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
default-state = "off";
};
lan3 {
label = "tp-link:green:lan3";
gpios = <&gpio 21 GPIO_ACTIVE_LOW>;
default-state = "off";
};
lan4 {
label = "tp-link:green:lan4";
gpios = <&gpio 20 GPIO_ACTIVE_LOW>;
default-state = "off";
};
};

View File

@ -15,7 +15,6 @@
usb {
label = "tp-link:green:usb";
gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
default-state = "off";
trigger-sources = <&hub_port0>;
linux,default-trigger = "usbport";
};

View File

@ -16,14 +16,12 @@
wifi_ac {
label = "ubnt:white:dome";
gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
default-state = "off";
linux,default-trigger = "phy0tpt";
};
wifi_n {
label = "ubnt:blue:dome";
gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
default-state = "off";
linux,default-trigger = "phy1tpt";
};

View File

@ -110,13 +110,11 @@
status: rss4 {
label = "wpj428:green:rss4";
gpios = <&tlmm 5 GPIO_ACTIVE_HIGH>;
default-state = "off";
};
rss3 {
label = "wpj428:green:rss3";
gpios = <&tlmm 4 GPIO_ACTIVE_HIGH>;
default-state = "off";
};
};

View File

@ -42,63 +42,51 @@
GPON {
label = "easy88388:green:gpon";
gpios = <&gpio0 11 GPIO_ACTIVE_HIGH>;
default-state = "off";
};
TEST {
label = "easy88388:green:test";
gpios = <&gpio0 14 GPIO_ACTIVE_HIGH>;
default-state = "off";
};
STATUS {
label = "easy88388:green:status";
gpios = <&gpio1 5 GPIO_ACTIVE_HIGH>;
default-state = "off";
};
ERROR {
label = "easy88388:red:error";
gpios = <&gpio1 6 GPIO_ACTIVE_HIGH>;
default-state = "off";
};
DSL1 {
label = "easy88388:dsl:1";
gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
default-state = "off";
};
DSL2 {
label = "easy88388:dsl:2";
gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>;
default-state = "off";
};
DSL3 {
label = "easy88388:dsl:3";
gpios = <&gpio1 2 GPIO_ACTIVE_HIGH>;
default-state = "off";
};
DSL4 {
label = "easy88388:dsl:4";
gpios = <&gpio1 3 GPIO_ACTIVE_HIGH>;
default-state = "off";
};
DSL5 {
label = "easy88388:dsl:5";
gpios = <&gpio1 4 GPIO_ACTIVE_HIGH>;
default-state = "off";
};
DSL6 {
label = "easy88388:dsl:6";
gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>;
default-state = "off";
};
DSL7 {
label = "easy88388:dsl:7";
gpios = <&gpio1 8 GPIO_ACTIVE_HIGH>;
default-state = "off";
};
DSL8 {
label = "easy88388:dsl:8";
gpios = <&gpio1 9 GPIO_ACTIVE_HIGH>;
default-state = "off";
};
};
};

View File

@ -41,38 +41,31 @@
GPON {
label = "easy88444:green:gpon";
gpios = <&gpio0 11 GPIO_ACTIVE_HIGH>;
default-state = "off";
};
TEST {
label = "easy88444:green:test";
gpios = <&gpio0 14 GPIO_ACTIVE_HIGH>;
default-state = "off";
};
STATUS {
label = "easy88444:green:status";
gpios = <&gpio1 5 GPIO_ACTIVE_HIGH>;
default-state = "off";
};
GFAST1 {
label = "easy88444:gfast:1";
gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
default-state = "off";
};
GFAST2 {
label = "easy88444:gfast:2";
gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>;
default-state = "off";
};
GFAST3 {
label = "easy88444:gfast:3";
gpios = <&gpio1 2 GPIO_ACTIVE_HIGH>;
default-state = "off";
};
GFAST4 {
label = "easy88444:gfast:4";
gpios = <&gpio1 3 GPIO_ACTIVE_HIGH>;
default-state = "off";
};
};
};

View File

@ -74,22 +74,18 @@
GE0_ACT {
label = "easy98020:ge0_act";
gpios = <&gpio1 10 GPIO_ACTIVE_HIGH>;
default-state = "off";
};
GE0_LINK {
label = "easy98020:ge0_link";
gpios = <&gpio1 9 GPIO_ACTIVE_HIGH>;
default-state = "off";
};
GE1_ACT {
label = "easy98020:ge1_act";
gpios = <&gpio1 6 GPIO_ACTIVE_HIGH>;
default-state = "off";
};
GE1_LINK {
label = "easy98020:ge1_link";
gpios = <&gpio1 5 GPIO_ACTIVE_HIGH>;
default-state = "off";
};
};
};

View File

@ -45,7 +45,6 @@
status {
label = "dch-m225:red:status";
gpios = <&gpio1 0 GPIO_ACTIVE_LOW>;
default-state = "off";
};
};

View File

@ -76,7 +76,6 @@
status {
label = "dir-615-d:amber:status";
gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
default-state = "off";
};
led_status_green: status2 {

View File

@ -22,7 +22,6 @@
status {
label = "dir-615-h1:amber:status";
gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>;
default-state = "off";
};
led_status_green: status2 {

View File

@ -34,7 +34,6 @@
power_a {
label = "ex3700:amber:power";
gpios = <&gpio2 28 GPIO_ACTIVE_LOW>;
default-state = "off";
};
router_g {

View File

@ -32,13 +32,11 @@
yellow {
label = "miwifi-mini:yellow:status";
gpios = <&gpio1 2 GPIO_ACTIVE_LOW>;
default-state = "off";
};
red {
label = "miwifi-mini:red:status";
gpios = <&gpio1 5 GPIO_ACTIVE_LOW>;
default-state = "off";
};
};

View File

@ -31,13 +31,11 @@
status-red {
label = "newifi-d1:red:status";
gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
default-state = "off";
};
status-green {
label = "newifi-d1:green:status";
gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
default-state = "off";
};
led_blue: status-blue {

View File

@ -37,7 +37,6 @@
gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
trigger-sources = <&ohci_port1>, <&ehci_port1>;
linux,default-trigger = "usbport";
default-state = "off";
};
led_power: power {

View File

@ -24,13 +24,11 @@
yellow {
label = "psg1218a:yellow:status";
gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
default-state = "off";
};
red {
label = "psg1218a:red:status";
gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>;
default-state = "off";
};
};
};

View File

@ -24,13 +24,11 @@
yellow {
label = "psg1218b:yellow:status";
gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
default-state = "off";
};
red {
label = "psg1218b:red:status";
gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>;
default-state = "off";
};
};
};