--- /dev/null
+. /lib/functions.sh
+. /lib/functions/migrations.sh
+
+remove_devicename_leds "rt2800soc-phy0" "rt2800pci-phy0"
+
+migrations_apply system
+
+exit 0
compatible = "gpio-leds";
wan {
- label = "ai-br100:blue:wan";
+ label = "blue:wan";
gpios = <&gpio2 4 GPIO_ACTIVE_LOW>;
};
led_wlan: wlan {
- label = "ai-br100:blue:wlan";
+ label = "blue:wlan";
gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
wlan2g {
- label = "ac1200rm:green:wlan2g";
+ label = "green:wlan2g";
gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
};
led_wps: wps {
- label = "ac1200rm:green:wps";
+ label = "green:wps";
gpios = <&gpio1 14 GPIO_ACTIVE_HIGH>;
};
};
compatible = "gpio-leds";
4g {
- label = "r36m-e4g:orange:4g";
+ label = "orange:4g";
gpios = <&gpio1 3 GPIO_ACTIVE_LOW>;
};
lan {
- label = "r36m-e4g:green:lan";
+ label = "green:lan";
gpios = <&gpio2 3 GPIO_ACTIVE_LOW>;
};
led_system: system {
- label = "r36m-e4g:green:system";
+ label = "green:system";
gpios = <&gpio2 0 GPIO_ACTIVE_LOW>;
default-state = "keep";
};
sim1 {
- label = "r36m-e4g:green:sim1";
+ label = "green:sim1";
gpios = <&gpio1 5 GPIO_ACTIVE_LOW>;
default-state = "keep";
};
sim2 {
- label = "r36m-e4g:green:sim2";
+ label = "green:sim2";
gpios = <&gpio2 2 GPIO_ACTIVE_LOW>;
default-state = "keep";
};
wan {
- label = "r36m-e4g:green:wan";
+ label = "green:wan";
gpios = <&gpio2 4 GPIO_ACTIVE_LOW>;
};
wlan {
- label = "r36m-e4g:orange:wlan";
+ label = "orange:wlan";
gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0radio";
};
compatible = "gpio-leds";
4g {
- label = "tube-e4g:green:4g";
+ label = "green:4g";
gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
};
lan {
- label = "tube-e4g:blue:lan";
+ label = "blue:lan";
gpios = <&gpio2 4 GPIO_ACTIVE_LOW>;
};
power: power {
- label = "tube-e4g:green:power";
+ label = "green:power";
gpios = <&gpio2 0 GPIO_ACTIVE_LOW>;
default-state = "keep";
};
sim1 {
- label = "tube-e4g:green:sim1";
+ label = "green:sim1";
gpios = <&gpio2 3 GPIO_ACTIVE_LOW>;
default-state = "keep";
};
sim2 {
- label = "tube-e4g:green:sim2";
+ label = "green:sim2";
gpios = <&gpio2 2 GPIO_ACTIVE_LOW>;
default-state = "keep";
};
compatible = "gpio-leds";
backlight {
- label = "rp-n53:white:back";
+ label = "white:back";
gpios = <&gpio1 4 GPIO_ACTIVE_LOW>;
};
wifi0 {
- label = "rp-n53:blue:5g3";
+ label = "blue:5g3";
gpios = <&gpio1 5 GPIO_ACTIVE_LOW>;
};
wifi1 {
- label = "rp-n53:blue:5g2";
+ label = "blue:5g2";
gpios = <&gpio1 6 GPIO_ACTIVE_LOW>;
};
wifi2 {
- label = "rp-n53:blue:5g1";
+ label = "blue:5g1";
gpios = <&gpio1 7 GPIO_ACTIVE_LOW>;
};
wifi3 {
- label = "rp-n53:blue:wifi";
+ label = "blue:wifi";
gpios = <&gpio1 8 GPIO_ACTIVE_LOW>;
};
wifi4 {
- label = "rp-n53:blue:2g1";
+ label = "blue:2g1";
gpios = <&gpio1 9 GPIO_ACTIVE_LOW>;
};
wifi5 {
- label = "rp-n53:blue:2g2";
+ label = "blue:2g2";
gpios = <&gpio1 10 GPIO_ACTIVE_LOW>;
};
wifi6 {
- label = "rp-n53:blue:2g3";
+ label = "blue:2g3";
gpios = <&gpio1 11 GPIO_ACTIVE_LOW>;
};
};
/ {
compatible = "asus,rt-ac51u", "ralink,mt7620a-soc";
model = "Asus RT-AC51U";
-
- aliases {
- led-boot = &led_power;
- led-failsafe = &led_power;
- led-running = &led_power;
- led-upgrade = &led_power;
- };
-
- leds {
- compatible = "gpio-leds";
-
- led_power: power {
- label = "rt-ac51u:blue:power";
- gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
- };
-
- usb {
- label = "rt-ac51u:blue:usb";
- gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
- trigger-sources = <&ohci_port1>, <&ehci_port1>;
- linux,default-trigger = "usbport";
- };
-
- wifi2g {
- label = "rt-ac51u:blue:wifi2g";
- gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "phy1tpt";
- };
- };
-};
-
-&state_default {
- gpio {
- groups = "i2c", "wled", "uartf";
- function = "gpio";
- };
};
&pcie0 {
/ {
compatible = "asus,rt-ac54u", "ralink,mt7620a-soc";
model = "Asus RT-AC54U";
-
- aliases {
- led-boot = &led_power;
- led-failsafe = &led_power;
- led-running = &led_power;
- led-upgrade = &led_power;
- };
-
- leds {
- compatible = "gpio-leds";
-
- led_power: power {
- label = "rt-ac54u:blue:power";
- gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
- };
-
- usb {
- label = "rt-ac54u:blue:usb";
- gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
- trigger-sources = <&ohci_port1>, <&ehci_port1>;
- linux,default-trigger = "usbport";
- };
-
- wifi2g {
- label = "rt-ac54u:blue:wifi2g";
- gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "phy1tpt";
- };
- };
-};
-
-&state_default {
- gpio {
- groups = "i2c", "wled", "uartf";
- function = "gpio";
- };
};
&pcie0 {
/ {
aliases {
label-mac-device = ðernet;
+ led-boot = &led_power;
+ led-failsafe = &led_power;
+ led-running = &led_power;
+ led-upgrade = &led_power;
};
keys {
linux,code = <KEY_WPS_BUTTON>;
};
};
+
+ leds {
+ compatible = "gpio-leds";
+
+ led_power: power {
+ label = "blue:power";
+ gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
+ };
+
+ usb {
+ label = "blue:usb";
+ gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
+ trigger-sources = <&ohci_port1>, <&ehci_port1>;
+ linux,default-trigger = "usbport";
+ };
+
+ wifi2g {
+ label = "blue:wifi2g";
+ gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
+ linux,default-trigger = "phy1tpt";
+ };
+ };
};
&spi0 {
status = "okay";
};
+&state_default {
+ gpio {
+ groups = "i2c", "wled", "uartf";
+ function = "gpio";
+ };
+};
+
ðernet {
mtd-mac-address = <&factory 0x28>;
compatible = "gpio-leds";
usb {
- label = "wap2100-sk:green:usb";
+ label = "green:usb";
gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
trigger-sources = <&ohci_port1>, <&ehci_port1>;
linux,default-trigger = "usbport";
};
led_power: wps {
- label = "wap2100-sk:green:wps";
+ label = "green:wps";
gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
};
wlan2g {
- label = "wap2100-sk:green:wlan2g";
+ label = "green:wlan2g";
gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
power {
- label = "whr-1166d:red:power";
+ label = "red:power";
gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
};
wifi {
- label = "whr-1166d:green:wifi";
+ label = "green:wifi";
gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
};
led_power_green: power2 {
- label = "whr-1166d:green:power";
+ label = "green:power";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};
wifi2 {
- label = "whr-1166d:orange:wifi";
+ label = "orange:wifi";
gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
};
internet {
- label = "whr-1166d:green:internet";
+ label = "green:internet";
gpios = <&gpio2 17 GPIO_ACTIVE_LOW>;
};
router {
- label = "whr-1166d:orange:router";
+ label = "orange:router";
gpios = <&gpio2 18 GPIO_ACTIVE_LOW>;
};
router2 {
- label = "whr-1166d:green:router";
+ label = "green:router";
gpios = <&gpio2 19 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
power {
- label = "whr-300hp2:red:power";
+ label = "red:power";
gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
};
wifi {
- label = "whr-300hp2:green:wifi";
+ label = "green:wifi";
gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
};
led_power_green: power2 {
- label = "whr-300hp2:green:power";
+ label = "green:power";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};
wifi2 {
- label = "whr-300hp2:orange:wifi";
+ label = "orange:wifi";
gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
};
internet {
- label = "whr-300hp2:green:internet";
+ label = "green:internet";
gpios = <&gpio2 17 GPIO_ACTIVE_LOW>;
};
router {
- label = "whr-300hp2:green:router";
+ label = "green:router";
gpios = <&gpio2 18 GPIO_ACTIVE_LOW>;
};
router2 {
- label = "whr-300hp2:orange:router";
+ label = "orange:router";
gpios = <&gpio2 19 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
power {
- label = "whr-600d:red:power";
+ label = "red:power";
gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
};
wifi {
- label = "whr-600d:green:wifi";
+ label = "green:wifi";
gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
};
led_power_green: power2 {
- label = "whr-600d:green:power";
+ label = "green:power";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};
wifi2 {
- label = "whr-600d:orange:wifi";
+ label = "orange:wifi";
gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
};
internet {
- label = "whr-600d:green:internet";
+ label = "green:internet";
gpios = <&gpio2 17 GPIO_ACTIVE_LOW>;
};
router {
- label = "whr-600d:green:router";
+ label = "green:router";
gpios = <&gpio2 18 GPIO_ACTIVE_LOW>;
};
router2 {
- label = "whr-600d:orange:router";
+ label = "orange:router";
gpios = <&gpio2 19 GPIO_ACTIVE_LOW>;
};
};
#include <dt-bindings/input/input.h>
/ {
+ aliases {
+ label-mac-device = ðernet;
+ led-boot = &led_power_green;
+ led-failsafe = &led_power_green;
+ led-running = &led_power_green;
+ led-upgrade = &led_power_green;
+ };
+
keys {
compatible = "gpio-keys";
linux,code = <KEY_WPS_BUTTON>;
};
};
+
+ leds {
+ compatible = "gpio-leds";
+
+ led_power_green: power_green {
+ label = "green:power";
+ gpios = <&gpio0 9 GPIO_ACTIVE_HIGH>;
+ };
+
+ wan_orange {
+ label = "orange:wan";
+ gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
+ };
+
+ wan_green {
+ label = "green:wan";
+ gpios = <&gpio2 0 GPIO_ACTIVE_LOW>;
+ };
+
+ power_orange {
+ label = "orange:power";
+ gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>;
+ };
+ };
};
&spi0 {
};
};
+&state_default {
+ gpio {
+ groups = "i2c", "uartf", "ephy";
+ function = "gpio";
+ };
+};
+
ðernet {
mtd-mac-address = <&factory 0x28>;
compatible = "gpio-leds";
led_power: power {
- label = "dch-m225:green:power";
+ label = "green:power";
gpios = <&gpio1 5 GPIO_ACTIVE_LOW>;
default-state = "on";
};
status {
- label = "dch-m225:red:status";
+ label = "red:status";
gpios = <&gpio1 0 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_status: status {
- label = "dir-510l:green:status";
+ label = "green:status";
gpios = <&gpio0 14 GPIO_ACTIVE_HIGH>;
};
status-red {
- label = "dir-510l:red:status";
+ label = "red:status";
gpios = <&gpio0 11 GPIO_ACTIVE_HIGH>;
};
};
/ {
compatible = "dlink,dir-810l", "ralink,mt7620a-soc";
model = "D-Link DIR-810L";
-
- aliases {
- led-boot = &led_power_green;
- led-failsafe = &led_power_green;
- led-running = &led_power_green;
- led-upgrade = &led_power_green;
- label-mac-device = ðernet;
- };
-
- leds {
- compatible = "gpio-leds";
-
- led_power_green: power_green {
- label = "dir-810l:green:power";
- gpios = <&gpio0 9 GPIO_ACTIVE_HIGH>;
- };
-
- wan_orange {
- label = "dir-810l:orange:wan";
- gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
- };
-
- wan_green {
- label = "dir-810l:green:wan";
- gpios = <&gpio2 0 GPIO_ACTIVE_LOW>;
- };
-
- power_orange {
- label = "dir-810l:orange:power";
- gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>;
- };
- };
-};
-
-&state_default {
- gpio {
- groups = "i2c", "uartf", "ephy";
- function = "gpio";
- };
};
compatible = "gpio-leds";
wan {
- label = "dwr-118-a1:green:wan";
+ label = "green:wan";
gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
};
led_internet: internet {
- label = "dwr-118-a1:green:internet";
+ label = "green:internet";
gpios = <&gpio2 0 GPIO_ACTIVE_LOW>;
};
lan {
- label = "dwr-118-a1:green:lan";
+ label = "green:lan";
gpios = <&gpio2 1 GPIO_ACTIVE_LOW>;
};
wlan2g {
- label = "dwr-118-a1:green:wlan2g";
+ label = "green:wlan2g";
gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
};
usb {
- label = "dwr-118-a1:green:usb";
+ label = "green:usb";
gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
trigger-sources = <&ohci_port1>, <&ehci_port1>;
linux,default-trigger = "usbport";
compatible = "gpio-leds";
wan {
- label = "dwr-118-a2:green:wan";
+ label = "green:wan";
gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
};
led_internet: internet {
- label = "dwr-118-a2:green:internet";
+ label = "green:internet";
gpios = <&gpio2 0 GPIO_ACTIVE_LOW>;
};
lan {
- label = "dwr-118-a2:green:lan";
+ label = "green:lan";
gpios = <&gpio2 1 GPIO_ACTIVE_LOW>;
};
wlan2g {
- label = "dwr-118-a2:green:wlan2g";
+ label = "green:wlan2g";
gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
};
usb {
- label = "dwr-118-a2:green:usb";
+ label = "green:usb";
gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
trigger-sources = <&ohci_port1>, <&ehci_port1>;
linux,default-trigger = "usbport";
compatible = "gpio-leds";
led_status: status {
- label = "dwr-960:green:status";
+ label = "green:status";
gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
};
wan {
- label = "dwr-960:green:wan";
+ label = "green:wan";
gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
};
lan {
- label = "dwr-960:green:lan";
+ label = "green:lan";
gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
};
sms {
- label = "dwr-960:green:sms";
+ label = "green:sms";
gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
};
signal_green {
- label = "dwr-960:green:signal";
+ label = "green:signal";
gpios = <&gpio2 0 GPIO_ACTIVE_HIGH>;
};
signal_red {
- label = "dwr-960:red:signal";
+ label = "red:signal";
gpios = <&gpio2 1 GPIO_ACTIVE_HIGH>;
};
4g {
- label = "dwr-960:green:4g";
+ label = "green:4g";
gpios = <&gpio2 2 GPIO_ACTIVE_LOW>;
};
3g {
- label = "dwr-960:green:3g";
+ label = "green:3g";
gpios = <&gpio2 3 GPIO_ACTIVE_LOW>;
};
wlan5g {
- label = "dwr-960:green:wlan5g";
+ label = "green:wlan5g";
gpios = <&gpio2 4 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
wlan2g {
- label = "dwr-960:green:wlan2g";
+ label = "green:wlan2g";
gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy1tpt";
};
compatible = "gpio-leds";
usb {
- label = "tiny-ac:green:usb";
+ label = "green:usb";
gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
trigger-sources = <&ohci_port1>, <&ehci_port1>;
linux,default-trigger = "usbport";
};
wifi {
- label = "tiny-ac:orange:wifi";
+ label = "orange:wifi";
gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_power: power {
- label = "br-6478ac-v2:white:power";
+ label = "white:power";
gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
};
internet {
- label = "br-6478ac-v2:blue:internet";
+ label = "blue:internet";
gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
};
wlan {
- label = "br-6478ac-v2:blue:wlan";
+ label = "blue:wlan";
gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
};
usb {
- label = "br-6478ac-v2:blue:usb";
+ label = "blue:usb";
gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
trigger-sources = <&ohci_port1>, <&ehci_port1>;
linux,default-trigger = "usbport";
/ {
compatible = "edimax,ew-7476rpc", "ralink,mt7620a-soc";
model = "Edimax EW-7476RPC";
-
- leds {
- compatible = "gpio-leds";
-
- led_power: power {
- label = "ew-7476rpc:green:power";
- gpios = <&gpio2 27 GPIO_ACTIVE_LOW>;
- };
-
- lan {
- label = "ew-7476rpc:green:lan";
- gpios = <&gpio2 26 GPIO_ACTIVE_LOW>;
- };
-
- wlan2g {
- label = "ew-7476rpc:blue:wlan2g";
- gpios = <&gpio2 30 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "phy1radio";
- };
-
- wlan5g {
- label = "ew-7476rpc:blue:wlan5g";
- gpios = <&gpio2 31 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "phy0radio";
- };
-
- wps {
- label = "ew-7476rpc:green:wps";
- gpios = <&gpio2 28 GPIO_ACTIVE_LOW>;
- };
-
- crossband {
- label = "ew-7476rpc:green:crossband";
- gpios = <&gpio2 29 GPIO_ACTIVE_LOW>;
- };
- };
};
/ {
compatible = "edimax,ew-7478ac", "ralink,mt7620a-soc";
model = "Edimax EW-7478AC";
-
- leds {
- compatible = "gpio-leds";
-
- led_power: power {
- label = "ew-7478ac:green:power";
- gpios = <&gpio2 27 GPIO_ACTIVE_LOW>;
- };
-
- lan {
- label = "ew-7478ac:green:lan";
- gpios = <&gpio2 26 GPIO_ACTIVE_LOW>;
- };
-
- wlan2g {
- label = "ew-7478ac:blue:wlan2g";
- gpios = <&gpio2 30 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "phy1radio";
- };
-
- wlan5g {
- label = "ew-7478ac:blue:wlan5g";
- gpios = <&gpio2 31 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "phy0radio";
- };
-
- wps {
- label = "ew-7478ac:green:wps";
- gpios = <&gpio2 28 GPIO_ACTIVE_LOW>;
- };
-
- crossband {
- label = "ew-7478ac:green:crossband";
- gpios = <&gpio2 29 GPIO_ACTIVE_LOW>;
- };
- };
};
compatible = "gpio-leds";
led_power: power {
- label = "ew-7478apc:white:power";
+ label = "white:power";
gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
};
internet {
- label = "ew-7478apc:blue:internet";
+ label = "blue:internet";
gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
};
wlan {
- label = "ew-7478apc:blue:wlan";
+ label = "blue:wlan";
gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
};
usb {
- label = "ew-7478apc:blue:usb";
+ label = "blue:usb";
gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
trigger-sources = <&ohci_port1>, <&ehci_port1>;
linux,default-trigger = "usbport";
linux,input-type = <EV_SW>;
};
};
+
+ leds {
+ compatible = "gpio-leds";
+
+ led_power: power {
+ label = "green:power";
+ gpios = <&gpio2 27 GPIO_ACTIVE_LOW>;
+ };
+
+ lan {
+ label = "green:lan";
+ gpios = <&gpio2 26 GPIO_ACTIVE_LOW>;
+ };
+
+ wlan2g {
+ label = "blue:wlan2g";
+ gpios = <&gpio2 30 GPIO_ACTIVE_LOW>;
+ linux,default-trigger = "phy1radio";
+ };
+
+ wlan5g {
+ label = "blue:wlan5g";
+ gpios = <&gpio2 31 GPIO_ACTIVE_LOW>;
+ linux,default-trigger = "phy0radio";
+ };
+
+ wps {
+ label = "green:wps";
+ gpios = <&gpio2 28 GPIO_ACTIVE_LOW>;
+ };
+
+ crossband {
+ label = "green:crossband";
+ gpios = <&gpio2 29 GPIO_ACTIVE_LOW>;
+ };
+ };
};
&gpio1 {
compatible = "gpio-leds";
led_power: power {
- label = "esr600:amber:power";
+ label = "amber:power";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};
wps2g {
- label = "esr600:amber:wps2g";
+ label = "amber:wps2g";
gpios = <&gpio2 6 GPIO_ACTIVE_LOW>;
};
wlan5g {
- label = "esr600:blue:wlan5g";
+ label = "blue:wlan5g";
gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
};
wlan2g {
- label = "esr600:blue:wlan2g";
+ label = "blue:wlan2g";
gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_power: power_r {
- label = "fon2601:red:power";
+ label = "red:power";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};
internet_g {
- label = "fon2601:green:internet";
+ label = "green:internet";
gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
};
net_g {
- label = "fon2601:green:net";
+ label = "green:net";
gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
};
wifi_g {
- label = "fon2601:green:wifi";
+ label = "green:wifi";
gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
rssi {
- label = "hdrm200:red:rssi";
+ label = "red:rssi";
gpios = <&gpio0 19 GPIO_ACTIVE_LOW>;
};
led_system: system {
- label = "hdrm200:green:system";
+ label = "green:system";
gpios = <&gpio1 14 GPIO_ACTIVE_HIGH>;
};
air {
- label = "hdrm200:green:wifi";
+ label = "green:wifi";
gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_system: system {
- label = "hc5661:blue:system";
+ label = "blue:system";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};
internet {
- label = "hc5661:blue:internet";
+ label = "blue:internet";
gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
};
wlan2g {
- label = "hc5661:blue:wlan2g";
+ label = "blue:wlan2g";
gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
compatible = "gpio-leds";
led_system: system {
- label = "hc5761:blue:system";
+ label = "blue:system";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};
internet {
- label = "hc5761:blue:internet";
+ label = "blue:internet";
gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
};
wlan2g {
- label = "hc5761:blue:wlan2g";
+ label = "blue:wlan2g";
gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy1tpt";
};
wlan5g {
- label = "hc5761:blue:wlan5g";
+ label = "blue:wlan5g";
gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
compatible = "gpio-leds";
led_system: system {
- label = "hc5861:blue:system";
+ label = "blue:system";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};
wlan2g {
- label = "hc5861:blue:wlan2g";
+ label = "blue:wlan2g";
gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy1tpt";
};
internet {
- label = "hc5861:blue:internet";
+ label = "blue:internet";
gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
};
wlan5g {
- label = "hc5861:blue:wlan5g";
+ label = "blue:wlan5g";
gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
turbo {
- label = "hc5861:blue:turbo";
+ label = "blue:turbo";
gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
sdcard {
- label = "c108:green:sdcard";
+ label = "green:sdcard";
gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>;
};
modem_green {
- label = "c108:green:modem";
+ label = "green:modem";
gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
};
modem_red {
- label = "c108:red:modem";
+ label = "red:modem";
gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
};
lan_red {
- label = "c108:red:lan";
+ label = "red:lan";
gpios = <&gpio2 3 GPIO_ACTIVE_HIGH>;
};
led_lan_green: lan_green {
- label = "c108:green:lan";
+ label = "green:lan";
gpios = <&gpio2 4 GPIO_ACTIVE_HIGH>;
};
};
compatible = "gpio-leds";
led_power: power {
- label = "wn-ac1167gr:green:power";
+ label = "green:power";
gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
default-state = "on";
};
wlan2g {
- label = "wn-ac1167gr:green:wlan2g";
+ label = "green:wlan2g";
gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
};
notification {
- label = "wn-ac1167gr:green:notification";
+ label = "green:notification";
gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
};
wlan5g {
- label = "wn-ac1167gr:green:wlan5g";
+ label = "green:wlan5g";
gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_power: power {
- label = "wn-ac733gr3:green:power";
+ label = "green:power";
gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
default-state = "on";
};
notification {
- label = "wn-ac733gr3:green:notification";
+ label = "green:notification";
gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
};
wlan2g {
- label = "wn-ac733gr3:green:wlan2g";
+ label = "green:wlan2g";
gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
};
wlan5g {
- label = "wn-ac733gr3:green:wlan5g";
+ label = "green:wlan5g";
gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_cpu: cpu {
- label = "a1004ns:blue:cpu";
+ label = "blue:cpu";
gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
};
usb {
- label = "a1004ns:blue:usb";
+ label = "blue:usb";
gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
trigger-sources = <&ohci_port1>, <&ehci_port1>;
linux,default-trigger = "usbport";
compatible = "gpio-leds";
usb {
- label = "a104ns:blue:usb";
+ label = "blue:usb";
gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
trigger-sources = <&ohci_port1>, <&ehci_port1>;
linux,default-trigger = "usbport";
};
led_cpu: cpu {
- label = "a104ns:blue:cpu";
+ label = "blue:cpu";
gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_wifi: wifi {
- label = "u25awf:red:wifi";
+ label = "red:wifi";
gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
};
lan {
- label = "u25awf:green:lan";
+ label = "green:lan";
gpios = <&gpio2 4 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_status: status {
- label = "lr-25g001:green:status";
+ label = "green:status";
gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
};
wifi2g {
- label = "lr-25g001:green:wifi2g";
+ label = "green:wifi2g";
gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
};
wifi5g {
- label = "lr-25g001:green:wifi5g";
+ label = "green:wifi5g";
gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_wps: wps {
- label = "bl-w1200:green:wps";
+ label = "green:wps";
gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_power: power {
- label = "newifi-y1:blue:power";
+ label = "blue:power";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};
wlan1 {
- label = "newifi-y1:blue:wifi";
+ label = "blue:wifi";
gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
};
wlan2 {
- label = "newifi-y1:blue:wifi5g";
+ label = "blue:wifi5g";
gpios = <&gpio2 10 GPIO_ACTIVE_LOW>;
};
usb {
- label = "newifi-y1:blue:usb";
+ label = "blue:usb";
gpios = <&gpio2 12 GPIO_ACTIVE_LOW>;
trigger-sources = <&ohci_port1>, <&ehci_port1>;
linux,default-trigger = "usbport";
};
lan {
- label = "newifi-y1:blue:lan";
+ label = "blue:lan";
gpios = <&gpio2 15 GPIO_ACTIVE_LOW>;
};
internet {
- label = "newifi-y1:blue:internet";
+ label = "blue:internet";
gpios = <&gpio2 11 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
power1 {
- label = "newifi-y1s:yellow:power";
+ label = "yellow:power";
gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
};
led_power_blue: power2 {
- label = "newifi-y1s:blue:power";
+ label = "blue:power";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};
wlan1 {
- label = "newifi-y1s:yellow:wifi";
+ label = "yellow:wifi";
gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
};
wlan2 {
- label = "newifi-y1s:blue:wifi";
+ label = "blue:wifi";
gpios = <&gpio2 10 GPIO_ACTIVE_LOW>;
};
usb1 {
- label = "newifi-y1s:yellow:usb";
+ label = "yellow:usb";
gpios = <&gpio2 13 GPIO_ACTIVE_LOW>;
};
usb2 {
- label = "newifi-y1s:blue:usb";
+ label = "blue:usb";
gpios = <&gpio2 12 GPIO_ACTIVE_LOW>;
trigger-sources = <&ohci_port1>, <&ehci_port1>;
linux,default-trigger = "usbport";
};
internet {
- label = "newifi-y1s:blue:internet";
+ label = "blue:internet";
gpios = <&gpio2 11 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_power: power {
- label = "e1700:green:power";
+ label = "green:power";
gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
};
wan {
- label = "e1700:green:wps";
+ label = "green:wps";
gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_power_green: power_g {
- label = "ex2700:green:power";
+ label = "green:power";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
default-state = "on";
};
power_r {
- label = "ex2700:red:power";
+ label = "red:power";
gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
};
device_g {
- label = "ex2700:green:device";
+ label = "green:device";
gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
};
device_r {
- label = "ex2700:red:device";
+ label = "red:device";
gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
};
router_g {
- label = "ex2700:green:router";
+ label = "green:router";
gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
};
router_r {
- label = "ex2700:red:router";
+ label = "red:router";
gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
};
wps {
- label = "ex2700:green:wps";
+ label = "green:wps";
gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
};
};
/ {
compatible = "netgear,ex3700", "ralink,mt7620a-soc";
model = "Netgear EX3700/EX3800";
-
- aliases {
- led-boot = &led_power_amber;
- led-failsafe = &led_power_amber;
- led-running = &led_power_green;
- led-upgrade = &led_power_green;
- };
-
- leds {
- compatible = "gpio-leds";
-
- led_power_green: power_green {
- label = "ex3700:green:power";
- gpios = <&gpio2 23 GPIO_ACTIVE_LOW>;
- default-state = "on";
- };
-
- led_power_amber: power_amber {
- label = "ex3700:amber:power";
- gpios = <&gpio2 28 GPIO_ACTIVE_LOW>;
- };
-
- router_green {
- label = "ex3700:green:router";
- gpios = <&gpio2 25 GPIO_ACTIVE_LOW>;
- };
-
- router_red {
- label = "ex3700:red:router";
- gpios = <&gpio2 24 GPIO_ACTIVE_LOW>;
- };
-
- device_green {
- label = "ex3700:green:device";
- gpios = <&gpio2 20 GPIO_ACTIVE_LOW>;
- };
-
- device_red {
- label = "ex3700:red:device";
- gpios = <&gpio2 21 GPIO_ACTIVE_LOW>;
- };
-
- wps {
- label = "ex3700:green:wps";
- gpios = <&gpio2 27 GPIO_ACTIVE_LOW>;
- };
- };
};
#include <dt-bindings/input/input.h>
/ {
+ aliases {
+ led-boot = &led_power_amber;
+ led-failsafe = &led_power_amber;
+ led-running = &led_power_green;
+ led-upgrade = &led_power_green;
+ };
+
keys {
compatible = "gpio-keys";
linux,code = <KEY_WPS_BUTTON>;
};
};
+
+ leds {
+ compatible = "gpio-leds";
+
+ led_power_green: power_green {
+ label = "green:power";
+ gpios = <&gpio2 23 GPIO_ACTIVE_LOW>;
+ default-state = "on";
+ };
+
+ led_power_amber: power_amber {
+ label = "amber:power";
+ gpios = <&gpio2 28 GPIO_ACTIVE_LOW>;
+ };
+
+ router_green {
+ label = "green:router";
+ gpios = <&gpio2 25 GPIO_ACTIVE_LOW>;
+ };
+
+ router_red {
+ label = "red:router";
+ gpios = <&gpio2 24 GPIO_ACTIVE_LOW>;
+ };
+
+ device_green {
+ label = "green:device";
+ gpios = <&gpio2 20 GPIO_ACTIVE_LOW>;
+ };
+
+ device_red {
+ label = "red:device";
+ gpios = <&gpio2 21 GPIO_ACTIVE_LOW>;
+ };
+
+ wps {
+ label = "green:wps";
+ gpios = <&gpio2 27 GPIO_ACTIVE_LOW>;
+ };
+ };
};
&gpio0 {
/ {
compatible = "netgear,ex6120", "ralink,mt7620a-soc";
model = "Netgear EX6120";
-
- aliases {
- led-boot = &led_power_amber;
- led-failsafe = &led_power_amber;
- led-running = &led_power_green;
- led-upgrade = &led_power_green;
- };
-
- leds {
- compatible = "gpio-leds";
-
- led_power_green: power_green {
- label = "ex6120:green:power";
- gpios = <&gpio2 23 GPIO_ACTIVE_LOW>;
- default-state = "on";
- };
-
- led_power_amber: power_amber {
- label = "ex6120:amber:power";
- gpios = <&gpio2 28 GPIO_ACTIVE_LOW>;
- };
-
- router_green {
- label = "ex6120:green:router";
- gpios = <&gpio2 25 GPIO_ACTIVE_LOW>;
- };
-
- router_red {
- label = "ex6120:red:router";
- gpios = <&gpio2 24 GPIO_ACTIVE_LOW>;
- };
-
- device_green {
- label = "ex6120:green:device";
- gpios = <&gpio2 20 GPIO_ACTIVE_LOW>;
- };
-
- device_red {
- label = "ex6120:red:device";
- gpios = <&gpio2 21 GPIO_ACTIVE_LOW>;
- };
-
- wps {
- label = "ex6120:green:wps";
- gpios = <&gpio2 27 GPIO_ACTIVE_LOW>;
- };
- };
};
model = "Netgear EX6130";
aliases {
- led-boot = &led_power_amber;
- led-failsafe = &led_power_amber;
- led-running = &led_power_green;
- led-upgrade = &led_power_green;
label-mac-device = ðernet;
};
-
- leds {
- compatible = "gpio-leds";
-
- led_power_green: power_green {
- label = "ex6130:green:power";
- gpios = <&gpio2 23 GPIO_ACTIVE_LOW>;
- default-state = "on";
- };
-
- led_power_amber: power_amber {
- label = "ex6130:amber:power";
- gpios = <&gpio2 28 GPIO_ACTIVE_LOW>;
- };
-
- router_green {
- label = "ex6130:green:router";
- gpios = <&gpio2 25 GPIO_ACTIVE_LOW>;
- };
-
- router_red {
- label = "ex6130:red:router";
- gpios = <&gpio2 24 GPIO_ACTIVE_LOW>;
- };
-
- device_green {
- label = "ex6130:green:device";
- gpios = <&gpio2 20 GPIO_ACTIVE_LOW>;
- };
-
- device_red {
- label = "ex6130:red:device";
- gpios = <&gpio2 21 GPIO_ACTIVE_LOW>;
- };
-
- wps {
- label = "ex6130:green:wps";
- gpios = <&gpio2 27 GPIO_ACTIVE_LOW>;
- };
- };
};
compatible = "gpio-leds";
led_power_green: power_g {
- label = "wn3000rp-v3:green:power";
+ label = "green:power";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
default-state = "on";
};
power_r {
- label = "wn3000rp-v3:red:power";
+ label = "red:power";
gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
};
client_g {
- label = "wn3000rp-v3:green:client";
+ label = "green:client";
gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
};
client_r {
- label = "wn3000rp-v3:red:client";
+ label = "red:client";
gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
};
router_g {
- label = "wn3000rp-v3:green:router";
+ label = "green:router";
gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
};
router_r {
- label = "wn3000rp-v3:red:router";
+ label = "red:router";
gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
};
wps {
- label = "wn3000rp-v3:green:wps";
+ label = "green:wps";
gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
};
l_arrow {
- label = "wn3000rp-v3:blue:leftarrow";
+ label = "blue:leftarrow";
gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
};
r_arrow {
- label = "wn3000rp-v3:blue:rightarrow";
+ label = "blue:rightarrow";
gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
wlan {
- label = "wf2770:blue:wlan";
+ label = "blue:wlan";
gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
compatible = "gpio-leds";
led_power: powerled {
- label = "oy-0001:green:power";
+ label = "green:power";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};
wifiled {
- label = "oy-0001:green:wifi";
+ label = "green:wifi";
gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_blue: blue {
- label = "k2g:blue:status";
+ label = "blue:status";
gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
};
yellow {
- label = "k2g:yellow:status";
+ label = "yellow:status";
gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
};
red {
- label = "k2g:red:status";
+ label = "red:status";
gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>;
};
};
compatible = "gpio-leds";
led_wps: wps {
- label = "psg1208:white:wps";
+ label = "white:wps";
gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
};
wlan {
- label = "psg1208:white:wlan2g";
+ label = "white:wlan2g";
gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
};
};
/ {
compatible = "phicomm,psg1218", "ralink,mt7620a-soc";
+ aliases {
+ led-boot = &led_blue;
+ led-failsafe = &led_blue;
+ led-running = &led_blue;
+ led-upgrade = &led_blue;
+ };
+
keys {
compatible = "gpio-keys";
linux,code = <KEY_RESTART>;
};
};
+
+ leds {
+ compatible = "gpio-leds";
+
+ led_blue: blue {
+ label = "blue:status";
+ gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
+ default-state = "on";
+ };
+
+ yellow {
+ label = "yellow:status";
+ gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
+ };
+
+ red {
+ label = "red:status";
+ gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>;
+ };
+ };
};
&gpio0 {
/ {
compatible = "phicomm,psg1218a", "phicomm,psg1218", "ralink,mt7620a-soc";
model = "Phicomm PSG1218 rev.A";
-
- aliases {
- led-boot = &led_blue;
- led-failsafe = &led_blue;
- led-running = &led_blue;
- led-upgrade = &led_blue;
- };
-
- leds {
- compatible = "gpio-leds";
-
- led_blue: blue {
- label = "psg1218a:blue:status";
- gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
- default-state = "on";
- };
-
- yellow {
- label = "psg1218a:yellow:status";
- gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
- };
-
- red {
- label = "psg1218a:red:status";
- gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>;
- };
- };
};
&state_default {
/ {
compatible = "phicomm,psg1218b", "phicomm,psg1218", "ralink,mt7620a-soc";
model = "Phicomm PSG1218 rev.B";
-
- aliases {
- led-boot = &led_blue;
- led-failsafe = &led_blue;
- led-running = &led_blue;
- led-upgrade = &led_blue;
- };
-
- leds {
- compatible = "gpio-leds";
-
- led_blue: blue {
- label = "psg1218b:blue:status";
- gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
- default-state = "on";
- };
-
- yellow {
- label = "psg1218b:yellow:status";
- gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
- };
-
- red {
- label = "psg1218b:red:status";
- gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>;
- };
- };
};
&state_default {
compatible = "gpio-leds";
led_power: power {
- label = "cs-qr10:red:power";
+ label = "red:power";
gpios = <&gpio1 4 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_power: power {
- label = "db-wrt01:orange:power";
+ label = "orange:power";
gpios = <&gpio1 1 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
wps {
- label = "mzk-750dhp:green:wps";
+ label = "green:wps";
gpios = <&gpio2 15 GPIO_ACTIVE_LOW>;
};
led_power: power {
- label = "mzk-750dhp:green:power";
+ label = "green:power";
gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
};
wlan5g {
- label = "mzk-750dhp:green:wlan5g";
+ label = "green:wlan5g";
gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
wifi {
- label = "mzk-ex300np:green:wifi";
+ label = "green:wifi";
gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
};
led_wps: wps {
- label = "mzk-ex300np:green:wps";
+ label = "green:wps";
gpios = <&gpio1 5 GPIO_ACTIVE_LOW>;
};
rep {
- label = "mzk-ex300np:blue:rep";
+ label = "blue:rep";
gpios = <&gpio1 4 GPIO_ACTIVE_LOW>;
};
wifi1 {
- label = "mzk-ex300np:blue:wifi1";
+ label = "blue:wifi1";
gpios = <&gpio1 1 GPIO_ACTIVE_LOW>;
};
wifi2 {
- label = "mzk-ex300np:blue:wifi2";
+ label = "blue:wifi2";
gpios = <&gpio1 2 GPIO_ACTIVE_LOW>;
};
wifi3 {
- label = "mzk-ex300np:blue:wifi3";
+ label = "blue:wifi3";
gpios = <&gpio1 0 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_power: power {
- label = "mzk-ex750np:red:power";
+ label = "red:power";
gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
};
wifi {
- label = "mzk-ex750np:red:wifi";
+ label = "red:wifi";
gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
};
wps {
- label = "mzk-ex750np:green:wps";
+ label = "green:wps";
gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
};
rep {
- label = "mzk-ex750np:blue:rep";
+ label = "blue:rep";
gpios = <&gpio2 16 GPIO_ACTIVE_LOW>;
};
wifi1 {
- label = "mzk-ex750np:blue:wifi1";
+ label = "blue:wifi1";
gpios = <&gpio2 19 GPIO_ACTIVE_LOW>;
};
wifi2 {
- label = "mzk-ex750np:blue:wifi2";
+ label = "blue:wifi2";
gpios = <&gpio2 18 GPIO_ACTIVE_LOW>;
};
wifi3 {
- label = "mzk-ex750np:blue:wifi3";
+ label = "blue:wifi3";
gpios = <&gpio2 17 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_power: power {
- label = "d240:blue:power";
+ label = "blue:power";
gpios = <&gpio1 14 GPIO_ACTIVE_HIGH>;
};
usb {
- label = "d240:blue:usb";
+ label = "blue:usb";
gpios = <&gpio1 15 GPIO_ACTIVE_HIGH>;
trigger-sources = <&ohci_port1>, <&ehci_port1>;
linux,default-trigger = "usbport";
};
air {
- label = "d240:blue:wifi";
+ label = "blue:wifi";
gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
zwave {
- label = "na930:blue:zwave";
+ label = "blue:zwave";
gpios = <&gpio2 0 GPIO_ACTIVE_LOW>;
};
status {
- label = "na930:blue:status";
+ label = "blue:status";
gpios = <&gpio2 26 GPIO_ACTIVE_LOW>;
trigger-sources = <&ohci_port1>, <&ehci_port1>;
linux,default-trigger = "usbport";
};
service {
- label = "na930:blue:service";
+ label = "blue:service";
gpios = <&gpio2 28 GPIO_ACTIVE_LOW>;
};
led_power: power {
- label = "na930:blue:power";
+ label = "blue:power";
gpios = <&gpio2 29 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
lan {
- label = "archer-c2-v1:green:lan";
+ label = "green:lan";
gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
};
usb {
- label = "archer-c2-v1:green:usb";
+ label = "green:usb";
gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
trigger-sources = <&ohci_port1>, <&ehci_port1>;
linux,default-trigger = "usbport";
};
led_wps: wps {
- label = "archer-c2-v1:green:wps";
+ label = "green:wps";
gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
};
wan {
- label = "archer-c2-v1:green:wan";
+ label = "green:wan";
gpios = <&gpio2 0 GPIO_ACTIVE_LOW>;
};
wlan {
- label = "archer-c2-v1:green:wlan";
+ label = "green:wlan";
gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy1tpt";
};
compatible = "gpio-leds";
lan {
- label = "archer-c20-v1:blue:lan";
+ label = "blue:lan";
gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
};
led_power: power {
- label = "archer-c20-v1:blue:power";
+ label = "blue:power";
gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
default-state = "keep";
};
usb {
- label = "archer-c20-v1:blue:usb";
+ label = "blue:usb";
gpios = <&gpio2 4 GPIO_ACTIVE_LOW>;
trigger-sources = <&ohci_port1>, <&ehci_port1>;
linux,default-trigger = "usbport";
};
wan {
- label = "archer-c20-v1:blue:wan";
+ label = "blue:wan";
gpios = <&gpio0 11 GPIO_ACTIVE_HIGH>;
};
wan_orange {
- label = "archer-c20-v1:orange:wan";
+ label = "orange:wan";
gpios = <&gpio0 9 GPIO_ACTIVE_HIGH>;
};
wlan5g {
- label = "archer-c20-v1:blue:wlan5g";
+ label = "blue:wlan5g";
gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
wlan2g {
- label = "archer-c20-v1:blue:wlan2g";
+ label = "blue:wlan2g";
gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy1tpt";
};
wps {
- label = "archer-c20-v1:blue:wps";
+ label = "blue:wps";
gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
lan {
- label = "archer-c20i:blue:lan";
+ label = "blue:lan";
gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
};
usb {
- label = "archer-c20i:blue:usb";
+ label = "blue:usb";
gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
trigger-sources = <&ohci_port1>, <&ehci_port1>;
linux,default-trigger = "usbport";
};
led_wps: wps {
- label = "archer-c20i:blue:wps";
+ label = "blue:wps";
gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
};
wan {
- label = "archer-c20i:blue:wan";
+ label = "blue:wan";
gpios = <&gpio2 0 GPIO_ACTIVE_LOW>;
};
wlan {
- label = "archer-c20i:blue:wlan";
+ label = "blue:wlan";
gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy1tpt";
};
compatible = "gpio-leds";
lan {
- label = "archer-c50-v1:green:lan";
+ label = "green:lan";
gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
};
led_power: power {
- label = "archer-c50-v1:green:power";
+ label = "green:power";
gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
default-state = "on";
};
usb {
- label = "archer-c50-v1:green:usb";
+ label = "green:usb";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
trigger-sources = <&ohci_port1>, <&ehci_port1>;
linux,default-trigger = "usbport";
};
wan {
- label = "archer-c50-v1:green:wan";
+ label = "green:wan";
gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
};
wan_orange {
- label = "archer-c50-v1:orange:wan";
+ label = "orange:wan";
gpios = <&gpio2 4 GPIO_ACTIVE_LOW>;
};
wlan5g {
- label = "archer-c50-v1:green:wlan5g";
+ label = "green:wlan5g";
gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
wlan2g {
- label = "archer-c50-v1:green:wlan2g";
+ label = "green:wlan2g";
gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy1tpt";
};
wps {
- label = "archer-c50-v1:green:wps";
+ label = "green:wps";
gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
lan {
- label = "archer-mr200:white:lan";
+ label = "white:lan";
gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
};
wan {
- label = "archer-mr200:white:wan";
+ label = "white:wan";
gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
};
led_power: power {
- label = "archer-mr200:white:power";
+ label = "white:power";
gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
};
4g {
- label = "archer-mr200:white:4g";
+ label = "white:4g";
gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
};
wps {
- label = "archer-mr200:white:wps";
+ label = "white:wps";
gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
};
signal1 {
- label = "archer-mr200:white:signal1";
+ label = "white:signal1";
gpios = <&gpio2 1 GPIO_ACTIVE_LOW>;
};
signal2 {
- label = "archer-mr200:white:signal2";
+ label = "white:signal2";
gpios = <&gpio2 2 GPIO_ACTIVE_LOW>;
};
signal3 {
- label = "archer-mr200:white:signal3";
+ label = "white:signal3";
gpios = <&gpio2 3 GPIO_ACTIVE_LOW>;
};
signal4 {
- label = "archer-mr200:white:signal4";
+ label = "white:signal4";
gpios = <&gpio2 4 GPIO_ACTIVE_LOW>;
};
wlan {
- label = "archer-mr200:white:wlan";
+ label = "white:wlan";
gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy1tpt";
};
compatible = "gpio-leds";
led_power: power {
- label = "re200-v1:green:power";
+ label = "green:power";
gpios = <&gpio1 0 GPIO_ACTIVE_LOW>;
};
lan {
- label = "re200-v1:green:lan";
+ label = "green:lan";
gpios = <&gpio2 0 GPIO_ACTIVE_LOW>;
};
wlan {
- label = "re200-v1:green:wlan";
+ label = "green:wlan";
gpios = <&gpio1 3 GPIO_ACTIVE_LOW>;
};
qss {
- label = "re200-v1:green:qss";
+ label = "green:qss";
gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
};
wlan2g_red {
- label = "re200-v1:red:wlan2g";
+ label = "red:wlan2g";
gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
};
wlan2g_green {
- label = "re200-v1:green:wlan2g";
+ label = "green:wlan2g";
gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy1tpt";
};
compatible = "gpio-leds";
led_power: power {
- label = "re210-v1:green:power";
+ label = "green:power";
gpios = <&gpio1 3 GPIO_ACTIVE_LOW>;
};
rssi_high {
- label = "re210-v1:green:rssi-high";
+ label = "green:rssi-high";
gpios = <&gpio1 1 GPIO_ACTIVE_LOW>;
};
rssi_low {
- label = "re210-v1:red:rssi-low";
+ label = "red:rssi-low";
gpios = <&gpio1 2 GPIO_ACTIVE_LOW>;
};
wlan2g {
- label = "re210-v1:green:wlan2g";
+ label = "green:wlan2g";
gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy1tpt";
};
wlan5g {
- label = "re210-v1:green:wlan5g";
+ label = "green:wlan5g";
gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
/ {
compatible = "trendnet,tew-810dr", "ralink,mt7620a-soc";
model = "TRENDnet TEW-810DR";
-
- aliases {
- led-boot = &led_power_green;
- led-failsafe = &led_power_green;
- led-running = &led_power_green;
- led-upgrade = &led_power_green;
- label-mac-device = ðernet;
- };
-
- leds {
- compatible = "gpio-leds";
-
- led_power_green: power_green {
- label = "tew-810dr:green:power";
- gpios = <&gpio0 9 GPIO_ACTIVE_HIGH>;
- };
-
- wan_orange {
- label = "tew-810dr:orange:wan";
- gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
- };
-
- wan_green {
- label = "tew-810dr:green:wan";
- gpios = <&gpio2 0 GPIO_ACTIVE_LOW>;
- };
-
- power_orange {
- label = "tew-810dr:orange:power";
- gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>;
- };
- };
-};
-
-&state_default {
- gpio {
- groups = "i2c", "uartf", "ephy";
- function = "gpio";
- };
};
compatible = "gpio-leds";
led_blue: blue {
- label = "miwifi-mini:blue:status";
+ label = "blue:status";
gpios = <&gpio1 0 GPIO_ACTIVE_LOW>;
default-state = "on";
};
yellow {
- label = "miwifi-mini:yellow:status";
+ label = "yellow:status";
gpios = <&gpio1 2 GPIO_ACTIVE_LOW>;
};
red {
- label = "miwifi-mini:red:status";
+ label = "red:status";
gpios = <&gpio1 5 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
wan {
- label = "yk1:blue:wan";
+ label = "blue:wan";
gpios = <&gpio2 4 GPIO_ACTIVE_LOW>;
};
air {
- label = "yk1:blue:air";
+ label = "blue:air";
gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
};
usb {
- label = "yk1:blue:usb";
+ label = "blue:usb";
gpios = <&gpio1 11 GPIO_ACTIVE_LOW>;
trigger-sources = <&ohci_port1>, <&ehci_port1>;
linux,default-trigger = "usbport";
};
led_power: power {
- label = "yk1:blue:power";
+ label = "blue:power";
gpios = <&gpio1 5 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
sys1 {
- label = "zbt-ape522ii:green:sys1";
+ label = "green:sys1";
gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
};
sys2 {
- label = "zbt-ape522ii:green:sys2";
+ label = "green:sys2";
gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
};
sys3 {
- label = "zbt-ape522ii:green:sys3";
+ label = "green:sys3";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};
sys4 {
- label = "zbt-ape522ii:green:sys4";
+ label = "green:sys4";
gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
};
wlan2g4 {
- label = "zbt-ape522ii:green:wlan2g4";
+ label = "green:wlan2g4";
gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
lan {
- label = "we1026-5g:green:lan";
+ label = "green:lan";
gpios = <&gpio2 0 GPIO_ACTIVE_LOW>;
};
usb {
- label = "we1026-5g:green:usb";
+ label = "green:usb";
gpios = <&gpio2 2 GPIO_ACTIVE_HIGH>;
trigger-sources = <&ohci_port1>, <&ehci_port1>;
linux,default-trigger = "usbport";
};
wifi {
- label = "we1026-5g:green:wifi";
+ label = "green:wifi";
gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
usb {
- label = "we1026-h:green:usb";
+ label = "green:usb";
gpios = <&gpio2 2 GPIO_ACTIVE_LOW>;
};
lan {
- label = "we1026-h:green:lan";
+ label = "green:lan";
gpios = <&gpio2 3 GPIO_ACTIVE_LOW>;
};
wan {
- label = "we1026-h:green:wan";
+ label = "green:wan";
gpios = <&gpio2 4 GPIO_ACTIVE_LOW>;
};
wifi {
- label = "we1026-h:green:wifi";
+ label = "green:wifi";
gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_power: gsm {
- label = "zbt-we826-e:blue:gsm";
+ label = "blue:gsm";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};
signal {
- label = "zbt-we826-e:green:signal";
+ label = "green:signal";
gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
};
sim {
- label = "zbt-we826-e:red:sim";
+ label = "red:sim";
gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
};
air {
- label = "zbt-we826-e:red:wifi";
+ label = "red:wifi";
gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_power: power {
- label = "zbt-we826:green:power";
+ label = "green:power";
gpios = <&gpio1 14 GPIO_ACTIVE_HIGH>;
};
usb {
- label = "zbt-we826:green:usb";
+ label = "green:usb";
gpios = <&gpio1 15 GPIO_ACTIVE_HIGH>;
trigger-sources = <&ohci_port1>, <&ehci_port1>;
linux,default-trigger = "usbport";
};
air {
- label = "zbt-we826:green:wifi";
+ label = "green:wifi";
gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
statred {
- label = "zte-q7:red:status";
+ label = "red:status";
gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
};
led_status_blue: statblue {
- label = "zte-q7:blue:status";
+ label = "blue:status";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
wan {
- label = "keenetic-viva:green:wan";
+ label = "green:wan";
gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
};
usb {
- label = "keenetic-viva:green:usb";
+ label = "green:usb";
gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
trigger-sources = <&ohci_port1>, <&ehci_port1>;
linux,default-trigger = "usbport";
};
power_alert {
- label = "keenetic-viva:red:power";
+ label = "red:power";
gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
};
wifi {
- label = "keenetic-viva:green:wifi";
+ label = "green:wifi";
gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
};
led_power_green: power {
- label = "keenetic-viva:green:power";
+ label = "green:power";
gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
wan {
- label = "rt-n12p:green:wan";
+ label = "green:wan";
gpios = <&gpio2 4 GPIO_ACTIVE_LOW>;
};
lan {
- label = "rt-n12p:green:lan";
+ label = "green:lan";
gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
};
led_power: power {
- label = "rt-n12p:green:power";
+ label = "green:power";
gpios = <&gpio2 3 GPIO_ACTIVE_LOW>;
};
air {
- label = "rt-n12p:green:air";
+ label = "green:air";
gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
wan {
- label = "rt-n14u:blue:wan";
+ label = "blue:wan";
gpios = <&gpio2 0 GPIO_ACTIVE_LOW>;
};
lan {
- label = "rt-n14u:blue:lan";
+ label = "blue:lan";
gpios = <&gpio2 1 GPIO_ACTIVE_LOW>;
};
usb {
- label = "rt-n14u:blue:usb";
+ label = "blue:usb";
gpios = <&gpio2 2 GPIO_ACTIVE_LOW>;
trigger-sources = <&ohci_port1>, <&ehci_port1>;
linux,default-trigger = "usbport";
};
led_power: power {
- label = "rt-n14u:blue:power";
+ label = "blue:power";
gpios = <&gpio2 3 GPIO_ACTIVE_LOW>;
};
air {
- label = "rt-n14u:blue:air";
+ label = "blue:air";
gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
aoss1 {
- label = "wmr-300:red:aoss";
+ label = "red:aoss";
gpios = <&gpio2 1 GPIO_ACTIVE_LOW>;
};
aoss2 {
- label = "wmr-300:green:aoss";
+ label = "green:aoss";
gpios = <&gpio2 2 GPIO_ACTIVE_LOW>;
};
led_status: status {
- label = "wmr-300:green:status";
+ label = "green:status";
gpios = <&gpio2 4 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
ethernet {
- label = "cf-wr800n:white:ethernet";
+ label = "white:ethernet";
gpios = <&gpio2 4 GPIO_ACTIVE_LOW>;
};
wifi {
- label = "cf-wr800n:white:wifi";
+ label = "white:wifi";
gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
};
led_wps: wps {
- label = "cf-wr800n:white:wps";
+ label = "white:wps";
gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_status: status {
- label = "dwr-116-a1:green:status";
+ label = "green:status";
gpios = <&gpio0 0 GPIO_ACTIVE_HIGH>;
};
wifi {
- label = "dwr-116-a1:green:wifi";
+ label = "green:wifi";
gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
sms {
- label = "dwr-921-c1:green:sms";
+ label = "green:sms";
gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
};
lan {
- label = "dwr-921-c1:green:lan";
+ label = "green:lan";
gpios = <&gpio1 15 GPIO_ACTIVE_HIGH>;
};
led_sstrenghg: sstrengthg {
- label = "dwr-921-c1:green:sigstrength";
+ label = "green:sigstrength";
gpios = <&gpio2 0 GPIO_ACTIVE_LOW>;
};
sstrengthr {
- label = "dwr-921-c1:red:sigstrength";
+ label = "red:sigstrength";
gpios = <&gpio2 1 GPIO_ACTIVE_LOW>;
};
4g {
- label = "dwr-921-c1:green:4g";
+ label = "green:4g";
gpios = <&gpio2 2 GPIO_ACTIVE_LOW>;
};
3g {
- label = "dwr-921-c1:green:3g";
+ label = "green:3g";
gpios = <&gpio2 3 GPIO_ACTIVE_LOW>;
};
wifi {
- label = "dwr-921-c1:green:wifi";
+ label = "green:wifi";
gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
};
};
led-boot = &sstrengthg;
sms {
- label = "dwr-922-e2:green:sms";
+ label = "green:sms";
gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
};
lan {
- label = "dwr-922-e2:green:lan";
+ label = "green:lan";
gpios = <&gpio1 15 GPIO_ACTIVE_HIGH>;
};
sstrengthg: sstrengthg {
- label = "dwr-922-e2:green:sigstrength";
+ label = "green:sigstrength";
gpios = <&gpio2 0 GPIO_ACTIVE_LOW>;
};
sstrengthr {
- label = "dwr-922-e2:red:sigstrength";
+ label = "red:sigstrength";
gpios = <&gpio2 1 GPIO_ACTIVE_LOW>;
};
4g {
- label = "dwr-922-e2:green:4g";
+ label = "green:4g";
gpios = <&gpio2 2 GPIO_ACTIVE_LOW>;
};
3g {
- label = "dwr-922-e2:green:3g";
+ label = "green:3g";
gpios = <&gpio2 3 GPIO_ACTIVE_LOW>;
};
wifi {
- label = "dwr-922-e2:green:wifi";
+ label = "green:wifi";
gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_wps: wps {
- label = "wrh-300cr:green:wps";
+ label = "green:wps";
gpios = <&gpio2 0 GPIO_ACTIVE_LOW>;
};
ethernet {
- label = "wrh-300cr:green:ethernet";
+ label = "green:ethernet";
gpios = <&gpio2 3 GPIO_ACTIVE_LOW>;
};
wlan {
- label = "wrh-300cr:green:wlan";
+ label = "green:wlan";
gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_power: power {
- label = "ht-tm05:blue:power";
+ label = "blue:power";
gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
default-state = "on";
};
wifi {
- label = "ht-tm05:green:wifi";
+ label = "green:wifi";
gpios = <&gpio2 0 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "phy0tpt";
};
compatible = "gpio-leds";
led_wifi: wifi {
- label = "u35wf:blue:wifi";
+ label = "blue:wifi";
gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
};
lan {
- label = "u35wf:green:eth";
+ label = "green:eth";
gpios = <&gpio2 4 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_system: system {
- label = "mlw221:blue:system";
+ label = "blue:system";
gpios = <&gpio2 3 GPIO_ACTIVE_LOW>;
};
wifi {
- label = "mlw221:blue:wifi";
+ label = "blue:wifi";
gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_system: system {
- label = "mlwg2:blue:system";
+ label = "blue:system";
gpios = <&gpio2 3 GPIO_ACTIVE_LOW>;
};
wifi {
- label = "mlwg2:blue:wifi";
+ label = "blue:wifi";
gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_power: power {
- label = "jwnr2010-v5:green:power";
+ label = "green:power";
gpios = <&gpio0 21 GPIO_ACTIVE_LOW>;
};
wan {
- label = "jwnr2010-v5:green:wan";
+ label = "green:wan";
gpios = <&gpio0 19 GPIO_ACTIVE_HIGH>;
};
wlan {
- label = "jwnr2010-v5:green:wlan";
+ label = "green:wlan";
gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0radio";
};
lan1 {
- label = "jwnr2010-v5:green:lan1";
+ label = "green:lan1";
gpios = <&gpio2 3 GPIO_ACTIVE_LOW>;
};
lan2 {
- label = "jwnr2010-v5:green:lan2";
+ label = "green:lan2";
gpios = <&gpio2 2 GPIO_ACTIVE_LOW>;
};
lan3 {
- label = "jwnr2010-v5:green:lan3";
+ label = "green:lan3";
gpios = <&gpio2 1 GPIO_ACTIVE_LOW>;
};
lan4 {
- label = "jwnr2010-v5:green:lan4";
+ label = "green:lan4";
gpios = <&gpio2 0 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_power: power {
- label = "wt3020:blue:power";
+ label = "blue:power";
gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
wifi_green {
- label = "rp-wd03:green:wifi";
+ label = "green:wifi";
gpios = <&gpio2 0 GPIO_ACTIVE_HIGH>;
};
led_wifi_blue: wifi_blue {
- label = "rp-wd03:blue:wifi";
+ label = "blue:wifi";
gpios = <&gpio3 0 GPIO_ACTIVE_HIGH>;
};
};
compatible = "gpio-leds";
led_system: system {
- label = "var11n-300:blue:system";
+ label = "blue:system";
gpios = <&gpio0 0 GPIO_ACTIVE_HIGH>;
};
};
compatible = "gpio-leds";
led_indicator: indicator {
- label = "wrtnode:blue:indicator";
+ label = "blue:indicator";
gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_4g_0: 4g-0 {
- label = "zbt-cpe102:green:4g-0";
+ label = "green:4g-0";
gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
};
4g-1 {
- label = "zbt-cpe102:green:4g-1";
+ label = "green:4g-1";
gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
};
4g-2 {
- label = "zbt-cpe102:green:4g-2";
+ label = "green:4g-2";
gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_power: power {
- label = "zbt-wa05:blue:power";
+ label = "blue:power";
gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
};
usb {
- label = "zbt-wa05:blue:usb";
+ label = "blue:usb";
gpios = <&gpio1 15 GPIO_ACTIVE_HIGH>;
trigger-sources = <&ohci_port1>, <&ehci_port1>;
linux,default-trigger = "usbport";
};
air {
- label = "zbt-wa05:blue:air";
+ label = "blue:air";
gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_power: power {
- label = "zbt-we2026:red:power";
+ label = "red:power";
gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
};
wlan {
- label = "zbt-we2026:green:wlan";
+ label = "green:wlan";
gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_sys: sys {
- label = "zbt-wr8305rt:green:sys";
+ label = "green:sys";
gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
};
lan {
- label = "zbt-wr8305rt:green:usb";
+ label = "green:usb";
gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
trigger-sources = <&ohci_port1>, <&ehci_port1>;
linux,default-trigger = "usbport";
};
wifi {
- label = "zbt-wr8305rt:green:wifi";
+ label = "green:wifi";
gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
wan {
- label = "keenetic-omni-ii:green:wan";
+ label = "green:wan";
gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
};
usb {
- label = "keenetic-omni-ii:green:usb";
+ label = "green:usb";
gpios = <&gpio0 20 GPIO_ACTIVE_LOW>;
trigger-sources = <&ohci_port1>, <&ehci_port1>;
linux,default-trigger = "usbport";
};
wifi {
- label = "keenetic-omni-ii:green:wifi";
+ label = "green:wifi";
gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
};
led_power: power {
- label = "keenetic-omni-ii:green:power";
+ label = "green:power";
gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
wan {
- label = "keenetic-omni:green:wan";
+ label = "green:wan";
gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
};
usb {
- label = "keenetic-omni:green:usb";
+ label = "green:usb";
gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
trigger-sources = <&ohci_port1>, <&ehci_port1>;
linux,default-trigger = "usbport";
};
wifi {
- label = "keenetic-omni:green:wifi";
+ label = "green:wifi";
gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
};
led_power: power {
- label = "keenetic-omni:green:power";
+ label = "green:power";
gpios = <&gpio0 20 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_sys: sys {
- label = "g7:blue:sys";
+ label = "blue:sys";
gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_run: run {
- label = "ew1200:green:run";
+ label = "green:run";
gpios = <&gpio 5 GPIO_ACTIVE_HIGH>;
};
usb {
- label = "ew1200:green:usb";
+ label = "green:usb";
gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
trigger-sources = <&xhci_ehci_port1>, <&ehci_port2>;
linux,default-trigger = "usbport";
compatible = "gpio-leds";
led_system: system {
- label = "quad-e4g:red:system";
+ label = "red:system";
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
default-state = "keep";
};
m2 {
- label = "quad-e4g:orange:m2";
+ label = "orange:m2";
gpios = <&gpio 33 GPIO_ACTIVE_LOW>;
};
minipcie0 {
- label = "quad-e4g:orange:minipcie0";
+ label = "orange:minipcie0";
gpios = <&gpio 26 GPIO_ACTIVE_LOW>;
};
minipcie1 {
- label = "quad-e4g:orange:minipcie1";
+ label = "orange:minipcie1";
gpios = <&gpio 27 GPIO_ACTIVE_LOW>;
};
minipcie2 {
- label = "quad-e4g:orange:minipcie2";
+ label = "orange:minipcie2";
gpios = <&gpio 28 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
wlan1 {
- label = "ap7621-001:orange:wlan1";
+ label = "orange:wlan1";
gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
};
wlan0 {
- label = "ap7621-001:orange:wlan0";
+ label = "orange:wlan0";
gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_power: power {
- label = "rt-ac57u:blue:power";
+ label = "blue:power";
gpios = <&gpio 48 GPIO_ACTIVE_LOW>;
};
usb {
- label = "rt-ac57u:blue:usb";
+ label = "blue:usb";
gpios = <&gpio 47 GPIO_ACTIVE_LOW>;
trigger-sources = <&ehci_port2>;
linux,default-trigger = "usbport";
/ {
compatible = "asus,rt-ac65p", "mediatek,mt7621-soc";
model = "ASUS RT-AC65P";
-
- aliases {
- led-boot = &led_power;
- led-failsafe = &led_power;
- led-running = &led_power;
- led-upgrade = &led_power;
- };
-
- leds {
- compatible = "gpio-leds";
-
- led_power: power {
- label = "rt-ac65p:blue:power";
- gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
- };
-
- wlan5g {
- label = "rt-ac65p:blue:wlan5g";
- gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "phy1radio";
- };
-
- wlan2g {
- label = "rt-ac65p:blue:wlan2g";
- gpios = <&gpio 10 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "phy0radio";
- };
- };
};
/ {
compatible = "asus,rt-ac85p", "mediatek,mt7621-soc";
model = "ASUS RT-AC85P";
-
- aliases {
- led-boot = &led_power;
- led-failsafe = &led_power;
- led-running = &led_power;
- led-upgrade = &led_power;
- };
-
- leds {
- compatible = "gpio-leds";
-
- led_power: power {
- label = "rt-ac85p:blue:power";
- gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
- };
-
- wlan5g {
- label = "rt-ac85p:blue:wlan5g";
- gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "phy1radio";
- };
-
- wlan2g {
- label = "rt-ac85p:blue:wlan2g";
- gpios = <&gpio 10 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "phy0radio";
- };
- };
};
#include <dt-bindings/input/input.h>
/ {
+ aliases {
+ led-boot = &led_power;
+ led-failsafe = &led_power;
+ led-running = &led_power;
+ led-upgrade = &led_power;
+ };
+
keys {
compatible = "gpio-keys";
linux,code = <KEY_WPS_BUTTON>;
};
};
+
+ leds {
+ compatible = "gpio-leds";
+
+ led_power: power {
+ label = "blue:power";
+ gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
+ };
+
+ wlan5g {
+ label = "blue:wlan5g";
+ gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
+ linux,default-trigger = "phy1radio";
+ };
+
+ wlan2g {
+ label = "blue:wlan2g";
+ gpios = <&gpio 10 GPIO_ACTIVE_LOW>;
+ linux,default-trigger = "phy0radio";
+ };
+ };
};
&i2c {
compatible = "gpio-leds";
internet_g {
- label = "wsr-1166:green:internet";
+ label = "green:internet";
gpios = <&gpio 41 GPIO_ACTIVE_LOW>;
};
router_g {
- label = "wsr-1166:green:router";
+ label = "green:router";
gpios = <&gpio 42 GPIO_ACTIVE_LOW>;
};
router_o {
- label = "wsr-1166:orange:router";
+ label = "orange:router";
gpios = <&gpio 43 GPIO_ACTIVE_LOW>;
};
internet_o {
- label = "wsr-1166:orange:internet";
+ label = "orange:internet";
gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
};
wifi_o {
- label = "wsr-1166:orange:wifi";
+ label = "orange:wifi";
gpios = <&gpio 45 GPIO_ACTIVE_LOW>;
};
led_power: power {
- label = "wsr-1166:green:power";
+ label = "green:power";
gpios = <&gpio 46 GPIO_ACTIVE_LOW>;
};
diag {
- label = "wsr-1166:orange:diag";
+ label = "orange:diag";
gpios = <&gpio 47 GPIO_ACTIVE_LOW>;
};
wifi_g {
- label = "wsr-1166:green:wifi";
+ label = "green:wifi";
gpios = <&gpio 48 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
internet_green {
- label = "wsr-2533dhpl:green:internet";
+ label = "green:internet";
gpios = <&gpio 41 GPIO_ACTIVE_LOW>;
};
router_green {
- label = "wsr-2533dhpl:green:router";
+ label = "green:router";
gpios = <&gpio 42 GPIO_ACTIVE_LOW>;
};
router_amber {
- label = "wsr-2533dhpl:amber:router";
+ label = "amber:router";
gpios = <&gpio 43 GPIO_ACTIVE_LOW>;
};
internet_amber {
- label = "wsr-2533dhpl:amber:internet";
+ label = "amber:internet";
gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
};
wireless_amber {
- label = "wsr-2533dhpl:amber:wireless";
+ label = "amber:wireless";
gpios = <&gpio 45 GPIO_ACTIVE_LOW>;
};
led_power: power {
- label = "wsr-2533dhpl:green:power";
+ label = "green:power";
gpios = <&gpio 46 GPIO_ACTIVE_LOW>;
};
led_diag: diag {
- label = "wsr-2533dhpl:amber:diag";
+ label = "amber:diag";
gpios = <&gpio 47 GPIO_ACTIVE_LOW>;
};
wireless_green {
- label = "wsr-2533dhpl:green:wireless";
+ label = "green:wireless";
gpios = <&gpio 48 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_power: power {
- label = "wsr-600:green:power";
+ label = "green:power";
gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
};
wifi_o {
- label = "wsr-600:orange:wifi";
+ label = "orange:wifi";
gpios = <&gpio 41 GPIO_ACTIVE_LOW>;
};
diag {
- label = "wsr-600:orange:diag";
+ label = "orange:diag";
gpios = <&gpio 42 GPIO_ACTIVE_LOW>;
};
wifi_g {
- label = "wsr-600:green:wifi";
+ label = "green:wifi";
gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
};
router_o {
- label = "wsr-600:orange:router";
+ label = "orange:router";
gpios = <&gpio 45 GPIO_ACTIVE_LOW>;
};
router_g {
- label = "wsr-600:green:router";
+ label = "green:router";
gpios = <&gpio 46 GPIO_ACTIVE_LOW>;
};
internet_o {
- label = "wsr-600:orange:internet";
+ label = "orange:internet";
gpios = <&gpio 47 GPIO_ACTIVE_LOW>;
};
internet_g {
- label = "wsr-600:green:internet";
+ label = "green:internet";
gpios = <&gpio 48 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
power-amber {
- label = "newifi-d2:amber:power";
+ label = "amber:power";
gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
};
led_power_blue: power-blue {
- label = "newifi-d2:blue:power";
+ label = "blue:power";
gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
};
internet-amber {
- label = "newifi-d2:amber:internet";
+ label = "amber:internet";
gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
};
internet-blue {
- label = "newifi-d2:blue:internet";
+ label = "blue:internet";
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
};
wlan2g {
- label = "newifi-d2:blue:wlan2g";
+ label = "blue:wlan2g";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
};
wlan5g {
- label = "newifi-d2:blue:wlan5g";
+ label = "blue:wlan5g";
gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
};
usb {
- label = "newifi-d2:blue:usb";
+ label = "blue:usb";
gpios = <&gpio 10 GPIO_ACTIVE_LOW>;
trigger-sources = <&xhci_ehci_port1>, <&ehci_port2>;
linux,default-trigger = "usbport";
compatible = "gpio-leds";
power {
- label = "pbr-m1:blue:power";
+ label = "blue:power";
gpios = <&gpio 31 GPIO_ACTIVE_LOW>;
default-state = "on";
};
led_sys: sys {
- label = "pbr-m1:blue:sys";
+ label = "blue:sys";
gpios = <&gpio 32 GPIO_ACTIVE_LOW>;
};
internet {
- label = "pbr-m1:blue:internet";
+ label = "blue:internet";
gpios = <&gpio 29 GPIO_ACTIVE_LOW>;
};
wlan2g {
- label = "pbr-m1:blue:wlan2g";
+ label = "blue:wlan2g";
gpios = <&gpio 33 GPIO_ACTIVE_LOW>;
};
wlan5g {
- label = "pbr-m1:blue:wlan5g";
+ label = "blue:wlan5g";
gpios = <&gpio 28 GPIO_ACTIVE_LOW>;
};
};
/ {
compatible = "dlink,dir-1960-a1", "mediatek,mt7621-soc";
model = "D-Link DIR-1960 A1";
+};
- aliases {
- led-boot = &led_power_orange;
- led-failsafe = &led_power_white;
- led-running = &led_power_white;
- led-upgrade = &led_net_orange;
- };
-
- leds {
- compatible = "gpio-leds";
-
- led_power_orange: power_orange {
- label = "dir-1960-a1:orange:power";
- gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
- };
-
- led_power_white: power_white {
- label = "dir-1960-a1:white:power";
- gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
- };
-
- led_net_orange: net_orange {
- label = "dir-1960-a1:orange:net";
- gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
- };
-
- net_white {
- label = "dir-1960-a1:white:net";
- gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
- };
-
- usb_white {
- label = "dir-1960-a1:white:usb";
- gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
- trigger-sources = <&xhci_ehci_port1>;
- linux,default-trigger = "usbport";
- };
+&leds {
+ usb_white {
+ label = "white:usb";
+ gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
+ trigger-sources = <&xhci_ehci_port1>;
+ linux,default-trigger = "usbport";
};
};
/ {
compatible = "dlink,dir-2660-a1", "mediatek,mt7621-soc";
model = "D-Link DIR-2660 A1";
+};
- aliases {
- led-boot = &led_power_orange;
- led-failsafe = &led_power_white;
- led-running = &led_power_white;
- led-upgrade = &led_net_orange;
+&leds {
+ usb2_white {
+ label = "white:usb2";
+ gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
+ trigger-sources = <&ehci_port2>;
+ linux,default-trigger = "usbport";
};
- leds {
- compatible = "gpio-leds";
-
- led_power_orange: power_orange {
- label = "dir-2660-a1:orange:power";
- gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
- };
-
- led_power_white: power_white {
- label = "dir-2660-a1:white:power";
- gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
- };
-
- led_net_orange: net_orange {
- label = "dir-2660-a1:orange:net";
- gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
- };
-
- net_white {
- label = "dir-2660-a1:white:net";
- gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
- };
-
- usb2_white {
- label = "dir-2660-a1:white:usb2";
- gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
- trigger-sources = <&ehci_port2>;
- linux,default-trigger = "usbport";
- };
-
- usb3_white {
- label = "dir-2660-a1:white:usb3";
- gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
- trigger-sources = <&xhci_ehci_port1>;
- linux,default-trigger = "usbport";
- };
+ usb3_white {
+ label = "white:usb3";
+ gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
+ trigger-sources = <&xhci_ehci_port1>;
+ linux,default-trigger = "usbport";
};
};
compatible = "gpio-leds";
power {
- label = "dir-860l-b1:orange:power";
+ label = "orange:power";
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
};
led_power_green: power2 {
- label = "dir-860l-b1:green:power";
+ label = "green:power";
gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
};
net {
- label = "dir-860l-b1:orange:net";
+ label = "orange:net";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
};
net2 {
- label = "dir-860l-b1:green:net";
+ label = "green:net";
gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
};
};
/ {
compatible = "dlink,dir-867-a1", "mediatek,mt7621-soc";
model = "D-Link DIR-867 A1";
-
- aliases {
- led-boot = &led_power_orange;
- led-failsafe = &led_power_green;
- led-running = &led_power_green;
- led-upgrade = &led_net_orange;
- };
-
- leds {
- compatible = "gpio-leds";
-
- led_power_orange: power_orange {
- label = "dir-867-a1:orange:power";
- gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
- };
-
- led_power_green: power_green {
- label = "dir-867-a1:green:power";
- gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
- };
-
- led_net_orange: net_orange {
- label = "dir-867-a1:orange:net";
- gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
- };
-
- net_green {
- label = "dir-867-a1:green:net";
- gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
- };
- };
};
/ {
compatible = "dlink,dir-878-a1", "mediatek,mt7621-soc";
model = "D-Link DIR-878 A1";
-
- aliases {
- led-boot = &led_power_orange;
- led-failsafe = &led_power_green;
- led-running = &led_power_green;
- led-upgrade = &led_net_orange;
- };
-
- leds {
- compatible = "gpio-leds";
-
- led_power_orange: power_orange {
- label = "dir-878-a1:orange:power";
- gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
- };
-
- led_power_green: power_green {
- label = "dir-878-a1:green:power";
- gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
- };
-
- led_net_orange: net_orange {
- label = "dir-878-a1:orange:net";
- gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
- };
-
- net_green {
- label = "dir-878-a1:green:net";
- gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
- };
- };
};
/ {
compatible = "dlink,dir-882-a1", "mediatek,mt7621-soc";
model = "D-Link DIR-882 A1";
+};
- aliases {
- led-boot = &led_power_orange;
- led-failsafe = &led_power_green;
- led-running = &led_power_green;
- led-upgrade = &led_net_orange;
+&leds {
+ usb2 {
+ label = "green:usb2";
+ gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
+ trigger-sources = <&ehci_port2>;
+ linux,default-trigger = "usbport";
};
- leds {
- compatible = "gpio-leds";
-
- led_power_orange: power_orange {
- label = "dir-882-a1:orange:power";
- gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
- };
-
- led_power_green: power_green {
- label = "dir-882-a1:green:power";
- gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
- };
-
- led_net_orange: net_orange {
- label = "dir-882-a1:orange:net";
- gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
- };
-
- net_green {
- label = "dir-882-a1:green:net";
- gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
- };
-
- usb2 {
- label = "dir-882-a1:green:usb2";
- gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
- trigger-sources = <&ehci_port2>;
- linux,default-trigger = "usbport";
- };
-
- usb3 {
- label = "dir-882-a1:green:usb3";
- gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
- trigger-sources = <&xhci_ehci_port1>;
- linux,default-trigger = "usbport";
- };
+ usb3 {
+ label = "green:usb3";
+ gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
+ trigger-sources = <&xhci_ehci_port1>;
+ linux,default-trigger = "usbport";
};
};
/ {
aliases {
label-mac-device = &gmac0;
+ led-boot = &led_power_orange;
+ led-failsafe = &led_power_green;
+ led-running = &led_power_green;
+ led-upgrade = &led_net_orange;
};
keys {
linux,code = <KEY_RFKILL>;
};
};
+
+ leds: leds {
+ compatible = "gpio-leds";
+
+ led_power_orange: power_orange {
+ label = "orange:power";
+ gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
+ };
+
+ led_power_green: power_green {
+ label = "green:power";
+ gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
+ };
+
+ led_net_orange: net_orange {
+ label = "orange:net";
+ gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
+ };
+
+ net_green {
+ label = "green:net";
+ gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
+ };
+ };
};
&spi0 {
/ {
aliases {
label-mac-device = &gmac0;
+ led-boot = &led_power_orange;
+ led-failsafe = &led_power_white;
+ led-running = &led_power_white;
+ led-upgrade = &led_net_orange;
};
keys {
linux,code = <KEY_WPS_BUTTON>;
};
};
+
+ leds: leds {
+ compatible = "gpio-leds";
+
+ led_power_orange: power_orange {
+ label = "orange:power";
+ gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
+ };
+
+ led_power_white: power_white {
+ label = "white:power";
+ gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
+ };
+
+ led_net_orange: net_orange {
+ label = "orange:net";
+ gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
+ };
+
+ net_white {
+ label = "white:net";
+ gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
+ };
+ };
};
&nand {
/ {
compatible = "edimax,ra21s", "mediatek,mt7621-soc";
model = "Edimax RA21S";
-
- aliases {
- led-boot = &led_power;
- led-failsafe = &led_power;
- led-running = &led_power;
- led-upgrade = &led_power;
- };
-
- leds {
- compatible = "gpio-leds";
-
- led_power: led_1 {
- label = "ra21s:red:led1";
- gpios = <&gpio 7 GPIO_ACTIVE_HIGH>;
- };
-
- led_2 {
- label = "ra21s:red:led2";
- gpios = <&gpio 12 GPIO_ACTIVE_HIGH>;
- };
-
- led_3 {
- label = "ra21s:red:led3";
- gpios = <&gpio 14 GPIO_ACTIVE_HIGH>;
- };
-
- led_4 {
- label = "ra21s:red:led4";
- gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;
- };
- };
};
compatible = "gpio-leds";
led_power: power {
- label = "re23s:green:power";
+ label = "green:power";
gpios = <&gpio 13 GPIO_ACTIVE_HIGH>;
};
wifi_green {
- label = "re23s:green:wifi";
+ label = "green:wifi";
gpios = <&gpio 12 GPIO_ACTIVE_HIGH>;
};
wifi_amber {
- label = "re23s:amber:wifi";
+ label = "amber:wifi";
gpios = <&gpio 7 GPIO_ACTIVE_HIGH>;
};
led_wifi_red: wifi_red {
- label = "re23s:red:wifi";
+ label = "red:wifi";
gpios = <&gpio 6 GPIO_ACTIVE_HIGH>;
};
};
/ {
compatible = "edimax,rg21s", "mediatek,mt7621-soc";
model = "Edimax RG21S";
-
- aliases {
- led-boot = &led_power;
- led-failsafe = &led_power;
- led-running = &led_power;
- led-upgrade = &led_power;
- };
-
- leds {
- compatible = "gpio-leds";
-
- led_power: led_1 {
- label = "rg21s:red:led1";
- gpios = <&gpio 7 GPIO_ACTIVE_HIGH>;
- };
-
- led_2 {
- label = "rg21s:red:led2";
- gpios = <&gpio 12 GPIO_ACTIVE_HIGH>;
- };
-
- led_3 {
- label = "rg21s:red:led3";
- gpios = <&gpio 14 GPIO_ACTIVE_HIGH>;
- };
-
- led_4 {
- label = "rg21s:red:led4";
- gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;
- };
- };
};
/ {
aliases {
label-mac-device = &gmac0;
+ led-boot = &led_power;
+ led-failsafe = &led_power;
+ led-running = &led_power;
+ led-upgrade = &led_power;
};
keys {
linux,code = <KEY_WPS_BUTTON>;
};
};
+
+ leds {
+ compatible = "gpio-leds";
+
+ led_power: led_1 {
+ label = "red:led1";
+ gpios = <&gpio 7 GPIO_ACTIVE_HIGH>;
+ };
+
+ led_2 {
+ label = "red:led2";
+ gpios = <&gpio 12 GPIO_ACTIVE_HIGH>;
+ };
+
+ led_3 {
+ label = "red:led3";
+ gpios = <&gpio 14 GPIO_ACTIVE_HIGH>;
+ };
+
+ led_4 {
+ label = "red:led4";
+ gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;
+ };
+ };
};
&spi0 {
compatible = "gpio-leds";
wlan2g {
- label = "wrc-1167ghbk2-s:white:wlan2g";
+ label = "white:wlan2g";
gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0radio";
};
wlan5g {
- label = "wrc-1167ghbk2-s:white:wlan5g";
+ label = "white:wlan5g";
gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
};
led_power_green: power_green {
- label = "wrc-1167ghbk2-s:green:power";
+ label = "green:power";
gpios = <&gpio 7 GPIO_ACTIVE_HIGH>;
};
power_blue {
- label = "wrc-1167ghbk2-s:blue:power";
+ label = "blue:power";
gpios = <&gpio 8 GPIO_ACTIVE_HIGH>;
};
wps {
- label = "wrc-1167ghbk2-s:red:wps";
+ label = "red:wps";
gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;
};
power_red {
- label = "wrc-1167ghbk2-s:red:power";
+ label = "red:power";
gpios = <&gpio 16 GPIO_ACTIVE_HIGH>;
};
};
compatible = "gpio-leds";
led_power_green: power_green {
- label = "wrc-gst:green:power";
+ label = "green:power";
gpios = <&gpio 7 GPIO_ACTIVE_HIGH>;
};
power_blue {
- label = "wrc-gst:blue:power";
+ label = "blue:power";
gpios = <&gpio 8 GPIO_ACTIVE_HIGH>;
};
wps {
- label = "wrc-gst:red:wps";
+ label = "red:wps";
gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;
};
power_red {
- label = "wrc-gst:red:power";
+ label = "red:power";
gpios = <&gpio 16 GPIO_ACTIVE_HIGH>;
};
};
compatible = "gpio-leds";
led_power: power {
- label = "firewrt:green:power";
+ label = "green:power";
gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
internet {
- label = "ghl-r-001:blue:internet";
+ label = "blue:internet";
gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
};
usb {
- label = "ghl-r-001:blue:usb";
+ label = "blue:usb";
gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
trigger-sources = <&xhci_ehci_port1>, <&ehci_port2>;
linux,default-trigger = "usbport";
compatible = "gpio-leds";
system {
- label = "gb-pc1:green:system";
+ label = "green:system";
gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
};
led_status: status {
- label = "gb-pc1:green:status";
+ label = "green:status";
gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
};
lan1 {
- label = "gb-pc1:green:lan1";
+ label = "green:lan1";
gpios = <&gpio 24 GPIO_ACTIVE_LOW>;
};
lan2 {
- label = "gb-pc1:green:lan2";
+ label = "green:lan2";
gpios = <&gpio 25 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
system {
- label = "gb-pc2:green:system";
+ label = "green:system";
gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
};
led_status: status {
- label = "gb-pc2:green:status";
+ label = "green:status";
gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
};
lan1 {
- label = "gb-pc2:green:lan1";
+ label = "green:lan1";
gpios = <&gpio 24 GPIO_ACTIVE_LOW>;
};
lan2 {
- label = "gb-pc2:green:lan2";
+ label = "green:lan2";
gpios = <&gpio 25 GPIO_ACTIVE_LOW>;
};
lan3-yellow {
- label = "gb-pc2:yellow:lan3";
+ label = "yellow:lan3";
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
};
lan3-green {
- label = "gb-pc2:green:lan3";
+ label = "green:lan3";
gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_status: status {
- label = "hc5962:white:status";
+ label = "white:status";
gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
};
led_system: system {
- label = "hc5962:red:system";
+ label = "red:system";
gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
panic-indicator;
};
compatible = "gpio-leds";
led_power: power {
- label = "wn-ax1167gr:green:power";
+ label = "green:power";
gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
};
wps {
- label = "wn-ax1167gr:green:wps";
+ label = "green:wps";
gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_power: power {
- label = "wn-gx300gr:green:power";
+ label = "green:power";
gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
};
wps {
- label = "wn-gx300gr:green:wps";
+ label = "green:wps";
gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
wps {
- label = "iodata:green:wps";
+ label = "green:wps";
gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
};
led_power: power {
- label = "iodata:green:power";
+ label = "green:power";
gpios = <&gpio 9 GPIO_ACTIVE_HIGH>;
};
};
compatible = "gpio-leds";
led_power: power {
- label = "wnpr2600g:green:power";
+ label = "green:power";
gpios = <&gpio 7 GPIO_ACTIVE_HIGH>;
default-state = "on";
};
notification {
- label = "wnpr2600g:green:notification";
+ label = "green:notification";
gpios = <&gpio 12 GPIO_ACTIVE_HIGH>;
};
wlan2g {
- label = "wnpr2600g:green:wlan2g";
+ label = "green:wlan2g";
gpios = <&gpio 14 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "phy0radio";
};
wlan5g {
- label = "wnpr2600g:green:wlan5g";
+ label = "green:wlan5g";
gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "phy1radio";
};
compatible = "gpio-leds";
usb {
- label = "a6ns-m:blue:usb";
+ label = "blue:usb";
gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
trigger-sources = <&xhci_ehci_port1>;
linux,default-trigger = "usbport";
};
wlan5g {
- label = "a6ns-m:blue:wlan5g";
+ label = "blue:wlan5g";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0radio";
};
wlan2g {
- label = "a6ns-m:blue:wlan2g";
+ label = "blue:wlan2g";
gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy1radio";
};
led_cpu: cpu {
- label = "a6ns-m:blue:cpu";
+ label = "blue:cpu";
gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_cpu: cpu {
- label = "a8004t:orange:cpu";
+ label = "orange:cpu";
gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
};
wlan2g {
- label = "a8004t:orange:wlan2g";
+ label = "orange:wlan2g";
gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0radio";
};
wlan5g {
- label = "a8004t:orange:wlan5g";
+ label = "orange:wlan5g";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy1radio";
};
compatible = "gpio-leds";
usb3 {
- label = "jhr-ac876m:blue:usb3";
+ label = "blue:usb3";
gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
trigger-sources = <&xhci_ehci_port1>;
linux,default-trigger = "usbport";
};
usb2 {
- label = "jhr-ac876m:blue:usb2";
+ label = "blue:usb2";
gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
trigger-sources = <&ehci_port2>;
linux,default-trigger = "usbport";
};
led_wps: wps {
- label = "jhr-ac876m:blue:wps";
+ label = "blue:wps";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
status-red {
- label = "newifi-d1:red:status";
+ label = "red:status";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
};
status-green {
- label = "newifi-d1:green:status";
+ label = "green:status";
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
};
led_blue: status-blue {
- label = "newifi-d1:blue:status";
+ label = "blue:status";
gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
default-state = "on";
};
/ {
compatible = "linksys,ea7300-v1", "mediatek,mt7621-soc";
model = "Linksys EA7300 v1";
-
- aliases {
- led-boot = &led_power;
- led-failsafe = &led_power;
- led-running = &led_power;
- led-upgrade = &led_power;
- };
-
- leds {
- compatible = "gpio-leds";
-
- wan_green {
- label = "ea7300-v1:green:wan";
- gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
- };
-
- lan1_green {
- label = "ea7300-v1:green:lan1";
- gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
- };
-
- lan2_green {
- label = "ea7300-v1:green:lan2";
- gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
- };
-
- lan3_green {
- label = "ea7300-v1:green:lan3";
- gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
- };
-
- lan4_green {
- label = "ea7300-v1:green:lan4";
- gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
- };
-
- led_power: power {
- label = "ea7300-v1:white:power";
- gpios = <&gpio 10 GPIO_ACTIVE_HIGH>;
- };
-
- wps {
- label = "ea7300-v1:green:wps";
- gpios = <&gpio 5 GPIO_ACTIVE_HIGH>;
- };
- };
};
/ {
compatible = "linksys,ea7300-v2", "mediatek,mt7621-soc";
model = "Linksys EA7300 v2";
-
- aliases {
- led-boot = &led_power;
- led-failsafe = &led_power;
- led-running = &led_power;
- led-upgrade = &led_power;
- };
-
- leds {
- compatible = "gpio-leds";
-
- wan_green {
- label = "ea7300-v2:green:wan";
- gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
- };
-
- lan1_green {
- label = "ea7300-v2:green:lan1";
- gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
- };
-
- lan2_green {
- label = "ea7300-v2:green:lan2";
- gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
- };
-
- lan3_green {
- label = "ea7300-v2:green:lan3";
- gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
- };
-
- lan4_green {
- label = "ea7300-v2:green:lan4";
- gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
- };
-
- led_power: power {
- label = "ea7300-v2:white:power";
- gpios = <&gpio 10 GPIO_ACTIVE_HIGH>;
- };
-
- wps {
- label = "ea7300-v2:green:wps";
- gpios = <&gpio 5 GPIO_ACTIVE_HIGH>;
- };
- };
};
/ {
compatible = "linksys,ea7500-v2", "mediatek,mt7621-soc";
model = "Linksys EA7500 v2";
-
- aliases {
- led-boot = &led_power;
- led-failsafe = &led_power;
- led-running = &led_power;
- led-upgrade = &led_power;
- };
-
- leds {
- compatible = "gpio-leds";
-
- wan_green {
- label = "ea7500-v2:green:wan";
- gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
- };
-
- lan1_green {
- label = "ea7500-v2:green:lan1";
- gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
- };
-
- lan2_green {
- label = "ea7500-v2:green:lan2";
- gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
- };
-
- lan3_green {
- label = "ea7500-v2:green:lan3";
- gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
- };
-
- lan4_green {
- label = "ea7500-v2:green:lan4";
- gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
- };
-
- led_power: power {
- label = "ea7500-v2:white:power";
- gpios = <&gpio 10 GPIO_ACTIVE_HIGH>;
- };
-
- wps {
- label = "ea7500-v2:green:wps";
- gpios = <&gpio 5 GPIO_ACTIVE_HIGH>;
- };
- };
};
#include <dt-bindings/input/input.h>
/ {
+ aliases {
+ led-boot = &led_power;
+ led-failsafe = &led_power;
+ led-running = &led_power;
+ led-upgrade = &led_power;
+ };
+
chosen {
bootargs = "console=ttyS0,115200";
};
linux,code = <KEY_RESTART>;
};
};
+
+ leds {
+ compatible = "gpio-leds";
+
+ wan_green {
+ label = "green:wan";
+ gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
+ };
+
+ lan1_green {
+ label = "green:lan1";
+ gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
+ };
+
+ lan2_green {
+ label = "green:lan2";
+ gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
+ };
+
+ lan3_green {
+ label = "green:lan3";
+ gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
+ };
+
+ lan4_green {
+ label = "green:lan4";
+ gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
+ };
+
+ led_power: power {
+ label = "white:power";
+ gpios = <&gpio 10 GPIO_ACTIVE_HIGH>;
+ };
+
+ wps {
+ label = "green:wps";
+ gpios = <&gpio 5 GPIO_ACTIVE_HIGH>;
+ };
+ };
};
&nand {
compatible = "gpio-leds";
wifi {
- label = "re6500:orange:wifi";
+ label = "orange:wifi";
gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
};
led_power: power {
- label = "re6500:white:power";
+ label = "white:power";
gpios = <&gpio 9 GPIO_ACTIVE_HIGH>;
};
};
compatible = "gpio-leds";
pwr {
- label = "routerboard-750gr3:blue:pwr";
+ label = "blue:pwr";
gpios = <&gpio 16 GPIO_ACTIVE_HIGH>;
default-state = "on";
};
led_usr: usr {
- label = "routerboard-750gr3:green:usr";
+ label = "green:usr";
gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
};
};
compatible = "gpio-leds";
led_pwr: pwr {
- label = "routerboard-760igs:blue:pwr";
+ label = "blue:pwr";
gpios = <&gpio 16 GPIO_ACTIVE_HIGH>;
default-state = "on";
};
sfp {
- label = "routerboard-760igs:blue:sfp";
+ label = "blue:sfp";
gpios = <&gpio 9 GPIO_ACTIVE_HIGH>;
};
};
compatible = "gpio-leds";
led_usr: usr {
- label = "routerboard-m11g:green:usr";
+ label = "green:usr";
gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
};
rssi0 {
- label = "routerboard-m11g:green:rssi0";
+ label = "green:rssi0";
gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
};
rssi1 {
- label = "routerboard-m11g:green:rssi1";
+ label = "green:rssi1";
gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
};
rssi2 {
- label = "routerboard-m11g:green:rssi2";
+ label = "green:rssi2";
gpios = <&gpio 24 GPIO_ACTIVE_LOW>;
};
rssi3 {
- label = "routerboard-m11g:green:rssi3";
+ label = "green:rssi3";
gpios = <&gpio 25 GPIO_ACTIVE_LOW>;
};
rssi4 {
- label = "routerboard-m11g:green:rssi4";
+ label = "green:rssi4";
gpios = <&gpio 26 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_usr: usr {
- label = "routerboard-m33g:green:usr";
+ label = "green:usr";
gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
};
};
compatible = "gpio-leds";
led_power: power {
- label = "wr1201:green:power";
+ label = "green:power";
gpios = <&gpio 24 GPIO_ACTIVE_LOW>;
};
usb {
- label = "wr1201:green:usb";
+ label = "green:usb";
gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
trigger-sources = <&xhci_ehci_port1>, <&ehci_port2>;
linux,default-trigger = "usbport";
};
eth_link {
- label = "wr1201:green:eth_link";
+ label = "green:eth_link";
gpios = <&gpio 26 GPIO_ACTIVE_LOW>;
};
wps {
- label = "wr1201:green:wps";
+ label = "green:wps";
gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
power_amber: power_amber {
- label = "ex6150:amber:power";
+ label = "amber:power";
gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
};
power_green: power_green {
- label = "ex6150:green:power";
+ label = "green:power";
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
};
wps {
- label = "ex6150:green:wps";
+ label = "green:wps";
gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
};
rightarrow {
- label = "ex6150:blue:rightarrow";
+ label = "blue:rightarrow";
gpios = <&gpio 28 GPIO_ACTIVE_LOW>;
};
leftarrow {
- label = "ex6150:blue:leftarrow";
+ label = "blue:leftarrow";
gpios = <&gpio 31 GPIO_ACTIVE_LOW>;
};
router_green {
- label = "ex6150:green:router";
+ label = "green:router";
gpios = <&gpio 29 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy1tpt";
};
router_red {
- label = "ex6150:red:router";
+ label = "red:router";
gpios = <&gpio 30 GPIO_ACTIVE_LOW>;
};
client_green {
- label = "ex6150:green:client";
+ label = "green:client";
gpios = <&gpio 33 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
client_red {
- label = "ex6150:red:client";
+ label = "red:client";
gpios = <&gpio 32 GPIO_ACTIVE_LOW>;
};
};
model = "Netgear R6220";
};
-&led_power {
- label = "r6220:green:power";
-};
-
-&led_usb {
- label = "r6220:green:usb";
-};
-
-&led_internet {
- label = "r6220:green:wan";
-};
-
-&led_wifi {
- label = "r6220:green:wifi";
-};
-
-&led_wps {
- label = "r6220:green:wps";
-};
-
&nand {
status = "okay";
compatible = "netgear,r6260", "mediatek,mt7621-soc";
model = "Netgear R6260";
};
-
-&led_power {
- label = "r6260:green:power";
-};
-
-&led_usb {
- label = "r6260:green:usb";
-};
-
-&led_internet {
- label = "r6260:green:wan";
-};
-
-&led_wifi {
- label = "r6260:green:wifi";
-};
compatible = "netgear,r6350", "mediatek,mt7621-soc";
model = "Netgear R6350";
};
-
-&led_power {
- label = "r6350:green:power";
-};
-
-&led_usb {
- label = "r6350:green:usb";
-};
-
-&led_internet {
- label = "r6350:green:wan";
-};
-
-&led_wifi {
- label = "r6350:green:wifi";
-};
/ {
compatible = "netgear,r6700-v2", "mediatek,mt7621-soc";
model = "Netgear R6700 v2";
-
- aliases {
- led-boot = &led_power_white;
- led-failsafe = &led_power_orange;
- led-running = &led_power_white;
- led-upgrade = &led_power_orange;
- };
-
- leds {
- compatible = "gpio-leds";
-
- led_power_orange: power_orange {
- gpios = <&gpio_expander 0 GPIO_ACTIVE_LOW>;
- label = "r6700-v2:orange:power";
- };
-
- led_power_white: power_white {
- gpios = <&gpio_expander 1 GPIO_ACTIVE_LOW>;
- label = "r6700-v2:white:power";
- };
-
- wan_orange {
- gpios = <&gpio_expander 2 GPIO_ACTIVE_LOW>;
- label = "r6700-v2:orange:wan";
- };
-
- wan_white {
- gpios = <&gpio_expander 3 GPIO_ACTIVE_LOW>;
- label = "r6700-v2:white:wan";
- };
-
- wlan2g {
- gpios = <&gpio_expander 4 GPIO_ACTIVE_LOW>;
- label = "r6700-v2:white:wlan2g";
- linux,default-trigger = "phy0radio";
- };
-
- wlan5g {
- gpios = <&gpio_expander 5 GPIO_ACTIVE_LOW>;
- label = "r6700-v2:white:wlan5g";
- linux,default-trigger = "phy1radio";
- };
-
- guest_wifi {
- gpios = <&gpio_expander 6 GPIO_ACTIVE_LOW>;
- label = "r6700-v2:white:guest_wifi";
- };
-
- usb3 {
- gpios = <&gpio_expander 7 GPIO_ACTIVE_LOW>;
- label = "r6700-v2:white:usb3";
- linux,default-trigger = "usbport";
- trigger-sources = <&xhci_ehci_port1>;
- };
-
- lan1_orange {
- gpios = <&gpio_expander 8 GPIO_ACTIVE_LOW>;
- label = "r6700-v2:orange:lan1";
- };
-
- lan1_white {
- gpios = <&gpio_expander 9 GPIO_ACTIVE_LOW>;
- label = "r6700-v2:white:lan1";
- };
-
- lan2_orange {
- gpios = <&gpio_expander 10 GPIO_ACTIVE_LOW>;
- label = "r6700-v2:orange:lan2";
- };
-
- lan2_white {
- gpios = <&gpio_expander 11 GPIO_ACTIVE_LOW>;
- label = "r6700-v2:white:lan2";
- };
-
- lan3_orange {
- gpios = <&gpio_expander 12 GPIO_ACTIVE_LOW>;
- label = "r6700-v2:orange:lan3";
- };
-
- lan3_white {
- gpios = <&gpio_expander 13 GPIO_ACTIVE_LOW>;
- label = "r6700-v2:white:lan3";
- };
-
- lan4_orange {
- gpios = <&gpio_expander 14 GPIO_ACTIVE_LOW>;
- label = "r6700-v2:orange:lan4";
- };
-
- lan4_white {
- gpios = <&gpio_expander 15 GPIO_ACTIVE_LOW>;
- label = "r6700-v2:white:lan4";
- };
-
- wps {
- gpios = <&gpio 17 GPIO_ACTIVE_HIGH>;
- label = "r6700-v2:white:wps";
- };
-
- wlan {
- gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
- label = "r6700-v2:white:wlan";
- };
- };
};
-&state_default {
- gpio {
- groups = "uart3", "uart2", "jtag", "wdt";
- function = "gpio";
+&leds {
+ guest_wifi {
+ gpios = <&gpio_expander 6 GPIO_ACTIVE_LOW>;
+ label = "white:guest_wifi";
};
};
/ {
compatible = "netgear,r6800", "mediatek,mt7621-soc";
model = "Netgear R6800";
-
- aliases {
- led-boot = &led_power_white;
- led-failsafe = &led_power_orange;
- led-running = &led_power_white;
- led-upgrade = &led_power_orange;
- };
-
- leds {
- compatible = "gpio-leds";
-
- led_power_orange: power_orange {
- gpios = <&gpio_expander 0 GPIO_ACTIVE_LOW>;
- label = "r6800:orange:power";
- };
-
- led_power_white: power_white {
- gpios = <&gpio_expander 1 GPIO_ACTIVE_LOW>;
- label = "r6800:white:power";
- };
-
- wan_orange {
- gpios = <&gpio_expander 2 GPIO_ACTIVE_LOW>;
- label = "r6800:orange:wan";
- };
-
- wan_white {
- gpios = <&gpio_expander 3 GPIO_ACTIVE_LOW>;
- label = "r6800:white:wan";
- };
-
- wlan2g {
- gpios = <&gpio_expander 4 GPIO_ACTIVE_LOW>;
- label = "r6800:white:wlan2g";
- linux,default-trigger = "phy0radio";
- };
-
- wlan5g {
- gpios = <&gpio_expander 5 GPIO_ACTIVE_LOW>;
- label = "r6800:white:wlan5g";
- linux,default-trigger = "phy1radio";
- };
-
- usb2 {
- gpios = <&gpio_expander 6 GPIO_ACTIVE_LOW>;
- label = "r6800:white:usb2";
- linux,default-trigger = "usbport";
- trigger-sources = <&ehci_port2>;
- };
-
- usb3 {
- gpios = <&gpio_expander 7 GPIO_ACTIVE_LOW>;
- label = "r6800:white:usb3";
- linux,default-trigger = "usbport";
- trigger-sources = <&xhci_ehci_port1>;
- };
-
- lan1_orange {
- gpios = <&gpio_expander 8 GPIO_ACTIVE_LOW>;
- label = "r6800:orange:lan1";
- };
-
- lan1_white {
- gpios = <&gpio_expander 9 GPIO_ACTIVE_LOW>;
- label = "r6800:white:lan1";
- };
-
- lan2_orange {
- gpios = <&gpio_expander 10 GPIO_ACTIVE_LOW>;
- label = "r6800:orange:lan2";
- };
-
- lan2_white {
- gpios = <&gpio_expander 11 GPIO_ACTIVE_LOW>;
- label = "r6800:white:lan2";
- };
-
- lan3_orange {
- gpios = <&gpio_expander 12 GPIO_ACTIVE_LOW>;
- label = "r6800:orange:lan3";
- };
-
- lan3_white {
- gpios = <&gpio_expander 13 GPIO_ACTIVE_LOW>;
- label = "r6800:white:lan3";
- };
-
- lan4_orange {
- gpios = <&gpio_expander 14 GPIO_ACTIVE_LOW>;
- label = "r6800:orange:lan4";
- };
-
- lan4_white {
- gpios = <&gpio_expander 15 GPIO_ACTIVE_LOW>;
- label = "r6800:white:lan4";
- };
-
- wps {
- gpios = <&gpio 17 GPIO_ACTIVE_HIGH>;
- label = "r6800:white:wps";
- };
-
- wlan {
- gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
- label = "r6800:white:wlan";
- };
- };
};
-&state_default {
- gpio {
- groups = "uart3", "uart2", "jtag", "wdt";
- function = "gpio";
+&leds {
+ usb2 {
+ gpios = <&gpio_expander 6 GPIO_ACTIVE_LOW>;
+ label = "white:usb2";
+ linux,default-trigger = "usbport";
+ trigger-sources = <&ehci_port2>;
};
};
compatible = "netgear,r6850", "mediatek,mt7621-soc";
model = "Netgear R6850";
};
-
-&led_power {
- label = "r6850:green:power";
-};
-
-&led_usb {
- label = "r6850:green:usb";
-};
-
-&led_internet {
- label = "r6850:green:wan";
-};
-
-&led_wifi {
- label = "r6850:green:wifi";
-};
compatible = "gpio-leds";
led_power: power {
+ label = "green:power";
gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
};
- led_usb: usb {
+ usb {
+ label = "green:usb";
gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
trigger-sources = <&xhci_ehci_port1>, <&ehci_port2>;
linux,default-trigger = "usbport";
};
- led_internet: internet {
+ internet {
+ label = "green:wan";
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
};
- led_wifi: wifi {
+ wifi {
+ label = "green:wifi";
gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
- led_wps: wps {
+ wps {
+ label = "green:wps";
gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
};
};
aliases {
label-mac-device = &gmac0;
+ led-boot = &led_power_white;
+ led-failsafe = &led_power_orange;
+ led-running = &led_power_white;
+ led-upgrade = &led_power_orange;
};
keys {
linux,code = <KEY_RESTART>;
};
};
+
+ leds: leds {
+ compatible = "gpio-leds";
+
+ led_power_orange: power_orange {
+ gpios = <&gpio_expander 0 GPIO_ACTIVE_LOW>;
+ label = "orange:power";
+ };
+
+ led_power_white: power_white {
+ gpios = <&gpio_expander 1 GPIO_ACTIVE_LOW>;
+ label = "white:power";
+ };
+
+ wan_orange {
+ gpios = <&gpio_expander 2 GPIO_ACTIVE_LOW>;
+ label = "orange:wan";
+ };
+
+ wan_white {
+ gpios = <&gpio_expander 3 GPIO_ACTIVE_LOW>;
+ label = "white:wan";
+ };
+
+ wlan2g {
+ gpios = <&gpio_expander 4 GPIO_ACTIVE_LOW>;
+ label = "white:wlan2g";
+ linux,default-trigger = "phy0radio";
+ };
+
+ wlan5g {
+ gpios = <&gpio_expander 5 GPIO_ACTIVE_LOW>;
+ label = "white:wlan5g";
+ linux,default-trigger = "phy1radio";
+ };
+
+ usb3 {
+ gpios = <&gpio_expander 7 GPIO_ACTIVE_LOW>;
+ label = "white:usb3";
+ linux,default-trigger = "usbport";
+ trigger-sources = <&xhci_ehci_port1>;
+ };
+
+ lan1_orange {
+ gpios = <&gpio_expander 8 GPIO_ACTIVE_LOW>;
+ label = "orange:lan1";
+ };
+
+ lan1_white {
+ gpios = <&gpio_expander 9 GPIO_ACTIVE_LOW>;
+ label = "white:lan1";
+ };
+
+ lan2_orange {
+ gpios = <&gpio_expander 10 GPIO_ACTIVE_LOW>;
+ label = "orange:lan2";
+ };
+
+ lan2_white {
+ gpios = <&gpio_expander 11 GPIO_ACTIVE_LOW>;
+ label = "white:lan2";
+ };
+
+ lan3_orange {
+ gpios = <&gpio_expander 12 GPIO_ACTIVE_LOW>;
+ label = "orange:lan3";
+ };
+
+ lan3_white {
+ gpios = <&gpio_expander 13 GPIO_ACTIVE_LOW>;
+ label = "white:lan3";
+ };
+
+ lan4_orange {
+ gpios = <&gpio_expander 14 GPIO_ACTIVE_LOW>;
+ label = "orange:lan4";
+ };
+
+ lan4_white {
+ gpios = <&gpio_expander 15 GPIO_ACTIVE_LOW>;
+ label = "white:lan4";
+ };
+
+ wps {
+ gpios = <&gpio 17 GPIO_ACTIVE_HIGH>;
+ label = "white:wps";
+ };
+
+ wlan {
+ gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
+ label = "white:wlan";
+ };
+ };
+};
+
+&state_default {
+ gpio {
+ groups = "uart3", "uart2", "jtag", "wdt";
+ function = "gpio";
+ };
};
&pcie {
compatible = "gpio-leds";
led_power: power {
+ label = "green:power";
gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
};
- led_usb: usb {
+ usb {
+ label = "green:usb";
gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
trigger-sources = <&xhci_ehci_port1>, <&ehci_port2>;
linux,default-trigger = "usbport";
};
- led_internet: internet {
+ internet {
+ label = "green:wan";
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
};
- led_wifi: wifi {
+ wifi {
+ label = "green:wifi";
gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
compatible = "gpio-leds";
wps {
- label = "wac104:green:wps";
+ label = "green:wps";
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
};
led_power: power {
- label = "wac104:green:power";
+ label = "green:power";
gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
};
wifi {
- label = "wac104:green:wifi";
+ label = "green:wifi";
gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
compatible = "netgear,wac124", "mediatek,mt7621-soc";
model = "Netgear WAC124";
};
-
-&led_power {
- label = "wac124:green:power";
-};
-
-&led_usb {
- label = "wac124:green:usb";
-};
-
-&led_internet {
- label = "wac124:green:wan";
-};
-
-&led_wifi {
- label = "wac124:green:wifi";
-};
model = "Netgear WNDR3700 v5";
};
-&led_power {
- label = "wndr3700-v5:green:power";
-};
-
-&led_usb {
- label = "wndr3700-v5:green:usb";
-};
-
-&led_internet {
- label = "wndr3700-v5:green:wan";
-};
-
-&led_wifi {
- label = "wndr3700-v5:green:wifi";
-};
-
-&led_wps {
- label = "wndr3700-v5:green:wps";
-};
-
&spi0 {
status = "okay";
compatible = "gpio-leds";
usb {
- label = "wf2881:green:usb";
+ label = "green:usb";
gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
trigger-sources = <&xhci_ehci_port1>, <&ehci_port2>;
linux,default-trigger = "usbport";
};
led_wps: wps {
- label = "wf2881:green:wps";
+ label = "green:wps";
gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
stat_r {
- label = "k2p:red:status";
+ label = "red:status";
gpios = <&gpio 13 GPIO_ACTIVE_HIGH>;
};
stat_y {
- label = "k2p:yellow:status";
+ label = "yellow:status";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
};
led_blue: stat_b {
- label = "k2p:blue:status";
+ label = "blue:status";
gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_power: power {
- label = "vr500:green:power";
+ label = "green:power";
gpios = <&gpio 45 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_wps: wps {
- label = "sk-wb8:green:wps";
+ label = "green:wps";
gpios = <&gpio 46 GPIO_ACTIVE_LOW>;
};
usb {
- label = "sk-wb8:green:usb";
+ label = "green:usb";
gpios = <&gpio 47 GPIO_ACTIVE_LOW>;
trigger-sources = <&xhci_ehci_port1>, <&ehci_port2>;
linux,default-trigger = "usbport";
compatible = "gpio-leds";
usb {
- label = "sap-g3200u3:green:usb";
+ label = "green:usb";
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
trigger-sources = <&xhci_ehci_port1>, <&ehci_port2>;
linux,default-trigger = "usbport";
compatible = "gpio-leds";
system_led: system {
- label = "x1:green:system";
+ label = "green:system";
gpios = <&gpio 26 GPIO_ACTIVE_LOW>;
};
modem_offline {
- label = "x1:red:modem-offline";
+ label = "red:modem-offline";
gpios = <&gpio 23 GPIO_ACTIVE_HIGH>;
};
modem_4g {
- label = "x1:blue:modem-4g";
+ label = "blue:modem-4g";
gpios = <&gpio 24 GPIO_ACTIVE_LOW>;
};
modem_3g {
- label = "x1:green:modem-3g";
+ label = "green:modem-3g";
gpios = <&gpio 25 GPIO_ACTIVE_LOW>;
};
modem_rssi_lowest {
- label = "x1:green:modem-rssi-lowest";
+ label = "green:modem-rssi-lowest";
gpios = <&gpio 27 GPIO_ACTIVE_LOW>;
};
modem_rssi_low {
- label = "x1:green:modem-rssi-low";
+ label = "green:modem-rssi-low";
gpios = <&gpio 28 GPIO_ACTIVE_LOW>;
};
modem_rssi_medium {
- label = "x1:green:modem-rssi-medium";
+ label = "green:modem-rssi-medium";
gpios = <&gpio 29 GPIO_ACTIVE_LOW>;
};
modem_rssi_high {
- label = "x1:green:modem-rssi-high";
+ label = "green:modem-rssi-high";
gpios = <&gpio 30 GPIO_ACTIVE_LOW>;
};
modem_rssi_highest {
- label = "x1:green:modem-rssi-highest";
+ label = "green:modem-rssi-highest";
gpios = <&gpio 31 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
statw {
- label = "timecloud:white:status";
+ label = "white:status";
gpios = <&gpio 7 GPIO_ACTIVE_HIGH>;
};
led_statuso: stato {
- label = "timecloud:orange:status";
+ label = "orange:status";
gpios = <&gpio 8 GPIO_ACTIVE_HIGH>;
};
};
compatible = "gpio-leds";
led_sys: sys {
- label = "a7000r:blue:sys";
+ label = "blue:sys";
gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_power: power {
- label = "re350-v1:blue:power";
+ label = "blue:power";
gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
};
wifi2g {
- label = "re350-v1:blue:wifi2G";
+ label = "blue:wifi2G";
gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
};
wifi5g {
- label = "re350-v1:blue:wifi5G";
+ label = "blue:wifi5G";
gpios = <&gpio 24 GPIO_ACTIVE_LOW>;
};
wps_r {
- label = "re350-v1:red:wps";
+ label = "red:wps";
gpios = <&gpio 25 GPIO_ACTIVE_HIGH>;
};
wps_b {
- label = "re350-v1:blue:wps";
+ label = "blue:wps";
gpios = <&gpio 26 GPIO_ACTIVE_HIGH>;
};
eth {
- label = "re350-v1:green:eth_act";
+ label = "green:eth_act";
gpios = <&gpio 28 GPIO_ACTIVE_LOW>;
};
eth2 {
- label = "re350-v1:green:eth_link";
+ label = "green:eth_link";
gpios = <&gpio 29 GPIO_ACTIVE_LOW>;
};
};
/ {
compatible = "tplink,re500-v1", "mediatek,mt7621-soc";
model = "TP-Link RE500 v1";
-
- aliases {
- led-boot = &led_power;
- led-failsafe = &led_power;
- led-running = &led_power;
- led-upgrade = &led_power;
- };
-
- leds {
- compatible = "gpio-leds";
-
- led_power: power {
- label = "re500-v1:blue:power";
- gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
- };
-
- wifi2g {
- label = "re500-v1:blue:wifi2g";
- gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "phy0tpt";
- };
-
- wifi5g {
- label = "re500-v1:blue:wifi5g";
- gpios = <&gpio 24 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "phy1tpt";
- };
-
- wps_red {
- label = "re500-v1:red:wps";
- gpios = <&gpio 26 GPIO_ACTIVE_HIGH>;
- };
-
- wps_blue {
- label = "re500-v1:blue:wps";
- gpios = <&gpio 27 GPIO_ACTIVE_HIGH>;
- };
-
- eth_act {
- label = "re500-v1:green:eth_act";
- gpios = <&gpio 28 GPIO_ACTIVE_LOW>;
- };
-
- eth_link {
- label = "re500-v1:green:eth_link";
- gpios = <&gpio 29 GPIO_ACTIVE_LOW>;
- };
- };
-};
-
-&state_default {
- gpio {
- groups = "rgmii2", "wdt";
- function = "gpio";
- };
};
/ {
compatible = "tplink,re650-v1", "mediatek,mt7621-soc";
model = "TP-Link RE650 v1";
-
- aliases {
- led-boot = &led_power;
- led-failsafe = &led_power;
- led-running = &led_power;
- led-upgrade = &led_power;
- };
-
- leds {
- compatible = "gpio-leds";
-
- led_power: power {
- label = "re650-v1:blue:power";
- gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
- };
-
- wifi2g {
- label = "re650-v1:blue:wifi2g";
- gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "phy0tpt";
- };
-
- wifi5g {
- label = "re650-v1:blue:wifi5g";
- gpios = <&gpio 24 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "phy1tpt";
- };
-
- wps_red {
- label = "re650-v1:red:wps";
- gpios = <&gpio 26 GPIO_ACTIVE_HIGH>;
- };
-
- wps_blue {
- label = "re650-v1:blue:wps";
- gpios = <&gpio 27 GPIO_ACTIVE_HIGH>;
- };
-
- eth_act {
- label = "re650-v1:green:eth_act";
- gpios = <&gpio 28 GPIO_ACTIVE_LOW>;
- };
-
- eth_link {
- label = "re650-v1:green:eth_link";
- gpios = <&gpio 29 GPIO_ACTIVE_LOW>;
- };
- };
-};
-
-&state_default {
- gpio {
- groups = "rgmii2", "wdt";
- function = "gpio";
- };
};
/ {
aliases {
label-mac-device = &gmac0;
+ led-boot = &led_power;
+ led-failsafe = &led_power;
+ led-running = &led_power;
+ led-upgrade = &led_power;
};
keys {
linux,code = <KEY_RESTART>;
};
};
+
+ leds {
+ compatible = "gpio-leds";
+
+ led_power: power {
+ label = "blue:power";
+ gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
+ };
+
+ wifi2g {
+ label = "blue:wifi2g";
+ gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
+ linux,default-trigger = "phy0tpt";
+ };
+
+ wifi5g {
+ label = "blue:wifi5g";
+ gpios = <&gpio 24 GPIO_ACTIVE_LOW>;
+ linux,default-trigger = "phy1tpt";
+ };
+
+ wps_red {
+ label = "red:wps";
+ gpios = <&gpio 26 GPIO_ACTIVE_HIGH>;
+ };
+
+ wps_blue {
+ label = "blue:wps";
+ gpios = <&gpio 27 GPIO_ACTIVE_HIGH>;
+ };
+
+ eth_act {
+ label = "green:eth_act";
+ gpios = <&gpio 28 GPIO_ACTIVE_LOW>;
+ };
+
+ eth_link {
+ label = "green:eth_link";
+ gpios = <&gpio 29 GPIO_ACTIVE_LOW>;
+ };
+ };
};
&spi0 {
};
};
+&state_default {
+ gpio {
+ groups = "rgmii2", "wdt";
+ function = "gpio";
+ };
+};
+
&pcie {
status = "okay";
};
compatible = "gpio-leds";
led_blue: dome_blue {
- label = "nanohd:blue:dome";
+ label = "blue:dome";
gpios = <&gpio 3 GPIO_ACTIVE_HIGH>;
};
led_white: dome_white {
- label = "nanohd:white:dome";
+ label = "white:dome";
gpios = <&gpio 4 GPIO_ACTIVE_HIGH>;
};
};
compatible = "gpio-leds";
led_status: status {
- label = "u7621-06:green:status";
+ label = "green:status";
gpios = <&gpio 10 GPIO_ACTIVE_LOW>;
};
led4 {
- label = "u7621-06:green:led4";
+ label = "green:led4";
gpios = <&gpio 11 GPIO_ACTIVE_HIGH>;
};
led5 {
- label = "u7621-06:green:led5";
+ label = "green:led5";
gpios = <&gpio 12 GPIO_ACTIVE_HIGH>;
};
};
compatible = "gpio-leds";
led_status_blue: status_blue {
- label = "wl-wn531a6:blue:power";
+ label = "blue:power";
gpios = <&gpio 16 GPIO_ACTIVE_HIGH>;
};
led_status_red: status_red {
- label = "wl-wn531a6:red:power";
+ label = "red:power";
gpios = <&gpio 17 GPIO_ACTIVE_HIGH>;
};
wifi2g {
- label = "wl-wn531a6:blue:wifi2g";
+ label = "blue:wifi2g";
gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
compatible = "gpio-leds";
usb {
- label = "11acnas:green:usb";
+ label = "green:usb";
gpios = <&gpio 27 GPIO_ACTIVE_LOW>;
trigger-sources = <&xhci_ehci_port1>, <&ehci_port2>;
linux,default-trigger = "usbport";
compatible = "gpio-leds";
usb {
- label = "w2914nsv2:green:usb";
+ label = "green:usb";
gpios = <&gpio 27 GPIO_ACTIVE_LOW>;
trigger-sources = <&xhci_ehci_port1>, <&ehci_port2>;
linux,default-trigger = "usbport";
compatible = "gpio-leds";
night_light_white {
- label = "ws-wn583a6:white:night_light";
+ label = "white:night_light";
gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;
};
led_status_blue: status_blue {
- label = "ws-wn583a6:blue:status";
+ label = "blue:status";
gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
};
status_amber {
- label = "ws-wn583a6:amber:status";
+ label = "amber:status";
gpios = <&gpio 24 GPIO_ACTIVE_LOW>;
};
led_status_red: status_red {
- label = "ws-wn583a6:red:status";
+ label = "red:status";
gpios = <&gpio 25 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
wan_yellow {
- label = "mi-router-ac2100:yellow:wan";
+ label = "yellow:wan";
gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
};
wan_blue {
- label = "mi-router-ac2100:blue:wan";
+ label = "blue:wan";
gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
};
led_status_yellow: status_yellow {
- label = "mi-router-ac2100:yellow:status";
+ label = "yellow:status";
gpios = <&gpio 10 GPIO_ACTIVE_LOW>;
};
led_status_blue: status_blue {
- label = "mi-router-ac2100:blue:status";
+ label = "blue:status";
gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_status_blue: status_blue {
- label = "mir3gv2:blue:status";
+ label = "blue:status";
gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
};
led_status_yellow: status_yellow {
- label = "mir3gv2:yellow:status";
+ label = "yellow:status";
gpios = <&gpio 10 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_status_red: status_red {
- label = "mir3g:red:status";
+ label = "red:status";
gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
};
led_status_blue: status_blue {
- label = "mir3g:blue:status";
+ label = "blue:status";
gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
};
led_status_yellow: status_yellow {
- label = "mir3g:yellow:status";
+ label = "yellow:status";
gpios = <&gpio 10 GPIO_ACTIVE_LOW>;
};
wan_amber {
- label = "mir3g:amber:wan";
+ label = "amber:wan";
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
linux,default-trigger = "dsa-0.0:01:1Gbps";
};
lan1_amber {
- label = "mir3g:amber:lan1";
+ label = "amber:lan1";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
linux,default-trigger = "dsa-0.0:03:1Gbps";
};
lan2_amber {
- label = "mir3g:amber:lan2";
+ label = "amber:lan2";
gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
linux,default-trigger = "dsa-0.0:02:1Gbps";
};
compatible = "gpio-leds";
led_status_red: status_red {
- label = "mir3p:red:status";
+ label = "red:status";
gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
};
led_status_blue: status_blue {
- label = "mir3p:blue:status";
+ label = "blue:status";
gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
};
led_status_yellow: status_yellow {
- label = "mir3p:yellow:status";
+ label = "yellow:status";
gpios = <&gpio 10 GPIO_ACTIVE_LOW>;
};
wan_amber {
- label = "mir3p:amber:wan";
+ label = "amber:wan";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
linux,default-trigger = "dsa-0.0:04:1Gbps";
};
lan3_amber {
- label = "mir3p:amber:lan3";
+ label = "amber:lan3";
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
linux,default-trigger = "dsa-0.0:01:1Gbps";
};
lan2_amber {
- label = "mir3p:amber:lan2";
+ label = "amber:lan2";
gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
linux,default-trigger = "dsa-0.0:02:1Gbps";
};
lan1_amber {
- label = "mir3p:amber:lan1";
+ label = "amber:lan1";
gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
linux,default-trigger = "dsa-0.0:03:1Gbps";
};
compatible = "gpio-leds";
led_status_amber: status_amber {
- label = "redmi-router-ac2100:amber:status";
+ label = "amber:status";
gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
};
led_status_white: status_white {
- label = "redmi-router-ac2100:white:status";
+ label = "white:status";
gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
};
wan_amber {
- label = "redmi-router-ac2100:amber:wan";
+ label = "amber:wan";
gpios = <&gpio 10 GPIO_ACTIVE_LOW>;
};
wan_white {
- label = "redmi-router-ac2100:white:wan";
+ label = "white:wan";
gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
work {
- label = "xy-c5:green:work";
+ label = "green:work";
gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
};
led_sys: sys {
- label = "xy-c5:green:sys";
+ label = "green:sys";
gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
power {
- label = "creativebox-v1:blue:power";
+ label = "blue:power";
gpios = <&gpio 31 GPIO_ACTIVE_LOW>;
default-state = "on";
};
led_sys: sys {
- label = "creativebox-v1:blue:sys";
+ label = "blue:sys";
gpios = <&gpio 32 GPIO_ACTIVE_LOW>;
};
internet {
- label = "creativebox-v1:blue:internet";
+ label = "blue:internet";
gpios = <&gpio 29 GPIO_ACTIVE_LOW>;
};
wlan2g {
- label = "creativebox-v1:blue:wlan2g";
+ label = "blue:wlan2g";
gpios = <&gpio 33 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
wlan5g {
- label = "creativebox-v1:blue:wlan5g";
+ label = "blue:wlan5g";
gpios = <&gpio 28 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy1tpt";
};
compatible = "gpio-leds";
internet {
- label = "wr1200js:blue:internet";
+ label = "blue:internet";
gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
};
led_wps: wps {
- label = "wr1200js:blue:wps";
+ label = "blue:wps";
gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
};
usb {
- label = "wr1200js:blue:usb";
+ label = "blue:usb";
gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
trigger-sources = <&xhci_ehci_port1>, <&ehci_port2>;
linux,default-trigger = "usbport";
compatible = "gpio-leds";
led_power: power {
- label = "yk-l2:blue:power";
+ label = "blue:power";
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
default-state = "on";
};
led_wps: wps {
- label = "yk-l2:blue:wps";
+ label = "blue:wps";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
};
usb {
- label = "yk-l2:blue:usb";
+ label = "blue:usb";
gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
trigger-sources = <&xhci_ehci_port1>, <&ehci_port2>;
linux,default-trigger = "usbport";
compatible = "gpio-leds";
led_status: status {
- label = "zbt-wg2626:green:status";
+ label = "green:status";
gpios = <&gpio 24 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_status: status {
- label = "zbt-wg3526:green:status";
+ label = "green:status";
gpios = <&gpio 24 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
usb {
- label = "freezio:green:usb";
+ label = "green:usb";
gpios = <&gpio 27 GPIO_ACTIVE_LOW>;
trigger-sources = <&xhci_ehci_port1>;
linux,default-trigger = "usbport";
compatible = "gpio-leds";
led_status_red: status_red {
- label = "wap6805:red:status";
+ label = "red:status";
gpios = <&gpio 4 GPIO_ACTIVE_HIGH>;
};
status_blink {
- label = "wap6805:blink:status";
+ label = "blink:status";
gpios = <&gpio 7 GPIO_ACTIVE_HIGH>;
};
led_status_green: status_green {
- label = "wap6805:green:status";
+ label = "green:status";
gpios = <&gpio 13 GPIO_ACTIVE_HIGH>;
};
};
compatible = "gpio-leds";
led_system: system {
- label = "awusfree1:orange:system";
+ label = "orange:system";
gpios = <&gpio 43 GPIO_ACTIVE_LOW>;
};
wlan {
- label = "awusfree1:blue:wlan";
+ label = "blue:wlan";
gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
};
};
/ {
compatible = "asus,rt-n10p-v3", "mediatek,mt7628an-soc";
model = "Asus RT-N10P V3";
-
- leds {
- compatible = "gpio-leds";
-
- led_power: power {
- label = "rt-n10p-v3:green:power";
- gpios = <&gpio 37 GPIO_ACTIVE_LOW>;
- };
-
- wlan {
- label = "rt-n10p-v3:green:wlan";
- gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "phy0tpt";
- };
-
- wan {
- label = "rt-n10p-v3:green:wan";
- gpios = <&gpio 43 GPIO_ACTIVE_LOW>;
- };
-
- lan {
- label = "rt-n10p-v3:green:lan";
- gpios = <&gpio 42 GPIO_ACTIVE_LOW>;
- };
- };
};
/ {
compatible = "asus,rt-n11p-b1", "mediatek,mt7628an-soc";
model = "Asus RT-N11P B1";
-
- leds {
- compatible = "gpio-leds";
-
- led_power: power {
- label = "rt-n11p-b1:green:power";
- gpios = <&gpio 37 GPIO_ACTIVE_LOW>;
- };
-
- wlan {
- label = "rt-n11p-b1:green:wlan";
- gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "phy0tpt";
- };
-
- wan {
- label = "rt-n11p-b1:green:wan";
- gpios = <&gpio 43 GPIO_ACTIVE_LOW>;
- };
-
- lan {
- label = "rt-n11p-b1:green:lan";
- gpios = <&gpio 42 GPIO_ACTIVE_LOW>;
- };
- };
};
/ {
compatible = "asus,rt-n12-vp-b1", "mediatek,mt7628an-soc";
model = "Asus RT-N12 VP B1";
-
- leds {
- compatible = "gpio-leds";
-
- led_power: power {
- label = "rt-n12-vp-b1:green:power";
- gpios = <&gpio 37 GPIO_ACTIVE_LOW>;
- };
-
- wlan {
- label = "rt-n12-vp-b1:green:wlan";
- gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "phy0tpt";
- };
-
- wan {
- label = "rt-n12-vp-b1:green:wan";
- gpios = <&gpio 43 GPIO_ACTIVE_LOW>;
- };
-
- lan {
- label = "rt-n12-vp-b1:green:lan";
- gpios = <&gpio 42 GPIO_ACTIVE_LOW>;
- };
- };
};
linux,code = <KEY_RESTART>;
};
};
+
+ leds {
+ compatible = "gpio-leds";
+
+ led_power: power {
+ label = "green:power";
+ gpios = <&gpio 37 GPIO_ACTIVE_LOW>;
+ };
+
+ wlan {
+ label = "green:wlan";
+ gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
+ linux,default-trigger = "phy0tpt";
+ };
+
+ wan {
+ label = "green:wan";
+ gpios = <&gpio 43 GPIO_ACTIVE_LOW>;
+ };
+
+ lan {
+ label = "green:lan";
+ gpios = <&gpio 42 GPIO_ACTIVE_LOW>;
+ };
+ };
};
&spi0 {
compatible = "gpio-leds";
router_o {
- label = "wcr-1166ds:orange:router";
+ label = "orange:router";
gpios = <&gpio 37 GPIO_ACTIVE_LOW>;
};
router_g {
- label = "wcr-1166ds:green:router";
+ label = "green:router";
gpios = <&gpio 38 GPIO_ACTIVE_LOW>;
};
internet_o {
- label = "wcr-1166ds:orange:internet";
+ label = "orange:internet";
gpios = <&gpio 39 GPIO_ACTIVE_LOW>;
};
internet_g {
- label = "wcr-1166ds:green:internet";
+ label = "green:internet";
gpios = <&gpio 40 GPIO_ACTIVE_LOW>;
};
wireless_o {
- label = "wcr-1166ds:orange:wireless";
+ label = "orange:wireless";
gpios = <&gpio 41 GPIO_ACTIVE_LOW>;
};
wireless_g {
- label = "wcr-1166ds:green:wireless";
+ label = "green:wireless";
gpios = <&gpio 42 GPIO_ACTIVE_LOW>;
};
diag {
- label = "wcr-1166ds:orange:diag";
+ label = "orange:diag";
gpios = <&gpio 43 GPIO_ACTIVE_LOW>;
};
led_power: power {
- label = "wcr-1166ds:green:power";
+ label = "green:power";
gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
lan1 {
- label = "wr1000:blue:lan1";
+ label = "blue:lan1";
gpios = <&gpio 40 GPIO_ACTIVE_LOW>;
};
lan2 {
- label = "wr1000:blue:lan2";
+ label = "blue:lan2";
gpios = <&gpio 41 GPIO_ACTIVE_LOW>;
};
wan {
- label = "wr1000:blue:wan";
+ label = "blue:wan";
gpios = <&gpio 39 GPIO_ACTIVE_LOW>;
};
wlan2g {
- label = "wr1000:blue:wlan2g";
+ label = "blue:wlan2g";
gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
led_wps: wps {
- label = "wr1000:blue:wps";
+ label = "blue:wps";
gpios = <&gpio 37 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
usb {
- label = "pbr-d1:orange:usb";
+ label = "orange:usb";
gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
trigger-sources = <&ohci_port1>, <&ehci_port1>;
linux,default-trigger = "usbport";
};
led_power: power {
- label = "pbr-d1:orange:power";
+ label = "orange:power";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
default-state = "on";
};
compatible = "gpio-leds";
led_power: power {
- label = "gl-mt300n-v2:green:power";
+ label = "green:power";
default-state = "on";
gpios = <&gpio 42 GPIO_ACTIVE_LOW>;
};
wan {
- label = "gl-mt300n-v2:green:wan";
+ label = "green:wan";
gpios = <&gpio 43 GPIO_ACTIVE_LOW>;
};
wlan {
- label = "gl-mt300n-v2:red:wlan";
+ label = "red:wlan";
gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
};
};
model = "GL.iNet microuter-N300";
};
-&led_power_blue {
- label = "microuter-n300:blue:power";
-};
-
-&led_wlan_white {
- label = "microuter-n300:white:wlan";
-};
-
&firmware_part {
reg = <0x50000 0xfb0000>;
};
model = "GL.iNet VIXMINI";
};
-&led_power_blue {
- label = "vixmini:blue:power";
-};
-
-&led_wlan_white {
- label = "vixmini:white:wlan";
-};
-
&firmware_part {
reg = <0x50000 0x7b0000>;
};
compatible = "gpio-leds";
led_power_blue: power {
- /* Name is set device-specific */
+ label = "blue:power";
gpios = <&gpio 42 GPIO_ACTIVE_LOW>;
};
- led_wlan_white: wlan {
- /* Name is set device-specific */
+ wlan {
+ label = "white:wlan";
gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
compatible = "gpio-leds";
wlan {
- label = "hlk-7628n:green:wlan";
+ label = "green:wlan";
gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_system: system {
- label = "hc5661a:blue:system";
+ label = "blue:system";
gpios = <&gpio 37 GPIO_ACTIVE_HIGH>;
};
internet {
- label = "hc5661a:blue:internet";
+ label = "blue:internet";
gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
};
wlan2g {
- label = "hc5661a:blue:wlan2g";
+ label = "blue:wlan2g";
gpios = <&gpio 44 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "phy0tpt";
};
compatible = "gpio-leds";
led_system: system {
- label = "hc5761a:blue:system";
+ label = "blue:system";
gpios = <&gpio 37 GPIO_ACTIVE_HIGH>;
};
internet {
- label = "hc5761a:blue:internet";
+ label = "blue:internet";
gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
};
wlan2g {
- label = "hc5761a:blue:wlan2g";
+ label = "blue:wlan2g";
gpios = <&gpio 44 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "phy0tpt";
};
wlan5g {
- label = "hc5761a:blue:wlan5g";
+ label = "blue:wlan5g";
gpios = <&gpio 40 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "phy1tpt";
};
compatible = "gpio-leds";
led_system: system {
- label = "hc5861b:green:system";
+ label = "green:system";
gpios = <&gpio 37 GPIO_ACTIVE_LOW>;
};
wlan2g {
- label = "hc5861b:green:wlan2g";
+ label = "green:wlan2g";
gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
compatible = "gpio-leds";
led_cpu: cpu {
- label = "a3:blue:cpu";
+ label = "blue:cpu";
gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
};
wlan {
- label = "a3:blue:wlan";
+ label = "blue:wlan";
gpios = <&gpio 46 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
compatible = "gpio-leds";
wlan5g {
- label = "a604m:blue:wlan5g";
+ label = "blue:wlan5g";
gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy1tpt";
};
led_cpu: cpu {
- label = "a604m:blue:cpu";
+ label = "blue:cpu";
gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
};
wlan2g {
- label = "a604m:blue:wlan2g";
+ label = "blue:wlan2g";
gpios = <&gpio 46 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
compatible = "gpio-leds";
led_system: system {
- label = "js76x8:green:system";
+ label = "green:system";
gpios = <&gpio 37 GPIO_ACTIVE_LOW>;
};
wifi {
- label = "js76x8:green:wifi";
+ label = "green:wifi";
gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
compatible = "gpio-leds";
led_wifi: wifi {
- label = "linkit-smart-7688:orange:wifi";
+ label = "orange:wifi";
gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_status: status {
- label = "mac1200rv2:green:status";
+ label = "green:status";
gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
};
};
/ {
compatible = "netgear,r6020", "mediatek,mt7628an-soc";
model = "Netgear R6020";
-
- aliases {
- led-boot = &led_power;
- led-failsafe = &led_power;
- led-running = &led_power;
- led-upgrade = &led_power;
- };
-
- leds {
- compatible = "gpio-leds";
-
- lan {
- label = "r6020:green:lan";
- gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
- };
-
- led_power: power {
- label = "r6020:green:power";
- gpios = <&gpio 43 GPIO_ACTIVE_LOW>;
- };
-
- wlan2g_green {
- label = "r6020:green:wlan2g";
- gpios = <&gpio 42 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "phy0tpt";
- };
-
- wlan2g_orange {
- label = "r6020:orange:wlan2g";
- gpios = <&gpio 41 GPIO_ACTIVE_LOW>;
- };
-
- wan_green {
- label = "r6020:green:wan";
- gpios = <&gpio 40 GPIO_ACTIVE_LOW>;
- };
-
- wan_orange {
- label = "r6020:orange:wan";
- gpios = <&gpio 39 GPIO_ACTIVE_LOW>;
- };
- };
};
&state_default {
model = "Netgear R6080";
aliases {
- led-boot = &led_power;
- led-failsafe = &led_power;
- led-running = &led_power;
- led-upgrade = &led_power;
label-mac-device = ðernet;
};
-
- leds {
- compatible = "gpio-leds";
-
- lan {
- label = "r6080:green:lan";
- gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
- };
-
- led_power: power {
- label = "r6080:green:power";
- gpios = <&gpio 43 GPIO_ACTIVE_LOW>;
- };
-
- wlan2g_green {
- label = "r6080:green:wlan2g";
- gpios = <&gpio 42 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "phy0tpt";
- };
-
- wlan2g_orange {
- label = "r6080:orange:wlan2g";
- gpios = <&gpio 41 GPIO_ACTIVE_LOW>;
- };
-
- wan_green {
- label = "r6080:green:wan";
- gpios = <&gpio 40 GPIO_ACTIVE_LOW>;
- };
-
- wan_orange {
- label = "r6080:orange:wan";
- gpios = <&gpio 39 GPIO_ACTIVE_LOW>;
- };
- };
};
&state_default {
model = "Netgear R6120";
aliases {
- led-boot = &led_power;
- led-failsafe = &led_power;
- led-running = &led_power;
- led-upgrade = &led_power;
label-mac-device = ðernet;
};
- leds {
- compatible = "gpio-leds";
-
- lan {
- label = "r6120:green:lan";
- gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
- };
-
- led_power: power {
- label = "r6120:green:power";
- gpios = <&gpio 43 GPIO_ACTIVE_LOW>;
- };
-
- wlan2g_green {
- label = "r6120:green:wlan2g";
- gpios = <&gpio 42 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "phy0tpt";
- };
-
- wlan2g_orange {
- label = "r6120:orange:wlan2g";
- gpios = <&gpio 41 GPIO_ACTIVE_LOW>;
- };
-
- wan_green {
- label = "r6120:green:wan";
- gpios = <&gpio 40 GPIO_ACTIVE_LOW>;
- };
-
- wan_orange {
- label = "r6120:orange:wan";
- gpios = <&gpio 39 GPIO_ACTIVE_LOW>;
- };
- };
-
usb-regulator {
compatible = "regulator-fixed";
#include <dt-bindings/input/input.h>
/ {
+ aliases {
+ led-boot = &led_power;
+ led-failsafe = &led_power;
+ led-running = &led_power;
+ led-upgrade = &led_power;
+ };
+
keys {
compatible = "gpio-keys";
linux,code = <KEY_RESTART>;
};
};
+
+ leds {
+ compatible = "gpio-leds";
+
+ lan {
+ label = "green:lan";
+ gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
+ };
+
+ led_power: power {
+ label = "green:power";
+ gpios = <&gpio 43 GPIO_ACTIVE_LOW>;
+ };
+
+ wlan2g_green {
+ label = "green:wlan2g";
+ gpios = <&gpio 42 GPIO_ACTIVE_LOW>;
+ linux,default-trigger = "phy0tpt";
+ };
+
+ wlan2g_orange {
+ label = "orange:wlan2g";
+ gpios = <&gpio 41 GPIO_ACTIVE_LOW>;
+ };
+
+ wan_green {
+ label = "green:wan";
+ gpios = <&gpio 40 GPIO_ACTIVE_LOW>;
+ };
+
+ wan_orange {
+ label = "orange:wan";
+ gpios = <&gpio 39 GPIO_ACTIVE_LOW>;
+ };
+ };
};
&spi0 {
&firmware {
reg = <0x50000 0xfb0000>;
};
-
-&system_led {
- label = "omega2:amber:system";
-};
compatible = "onion,omega2", "mediatek,mt7628an-soc";
aliases {
- led-boot = &system_led;
- led-failsafe = &system_led;
- led-running = &system_led;
- led-upgrade = &system_led;
+ led-boot = &led_system;
+ led-failsafe = &led_system;
+ led-running = &led_system;
+ led-upgrade = &led_system;
};
chosen {
leds {
compatible = "gpio-leds";
- system_led: system {
+ led_system: system {
+ label = "amber:system";
gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
};
};
&firmware {
reg = <0x50000 0x1fb0000>;
};
-
-&system_led {
- label = "omega2p:amber:system";
-};
compatible = "gpio-leds";
wifi {
- label = "rak633:blue:wifi";
+ label = "blue:wifi";
gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_globe: globe {
- label = "rp-wd009:white:globe";
+ label = "white:globe";
gpios = <&gpio 43 GPIO_ACTIVE_LOW>;
};
wlan2 {
- label = "rp-wd009:white:wlan2";
+ label = "white:wlan2";
gpios = <&gpio 44 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "phy0tpt";
};
wlan5 {
- label = "rp-wd009:white:wlan5";
+ label = "white:wlan5";
gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy1tpt";
};
sd_white {
- label = "rp-wd009:white:sd";
+ label = "white:sd";
gpios = <&gpio 41 GPIO_ACTIVE_LOW>;
};
sd_red {
- label = "rp-wd009:red:sd";
+ label = "red:sd";
gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_power: wps {
- label = "skw92a:green:wps";
+ label = "green:wps";
gpios = <&gpio 37 GPIO_ACTIVE_LOW>;
};
wlan {
- label = "skw92a:green:wlan";
+ label = "green:wlan";
gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
wps {
- label = "w06:green:wps";
+ label = "green:wps";
gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
};
wan {
- label = "w06:green:wan";
+ label = "green:wan";
gpios = <&gpio 43 GPIO_ACTIVE_LOW>;
};
wireless {
- label = "w06:green:wlan";
+ label = "green:wlan";
gpios = <&gpio 46 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_cpu: cpu {
- label = "a3:blue:cpu";
+ label = "blue:cpu";
gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
};
wlan {
- label = "a3:blue:wlan";
+ label = "blue:wlan";
gpios = <&gpio 46 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
compatible = "gpio-leds";
led_sys: sys {
- label = "lr1200:blue:sys";
+ label = "blue:sys";
gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
};
sms {
- label = "lr1200:blue:sms";
+ label = "blue:sms";
gpios = <&gpio 37 GPIO_ACTIVE_LOW>;
};
wifi {
- label = "lr1200:blue:wifi";
+ label = "blue:wifi";
gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
3g {
- label = "lr1200:blue:3g";
+ label = "blue:3g";
gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
};
4g {
- label = "lr1200:blue:4g";
+ label = "blue:4g";
gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
};
rssi1 {
- label = "lr1200:blue:rssi1";
+ label = "blue:rssi1";
gpios = <&gpio 46 GPIO_ACTIVE_LOW>;
};
rssi2 {
- label = "lr1200:blue:rssi2";
+ label = "blue:rssi2";
gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
};
rssi3 {
- label = "lr1200:blue:rssi3";
+ label = "blue:rssi3";
gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
};
rssi4 {
- label = "lr1200:blue:rssi4";
+ label = "blue:rssi4";
gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
lan {
- label = "archer-c20-v4:green:lan";
+ label = "green:lan";
gpios = <&gpio 42 GPIO_ACTIVE_LOW>;
};
led_power: power {
- label = "archer-c20-v4:green:power";
+ label = "green:power";
gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
};
wan {
- label = "archer-c20-v4:green:wan";
+ label = "green:wan";
gpios = <&gpio 43 GPIO_ACTIVE_LOW>;
};
wan_orange {
- label = "archer-c20-v4:orange:wan";
+ label = "orange:wan";
gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
};
wlan5g {
- label = "archer-c20-v4:green:wlan5g";
+ label = "green:wlan5g";
gpios = <&gpio 40 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy1tpt";
};
wlan2g {
- label = "archer-c20-v4:green:wlan2g";
+ label = "green:wlan2g";
gpios = <&gpio 39 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
wps {
- label = "archer-c20-v4:green:wps";
+ label = "green:wps";
gpios = <&gpio 41 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_power: power {
- label = "archer-c20-v5:green:power";
+ label = "green:power";
gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
};
wlan2g {
- label = "archer-c20-v5:green:wlan2g";
+ label = "green:wlan2g";
gpios = <&gpio 39 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
wlan5g {
- label = "archer-c20-v5:green:wlan5g";
+ label = "green:wlan5g";
gpios = <&gpio 40 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy1tpt";
};
lan {
- label = "archer-c20-v5:green:lan";
+ label = "green:lan";
gpios = <&gpio 42 GPIO_ACTIVE_LOW>;
};
wan_green {
- label = "archer-c20-v5:green:wan";
+ label = "green:wan";
gpios = <&gpio 43 GPIO_ACTIVE_LOW>;
};
wan_orange {
- label = "archer-c20-v5:orange:wan";
+ label = "orange:wan";
gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
};
wps {
- label = "archer-c20-v5:green:wps";
+ label = "green:wps";
gpios = <&gpio 41 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
lan {
- label = "archer-c50-v3:green:lan";
+ label = "green:lan";
gpios = <&gpio 41 GPIO_ACTIVE_LOW>;
};
led_power: power {
- label = "archer-c50-v3:green:power";
+ label = "green:power";
gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
};
wan {
- label = "archer-c50-v3:green:wan";
+ label = "green:wan";
gpios = <&gpio 39 GPIO_ACTIVE_LOW>;
};
wan_orange {
- label = "archer-c50-v3:orange:wan";
+ label = "orange:wan";
gpios = <&gpio 40 GPIO_ACTIVE_LOW>;
};
wlan {
- label = "archer-c50-v3:green:wlan2g";
+ label = "green:wlan2g";
gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
};
wlan5 {
- label = "archer-c50-v3:green:wlan5g";
+ label = "green:wlan5g";
gpios = <&gpio 42 GPIO_ACTIVE_LOW>;
};
wps {
- label = "archer-c50-v3:green:wps";
+ label = "green:wps";
gpios = <&gpio 43 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_power: power {
- label = "archer-c50-v4:green:power";
+ label = "green:power";
gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
};
wlan2 {
- label = "archer-c50-v4:green:wlan2g";
+ label = "green:wlan2g";
gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
};
wlan5 {
- label = "archer-c50-v4:green:wlan5g";
+ label = "green:wlan5g";
gpios = <&gpio 42 GPIO_ACTIVE_LOW>;
};
lan {
- label = "archer-c50-v4:green:lan";
+ label = "green:lan";
gpios = <&gpio 41 GPIO_ACTIVE_LOW>;
};
wan {
- label = "archer-c50-v4:green:wan";
+ label = "green:wan";
gpios = <&gpio 39 GPIO_ACTIVE_LOW>;
};
wan_orange {
- label = "archer-c50-v4:orange:wan";
+ label = "orange:wan";
gpios = <&gpio 40 GPIO_ACTIVE_LOW>;
};
wps {
- label = "archer-c50-v4:green:wps";
+ label = "green:wps";
gpios = <&gpio 43 GPIO_ACTIVE_LOW>;
};
};
/ {
compatible = "tplink,re200-v2", "mediatek,mt7628an-soc";
model = "TP-Link RE200 v2";
-
- aliases {
- led-boot = &led_power;
- led-failsafe = &led_power;
- led-running = &led_power;
- led-upgrade = &led_power;
- };
-
- leds {
- compatible = "gpio-leds";
-
- wps {
- label = "re200-v2:green:wps";
- gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
- };
-
- wifi {
- label = "re200-v2:green:wifi";
- gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
- };
-
- lan {
- label = "re200-v2:green:lan";
- gpios = <&gpio 39 GPIO_ACTIVE_LOW>;
- };
-
- led_power: power {
- label = "re200-v2:green:power";
- gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
- };
-
- wifi2g_green {
- label = "re200-v2:green:wifi2g";
- gpios = <&gpio 41 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "phy0tpt";
- };
-
- wifi5g_green {
- label = "re200-v2:green:wifi5g";
- gpios = <&gpio 42 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "phy1tpt";
- };
-
- wifi2g_red {
- label = "re200-v2:red:wifi2g";
- gpios = <&gpio 43 GPIO_ACTIVE_LOW>;
- };
-
- wifi5g_red {
- label = "re200-v2:red:wifi5g";
- gpios = <&gpio 40 GPIO_ACTIVE_LOW>;
- };
- };
-};
-
-&state_default {
- gpio {
- groups = "p4led_an", "p3led_an", "p2led_an", "p1led_an",
- "p0led_an", "wled_an", "i2c", "wdt", "refclk";
- function = "gpio";
- };
};
/ {
compatible = "tplink,re200-v3", "mediatek,mt7628an-soc";
model = "TP-Link RE200 v3";
-
- aliases {
- led-boot = &led_power;
- led-failsafe = &led_power;
- led-running = &led_power;
- led-upgrade = &led_power;
- };
-
- leds {
- compatible = "gpio-leds";
-
- wps {
- label = "re200-v3:green:wps";
- gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
- };
-
- wifi {
- label = "re200-v3:green:wifi";
- gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
- };
-
- lan {
- label = "re200-v3:green:lan";
- gpios = <&gpio 39 GPIO_ACTIVE_LOW>;
- };
-
- led_power: power {
- label = "re200-v3:green:power";
- gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
- };
-
- wifi2g_green {
- label = "re200-v3:green:wifi2g";
- gpios = <&gpio 41 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "phy0tpt";
- };
-
- wifi5g_green {
- label = "re200-v3:green:wifi5g";
- gpios = <&gpio 42 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "phy1tpt";
- };
-
- wifi2g_red {
- label = "re200-v3:red:wifi2g";
- gpios = <&gpio 43 GPIO_ACTIVE_LOW>;
- };
-
- wifi5g_red {
- label = "re200-v3:red:wifi5g";
- gpios = <&gpio 40 GPIO_ACTIVE_LOW>;
- };
- };
-};
-
-&state_default {
- gpio {
- groups = "p4led_an", "p3led_an", "p2led_an", "p1led_an",
- "p0led_an", "wled_an", "i2c", "wdt", "refclk";
- function = "gpio";
- };
};
/ {
aliases {
label-mac-device = ðernet;
+ led-boot = &led_power;
+ led-failsafe = &led_power;
+ led-running = &led_power;
+ led-upgrade = &led_power;
};
chosen {
linux,code = <KEY_WPS_BUTTON>;
};
};
+
+ leds {
+ compatible = "gpio-leds";
+
+ wps {
+ label = "green:wps";
+ gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
+ };
+
+ wifi {
+ label = "green:wifi";
+ gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
+ };
+
+ lan {
+ label = "green:lan";
+ gpios = <&gpio 39 GPIO_ACTIVE_LOW>;
+ };
+
+ led_power: power {
+ label = "green:power";
+ gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
+ };
+
+ wifi2g_green {
+ label = "green:wifi2g";
+ gpios = <&gpio 41 GPIO_ACTIVE_LOW>;
+ linux,default-trigger = "phy0tpt";
+ };
+
+ wifi5g_green {
+ label = "green:wifi5g";
+ gpios = <&gpio 42 GPIO_ACTIVE_LOW>;
+ linux,default-trigger = "phy1tpt";
+ };
+
+ wifi2g_red {
+ label = "red:wifi2g";
+ gpios = <&gpio 43 GPIO_ACTIVE_LOW>;
+ };
+
+ wifi5g_red {
+ label = "red:wifi5g";
+ gpios = <&gpio 40 GPIO_ACTIVE_LOW>;
+ };
+ };
};
&spi0 {
};
};
+&state_default {
+ gpio {
+ groups = "p4led_an", "p3led_an", "p2led_an", "p1led_an",
+ "p0led_an", "wled_an", "i2c", "wdt", "refclk";
+ function = "gpio";
+ };
+};
+
ðernet {
mtd-mac-address = <&config 0x2008>;
};
/ {
compatible = "tplink,re220-v2", "mediatek,mt7628an-soc";
model = "TP-Link RE220 v2";
-
- aliases {
- led-boot = &led_power;
- led-failsafe = &led_power;
- led-running = &led_power;
- led-upgrade = &led_power;
- };
-
- leds {
- compatible = "gpio-leds";
-
- wps {
- label = "re220-v2:green:wps";
- gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
- };
-
- wifi {
- label = "re220-v2:green:wifi";
- gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
- };
-
- lan {
- label = "re220-v2:green:lan";
- gpios = <&gpio 39 GPIO_ACTIVE_LOW>;
- };
-
- led_power: power {
- label = "re220-v2:green:power";
- gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
- };
-
- wifi2g_green {
- label = "re220-v2:green:wifi2g";
- gpios = <&gpio 41 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "phy0tpt";
- };
-
- wifi5g_green {
- label = "re220-v2:green:wifi5g";
- gpios = <&gpio 42 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "phy1tpt";
- };
-
- wifi2g_red {
- label = "re220-v2:red:wifi2g";
- gpios = <&gpio 43 GPIO_ACTIVE_LOW>;
- };
-
- wifi5g_red {
- label = "re220-v2:red:wifi5g";
- gpios = <&gpio 40 GPIO_ACTIVE_LOW>;
- };
- };
-};
-
-&state_default {
- gpio {
- groups = "p4led_an", "p3led_an", "p2led_an", "p1led_an",
- "p0led_an", "wled_an", "i2c", "wdt", "refclk";
- function = "gpio";
- };
};
compatible = "gpio-leds";
led_power: power {
- label = "re305-v1:blue:power";
+ label = "blue:power";
gpios = <&gpio 39 GPIO_ACTIVE_LOW>;
};
wlan2g {
- label = "re305-v1:blue:wlan2g";
+ label = "blue:wlan2g";
gpios = <&gpio 41 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
wlan5g {
- label = "re305-v1:blue:wlan5g";
+ label = "blue:wlan5g";
gpios = <&gpio 40 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy1tpt";
};
rssi1 {
- label = "re305-v1:red:rssi";
+ label = "red:rssi";
gpios = <&gpio 43 GPIO_ACTIVE_LOW>;
};
rssi2 {
- label = "re305-v1:blue:rssi";
+ label = "blue:rssi";
gpios = <&gpio 42 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_power: power {
- label = "tl-mr3020-v3:green:power";
+ label = "green:power";
gpios = <&gpio 37 GPIO_ACTIVE_LOW>;
default-state = "on";
};
wan {
- label = "tl-mr3020-v3:green:3g";
+ label = "green:3g";
gpios = <&gpio 43 GPIO_ACTIVE_LOW>;
trigger-sources = <&ehci_port1>, <&ohci_port1>;
linux,default-trigger = "usbport";
};
wlan {
- label = "tl-mr3020-v3:green:wlan";
+ label = "green:wlan";
gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
wps {
- label = "tl-mr3020-v3:green:wps";
+ label = "green:wps";
gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
};
lan {
- label = "tl-mr3020-v3:green:lan";
+ label = "green:lan";
gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
lan {
- label = "tl-mr3420-v5:green:lan";
+ label = "green:lan";
gpios = <&gpio 41 GPIO_ACTIVE_LOW>;
};
led_power: power {
- label = "tl-mr3420-v5:green:power";
+ label = "green:power";
gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
};
usb {
- label = "tl-mr3420-v5:green:usb";
+ label = "green:usb";
gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
trigger-sources = <&ohci_port1>, <&ehci_port1>;
linux,default-trigger = "usbport";
};
wan {
- label = "tl-mr3420-v5:green:wan";
+ label = "green:wan";
gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
};
wan_amber {
- label = "tl-mr3420-v5:amber:wan";
+ label = "amber:wan";
gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
};
wlan {
- label = "tl-mr3420-v5:green:wlan";
+ label = "green:wlan";
gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
};
wps {
- label = "tl-mr3420-v5:green:wps";
+ label = "green:wps";
gpios = <&gpio 37 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_power: power {
- label = "tl-wa801nd-v5:green:power";
+ label = "green:power";
gpios = <&gpio 36 GPIO_ACTIVE_LOW>;
};
lan {
- label = "tl-wa801nd-v5:green:lan";
+ label = "green:lan";
gpios = <&gpio 37 GPIO_ACTIVE_LOW>;
};
wlan {
- label = "tl-wa801nd-v5:green:wlan";
+ label = "green:wlan";
gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
wps_red {
- label = "tl-wa801nd-v5:red:wps";
+ label = "red:wps";
gpios = <&gpio 43 GPIO_ACTIVE_HIGH>;
};
wps_green {
- label = "tl-wa801nd-v5:green:wps";
+ label = "green:wps";
gpios = <&gpio 42 GPIO_ACTIVE_HIGH>;
};
};
compatible = "gpio-leds";
led_power: power {
- label = "tl-wr802n-v4:green:power";
+ label = "green:power";
gpios = <&gpio 37 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
lan {
- label = "tl-wr840n-v4:green:lan";
+ label = "green:lan";
gpios = <&gpio 41 GPIO_ACTIVE_LOW>;
};
led_power: power {
- label = "tl-wr840n-v4:green:power";
+ label = "green:power";
gpios = <&gpio 36 GPIO_ACTIVE_LOW>;
};
wan {
- label = "tl-wr840n-v4:green:wan";
+ label = "green:wan";
gpios = <&gpio 43 GPIO_ACTIVE_LOW>;
};
wlan {
- label = "tl-wr840n-v4:green:wlan";
+ label = "green:wlan";
gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
};
wps {
- label = "tl-wr840n-v4:green:wps";
+ label = "green:wps";
gpios = <&gpio 37 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_power_green: power {
- label = "tl-wr840n-v5:green:power";
+ label = "green:power";
gpios = <&gpio 41 GPIO_ACTIVE_LOW>;
};
orange {
- label = "tl-wr840n-v5:orange:power";
+ label = "orange:power";
gpios = <&gpio 43 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_power: power {
- label = "tl-wr841n-v13:green:power";
+ label = "green:power";
gpios = <&gpio 36 GPIO_ACTIVE_LOW>;
};
wps {
- label = "tl-wr841n-v13:green:wps";
+ label = "green:wps";
gpios = <&gpio 46 GPIO_ACTIVE_LOW>;
};
lan1 {
- label = "tl-wr841n-v13:green:lan1";
+ label = "green:lan1";
gpios = <&gpio 42 GPIO_ACTIVE_LOW>;
};
lan2 {
- label = "tl-wr841n-v13:green:lan2";
+ label = "green:lan2";
gpios = <&gpio 41 GPIO_ACTIVE_LOW>;
};
lan3 {
- label = "tl-wr841n-v13:green:lan3";
+ label = "green:lan3";
gpios = <&gpio 40 GPIO_ACTIVE_LOW>;
};
lan4 {
- label = "tl-wr841n-v13:green:lan4";
+ label = "green:lan4";
gpios = <&gpio 39 GPIO_ACTIVE_LOW>;
};
wan_green {
- label = "tl-wr841n-v13:green:wan";
+ label = "green:wan";
gpios = <&gpio 43 GPIO_ACTIVE_LOW>;
};
wan_orange {
- label = "tl-wr841n-v13:orange:wan";
+ label = "orange:wan";
gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
};
wlan {
- label = "tl-wr841n-v13:green:wlan";
+ label = "green:wlan";
gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
lan {
- label = "tl-wr841n-v14:green:lan";
+ label = "green:lan";
gpios = <&gpio 39 GPIO_ACTIVE_LOW>;
};
wan_green {
- label = "tl-wr841n-v14:green:wan";
+ label = "green:wan";
gpios = <&gpio 40 GPIO_ACTIVE_LOW>;
};
led_wlan: wlan {
- label = "tl-wr841n-v14:green:wlan";
+ label = "green:wlan";
gpios = <&gpio 41 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
wan_orange {
- label = "tl-wr841n-v14:orange:wan";
+ label = "orange:wan";
gpios = <&gpio 42 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
lan {
- label = "tl-wr842n-v5:green:lan";
+ label = "green:lan";
gpios = <&gpio 41 GPIO_ACTIVE_LOW>;
};
led_power: power {
- label = "tl-wr842n-v5:green:power";
+ label = "green:power";
gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
};
usb {
- label = "tl-wr842n-v5:green:usb";
+ label = "green:usb";
gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
trigger-sources = <&ohci_port1>, <&ehci_port1>;
linux,default-trigger = "usbport";
};
wan {
- label = "tl-wr842n-v5:green:wan";
+ label = "green:wan";
gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
};
wan_amber {
- label = "tl-wr842n-v5:amber:wan";
+ label = "amber:wan";
gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
};
wlan {
- label = "tl-wr842n-v5:green:wlan";
+ label = "green:wlan";
gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
};
wps {
- label = "tl-wr842n-v5:green:wps";
+ label = "green:wps";
gpios = <&gpio 37 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_power: power {
- label = "tl-wr850n-v2:green:power";
+ label = "green:power";
gpios = <&gpio 36 GPIO_ACTIVE_LOW>;
};
wps {
- label = "tl-wr850n-v2:green:wps";
+ label = "green:wps";
gpios = <&gpio 37 GPIO_ACTIVE_LOW>;
};
lan {
- label = "tl-wr850n-v2:green:lan";
+ label = "green:lan";
gpios = <&gpio 41 GPIO_ACTIVE_LOW>;
};
wan {
- label = "tl-wr850n-v2:green:wan";
+ label = "green:wan";
gpios = <&gpio 43 GPIO_ACTIVE_LOW>;
};
wlan {
- label = "tl-wr850n-v2:green:wlan";
+ label = "green:wlan";
gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
compatible = "gpio-leds";
lan {
- label = "tl-wr902ac-v3:green:lan";
+ label = "green:lan";
gpios = <&gpio 5 GPIO_ACTIVE_HIGH>;
};
led_power: power {
- label = "tl-wr902ac-v3:green:power";
+ label = "green:power";
gpios = <&gpio 46 GPIO_ACTIVE_LOW>;
};
usb {
- label = "tl-wr902ac-v3:green:usb";
+ label = "green:usb";
gpios = <&gpio 43 GPIO_ACTIVE_LOW>;
trigger-sources = <&ohci_port1>, <&ehci_port1>;
linux,default-trigger = "usbport";
};
wan {
- label = "tl-wr902ac-v3:green:wan";
+ label = "green:wan";
gpios = <&gpio 39 GPIO_ACTIVE_LOW>;
};
wlan {
- label = "tl-wr902ac-v3:green:wlan";
+ label = "green:wlan";
gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
};
wps {
- label = "tl-wr902ac-v3:green:wps";
+ label = "green:wps";
gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_power: power {
- label = "u7628-01:green:power";
+ label = "green:power";
gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
};
wlan {
- label = "u7628-01:green:wlan";
+ label = "green:wlan";
gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
};
wan {
- label = "u7628-01:green:wan";
+ label = "green:wan";
gpios = <&gpio 43 GPIO_ACTIVE_LOW>;
};
lan1 {
- label = "u7628-01:green:lan1";
+ label = "green:lan1";
gpios = <&gpio 42 GPIO_ACTIVE_LOW>;
};
lan2 {
- label = "u7628-01:green:lan2";
+ label = "green:lan2";
gpios = <&gpio 41 GPIO_ACTIVE_LOW>;
};
lan3 {
- label = "u7628-01:green:lan3";
+ label = "green:lan3";
gpios = <&gpio 40 GPIO_ACTIVE_LOW>;
};
lan4 {
- label = "u7628-01:green:lan4";
+ label = "green:lan4";
gpios = <&gpio 39 GPIO_ACTIVE_LOW>;
};
usb {
- label = "u7628-01:green:usb";
+ label = "green:usb";
gpios = <&gpio 37 GPIO_ACTIVE_LOW>;
trigger-sources = <&ohci_port1>, <&ehci_port1>;
linux,default-trigger = "usbport";
compatible = "gpio-leds";
led_status: status {
- label = "vocore2lite:green:status";
+ label = "green:status";
gpios = <&gpio 44 GPIO_ACTIVE_HIGH>;
};
};
compatible = "gpio-leds";
led_status: status {
- label = "vocore2:fuchsia:status";
+ label = "fuchsia:status";
gpios = <&gpio 44 GPIO_ACTIVE_HIGH>;
};
};
compatible = "gpio-leds";
power {
- label = "wl-wn570ha1:green:power";
+ label = "green:power";
gpios = <&gpio 37 GPIO_ACTIVE_LOW>;
default-state = "keep";
};
wan {
- label = "wl-wn570ha1:green:wan";
+ label = "green:wan";
gpios = <&gpio 43 GPIO_ACTIVE_LOW>;
};
wifi-high {
- label = "wl-wn570ha1:green:wifi-high";
+ label = "green:wifi-high";
gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
};
wifi-med {
- label = "wl-wn570ha1:green:wifi-med";
+ label = "green:wifi-med";
gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
};
wifi-low {
- label = "wl-wn570ha1:green:wifi-low";
+ label = "green:wifi-low";
gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
};
wifi {
- label = "wl-wn570ha1:green:wifi";
+ label = "green:wifi";
gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
wifi-high {
- label = "wl-wn575a3:green:wifi-high";
+ label = "green:wifi-high";
gpios = <&gpio 37 GPIO_ACTIVE_LOW>;
};
wifi-med {
- label = "wl-wn575a3:green:wifi-med";
+ label = "green:wifi-med";
gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
};
wifi-low {
- label = "wl-wn575a3:green:wifi-low";
+ label = "green:wifi-low";
gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
};
wps {
- label = "wl-wn575a3:green:wps";
+ label = "green:wps";
gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
lan {
- label = "wl-wn577a2:green:lan";
+ label = "green:lan";
gpios = <&gpio 40 GPIO_ACTIVE_LOW>;
};
wan {
- label = "wl-wn577a2:green:wan";
+ label = "green:wan";
gpios = <&gpio 39 GPIO_ACTIVE_LOW>;
};
led_wps: wps {
- label = "wl-wn577a2:green:wps";
+ label = "green:wps";
gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_wifi: wifi {
- label = "widora:orange:wifi";
+ label = "orange:wifi";
gpios = <&wgpio 0 GPIO_ACTIVE_HIGH>;
default-state = "on";
};
compatible = "gpio-leds";
led_run: run {
- label = "wizfi630s:green:run";
+ label = "green:run";
gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
};
ledwps {
- label = "wizfi630s:green:wps";
+ label = "green:wps";
gpios = <&gpio 42 GPIO_ACTIVE_LOW>;
};
leduart1 {
- label = "wizfi630s:green:uart1";
+ label = "green:uart1";
gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
};
leduart2 {
- label = "wizfi630s:green:uart2";
+ label = "green:uart2";
gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_indicator: indicator {
- label = "wrtnode:blue:indicator";
+ label = "blue:indicator";
gpios = <&gpio 41 GPIO_ACTIVE_LOW>;
};
};
pinctrl-0 = <&led_pins>;
led_indicator: indicator {
- label = "wrtnode:blue:indicator";
+ label = "blue:indicator";
gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
power_blue: power_blue {
- label = "mir4a-100m:blue:power";
+ label = "blue:power";
gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
};
power_yellow: power_yellow {
- label = "mir4a-100m:yellow:power";
+ label = "yellow:power";
gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_status_blue: status_blue {
- label = "miwifi-nano:blue:status";
+ label = "blue:status";
gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
};
led_status_red: status_red {
- label = "miwifi-nano:red:status";
+ label = "red:status";
gpios = <&gpio 37 GPIO_ACTIVE_LOW>;
};
led_status_amber: status_amber {
- label = "miwifi-nano:amber:status";
+ label = "amber:status";
gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
wan {
- label = "zbt-we1226:green:wan";
+ label = "green:wan";
gpios = <&gpio 39 GPIO_ACTIVE_LOW>;
};
lan1 {
- label = "zbt-we1226:green:lan1";
+ label = "green:lan1";
gpios = <&gpio 43 GPIO_ACTIVE_LOW>;
};
lan2 {
- label = "zbt-we1226:green:lan2";
+ label = "green:lan2";
gpios = <&gpio 42 GPIO_ACTIVE_LOW>;
};
led_wlan: wlan {
- label = "zbt-we1226:green:wlan";
+ label = "green:wlan";
gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_power: power {
- label = "keenetic-extra-ii:green:power";
+ label = "green:power";
gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
default-state = "keep";
};
internet {
- label = "keenetic-extra-ii:green:internet";
+ label = "green:internet";
gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
};
wifi {
- label = "keenetic-extra-ii:green:wifi";
+ label = "green:wifi";
gpios = <&gpio 37 GPIO_ACTIVE_LOW>;
};
usb {
- label = "keenetic-extra-ii:green:usb";
+ label = "green:usb";
gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
trigger-sources = <&ohci_port1>, <&ehci_port1>;
linux,default-trigger = "usbport";
compatible = "gpio-leds";
led_power: power {
- label = "ar670w:green:power";
+ label = "green:power";
gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
};
wpsblue {
- label = "ar670w:blue:wps";
+ label = "blue:wps";
gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_power: power {
- label = "ar725w:green:power";
+ label = "green:power";
gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>;
};
wpsred {
- label = "ar725w:red:wps";
+ label = "red:wps";
gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
};
wpsblue {
- label = "ar725w:blue:wps";
+ label = "blue:wps";
gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_power: power {
- label = "rt-n15:blue:power";
+ label = "blue:power";
gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
internet {
- label = "f5d8235-v1:blue:internet";
+ label = "blue:internet";
gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
};
internet2 {
- label = "f5d8235-v1:amber:internet";
+ label = "amber:internet";
gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;
};
modem {
- label = "f5d8235-v1:blue:modem";
+ label = "blue:modem";
gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
};
modem2 {
- label = "f5d8235-v1:amber:modem";
+ label = "amber:modem";
gpios = <&gpio0 21 GPIO_ACTIVE_LOW>;
};
router {
- label = "f5d8235-v1:blue:router";
+ label = "blue:router";
gpios = <&gpio0 14 GPIO_ACTIVE_HIGH>;
};
storage {
- label = "f5d8235-v1:blue:storage";
+ label = "blue:storage";
gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
trigger-sources = <&ohci_port1>, <&ehci_port1>;
linux,default-trigger = "usbport";
};
storage2 {
- label = "f5d8235-v1:amber:storage";
+ label = "amber:storage";
gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
};
security {
- label = "f5d8235-v1:blue:security";
+ label = "blue:security";
gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
};
security2 {
- label = "f5d8235-v1:amber:security";
+ label = "amber:security";
gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
};
led_wired_blue: wired {
- label = "f5d8235-v1:blue:wired";
+ label = "blue:wired";
gpios = <&gpio0 5 GPIO_ACTIVE_LOW>;
};
wired2 {
- label = "f5d8235-v1:amber:wired";
+ label = "amber:wired";
gpios = <&gpio0 20 GPIO_ACTIVE_LOW>;
};
wireless {
- label = "f5d8235-v1:blue:wireless";
+ label = "blue:wireless";
gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
};
wireless2 {
- label = "f5d8235-v1:amber:wireless";
+ label = "amber:wireless";
gpios = <&gpio0 19 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
diag {
- label = "wli-tx4-ag300n:red:diag";
+ label = "red:diag";
gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
};
led_power: power {
- label = "wli-tx4-ag300n:blue:power";
+ label = "blue:power";
gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
};
security {
- label = "wli-tx4-ag300n:blue:security";
+ label = "blue:security";
gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_router: router {
- label = "wzr-agl300nh:green:router";
+ label = "green:router";
gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
};
diag {
- label = "wzr-agl300nh:red:diag";
+ label = "red:diag";
gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
};
security_g {
- label = "wzr-agl300nh:orange:security_g";
+ label = "orange:security_g";
gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
};
security_n {
- label = "wzr-agl300nh:orange:security_n";
+ label = "orange:security_n";
gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
wps {
- label = "dap-1522-a1:blue:wps";
+ label = "blue:wps";
gpios = <&gpio2 17 GPIO_ACTIVE_LOW>;
};
ap {
- label = "dap-1522-a1:blue:ap";
+ label = "blue:ap";
gpios = <&gpio2 18 GPIO_ACTIVE_LOW>;
};
sta {
- label = "dap-1522-a1:red:sta";
+ label = "red:sta";
gpios = <&gpio2 19 GPIO_ACTIVE_LOW>;
};
led_status: status {
- label = "dap-1522-a1:blue:status";
+ label = "blue:status";
gpios = <&gpio2 20 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_status: status {
- label = "v11st-fe:green:status";
+ label = "green:status";
gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
rssilow {
- label = "all0256n:green:rssilow";
+ label = "green:rssilow";
gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
};
rssimed {
- label = "all0256n:green:rssimed";
+ label = "green:rssimed";
gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
};
rssihigh {
- label = "all0256n:green:rssihigh";
+ label = "green:rssihigh";
gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
eth {
- label = "asl26555:green:eth";
+ label = "green:eth";
gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
};
wan-red {
- label = "asl26555:red:wan";
+ label = "red:wan";
gpios = <&gpio0 1 GPIO_ACTIVE_HIGH>;
};
wan-green {
- label = "asl26555:green:wan";
+ label = "green:wan";
gpios = <&gpio0 2 GPIO_ACTIVE_HIGH>;
};
wlan {
- label = "asl26555:green:wlan";
+ label = "green:wlan";
gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>;
};
led_power_green: power-green {
- label = "asl26555:green:power";
+ label = "green:power";
gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>;
};
power-red {
- label = "asl26555:red:power";
+ label = "red:power";
gpios = <&gpio0 9 GPIO_ACTIVE_HIGH>;
};
3g-green {
- label = "asl26555:green:3g";
+ label = "green:3g";
gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
trigger-sources = <&otg_port1>;
linux,default-trigger = "usbport";
};
3g-red {
- label = "asl26555:red:3g";
+ label = "red:3g";
gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
};
};
* not present in the Freestation5 device.
*/
wifi {
- label = "freestation5:unknown:wifi";
+ label = "unknown:wifi";
gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
};
powerg {
- label = "freestation5:unknown:powerg";
+ label = "unknown:powerg";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};
usb {
- label = "freestation5:unknown:usb";
+ label = "unknown:usb";
gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_wps: wps {
- label = "rt-n10-plus:green:wps";
+ label = "green:wps";
gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
link {
- label = "wl-330n:blue:link";
+ label = "blue:link";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};
led_power: power {
- label = "wl-330n:blue:power";
+ label = "blue:power";
gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
3g {
- label = "wl-330n3g:blue:3g";
+ label = "blue:3g";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};
3g2 {
- label = "wl-330n3g:red:3g";
+ label = "red:3g";
gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
};
led_power: power {
- label = "wl-330n3g:blue:power";
+ label = "blue:power";
gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
wifi {
- label = "dcs-930:red:alert";
+ label = "red:alert";
gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
};
led_status: status {
- label = "dcs-930:green:status";
+ label = "green:status";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};
wps {
- label = "dcs-930:blue:wps";
+ label = "blue:wps";
gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
status {
- label = "dir-300-b1:amber:status";
+ label = "amber:status";
gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
};
led_status_green: status2 {
- label = "dir-300-b1:green:status";
+ label = "green:status";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};
wan {
- label = "dir-300-b1:amber:wan";
+ label = "amber:wan";
gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
};
wan2 {
- label = "dir-300-b1:green:wan";
+ label = "green:wan";
gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
};
wps {
- label = "dir-300-b1:blue:wps";
+ label = "blue:wps";
gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
status {
- label = "dir-600-b1:amber:status";
+ label = "amber:status";
gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
};
led_status_green: status2 {
- label = "dir-600-b1:green:status";
+ label = "green:status";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};
wan {
- label = "dir-600-b1:amber:wan";
+ label = "amber:wan";
gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
};
wan2 {
- label = "dir-600-b1:green:wan";
+ label = "green:wan";
gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
};
wps {
- label = "dir-600-b1:blue:wps";
+ label = "blue:wps";
gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
status_amber {
- label = "dir-615-d:amber:status";
+ label = "amber:status";
gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
};
led_status_green: status_green {
- label = "dir-615-d:green:status";
+ label = "green:status";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
default-state = "on";
};
wan_amber {
- label = "dir-615-d:amber:wan";
+ label = "amber:wan";
gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
};
wan_green {
- label = "dir-615-d:green:wan";
+ label = "green:wan";
gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
};
wps {
- label = "dir-615-d:blue:wps";
+ label = "blue:wps";
gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
status {
- label = "dir-620-a1:amber:status";
+ label = "amber:status";
gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
};
led_status_green: status2 {
- label = "dir-620-a1:green:status";
+ label = "green:status";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};
wan {
- label = "dir-620-a1:amber:wan";
+ label = "amber:wan";
gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
};
wan2 {
- label = "dir-620-a1:green:wan";
+ label = "green:wan";
gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
};
wps {
- label = "dir-620-a1:blue:wps";
+ label = "blue:wps";
gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>;
};
wps2 {
- label = "dir-620-a1:amber:wps";
+ label = "amber:wps";
gpios = <&gpio0 11 GPIO_ACTIVE_HIGH>;
};
};
compatible = "gpio-leds";
led_power: power {
- label = "3g-6200n:green:power";
+ label = "green:power";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};
wlan {
- label = "3g-6200n:amber:wlan";
+ label = "amber:wlan";
gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
};
3g {
- label = "3g-6200n:blue:3g";
+ label = "blue:3g";
gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
trigger-sources = <&otg_port1>;
linux,default-trigger = "usbport";
compatible = "gpio-leds";
led_internet: internet {
- label = "3g-6200nl:green:internet";
+ label = "green:internet";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};
wlan {
- label = "3g-6200nl:green:wlan";
+ label = "green:wlan";
gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_power: power {
- label = "d105:red:power";
+ label = "red:power";
gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
};
usb {
- label = "d105:green:usb";
+ label = "green:usb";
gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
trigger-sources = <&otg_port1>;
linux,default-trigger = "usbport";
compatible = "gpio-leds";
led_system: system {
- label = "jhr-n805r:blue:system";
+ label = "blue:system";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_cpu: cpu {
- label = "nw718:amber:cpu";
+ label = "amber:cpu";
gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
};
usb {
- label = "nw718:amber:usb";
+ label = "amber:usb";
gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
trigger-sources = <&otg_port1>;
linux,default-trigger = "usbport";
};
wps {
- label = "nw718:amber:wps";
+ label = "amber:wps";
gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
user {
- label = "wcr-150gn:amber:user";
+ label = "amber:user";
gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
trigger-sources = <&otg_port1>;
linux,default-trigger = "usbport";
};
led_power: power {
- label = "wcr-150gn:amber:power";
+ label = "amber:power";
gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_status: status {
- label = "rut5xx:green:status";
+ label = "green:status";
gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
3grouter {
- label = "w150m:blue:3grouter";
+ label = "blue:3grouter";
gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
};
led_ap: ap {
- label = "w150m:blue:ap";
+ label = "blue:ap";
gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
};
wisprouter {
- label = "w150m:blue:wisprouter";
+ label = "blue:wisprouter";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};
wirelessrouter {
- label = "w150m:blue:wirelessrouter";
+ label = "blue:wirelessrouter";
gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
};
3g {
- label = "w150m:blue:3g";
+ label = "blue:3g";
gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
};
wpsreset {
- label = "w150m:blue:wpsreset";
+ label = "blue:wpsreset";
gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
wps {
- label = "tew-638apb-v2:orange:wps";
+ label = "orange:wps";
gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
};
led_wps_green: wps2 {
- label = "tew-638apb-v2:green:wps";
+ label = "green:wps";
gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
wps {
- label = "wr6202:blue:wps";
+ label = "blue:wps";
gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
};
3g {
- label = "wr6202:blue:3g";
+ label = "blue:3g";
gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
usb {
- label = "w502u:blue:usb";
+ label = "blue:usb";
gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
trigger-sources = <&otg_port1>;
linux,default-trigger = "usbport";
};
led_wps: wps {
- label = "w502u:blue:wps";
+ label = "blue:wps";
gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_run: run {
- label = "atp-52b:green:run";
+ label = "green:run";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};
net {
- label = "atp-52b:amber:net";
+ label = "amber:net";
gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_wps: wps {
- label = "awapn2403:green:wps";
+ label = "green:wps";
gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_power: power {
- label = "rt-n13u:blue:power";
+ label = "blue:power";
gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
};
wifi {
- label = "rt-n13u:blue:wifi";
+ label = "blue:wifi";
gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
usb {
- label = "mr-102n:green:usb";
+ label = "green:usb";
gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
trigger-sources = <&otg_port1>;
linux,default-trigger = "usbport";
};
led_status: status {
- label = "mr-102n:amber:status";
+ label = "amber:status";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};
wlan {
- label = "mr-102n:green:wlan";
+ label = "green:wlan";
gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
usb {
- label = "hw550-3g:green:usb";
+ label = "green:usb";
gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
trigger-sources = <&otg_port1>;
linux,default-trigger = "usbport";
};
3g {
- label = "hw550-3g:green:3g";
+ label = "green:3g";
gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
};
led_status: status {
- label = "hw550-3g:green:status";
+ label = "green:status";
gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
};
wps {
- label = "hw550-3g:green:wps";
+ label = "green:wps";
gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
internet {
- label = "f5d8235-v2:blue:internet";
+ label = "blue:internet";
gpios = <&gpio0 5 GPIO_ACTIVE_LOW>;
};
internet2 {
- label = "f5d8235-v2:amber:internet";
+ label = "amber:internet";
gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
};
modem {
- label = "f5d8235-v2:blue:modem";
+ label = "blue:modem";
gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
};
modem2 {
- label = "f5d8235-v2:amber:modem";
+ label = "amber:modem";
gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
};
led_router: router {
- label = "f5d8235-v2:blue:router";
+ label = "blue:router";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};
storage {
- label = "f5d8235-v2:blue:storage";
+ label = "blue:storage";
gpios = <&gpio0 23 GPIO_ACTIVE_LOW>;
trigger-sources = <&otg_port1>;
linux,default-trigger = "usbport";
};
storage2 {
- label = "f5d8235-v2:amber:storage";
+ label = "amber:storage";
gpios = <&gpio0 22 GPIO_ACTIVE_LOW>;
};
security {
- label = "f5d8235-v2:blue:security";
+ label = "blue:security";
gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
};
security2 {
- label = "f5d8235-v2:amber:security";
+ label = "amber:security";
gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_diag: diag {
- label = "whr-g300n:red:diag";
+ label = "red:diag";
gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
};
router {
- label = "whr-g300n:green:router";
+ label = "green:router";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};
security {
- label = "whr-g300n:amber:security";
+ label = "amber:security";
gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_power_blue: power {
- label = "dap-1350:blue:power";
+ label = "blue:power";
gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
};
power2 {
- label = "dap-1350:red:power";
+ label = "red:power";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};
wps {
- label = "dap-1350:blue:wps";
+ label = "blue:wps";
gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_power: power {
- label = "esr-9753:orange:power";
+ label = "orange:power";
gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
};
wps {
- label = "esr-9753:orange:wps";
+ label = "orange:wps";
gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
wifi {
- label = "fonera-20n:orange:wifi";
+ label = "orange:wifi";
gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
};
led_power: power {
- label = "fonera-20n:green:power";
+ label = "green:power";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};
usb {
- label = "fonera-20n:orange:usb";
+ label = "orange:usb";
gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
trigger-sources = <&otg_port1>;
linux,default-trigger = "usbport";
compatible = "gpio-leds";
diskmounted {
- label = "broadway:red:diskmounted";
+ label = "red:diskmounted";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
trigger-sources = <&otg_port1>;
linux,default-trigger = "usbport";
};
wps_active {
- label = "broadway:red:wps_active";
+ label = "red:wps_active";
gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_power: power {
- label = "hg255d:green:power";
+ label = "green:power";
gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
};
internet {
- label = "hg255d:green:internet";
+ label = "green:internet";
gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
};
wifi {
- label = "hg255d:green:wlan";
+ label = "green:wlan";
gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
};
usb {
- label = "hg255d:green:usb";
+ label = "green:usb";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
trigger-sources = <&otg_port1>;
linux,default-trigger = "usbport";
};
wps {
- label = "hg255d:green:wps";
+ label = "green:wps";
gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
};
voice {
- label = "hg255d:green:voice";
+ label = "green:voice";
gpios = <&gpio0 5 GPIO_ACTIVE_LOW>;
};
};
leds {
compatible = "gpio-leds";
led_system: system {
- label = "jhr-n825r:red:power";
+ label = "red:power";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
wlan1 {
- label = "jhr-n926r:red:wlan";
+ label = "red:wlan";
gpios = <&gpio0 20 GPIO_ACTIVE_LOW>;
};
wlan2 {
- label = "jhr-n926r:yellow:wlan";
+ label = "yellow:wlan";
gpios = <&gpio0 19 GPIO_ACTIVE_LOW>;
};
wlan3 {
- label = "jhr-n926r:green:wlan";
+ label = "green:wlan";
gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
};
led_system: system {
- label = "jhr-n926r:blue:system";
+ label = "blue:system";
gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
usb {
- label = "mofi3500-3gn:green:usb";
+ label = "green:usb";
gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
trigger-sources = <&otg_port1>;
linux,default-trigger = "usbport";
};
3g {
- label = "mofi3500-3gn:green:3g";
+ label = "green:3g";
gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
};
led_status: status {
- label = "mofi3500-3gn:green:status";
+ label = "green:status";
gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
};
wps {
- label = "mofi3500-3gn:green:wps";
+ label = "green:wps";
gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_power_green: power-green {
- label = "wnce2001:green:power";
+ label = "green:power";
gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
};
power-red {
- label = "wnce2001:red:power";
+ label = "red:power";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};
wlan-green {
- label = "wnce2001:green:wlan";
+ label = "green:wlan";
gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
};
wlan-red {
- label = "wnce2001:red:wlan";
+ label = "red:wlan";
gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>;
};
};
compatible = "gpio-leds";
usb {
- label = "bc2:blue:usb";
+ label = "blue:usb";
gpios = <&gpio0 20 GPIO_ACTIVE_LOW>;
trigger-sources = <&otg_port1>;
linux,default-trigger = "usbport";
compatible = "gpio-leds";
led_status: status {
- label = "miniembwifi:green:status";
+ label = "green:status";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};
wlan {
- label = "miniembwifi:green:wlan";
+ label = "green:wlan";
gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_wan: wan {
- label = "psr-680w:red:wan";
+ label = "red:wan";
gpios = <&gpio0 19 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_power: power {
- label = "mzk-w300nh2:green:power";
+ label = "green:power";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};
wlan {
- label = "mzk-w300nh2:amber:wlan";
+ label = "amber:wlan";
gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
};
wps {
- label = "mzk-w300nh2:amber:wps";
+ label = "amber:wps";
gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_run: run {
- label = "ip2202:green:run";
+ label = "green:run";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};
net {
- label = "ip2202:amber:net";
+ label = "amber:net";
gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
wifi {
- label = "pwh2004:red:wifi";
+ label = "red:wifi";
gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
};
led_power: power {
- label = "pwh2004:green:power";
+ label = "green:power";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_security: security {
- label = "v22rw-2x2:green:security";
+ label = "green:security";
gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
};
wps {
- label = "v22rw-2x2:red:wps";
+ label = "red:wps";
gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_power: power {
- label = "wl-351:amber:power";
+ label = "amber:power";
gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
};
unpopulated {
- label = "wl-351:amber:unpopulated";
+ label = "amber:unpopulated";
gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
};
unpopulated2 {
- label = "wl-351:blue:unpopulated";
+ label = "blue:unpopulated";
gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_wifi: wifi {
- label = "sl-r7205:green:wifi";
+ label = "green:wifi";
gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
3grouter {
- label = "3g300m:blue:3grouter";
+ label = "blue:3grouter";
gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
};
led_ap: ap {
- label = "3g300m:blue:ap";
+ label = "blue:ap";
gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
};
wisprouter {
- label = "3g300m:blue:wisprouter";
+ label = "blue:wisprouter";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};
wirelessrouter {
- label = "3g300m:blue:wirelessrouter";
+ label = "blue:wirelessrouter";
gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
};
3g {
- label = "3g300m:blue:3g";
+ label = "blue:3g";
gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
trigger-sources = <&otg_port1>;
linux,default-trigger = "usbport";
};
wpsreset {
- label = "3g300m:blue:wpsreset";
+ label = "blue:wpsreset";
gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_sys: sys {
- label = "w306r-v20:green:sys";
+ label = "green:sys";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};
wps {
- label = "w306r-v20:green:wps";
+ label = "green:wps";
gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
3g {
- label = "wr512-3gn:green:3g";
+ label = "green:3g";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};
gateway {
- label = "wr512-3gn:green:gateway";
+ label = "green:gateway";
gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
};
ap {
- label = "wr512-3gn:green:ap";
+ label = "green:ap";
gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
};
led_wps: wps {
- label = "wr512-3gn:green:wps";
+ label = "green:wps";
gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
};
station {
- label = "wr512-3gn:green:station";
+ label = "green:station";
gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
wifi {
- label = "xdxrn502j:green:wifi";
+ label = "green:wifi";
gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
};
led_power: power {
- label = "xdxrn502j:green:power";
+ label = "green:power";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
3g {
- label = "ur-326n4g:green:3g";
+ label = "green:3g";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};
gateway {
- label = "ur-326n4g:green:gateway";
+ label = "green:gateway";
gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
};
ap {
- label = "ur-326n4g:green:ap";
+ label = "green:ap";
gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
};
led_wps: wps {
- label = "ur-326n4g:green:wps";
+ label = "green:wps";
gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
};
station {
- label = "ur-326n4g:green:station";
+ label = "green:station";
gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
3g {
- label = "ur-336un:green:3g";
+ label = "green:3g";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};
gateway {
- label = "ur-336un:green:gateway";
+ label = "green:gateway";
gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
};
ap {
- label = "ur-336un:green:ap";
+ label = "green:ap";
gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
};
led_wps: wps {
- label = "ur-336un:green:wps";
+ label = "green:wps";
gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
};
station {
- label = "ur-336un:green:station";
+ label = "green:station";
gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_power: power {
- label = "kn:green:power";
+ label = "green:power";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};
usb {
- label = "kn:green:usb";
+ label = "green:usb";
gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
trigger-sources = <&otg_port1>;
linux,default-trigger = "usbport";
};
wps {
- label = "kn:green:wps";
+ label = "green:wps";
gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_power: power {
- label = "nbg-419n:green:power";
+ label = "green:power";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};
wps {
- label = "nbg-419n:green:wps";
+ label = "green:wps";
gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
ld1 {
- label = "all5002:green:ld1";
+ label = "green:ld1";
gpios = <&pcf0 0 GPIO_ACTIVE_LOW>;
};
ld2 {
- label = "all5002:green:ld2";
+ label = "green:ld2";
gpios = <&pcf0 1 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
status {
- label = "dir-615-h1:amber:status";
+ label = "amber:status";
gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>;
};
led_status_green: status2 {
- label = "dir-615-h1:green:status";
+ label = "green:status";
gpios = <&gpio0 9 GPIO_ACTIVE_HIGH>;
default-state = "on";
};
wan {
- label = "dir-615-h1:amber:wan";
+ label = "amber:wan";
gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
};
wan2 {
- label = "dir-615-h1:green:wan";
+ label = "green:wan";
gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
};
wps {
- label = "dir-615-h1:blue:wps";
+ label = "blue:wps";
gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_status: status {
- label = "dir-620-d1:green:status";
+ label = "green:status";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};
wifi {
- label = "dir-620-d1:green:wifi";
+ label = "green:wifi";
gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_power: power {
- label = "nbg-419n2:green:power";
+ label = "green:power";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};
wps {
- label = "nbg-419n2:green:wps";
+ label = "green:wps";
gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
};
usb {
- label = "nbg-419n2:green:usb";
+ label = "green:usb";
gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
trigger-sources = <&ohci_port1>, <&ehci_port1>;
linux,default-trigger = "usbport";
compatible = "gpio-leds";
led_power: power {
- label = "rt-n56u:blue:power";
+ label = "blue:power";
gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
};
lan {
- label = "rt-n56u:blue:lan";
+ label = "blue:lan";
gpios = <&gpio0 19 GPIO_ACTIVE_LOW>;
};
wan {
- label = "rt-n56u:blue:wan";
+ label = "blue:wan";
gpios = <&gpio1 3 GPIO_ACTIVE_LOW>;
};
usb {
- label = "rt-n56u:blue:usb";
+ label = "blue:usb";
gpios = <&gpio1 0 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
inet {
- label = "dir-645:green:inet";
+ label = "green:inet";
gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
};
led_wps: wps {
- label = "dir-645:green:wps";
+ label = "green:wps";
gpios = <&gpio1 2 GPIO_ACTIVE_HIGH>;
};
};
compatible = "gpio-leds";
led_power: power {
- label = "br-6475nd:green:power";
+ label = "green:power";
gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
};
wlan {
- label = "br-6475nd:amber:wlan";
+ label = "amber:wlan";
gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
};
wlan_5ghz {
- label = "br-6475nd:amber:wlan_5ghz";
+ label = "amber:wlan_5ghz";
gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
power {
- label = "hpm:orange:power";
+ label = "orange:power";
gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
default-state = "on";
};
led_status: status {
- label = "hpm:green:status";
+ label = "green:status";
gpios = <&gpio0 21 GPIO_ACTIVE_LOW>;
default-state = "on";
};
eth {
- label = "hpm:green:eth";
+ label = "green:eth";
gpios = <&gpio0 20 GPIO_ACTIVE_LOW>;
};
eth2 {
- label = "hpm:red:eth";
+ label = "red:eth";
gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;
};
wifi {
- label = "hpm:green:wifi";
+ label = "green:wifi";
gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
};
wifi2 {
- label = "hpm:red:wifi";
+ label = "red:wifi";
gpios = <&gpio0 19 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
wps {
- label = "cy-swr1100:blue:wps";
+ label = "blue:wps";
gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
};
usb {
- label = "cy-swr1100:blue:usb";
+ label = "blue:usb";
gpios = <&gpio1 1 GPIO_ACTIVE_LOW>;
trigger-sources = <&ohci_port1>, <&ehci_port1>;
linux,default-trigger = "usbport";
};
led_power: power {
- label = "cy-swr1100:blue:power";
+ label = "blue:power";
gpios = <&gpio1 2 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_status_amber: internet_amber {
- label = "f9k1109v1:amber:internet";
+ label = "amber:internet";
gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
};
led_status_blue: internet_blue {
- label = "f9k1109v1:blue:internet";
+ label = "blue:internet";
gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
};
usb1 {
- label = "f9k1109v1:green:usb1";
+ label = "green:usb1";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
trigger-sources = <&ohci_port1>, <&ehci_port1>;
linux,default-trigger = "usbport";
};
usb2 {
- label = "f9k1109v1:green:usb2";
+ label = "green:usb2";
gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
trigger-sources = <&ohci_port2>, <&ehci_port2>;
linux,default-trigger = "usbport";
};
wps_amber {
- label = "f9k1109v1:amber:wps";
+ label = "amber:wps";
gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
};
wps_blue {
- label = "f9k1109v1:blue:wps";
+ label = "blue:wps";
gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_power: power {
- label = "wlr-6000:red:power";
+ label = "red:power";
gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
};
ops {
- label = "wlr-6000:white:ops";
+ label = "white:ops";
gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_wps: wps {
- label = "tew-691gr:green:wps";
+ label = "green:wps";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
wps {
- label = "tew-692gr:orange:wps";
+ label = "orange:wps";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};
led_wps_green: wps2 {
- label = "tew-692gr:green:wps";
+ label = "green:wps";
gpios = <&gpio1 4 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_wifi: wifi {
- label = "px-4885:orange:wifi";
+ label = "orange:wifi";
gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;
};
storage {
- label = "px-4885:blue:storage";
+ label = "blue:storage";
gpios = <&gpio0 19 GPIO_ACTIVE_LOW>;
trigger-sources = <&ohci_port1>, <&ehci_port1>;
linux,default-trigger = "usbport";
compatible = "gpio-leds";
wlan {
- label = "air3gii:green:wlan";
+ label = "green:wlan";
gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>;
};
mobile {
- label = "air3gii:green:mobile";
+ label = "green:mobile";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
trigger-sources = <&ohci_port1>, <&ehci_port1>;
linux,default-trigger = "usbport";
compatible = "gpio-leds";
ld1 {
- label = "all5003:green:ld1";
+ label = "green:ld1";
gpios = <&pcf0 0 GPIO_ACTIVE_LOW>;
};
ld2 {
- label = "all5003:green:ld2";
+ label = "green:ld2";
gpios = <&pcf0 1 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
tx {
- label = "awm002-evb:green:tx";
+ label = "green:tx";
gpios = <&gpio0 15 GPIO_ACTIVE_LOW>;
};
rx {
- label = "awm002-evb:green:rx";
+ label = "green:rx";
gpios = <&gpio0 16 GPIO_ACTIVE_LOW>;
};
wps {
- label = "awm002-evb:green:wps";
+ label = "green:wps";
gpios = <&gpio0 21 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
status {
- label = "f7c027:blue:status";
+ label = "blue:status";
gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
};
power {
- label = "f7c027:blue:power";
+ label = "blue:power";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};
led_status_orange: orange {
- label = "f7c027:orange:status";
+ label = "orange:status";
gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
};
relay {
- label = "f7c027:device:relay";
+ label = "device:relay";
gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>;
};
};
compatible = "gpio-leds";
led_power: power {
- label = "dcs-930l-b1:red:power";
+ label = "red:power";
gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
};
wps {
- label = "dcs-930l-b1:blue:wps";
+ label = "blue:wps";
gpios = <&gpio0 19 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_status: status {
- label = "dir-300-b7:green:status";
+ label = "green:status";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};
wps {
- label = "dir-300-b7:blue:wps";
+ label = "blue:wps";
gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_status: status {
- label = "dir-320-b1:green:status";
+ label = "green:status";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};
usb {
- label = "dir-320-b1:green:usb";
+ label = "green:usb";
gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
};
wps {
- label = "dir-320-b1:green:wps";
+ label = "green:wps";
gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_status: status {
- label = "dir-610-a1:green:status";
+ label = "green:status";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};
wps {
- label = "dir-610-a1:green:wps";
+ label = "green:wps";
gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
sms {
- label = "dwr-512-b:green:sms";
+ label = "green:sms";
gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>;
};
led_status: status {
- label = "dwr-512-b:green:status";
+ label = "green:status";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};
2g {
- label = "dwr-512-b:green:2g";
+ label = "green:2g";
gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
};
3g {
- label = "dwr-512-b:green:3g";
+ label = "green:3g";
gpios = <&gpio0 19 GPIO_ACTIVE_LOW>;
};
sstrengthr {
- label = "dwr-512-b:red:sigstrength";
+ label = "red:sigstrength";
gpios = <&gpio0 20 GPIO_ACTIVE_LOW>;
};
sstrengthg {
- label = "dwr-512-b:green:sigstrength";
+ label = "green:sigstrength";
gpios = <&gpio0 21 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_system: system {
- label = "mpr-a1:blue:system";
+ label = "blue:system";
gpios = <&gpio0 20 GPIO_ACTIVE_LOW>;
};
power {
- label = "mpr-a1:red:power";
+ label = "red:power";
gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_system: system {
- label = "mpr-a2:blue:system";
+ label = "blue:system";
gpios = <&gpio0 20 GPIO_ACTIVE_LOW>;
};
power {
- label = "mpr-a2:red:power";
+ label = "red:power";
gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_wlan: wlan {
- label = "ht-tm02:blue:wlan";
+ label = "blue:wlan";
gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
};
lan {
- label = "ht-tm02:green:lan";
+ label = "green:lan";
gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_wifi: wifi {
- label = "memory2move:blue:wifi";
+ label = "blue:wifi";
gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
};
wan {
- label = "memory2move:green:wan";
+ label = "green:wan";
gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
wlan {
- label = "miniembplug:red:wlan";
+ label = "red:wlan";
gpios = <&gpio0 9 GPIO_ACTIVE_HIGH>;
};
mobile {
- label = "miniembplug:green:mobile";
+ label = "green:mobile";
gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
trigger-sources = <&ohci_port1>, <&ehci_port1>;
linux,default-trigger = "usbport";
compatible = "gpio-leds";
led_power: power {
- label = "mzk-dp150n:green:power";
+ label = "green:power";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_status: status {
- label = "m3:blue:status";
+ label = "blue:status";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_status: status {
- label = "m4:blue:status";
+ label = "blue:status";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_power: power {
- label = "x5:green:power";
+ label = "green:power";
gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
};
20 {
- label = "x5:green:20";
+ label = "green:20";
gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
};
50 {
- label = "x5:green:50";
+ label = "green:50";
gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
};
80 {
- label = "x5:green:80";
+ label = "green:80";
gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_power: power {
- label = "x8:green:power";
+ label = "green:power";
gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_ap: ap {
- label = "3g150b:blue:ap";
+ label = "blue:ap";
gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
};
3g {
- label = "3g150b:blue:3g";
+ label = "blue:3g";
gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
trigger-sources = <&ohci_port1>, <&ehci_port1>;
linux,default-trigger = "usbport";
compatible = "gpio-leds";
usb {
- label = "tew-714tru:red:usb";
+ label = "red:usb";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
trigger-sources = <&ohci_port1>, <&ehci_port1>;
linux,default-trigger = "usbport";
};
wifi {
- label = "tew-714tru:green:wifi";
+ label = "green:wifi";
gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
system {
- label = "a5-v11:blue:system";
+ label = "blue:system";
gpios = <&gpio0 20 GPIO_ACTIVE_LOW>;
};
led_power: power {
- label = "a5-v11:red:power";
+ label = "red:power";
gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
};
};
led_status: status {
/* UARTF_RXD */
- label = "vocore:green:status";
+ label = "green:status";
gpios = <&gpio0 10 GPIO_ACTIVE_HIGH>;
};
eth {
/* UARTF_DTR_N */
- label = "vocore:orange:eth";
+ label = "orange:eth";
gpios = <&gpio0 11 GPIO_ACTIVE_HIGH>;
};
};
compatible = "gpio-leds";
led_run: run {
- label = "wizfi630a::run";
+ label = ":run";
gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
};
wps {
- label = "wizfi630a::wps";
+ label = ":wps";
gpios = <&gpio0 20 GPIO_ACTIVE_LOW>;
};
uart1 {
- label = "wizfi630a::uart1";
+ label = ":uart1";
gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;
};
uart2 {
- label = "wizfi630a::uart2";
+ label = ":uart2";
gpios = <&gpio0 21 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
lan {
- label = "zl5900v2:green:lan";
+ label = "green:lan";
gpios = <&gpio0 14 GPIO_ACTIVE_HIGH>;
};
led_power: power {
- label = "zl5900v2:blue:power";
+ label = "blue:power";
gpios = <&gpio0 17 GPIO_ACTIVE_HIGH>;
};
};
compatible = "gpio-leds";
led_power: power {
- label = "keenetic-lite-b:green:power";
+ label = "green:power";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};
wps {
- label = "keenetic-lite-b:green:wps";
+ label = "green:wps";
gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_power: power {
- label = "zyxel:green:power";
+ label = "green:power";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};
internet {
- label = "zyxel:green:internet";
+ label = "green:internet";
gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
};
};
ucidef_set_led_netdev "wifi_led" "wifi" "${1}" "${2:-wlan0}"
}
-
board=$(board_name)
-boardname="${board##*,}"
board_config_update
case $board in
aigale,ai-br100)
- ucidef_set_led_netdev "wan" "wan" "$boardname:blue:wan" "eth0.2"
- set_wifi_led "$boardname:blue:wlan"
+ ucidef_set_led_netdev "wan" "wan" "blue:wan" "eth0.2"
+ set_wifi_led "blue:wlan"
;;
alfa-network,ac1200rm)
- set_wifi_led "$boardname:green:wlan2g" "wlan1"
+ set_wifi_led "green:wlan2g" "wlan1"
;;
alfa-network,r36m-e4g)
- ucidef_set_led_netdev "4g" "4g" "$boardname:orange:4g" "wwan0"
- ucidef_set_led_switch "lan" "lan" "$boardname:green:lan" "switch0" "0x8"
- ucidef_set_led_switch "wan" "wan" "$boardname:green:wan" "switch0" "0x10"
+ ucidef_set_led_netdev "4g" "4g" "orange:4g" "wwan0"
+ ucidef_set_led_switch "lan" "lan" "green:lan" "switch0" "0x8"
+ ucidef_set_led_switch "wan" "wan" "green:wan" "switch0" "0x10"
;;
alfa-network,tube-e4g)
- ucidef_set_led_netdev "4g" "4g" "$boardname:green:4g" "wwan0"
- ucidef_set_led_netdev "lan" "lan" "$boardname:blue:lan" "eth0"
+ ucidef_set_led_netdev "4g" "4g" "green:4g" "wwan0"
+ ucidef_set_led_netdev "lan" "lan" "blue:lan" "eth0"
;;
asus,rp-n53)
- ucidef_set_led_netdev "eth" "Network" "$boardname:white:back" "eth0"
- set_wifi_led "$boardname:blue:wifi"
+ ucidef_set_led_netdev "eth" "Network" "white:back" "eth0"
+ set_wifi_led "blue:wifi"
;;
asus,rt-n12p)
- ucidef_set_led_netdev "lan" "lan" "$boardname:green:lan" eth0.1
- ucidef_set_led_netdev "wan" "wan" "$boardname:green:wan" eth0.2
- set_wifi_led "$boardname:green:air"
+ ucidef_set_led_netdev "lan" "lan" "green:lan" eth0.1
+ ucidef_set_led_netdev "wan" "wan" "green:wan" eth0.2
+ set_wifi_led "green:air"
;;
asus,rt-n14u)
- ucidef_set_led_netdev "lan" "lan" "$boardname:blue:lan" eth0.1
- ucidef_set_led_netdev "wan" "wan" "$boardname:blue:wan" eth0.2
- set_wifi_led "$boardname:blue:air"
+ ucidef_set_led_netdev "lan" "lan" "blue:lan" eth0.1
+ ucidef_set_led_netdev "wan" "wan" "blue:wan" eth0.2
+ set_wifi_led "blue:air"
;;
bdcom,wap2100-sk)
- set_wifi_led "$boardname:green:wlan2g"
+ set_wifi_led "green:wlan2g"
;;
comfast,cf-wr800n)
- ucidef_set_led_netdev "lan" "lan" "$boardname:white:ethernet" eth0.1
- set_wifi_led "$boardname:white:wifi"
+ ucidef_set_led_netdev "lan" "lan" "white:ethernet" eth0.1
+ set_wifi_led "white:wifi"
;;
dlink,dir-810l|\
trendnet,tew-810dr)
- ucidef_set_led_switch "wan" "wan" "$boardname:green:wan" "switch0" "0x10"
+ ucidef_set_led_switch "wan" "wan" "green:wan" "switch0" "0x10"
;;
dlink,dwr-116-a1|\
head-weblink,hdrm200|\
ohyeah,oy-0001|\
planex,mzk-ex300np|\
+zbtlink,zbt-we826-16m|\
+zbtlink,zbt-we826-32m|\
zbtlink,zbt-wr8305rt|\
zyxel,keenetic-omni|\
zyxel,keenetic-omni-ii|\
zyxel,keenetic-viva)
- set_wifi_led "$boardname:green:wifi"
+ set_wifi_led "green:wifi"
;;
dlink,dwr-118-a1)
- ucidef_set_led_switch "lan" "lan" "$boardname:green:lan" "switch0" "0x1f"
- ucidef_set_led_switch "wan" "wan" "$boardname:green:wan" "switch0" "0x20"
- set_wifi_led "$boardname:green:wlan2g" "wlan1"
+ ucidef_set_led_switch "lan" "lan" "green:lan" "switch0" "0x1f"
+ ucidef_set_led_switch "wan" "wan" "green:wan" "switch0" "0x20"
+ set_wifi_led "green:wlan2g" "wlan1"
;;
dlink,dwr-118-a2)
- ucidef_set_led_switch "lan" "lan" "$boardname:green:lan" "switch0" "0x1e"
- ucidef_set_led_switch "wan" "wan" "$boardname:green:wan" "switch0" "0x01"
- set_wifi_led "$boardname:green:wlan2g" "wlan1"
+ ucidef_set_led_switch "lan" "lan" "green:lan" "switch0" "0x1e"
+ ucidef_set_led_switch "wan" "wan" "green:wan" "switch0" "0x01"
+ set_wifi_led "green:wlan2g" "wlan1"
;;
dlink,dwr-921-c1|\
dlink,dwr-922-e2)
- set_wifi_led "$boardname:green:wifi"
- ucidef_set_led_switch "lan" "lan" "$boardname:green:lan" "switch0" "0x0f"
- ucidef_set_led_netdev "signalstrength" "signalstrength" "$boardname:green:sigstrength" "wwan0" "link"
- ucidef_set_led_netdev "4g" "4g" "$boardname:green:4g" "wwan0" "tx rx"
+ ucidef_set_led_switch "lan" "lan" "green:lan" "switch0" "0x0f"
+ ucidef_set_led_netdev "signalstrength" "signalstrength" "green:sigstrength" "wwan0" "link"
+ ucidef_set_led_netdev "4g" "4g" "green:4g" "wwan0" "tx rx"
+ set_wifi_led "green:wifi"
;;
dlink,dwr-960)
- ucidef_set_led_switch "lan" "lan" "$boardname:green:lan" "switch0" "0x2e"
- ucidef_set_led_switch "wan" "wan" "$boardname:green:wan" "switch0" "0x01"
+ ucidef_set_led_switch "lan" "lan" "green:lan" "switch0" "0x2e"
+ ucidef_set_led_switch "wan" "wan" "green:wan" "switch0" "0x01"
;;
dovado,tiny-ac)
- set_wifi_led "$boardname:orange:wifi"
+ set_wifi_led "orange:wifi"
;;
edimax,br-6478ac-v2|\
edimax,ew-7478apc)
- set_wifi_led "$boardname:blue:wlan"
+ set_wifi_led "blue:wlan"
;;
edimax,ew-7476rpc|\
edimax,ew-7478ac)
- ucidef_set_led_switch "lan" "lan" "$boardname:green:lan" "switch0" "0x20"
+ ucidef_set_led_switch "lan" "lan" "green:lan" "switch0" "0x20"
;;
elecom,wrh-300cr)
- set_wifi_led "$boardname:green:wlan"
- ucidef_set_led_netdev "lan" "lan" "$boardname:green:ethernet" "eth0"
+ ucidef_set_led_netdev "lan" "lan" "green:ethernet" "eth0"
+ set_wifi_led "green:wlan"
;;
engenius,esr600)
- ucidef_set_led_netdev "wlan5g" "5.0GHz" "$boardname:blue:wlan5g" "wlan0"
- ucidef_set_led_netdev "wlan2g" "2.4GHz" "$boardname:blue:wlan2g" "wlan1"
+ ucidef_set_led_netdev "wlan5g" "5.0GHz" "blue:wlan5g" "wlan0"
+ ucidef_set_led_netdev "wlan2g" "2.4GHz" "blue:wlan2g" "wlan1"
;;
glinet,gl-mt300a|\
glinet,gl-mt300n|\
glinet,gl-mt750)
- set_wifi_led "$boardname:wlan"
+ set_wifi_led "wlan"
;;
hiwifi,hc5661|\
hiwifi,hc5761)
- ucidef_set_led_switch "internet" "internet" "$boardname:blue:internet" "switch0" "0x01"
+ ucidef_set_led_switch "internet" "internet" "blue:internet" "switch0" "0x01"
;;
hiwifi,hc5861)
- ucidef_set_led_switch "internet" "internet" "$boardname:blue:internet" "switch0" "0x20"
+ ucidef_set_led_switch "internet" "internet" "blue:internet" "switch0" "0x20"
;;
hnet,c108)
- ucidef_set_led_netdev "lan" "lan" "$boardname:green:lan" "eth0"
- ucidef_set_led_netdev "modem" "modem" "$boardname:green:modem" "wwan0"
+ ucidef_set_led_netdev "lan" "lan" "green:lan" "eth0"
+ ucidef_set_led_netdev "modem" "modem" "green:modem" "wwan0"
;;
iodata,wn-ac1167gr|\
iodata,wn-ac733gr3)
- ucidef_set_led_wlan "wlan5g" "WLAN5G" "$boardname:green:wlan5g" "phy0radio"
- ucidef_set_led_wlan "wlan2g" "WLAN2G" "$boardname:green:wlan2g" "phy1radio"
+ ucidef_set_led_wlan "wlan5g" "WLAN5G" "green:wlan5g" "phy0radio"
+ ucidef_set_led_wlan "wlan2g" "WLAN2G" "green:wlan2g" "phy1radio"
;;
kimax,u25awf-h1)
- set_wifi_led "u25awf:red:wifi"
- ucidef_set_led_netdev "eth" "eth" "u25awf:green:lan" "eth0"
+ ucidef_set_led_netdev "eth" "eth" "green:lan" "eth0"
+ set_wifi_led "red:wifi"
;;
kimax,u35wf)
- set_wifi_led "$boardname:blue:wifi"
- ucidef_set_led_netdev "eth" "ETH" "$boardname:green:eth" "eth0"
+ ucidef_set_led_netdev "eth" "ETH" "green:eth" "eth0"
+ set_wifi_led "blue:wifi"
;;
kingston,mlw221|\
kingston,mlwg2|\
sanlinking,d240)
- set_wifi_led "$boardname:blue:wifi"
+ set_wifi_led "blue:wifi"
;;
lava,lr-25g001)
- ucidef_set_led_netdev "wlan2g" "WiFi 2.4GHz" "$boardname:green:wlan2g" "wlan1"
- ucidef_set_led_netdev "wlan5g" "WiFi 5GHz" "$boardname:green:wlan5g" "wlan0"
+ ucidef_set_led_netdev "wlan2g" "WiFi 2.4GHz" "green:wlan2g" "wlan1"
+ ucidef_set_led_netdev "wlan5g" "WiFi 5GHz" "green:wlan5g" "wlan0"
;;
lenovo,newifi-y1)
- ucidef_set_led_netdev "wifi" "WIFI" "$boardname:blue:wifi" "wlan1"
- ucidef_set_led_netdev "wifi5g" "WIFI5G" "$boardname:blue:wifi5g" "wlan0"
- ucidef_set_led_switch "lan" "LAN" "$boardname:blue:lan" "switch0" "0x03"
+ ucidef_set_led_netdev "wifi" "WIFI" "blue:wifi" "wlan1"
+ ucidef_set_led_netdev "wifi5g" "WIFI5G" "blue:wifi5g" "wlan0"
+ ucidef_set_led_switch "lan" "LAN" "blue:lan" "switch0" "0x03"
;;
lenovo,newifi-y1s)
- ucidef_set_led_netdev "wifi" "WIFI" "$boardname:yellow:wifi" "wlan1"
- ucidef_set_led_netdev "wifi5g" "WIFI5G" "$boardname:blue:wifi" "wlan0"
- ucidef_set_led_netdev "wan" "WAN" "$boardname:blue:internet" "eth0.2" "tx rx"
+ ucidef_set_led_netdev "wifi" "WIFI" "yellow:wifi" "wlan1"
+ ucidef_set_led_netdev "wifi5g" "WIFI5G" "blue:wifi" "wlan0"
+ ucidef_set_led_netdev "wan" "WAN" "blue:internet" "eth0.2" "tx rx"
;;
netgear,ex2700|\
netgear,wn3000rp-v3)
- set_wifi_led "$boardname:green:router"
+ set_wifi_led "green:router"
;;
netgear,ex3700|\
netgear,ex6130)
- ucidef_set_led_netdev "wlan5g" "ROUTER (green)" "$boardname:green:router" "wlan0"
- ucidef_set_led_netdev "wlan2g" "DEVICE (green)" "$boardname:green:device" "wlan1"
+ ucidef_set_led_netdev "wlan5g" "ROUTER (green)" "green:router" "wlan0"
+ ucidef_set_led_netdev "wlan2g" "DEVICE (green)" "green:device" "wlan1"
;;
netgear,jwnr2010-v5)
- ucidef_set_led_switch "lan1" "lan1" "$boardname:green:lan1" "switch0" "0x08"
- ucidef_set_led_switch "lan2" "lan2" "$boardname:green:lan2" "switch0" "0x04"
- ucidef_set_led_switch "lan3" "lan3" "$boardname:green:lan3" "switch0" "0x02"
- ucidef_set_led_switch "lan4" "lan4" "$boardname:green:lan4" "switch0" "0x01"
- ucidef_set_led_switch "wan" "wan" "$boardname:green:wan" "switch0" "0x10"
+ ucidef_set_led_switch "lan1" "lan1" "green:lan1" "switch0" "0x08"
+ ucidef_set_led_switch "lan2" "lan2" "green:lan2" "switch0" "0x04"
+ ucidef_set_led_switch "lan3" "lan3" "green:lan3" "switch0" "0x02"
+ ucidef_set_led_switch "lan4" "lan4" "green:lan4" "switch0" "0x01"
+ ucidef_set_led_switch "wan" "wan" "green:wan" "switch0" "0x10"
;;
phicomm,psg1208)
- set_wifi_led "$boardname:white:wlan2g"
+ set_wifi_led "white:wlan2g"
;;
planex,mzk-ex750np|\
zbtlink,zbt-we826-e)
- set_wifi_led "$boardname:red:wifi"
+ set_wifi_led "red:wifi"
;;
ravpower,rp-wd03)
- ucidef_set_led_netdev "internet" "internet" "$boardname:green:wifi" "eth0"
+ ucidef_set_led_netdev "internet" "internet" "green:wifi" "eth0"
;;
tplink,archer-c2-v1)
- ucidef_set_led_switch "lan" "lan" "$boardname:green:lan" "switch1" "0x1e"
- ucidef_set_led_switch "wan" "wan" "$boardname:green:wan" "switch1" "0x01"
- ;;
-tplink,archer-c20-v1)
- ucidef_set_led_switch "lan" "lan" "$boardname:blue:lan" "switch0" "0x1e"
- ucidef_set_led_switch "wan" "wan" "$boardname:blue:wan" "switch0" "0x01"
+ ucidef_set_led_switch "lan" "lan" "green:lan" "switch1" "0x1e"
+ ucidef_set_led_switch "wan" "wan" "green:wan" "switch1" "0x01"
;;
+tplink,archer-c20-v1|\
tplink,archer-c20i)
- ucidef_set_led_switch "lan" "lan" "$boardname:blue:lan" "switch0" "0x1e"
- ucidef_set_led_switch "wan" "wan" "$boardname:blue:wan" "switch0" "0x01"
+ ucidef_set_led_switch "lan" "lan" "blue:lan" "switch0" "0x1e"
+ ucidef_set_led_switch "wan" "wan" "blue:wan" "switch0" "0x01"
;;
tplink,archer-c50-v1)
- ucidef_set_led_switch "lan" "lan" "$boardname:green:lan" "switch0" "0x1e"
- ucidef_set_led_switch "wan" "wan" "$boardname:green:wan" "switch0" "0x01"
+ ucidef_set_led_switch "lan" "lan" "green:lan" "switch0" "0x1e"
+ ucidef_set_led_switch "wan" "wan" "green:wan" "switch0" "0x01"
;;
tplink,archer-mr200)
- ucidef_set_led_netdev "lan" "lan" "$boardname:white:lan" "eth0.1"
- ucidef_set_led_netdev "wan" "wan" "$boardname:white:wan" "usb0"
+ ucidef_set_led_netdev "lan" "lan" "white:lan" "eth0.1"
+ ucidef_set_led_netdev "wan" "wan" "white:wan" "usb0"
;;
tplink,re200-v1)
- ucidef_set_led_netdev "lan" "lan" "$boardname:green:lan" "eth0"
+ ucidef_set_led_netdev "lan" "lan" "green:lan" "eth0"
;;
youku,yk1)
- set_wifi_led "$boardname:blue:air"
- ucidef_set_led_switch "wan" "wan" "$boardname:blue:wan" "switch0" "0x10"
+ ucidef_set_led_switch "wan" "wan" "blue:wan" "switch0" "0x10"
+ set_wifi_led "blue:air"
;;
zbtlink,zbt-ape522ii)
- ucidef_set_led_netdev "wlan2g4" "wlan1-link" "$boardname:green:wlan2g4" "wlan1"
- ucidef_set_led_netdev "sys1" "wlan1" "$boardname:green:sys1" "wlan1" "tx rx"
- ucidef_set_led_netdev "sys2" "wlan0" "$boardname:green:sys2" "wlan0" "tx rx"
+ ucidef_set_led_netdev "wlan2g4" "wlan1-link" "green:wlan2g4" "wlan1"
+ ucidef_set_led_netdev "sys1" "wlan1" "green:sys1" "wlan1" "tx rx"
+ ucidef_set_led_netdev "sys2" "wlan0" "green:sys2" "wlan0" "tx rx"
;;
zbtlink,zbt-wa05)
- set_wifi_led "$boardname:blue:air"
- ;;
-zbtlink,zbt-we826-16m|\
-zbtlink,zbt-we826-32m)
- set_wifi_led "zbt-we826:green:wifi"
+ set_wifi_led "blue:air"
;;
zbtlink,zbt-we1026-5g-16m)
- ucidef_set_led_netdev "lan" "LAN" "we1026-5g:green:lan" "eth0"
- set_wifi_led "we1026-5g:green:wifi"
+ ucidef_set_led_netdev "lan" "LAN" "green:lan" "eth0"
+ set_wifi_led "green:wifi"
;;
zbtlink,zbt-we1026-h-32m)
- set_wifi_led "we1026-h:green:wifi"
- ucidef_set_led_switch "lan" "lan" "we1026-h:green:lan" "switch0" "0x8"
- ucidef_set_led_switch "wan" "wan" "we1026-h:green:wan" "switch0" "0x10"
+ ucidef_set_led_switch "lan" "lan" "green:lan" "switch0" "0x8"
+ ucidef_set_led_switch "wan" "wan" "green:wan" "switch0" "0x10"
+ set_wifi_led "green:wifi"
;;
zbtlink,zbt-we2026)
- set_wifi_led "$boardname:green:wlan"
+ set_wifi_led "green:wlan"
;;
esac
+++ /dev/null
-. /lib/functions.sh
-. /lib/functions/migrations.sh
-
-board=$(board_name)
-
-case "$board" in
-lenovo,newifi-y1)
- migrate_leds "^y1:=newifi-y1:"
- ;;
-lenovo,newifi-y1s)
- migrate_leds "^y1s:=newifi-y1s:"
- ;;
-netgear,wn3000rp-v3)
- migrate_leds "^wn3000rpv3:=wn3000rp-v3:"
- ;;
-ravpower,rp-wd03)
- migrate_leds "^wd03:=rp-wd03:"
- ;;
-tplink,archer-c2-v1)
- migrate_leds "^c2-v1:=archer-c2-v1:"
- ;;
-tplink,archer-c20-v1)
- migrate_leds "^c20-v1:=archer-c20-v1:"
- ;;
-tplink,archer-c20i)
- migrate_leds "^c20i:=archer-c20i:"
- ;;
-tplink,archer-c50-v1)
- migrate_leds "^c50:=archer-c50-v1:"
- ;;
-tplink,archer-mr200)
- migrate_leds "^mr200:=archer-mr200:"
- ;;
-youku,yk1)
- migrate_leds "^youku-yk1:=yk1:"
- ;;
-zyxel,keenetic-omni)
- migrate_leds "^kn_rc:=keenetic-omni:"
- ;;
-zyxel,keenetic-omni-ii)
- migrate_leds "^kn_rc:=keenetic-omni-ii:"
- ;;
-zyxel,keenetic-viva)
- migrate_leds "^kng_rc:=keenetic-viva:"
- ;;
-esac
-
-migrations_apply system
-
-exit 0
ucidef_set_led_netdev "wifi_led" "wifi" "${1}" "${2:-wlan0}"
}
-
board=$(board_name)
-boardname="${board##*,}"
board_config_update
case $board in
d-team,newifi-d2)
- ucidef_set_led_netdev "internet" "internet" "$boardname:amber:internet" "wan"
- ucidef_set_led_netdev "wlan2g" "WiFi 2.4GHz" "$boardname:blue:wlan2g" "wlan0"
- ucidef_set_led_netdev "wlan5g" "WiFi 5GHz" "$boardname:blue:wlan5g" "wlan1"
+ ucidef_set_led_netdev "internet" "internet" "amber:internet" "wan"
+ ucidef_set_led_netdev "wlan2g" "WiFi 2.4GHz" "blue:wlan2g" "wlan0"
+ ucidef_set_led_netdev "wlan5g" "WiFi 5GHz" "blue:wlan5g" "wlan1"
;;
d-team,pbr-m1|\
-gehua,ghl-r-001)
- ucidef_set_led_netdev "internet" "internet" "$boardname:blue:internet" "wan"
+gehua,ghl-r-001|\
+xzwifi,creativebox-v1)
+ ucidef_set_led_netdev "internet" "internet" "blue:internet" "wan"
;;
dlink,dir-1960-a1|\
dlink,dir-2660-a1)
- ucidef_set_led_netdev "wan" "wan" "$boardname:white:net" "wan"
+ ucidef_set_led_netdev "wan" "wan" "white:net" "wan"
;;
dlink,dir-860l-b1|\
dlink,dir-867-a1|\
dlink,dir-878-a1|\
dlink,dir-882-a1)
- ucidef_set_led_netdev "wan" "wan" "$boardname:green:net" "wan"
+ ucidef_set_led_netdev "wan" "wan" "green:net" "wan"
;;
gnubee,gb-pc1|\
gnubee,gb-pc2)
- ucidef_set_led_netdev "lan1" "lan1" "$boardname:green:lan1" "lan1"
- ucidef_set_led_netdev "lan2" "lan2" "$boardname:green:lan2" "lan2"
+ ucidef_set_led_netdev "lan1" "lan1" "green:lan1" "lan1"
+ ucidef_set_led_netdev "lan2" "lan2" "green:lan2" "lan2"
;;
linksys,ea7300-v1|\
linksys,ea7300-v2|\
linksys,ea7500-v2)
- ucidef_set_led_netdev "lan1" "lan1 link" "$boardname:green:lan1" "lan1" "link"
- ucidef_set_led_netdev "lan2" "lan2 link" "$boardname:green:lan2" "lan2" "link"
- ucidef_set_led_netdev "lan3" "lan3 link" "$boardname:green:lan3" "lan3" "link"
- ucidef_set_led_netdev "lan4" "lan4 link" "$boardname:green:lan4" "lan4" "link"
- ucidef_set_led_netdev "wan" "wan link" "$boardname:green:wan" "wan" "link"
+ ucidef_set_led_netdev "lan1" "lan1 link" "green:lan1" "lan1" "link"
+ ucidef_set_led_netdev "lan2" "lan2 link" "green:lan2" "lan2" "link"
+ ucidef_set_led_netdev "lan3" "lan3 link" "green:lan3" "lan3" "link"
+ ucidef_set_led_netdev "lan4" "lan4 link" "green:lan4" "lan4" "link"
+ ucidef_set_led_netdev "wan" "wan link" "green:wan" "wan" "link"
;;
mikrotik,routerboard-760igs)
- ucidef_set_led_netdev "sfp" "SFP" "$boardname:blue:sfp" "sfp"
+ ucidef_set_led_netdev "sfp" "SFP" "blue:sfp" "sfp"
;;
mikrotik,routerboard-m11g)
ucidef_set_rssimon "wlan0" "200000" "1"
- ucidef_set_led_rssi "rssilow" "RSSILOW" "$boardname:green:rssi0" "wlan0" "1" "100"
- ucidef_set_led_rssi "rssimediumlow" "RSSIMEDIUMLOW" "$boardname:green:rssi1" "wlan0" "20" "100"
- ucidef_set_led_rssi "rssimediumhigh" "RSSIMEDIUMHIGH" "$boardname:green:rssi2" "wlan0" "40" "100"
- ucidef_set_led_rssi "rssihigh" "RSSIHIGH" "$boardname:green:rssi3" "wlan0" "60" "100"
- ucidef_set_led_rssi "rssiveryhigh" "RSSIVERYHIGH" "$boardname:green:rssi4" "wlan0" "80" "100"
+ ucidef_set_led_rssi "rssilow" "RSSILOW" "green:rssi0" "wlan0" "1" "100"
+ ucidef_set_led_rssi "rssimediumlow" "RSSIMEDIUMLOW" "green:rssi1" "wlan0" "20" "100"
+ ucidef_set_led_rssi "rssimediumhigh" "RSSIMEDIUMHIGH" "green:rssi2" "wlan0" "40" "100"
+ ucidef_set_led_rssi "rssihigh" "RSSIHIGH" "green:rssi3" "wlan0" "60" "100"
+ ucidef_set_led_rssi "rssiveryhigh" "RSSIVERYHIGH" "green:rssi4" "wlan0" "80" "100"
;;
mtc,wr1201)
- ucidef_set_led_netdev "eth_link" "LAN link" "$boardname:green:eth_link" "br-lan"
+ ucidef_set_led_netdev "eth_link" "LAN link" "green:eth_link" "br-lan"
;;
netgear,r6220|\
netgear,r6260|\
netgear,r6850|\
netgear,wac124|\
netgear,wndr3700-v5)
- ucidef_set_led_netdev "wan" "wan" "$boardname:green:wan" "wan"
+ ucidef_set_led_netdev "wan" "wan" "green:wan" "wan"
;;
netgear,r6700-v2|\
netgear,r6800)
- ucidef_set_led_netdev "wan" "WAN" "$boardname:white:wan" "wan"
- ucidef_set_led_netdev "lan1" "LAN1" "$boardname:white:lan1" "lan1"
- ucidef_set_led_netdev "lan2" "LAN2" "$boardname:white:lan2" "lan2"
- ucidef_set_led_netdev "lan3" "LAN3" "$boardname:white:lan3" "lan3"
- ucidef_set_led_netdev "lan4" "LAN4" "$boardname:white:lan4" "lan4"
+ ucidef_set_led_netdev "wan" "WAN" "white:wan" "wan"
+ ucidef_set_led_netdev "lan1" "LAN1" "white:lan1" "lan1"
+ ucidef_set_led_netdev "lan2" "LAN2" "white:lan2" "lan2"
+ ucidef_set_led_netdev "lan3" "LAN3" "white:lan3" "lan3"
+ ucidef_set_led_netdev "lan4" "LAN4" "white:lan4" "lan4"
;;
tplink,re350-v1)
- ucidef_set_led_netdev "wifi2g" "Wifi 2.4G" "$boardname:blue:wifi2G" "wlan0"
- ucidef_set_led_netdev "wifi5g" "Wifi 5G" "$boardname:blue:wifi5G" "wlan1"
- ucidef_set_led_netdev "eth_act" "LAN act" "$boardname:green:eth_act" "lan" "tx rx"
- ucidef_set_led_netdev "eth_link" "LAN link" "$boardname:green:eth_link" "lan" "link"
+ ucidef_set_led_netdev "wifi2g" "Wifi 2.4G" "blue:wifi2G" "wlan0"
+ ucidef_set_led_netdev "wifi5g" "Wifi 5G" "blue:wifi5G" "wlan1"
+ ucidef_set_led_netdev "eth_act" "LAN act" "green:eth_act" "lan" "tx rx"
+ ucidef_set_led_netdev "eth_link" "LAN link" "green:eth_link" "lan" "link"
;;
tplink,re500-v1|\
tplink,re650-v1)
- ucidef_set_led_netdev "eth_act" "LAN act" "$boardname:green:eth_act" "lan" "tx rx"
- ucidef_set_led_netdev "eth_link" "LAN link" "$boardname:green:eth_link" "lan" "link"
- ;;
-xzwifi,creativebox-v1)
- ucidef_set_led_netdev "internet" "internet" "$boardname:blue:internet" "wan"
+ ucidef_set_led_netdev "eth_act" "LAN act" "green:eth_act" "lan" "tx rx"
+ ucidef_set_led_netdev "eth_link" "LAN link" "green:eth_link" "lan" "link"
;;
xiaomi,mi-router-ac2100)
- ucidef_set_led_netdev "wan-blue" "WAN (blue)" "$boardname:blue:wan" "wan"
+ ucidef_set_led_netdev "wan-blue" "WAN (blue)" "blue:wan" "wan"
;;
xiaomi,redmi-router-ac2100)
- ucidef_set_led_netdev "wan" "wan" "$boardname:white:wan" "wan"
+ ucidef_set_led_netdev "wan" "wan" "white:wan" "wan"
;;
youhua,wr1200js)
- ucidef_set_led_netdev "internet" "INTERNET" "$boardname:green:wan" "wan"
+ ucidef_set_led_netdev "internet" "INTERNET" "green:wan" "wan"
;;
esac
+++ /dev/null
-. /lib/functions.sh
-. /lib/functions/migrations.sh
-
-board=$(board_name)
-boardonly="${board##*,}"
-
-case "$board" in
-asus,rt-ac65p)
- migrate_leds "^rt-ac85p:=rt-ac65p:"
- ;;
-mikrotik,routerboard-750gr3)
- migrate_leds "^rb750gr3:=$boardonly:"
- ;;
-mikrotik,routerboard-m11g)
- migrate_leds "^rbm11g:=$boardonly:"
- ;;
-mikrotik,routerboard-m33g)
- migrate_leds "^rbm33g:=$boardonly:"
- ;;
-netgear,wndr3700-v5)
- migrate_leds "^wndr3700v5:=$boardonly:"
- ;;
-esac
-
-migrations_apply system
-
-exit 0
ucidef_set_led_netdev "wifi_led" "wifi" "${1}" "${2:-wlan0}"
}
-
board=$(board_name)
-boardname="${board##*,}"
board_config_update
case $board in
alfa-network,awusfree1)
- set_wifi_led "$boardname:blue:wlan"
+ set_wifi_led "blue:wlan"
;;
asus,rt-n10p-v3|\
asus,rt-n11p-b1|\
netgear,r6020|\
netgear,r6080|\
netgear,r6120)
- ucidef_set_led_switch "lan" "lan" "$boardname:green:lan" "switch0" "0xf"
- ucidef_set_led_switch "wan" "wan" "$boardname:green:wan" "switch0" "0x10"
+ ucidef_set_led_switch "lan" "lan" "green:lan" "switch0" "0xf"
+ ucidef_set_led_switch "wan" "wan" "green:wan" "switch0" "0x10"
;;
cudy,wr1000)
- ucidef_set_led_switch "wan" "wan" "$boardname:blue:wan" "switch0" "0x10"
- ucidef_set_led_switch "lan1" "lan1" "$boardname:blue:lan1" "switch0" "0x08"
- ucidef_set_led_switch "lan2" "lan2" "$boardname:blue:lan2" "switch0" "0x04"
+ ucidef_set_led_switch "wan" "wan" "blue:wan" "switch0" "0x10"
+ ucidef_set_led_switch "lan1" "lan1" "blue:lan1" "switch0" "0x08"
+ ucidef_set_led_switch "lan2" "lan2" "blue:lan2" "switch0" "0x04"
;;
glinet,gl-mt300n-v2)
- set_wifi_led "$boardname:red:wlan"
- ucidef_set_led_switch "wan" "wan" "$boardname:green:wan" "switch0" "0x1"
+ set_wifi_led "red:wlan"
+ ucidef_set_led_switch "wan" "wan" "green:wan" "switch0" "0x1"
;;
hilink,hlk-7628n|\
skylab,skw92a)
- set_wifi_led "$boardname:green:wlan"
+ set_wifi_led "green:wlan"
;;
hiwifi,hc5661a|\
hiwifi,hc5761a)
- ucidef_set_led_switch "internet" "internet" "$boardname:blue:internet" "switch0" "0x10"
+ ucidef_set_led_switch "internet" "internet" "blue:internet" "switch0" "0x10"
;;
mediatek,linkit-smart-7688)
- ucidef_set_led_wlan "wifi" "wifi" "linkit-smart-7688:orange:wifi" "phy0tpt"
+ ucidef_set_led_wlan "wifi" "wifi" "orange:wifi" "phy0tpt"
;;
rakwireless,rak633)
- set_wifi_led "$boardname:blue:wifi"
+ set_wifi_led "blue:wifi"
;;
tama,w06)
- ucidef_set_led_netdev "wan" "WAN" "$boardname:green:wan" "eth0"
- ucidef_set_led_wlan "wlan" "WLAN" "$boardname:green:wlan" "phy0tpt"
+ ucidef_set_led_netdev "wan" "WAN" "green:wan" "eth0"
+ ucidef_set_led_wlan "wlan" "WLAN" "green:wlan" "phy0tpt"
;;
tplink,archer-c20-v4|\
-tplink,archer-c20-v5)
- ucidef_set_led_switch "lan" "lan" "$boardname:green:lan" "switch0" "0x1e"
- ucidef_set_led_switch "wan" "wan" "$boardname:green:wan" "switch0" "0x01"
+tplink,archer-c20-v5|\
+tplink,tl-wr841n-v14|\
+tplink,tl-wr850n-v2)
+ ucidef_set_led_switch "lan" "lan" "green:lan" "switch0" "0x1e"
+ ucidef_set_led_switch "wan" "wan" "green:wan" "switch0" "0x01"
;;
tplink,archer-c50-v3|\
tplink,archer-c50-v4)
- ucidef_set_led_switch "lan" "lan" "$boardname:green:lan" "switch0" "0x1e"
- ucidef_set_led_switch "wan" "wan" "$boardname:green:wan" "switch0" "0x01"
- ucidef_set_led_wlan "wlan2g" "wlan2g" "$boardname:green:wlan2g" "phy0tpt"
- ucidef_set_led_wlan "wlan5g" "wlan5g" "$boardname:green:wlan5g" "phy1tpt"
+ ucidef_set_led_switch "lan" "lan" "green:lan" "switch0" "0x1e"
+ ucidef_set_led_switch "wan" "wan" "green:wan" "switch0" "0x01"
+ ucidef_set_led_wlan "wlan2g" "wlan2g" "green:wlan2g" "phy0tpt"
+ ucidef_set_led_wlan "wlan5g" "wlan5g" "green:wlan5g" "phy1tpt"
;;
tplink,re200-v2|\
tplink,re200-v3|\
tplink,re220-v2|\
tplink,tl-mr3020-v3|\
tplink,tl-wa801nd-v5)
- ucidef_set_led_netdev "lan" "lan" "$boardname:green:lan" "eth0"
+ ucidef_set_led_netdev "lan" "lan" "green:lan" "eth0"
;;
tplink,tl-mr3420-v5|\
+tplink,tl-wr840n-v4|\
tplink,tl-wr842n-v5)
- ucidef_set_led_wlan "wlan2g" "wlan2g" "$boardname:green:wlan" "phy0tpt"
- ucidef_set_led_switch "lan" "lan" "$boardname:green:lan" "switch0" "0x1e"
- ucidef_set_led_switch "wan" "wan" "$boardname:green:wan" "switch0" "0x01"
- ;;
-tplink,tl-wr840n-v4)
- ucidef_set_led_wlan "wlan2g" "wlan2g" "$boardname:green:wlan" "phy0tpt"
- ucidef_set_led_switch "lan" "lan" "$boardname:green:lan" "switch0" "0x1e"
- ucidef_set_led_switch "wan" "wan" "$boardname:green:wan" "switch0" "0x01"
+ ucidef_set_led_wlan "wlan2g" "wlan2g" "green:wlan" "phy0tpt"
+ ucidef_set_led_switch "lan" "lan" "green:lan" "switch0" "0x1e"
+ ucidef_set_led_switch "wan" "wan" "green:wan" "switch0" "0x01"
;;
tplink,tl-wr841n-v13)
- ucidef_set_led_wlan "wlan2g" "wlan2g" "$boardname:green:wlan" "phy0tpt"
- ucidef_set_led_switch "lan1" "lan1" "$boardname:green:lan1" "switch0" "0x2"
- ucidef_set_led_switch "lan2" "lan2" "$boardname:green:lan2" "switch0" "0x4"
- ucidef_set_led_switch "lan3" "lan3" "$boardname:green:lan3" "switch0" "0x8"
- ucidef_set_led_switch "lan4" "lan4" "$boardname:green:lan4" "switch0" "0x10"
- ucidef_set_led_switch "wan" "wan" "$boardname:green:wan" "switch0" "0x01"
- ;;
-tplink,tl-wr841n-v14|\
-tplink,tl-wr850n-v2)
- ucidef_set_led_switch "lan" "lan" "$boardname:green:lan" "switch0" "0x1e"
- ucidef_set_led_switch "wan" "wan" "$boardname:green:wan" "switch0" "0x01"
+ ucidef_set_led_wlan "wlan2g" "wlan2g" "green:wlan" "phy0tpt"
+ ucidef_set_led_switch "lan1" "lan1" "green:lan1" "switch0" "0x2"
+ ucidef_set_led_switch "lan2" "lan2" "green:lan2" "switch0" "0x4"
+ ucidef_set_led_switch "lan3" "lan3" "green:lan3" "switch0" "0x8"
+ ucidef_set_led_switch "lan4" "lan4" "green:lan4" "switch0" "0x10"
+ ucidef_set_led_switch "wan" "wan" "green:wan" "switch0" "0x01"
;;
tplink,tl-wr902ac-v3)
- ucidef_set_led_wlan "wlan2g" "wlan2g" "$boardname:green:wlan" "phy0tpt"
- ucidef_set_led_switch "lan" "lan" "$boardname:green:lan" "switch0" "0x10"
- ucidef_set_led_switch "wan" "wan" "$boardname:green:wan" "switch0" "0x10"
+ ucidef_set_led_wlan "wlan2g" "wlan2g" "green:wlan" "phy0tpt"
+ ucidef_set_led_switch "lan" "lan" "green:lan" "switch0" "0x10"
+ ucidef_set_led_switch "wan" "wan" "green:wan" "switch0" "0x10"
;;
unielec,u7628-01-16m)
- ucidef_set_led_switch "lan1" "lan1" "u7628-01:green:lan1" "switch0" "0x2"
- ucidef_set_led_switch "lan2" "lan2" "u7628-01:green:lan2" "switch0" "0x4"
- ucidef_set_led_switch "lan3" "lan3" "u7628-01:green:lan3" "switch0" "0x8"
- ucidef_set_led_switch "lan4" "lan4" "u7628-01:green:lan4" "switch0" "0x10"
- ucidef_set_led_switch "wan" "wan" "u7628-01:green:wan" "switch0" "0x01"
- set_wifi_led "u7628-01:green:wlan"
+ ucidef_set_led_switch "lan1" "lan1" "green:lan1" "switch0" "0x2"
+ ucidef_set_led_switch "lan2" "lan2" "green:lan2" "switch0" "0x4"
+ ucidef_set_led_switch "lan3" "lan3" "green:lan3" "switch0" "0x8"
+ ucidef_set_led_switch "lan4" "lan4" "green:lan4" "switch0" "0x10"
+ ucidef_set_led_switch "wan" "wan" "green:wan" "switch0" "0x01"
+ set_wifi_led "green:wlan"
;;
wavlink,wl-wn570ha1)
- ucidef_set_led_switch "wan" "wan" "$boardname:green:wan" "switch0" "0x01"
+ ucidef_set_led_switch "wan" "wan" "green:wan" "switch0" "0x01"
ucidef_set_rssimon "wlan0" "200000" "1"
- ucidef_set_led_rssi "wifi-low" "wifi-low" "$boardname:green:wifi-low" "wlan0" "1" "49"
- ucidef_set_led_rssi "wifi-med" "wifi-med" "$boardname:green:wifi-med" "wlan0" "50" "84"
- ucidef_set_led_rssi "wifi-high" "wifi-high" "$boardname:green:wifi-high" "wlan0" "85" "100"
- set_wifi_led "$boardname:green:wifi"
+ ucidef_set_led_rssi "wifi-low" "wifi-low" "green:wifi-low" "wlan0" "1" "49"
+ ucidef_set_led_rssi "wifi-med" "wifi-med" "green:wifi-med" "wlan0" "50" "84"
+ ucidef_set_led_rssi "wifi-high" "wifi-high" "green:wifi-high" "wlan0" "85" "100"
+ set_wifi_led "green:wifi"
;;
wavlink,wl-wn575a3)
ucidef_set_rssimon "wlan1" "200000" "1"
- ucidef_set_led_rssi "wifi-low" "wifi-low" "$boardname:green:wifi-low" "wlan1" "1" "49"
- ucidef_set_led_rssi "wifi-med" "wifi-med" "$boardname:green:wifi-med" "wlan1" "50" "84"
- ucidef_set_led_rssi "wifi-high" "wifi-high" "$boardname:green:wifi-high" "wlan1" "85" "100"
+ ucidef_set_led_rssi "wifi-low" "wifi-low" "green:wifi-low" "wlan1" "1" "49"
+ ucidef_set_led_rssi "wifi-med" "wifi-med" "green:wifi-med" "wlan1" "50" "84"
+ ucidef_set_led_rssi "wifi-high" "wifi-high" "green:wifi-high" "wlan1" "85" "100"
;;
wavlink,wl-wn577a2)
- ucidef_set_led_switch "lan" "lan" "$boardname:green:lan" "switch0" "0x8"
- ucidef_set_led_switch "wan" "wan" "$boardname:green:wan" "switch0" "0x10"
+ ucidef_set_led_switch "lan" "lan" "green:lan" "switch0" "0x8"
+ ucidef_set_led_switch "wan" "wan" "green:wan" "switch0" "0x10"
;;
zbtlink,zbt-we1226)
- set_wifi_led "$boardname:green:wlan"
- ucidef_set_led_switch "lan1" "LAN1" "$boardname:green:lan1" "switch0" "0x01"
- ucidef_set_led_switch "lan2" "LAN2" "$boardname:green:lan2" "switch0" "0x02"
- ucidef_set_led_switch "wan" "WAN" "$boardname:green:wan" "switch0" "0x10"
+ set_wifi_led "green:wlan"
+ ucidef_set_led_switch "lan1" "LAN1" "green:lan1" "switch0" "0x01"
+ ucidef_set_led_switch "lan2" "LAN2" "green:lan2" "switch0" "0x02"
+ ucidef_set_led_switch "wan" "WAN" "green:wan" "switch0" "0x10"
;;
zyxel,keenetic-extra-ii)
- set_wifi_led "$boardname:green:wifi"
- ucidef_set_led_switch "internet" "internet" "$boardname:green:internet" "switch0" "0x01"
+ set_wifi_led "green:wifi"
+ ucidef_set_led_switch "internet" "internet" "green:internet" "switch0" "0x01"
;;
esac
+++ /dev/null
-. /lib/functions.sh
-. /lib/functions/migrations.sh
-
-board=$(board_name)
-
-case "$board" in
-tplink,archer-c20-v4)
- migrate_leds "^c20-v4:=archer-c20-v4:"
- ;;
-tplink,archer-c50-v3)
- migrate_leds "^c50-v3:=archer-c50-v3:"
- ;;
-tplink,archer-c50-v4)
- migrate_leds "^c50-v4:=archer-c50-v4:"
- ;;
-esac
-
-migrations_apply system
-
-exit 0
ucidef_set_led_netdev "wifi_led" "wifi" "${1}" "${2:-wlan0}"
}
-
board=$(board_name)
-boardname="${board##*,}"
board_config_update
set_wifi_led "rt2800soc-phy0::radio"
;;
belkin,f5d8235-v1)
- set_wifi_led "$boardname:blue:wireless"
+ set_wifi_led "blue:wireless"
;;
ralink,v11st-fe)
set_wifi_led "rt2800pci-phy0::radio"
ucidef_set_led_netdev "wifi_led" "wifi" "${1}" "${2:-wlan0}"
}
-
board=$(board_name)
-boardname="${board##*,}"
board_config_update
case $board in
7links,px-4885-4m|\
-7links,px-4885-8m)
- set_wifi_led "px-4885:orange:wifi"
+7links,px-4885-8m|\
+fon,fonera-20n)
+ set_wifi_led "orange:wifi"
;;
airlive,air3gii|\
aximcom,mr-102n|\
edimax,3g-6200nl|\
netgear,wnce2001)
- set_wifi_led "$boardname:green:wlan"
+ set_wifi_led "green:wlan"
;;
alfa-network,w502u|\
dlink,dir-300-b1|\
allnet,all0256n-4m|\
allnet,all0256n-8m)
ucidef_set_rssimon "wlan0" "200000" "1"
- ucidef_set_led_rssi "rssilow" "RSSILOW" "all0256n:green:rssilow" "wlan0" "1" "40" "0" "6"
- ucidef_set_led_rssi "rssimedium" "RSSIMEDIUM" "all0256n:green:rssimed" "wlan0" "30" "80" "-29" "5"
- ucidef_set_led_rssi "rssihigh" "RSSIHIGH" "all0256n:green:rssihigh" "wlan0" "70" "100" "-69" "8"
+ ucidef_set_led_rssi "rssilow" "RSSILOW" "green:rssilow" "wlan0" "1" "40" "0" "6"
+ ucidef_set_led_rssi "rssimedium" "RSSIMEDIUM" "green:rssimed" "wlan0" "30" "80" "-29" "5"
+ ucidef_set_led_rssi "rssihigh" "RSSIHIGH" "green:rssihigh" "wlan0" "70" "100" "-69" "8"
set_wifi_led "rt2800pci-phy0::radio"
;;
alphanetworks,asl26555-8m|\
alphanetworks,asl26555-16m)
- ucidef_set_led_netdev "eth" "ETH" "asl26555:green:eth" "eth0"
- set_wifi_led "asl26555:green:wlan"
+ ucidef_set_led_netdev "eth" "ETH" "green:eth" "eth0"
+ set_wifi_led "green:wlan"
;;
asiarf,awapn2403)
set_wifi_led "rt2800soc-phy0::radio"
;;
dlink,dcs-930l-b1)
- ucidef_set_led_netdev "wifi" "WiFi" "$boardname:blue:wps"
+ ucidef_set_led_netdev "wifi" "WiFi" "blue:wps"
;;
dlink,dir-615-d)
- ucidef_set_led_netdev "wan" "WAN (green)" "$boardname:green:wan" "eth0.2"
+ ucidef_set_led_netdev "wan" "WAN (green)" "green:wan" "eth0.2"
set_wifi_led "rt2800soc-phy0::radio"
;;
dlink,dir-620-d1|\
trendnet,tew-714tru)
- set_wifi_led "$boardname:green:wifi"
+ set_wifi_led "green:wifi"
;;
edimax,3g-6200n|\
planex,mzk-w300nh2)
- set_wifi_led "$boardname:amber:wlan"
- ;;
-fon,fonera-20n)
- set_wifi_led "$boardname:orange:wifi"
+ set_wifi_led "amber:wlan"
;;
hauppauge,broadway)
- set_wifi_led "$boardname:red:wps_active"
+ set_wifi_led "red:wps_active"
;;
hootoo,ht-tm02)
- ucidef_set_led_netdev "eth" "Ethernet" "$boardname:green:lan" "eth0"
- set_wifi_led "$boardname:blue:wlan"
+ ucidef_set_led_netdev "eth" "Ethernet" "green:lan" "eth0"
+ set_wifi_led "blue:wlan"
;;
huawei,hg255d)
- set_wifi_led "$boardname:green:wlan"
- ucidef_set_led_netdev "internet" "internet" "$boardname:green:internet" "eth0.2"
+ set_wifi_led "green:wlan"
+ ucidef_set_led_netdev "internet" "internet" "green:internet" "eth0.2"
;;
intenso,memory2move)
- set_wifi_led "$boardname:blue:wifi"
- ucidef_set_led_netdev "eth" "Ethernet" "$boardname:green:wan" "eth0"
+ set_wifi_led "blue:wifi"
+ ucidef_set_led_netdev "eth" "Ethernet" "green:wan" "eth0"
;;
omnima,miniembplug)
- set_wifi_led "$boardname:red:wlan"
+ set_wifi_led "red:wlan"
;;
vocore,vocore-8m|\
vocore,vocore-16m)
- ucidef_set_led_netdev "eth" "ETH" "vocore:orange:eth" "eth0"
+ ucidef_set_led_netdev "eth" "ETH" "orange:eth" "eth0"
;;
zorlik,zl5900v2)
- ucidef_set_led_netdev "lan" "lan" "$boardname:green:lan" eth0
+ ucidef_set_led_netdev "lan" "lan" "green:lan" "eth0"
;;
esac
+++ /dev/null
-. /lib/functions.sh
-. /lib/functions/migrations.sh
-
-board=$(board_name)
-
-case "$board" in
-fon,fonera-20n)
- migrate_leds "^fonera20n:=fonera-20n:"
- ;;
-intenso,memory2move)
- migrate_leds "^m2m:=memory2move:"
- ;;
-esac
-
-migrations_apply system
-
-exit 0
ucidef_set_led_netdev "wifi_led" "wifi" "${1}" "${2:-wlan0}"
}
-
board=$(board_name)
-boardname="${board##*,}"
board_config_update
case $board in
belkin,f9k1109v1)
- ucidef_set_led_netdev "lan" "lan" "$boardname:blue:wps" "eth0"
+ ucidef_set_led_netdev "lan" "lan" "blue:wps" "eth0"
;;
edimax,br-6475nd)
- set_wifi_led "$boardname:amber:wlan"
+ set_wifi_led "amber:wlan"
;;
omnima,hpm)
- ucidef_set_led_netdev "eth" "ETH" "$boardname:green:eth" "eth0"
- set_wifi_led "$boardname:green:wifi"
+ ucidef_set_led_netdev "eth" "ETH" "green:eth" "eth0"
+ set_wifi_led "green:wifi"
;;
esac