compatible = "gpio-leds";
led_router: router {
- label = "wn-ag300dgr:green:router";
+ label = "green:router";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
default-state = "on";
};
children {
- label = "wn-ag300dgr:green:children";
+ label = "green:children";
gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
};
eco {
- label = "wn-ag300dgr:green:eco";
+ label = "green:eco";
gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
};
notification {
- label = "wn-ag300dgr:amber:notification";
+ label = "amber:notification";
gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
};
wlan2g {
- label = "wn-ag300dgr:green:wlan2g";
+ label = "green:wlan2g";
gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
wlan5g {
- label = "wn-ag300dgr:green:wlan5g";
+ label = "green:wlan5g";
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy1tpt";
};
compatible = "gpio-leds";
ops {
- label = "wlr-7100:white:ops";
+ label = "white:ops";
gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
};
led_power: power {
- label = "wlr-7100:amber:power";
+ label = "amber:power";
gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
default-state = "on";
};
wlan2g {
- label = "wlr-7100:blue:wlan2g";
+ label = "blue:wlan2g";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy1tpt";
};
compatible = "gpio-leds";
led_user: user {
- label = "mikrotik:yellow:user";
+ label = "yellow:user";
gpios = <&gpio 4 GPIO_ACTIVE_HIGH>;
default-state = "on";
};
led1 {
- label = "mikrotik:green:led1";
+ label = "green:led1";
gpios = <&cpld_gpio 0 GPIO_ACTIVE_LOW>;
};
led2 {
- label = "mikrotik:green:led2";
+ label = "green:led2";
gpios = <&cpld_gpio 2 GPIO_ACTIVE_LOW>;
};
led3 {
- label = "mikrotik:green:led3";
+ label = "green:led3";
gpios = <&cpld_gpio 1 GPIO_ACTIVE_LOW>;
};
led4 {
- label = "mikrotik:green:led4";
+ label = "green:led4";
gpios = <&cpld_gpio 3 GPIO_ACTIVE_LOW>;
};
led5 {
- label = "mikrotik:green:led5";
+ label = "green:led5";
gpios = <&cpld_gpio 8 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
wlan5g {
- label = "bluesocket:green:wifi5g";
+ label = "green:wifi5g";
gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy1tpt";
};
wlan2g {
- label = "bluesocket:green:wifi2g";
+ label = "green:wifi2g";
gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
led_status_green: status_green {
- label = "bluesocket:green:status";
+ label = "green:status";
gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
};
led_status_yellow: status_yellow {
- label = "bluesocket:yellow:status";
+ label = "yellow:status";
gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_power_green: power_green {
- label = "ap-105:green:power";
+ label = "green:power";
gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
};
led_power_red: power_red {
- label = "ap-105:red:power";
+ label = "red:power";
gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
panic-indicator;
};
wifi_2g_red {
- label = "ap-105:red:wlan2g";
+ label = "red:wlan2g";
gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
};
wifi_5g_red {
- label = "ap-105:red:wlan5g";
+ label = "red:wlan5g";
gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
wifi_2g_green {
- label = "ap-105:green:wlan2g";
+ label = "green:wlan2g";
gpios = <&ath9k0 5 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
wifi_5g_green {
- label = "ap-105:green:wlan5g";
+ label = "green:wlan5g";
gpios = <&ath9k1 5 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy1tpt";
};
compatible = "gpio-leds";
led_diag: diag {
- label = "buffalo:red:diag";
+ label = "red:diag";
gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
band2g_a {
- label = "buffalo:amber:band2g";
+ label = "amber:band2g";
gpios = <&ath9k0 1 GPIO_ACTIVE_LOW>;
};
usb {
- label = "buffalo:green:usb";
+ label = "green:usb";
gpios = <&ath9k0 3 GPIO_ACTIVE_LOW>;
trigger-sources = <&usb_ohci_port>, <&usb_ehci_port>;
linux,default-trigger = "usbport";
};
band2g_g {
- label = "buffalo:green:band2g";
+ label = "green:band2g";
gpios = <&ath9k0 5 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
band5g_g {
- label = "buffalo:green:band5g";
+ label = "green:band5g";
gpios = <&ath9k1 1 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy1tpt";
};
router {
- label = "buffalo:green:router";
+ label = "green:router";
gpios = <&ath9k1 3 GPIO_ACTIVE_LOW>;
};
movie_engine {
- label = "buffalo:blue:movie_engine";
+ label = "blue:movie_engine";
gpios = <&ath9k1 4 GPIO_ACTIVE_LOW>;
};
band5g_a {
- label = "buffalo:amber:band5g";
+ label = "amber:band5g";
gpios = <&ath9k1 5 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
usb {
- label = "d-link:blue:usb";
+ label = "blue:usb";
gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
trigger-sources = <&usb_ohci_port>, <&usb_ehci_port>;
linux,default-trigger = "usbport";
};
led_power_orange: power_orange {
- label = "d-link:orange:power";
+ label = "orange:power";
gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
default-state = "on";
};
led_power_blue: power_blue {
- label = "d-link:blue:power";
+ label = "blue:power";
gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
};
wps {
- label = "d-link:blue:wps";
+ label = "blue:wps";
gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
};
planet_orange {
- label = "d-link:orange:planet";
+ label = "orange:planet";
gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
};
planet_blue {
- label = "d-link:blue:planet";
+ label = "blue:planet";
gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
wlan2g {
- label = "d-link:blue:wlan2g";
+ label = "blue:wlan2g";
gpios = <&ath9k0 5 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
wlan5g {
- label = "d-link:blue:wlan5g";
+ label = "blue:wlan5g";
gpios = <&ath9k1 5 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy1tpt";
};
compatible = "gpio-leds";
led_d2: d2 {
- label = "ja76pf2:green:d2";
+ label = "green:d2";
gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
};
d3 {
- label = "ja76pf2:green:d3";
+ label = "green:d3";
gpios = <&gpio 4 GPIO_ACTIVE_HIGH>;
};
d4 {
- label = "ja76pf2:green:d4";
+ label = "green:d4";
gpios = <&gpio 3 GPIO_ACTIVE_HIGH>;
};
};
compatible = "gpio-leds";
wifi1 {
- label = "mr16:green:wifi1";
+ label = "green:wifi1";
gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
};
wifi2 {
- label = "mr16:green:wifi2";
+ label = "green:wifi2";
gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
};
wifi3 {
- label = "mr16:green:wifi3";
+ label = "green:wifi3";
gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
};
wifi4 {
- label = "mr16:green:wifi4";
+ label = "green:wifi4";
gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
};
wan {
- label = "mr16:green:wan";
+ label = "green:wan";
gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
};
led_power_orange: power_orange {
- label = "mr16:orange:power";
+ label = "orange:power";
gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
panic-indicator;
};
led_power_green: power_green {
- label = "mr16:green:power";
+ label = "green:power";
gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
};
};
compatible = "reset-leds";
usb_led {
- label = "netgear:green:usb";
+ label = "green:usb";
resets = <&rst 12>;
trigger-sources = <&usb_ohci_port>, <&usb_ehci_port>;
linux,default-trigger = "usbport";
compatible = "gpio-leds";
wps {
- label = "netgear:orange:wps";
+ label = "orange:wps";
gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
};
led_power_green: power_green {
- label = "netgear:green:power";
+ label = "green:power";
gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
};
led_power_orange: power_orange {
- label = "netgear:orange:power";
+ label = "orange:power";
gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
default-state = "on";
};
wps_green {
- label = "netgear:green:wps";
+ label = "green:wps";
gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
};
wan_green {
- label = "netgear:green:wan";
+ label = "green:wan";
gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
wlan2g {
- label = "netgear:green:wlan2g";
+ label = "green:wlan2g";
gpios = <&ath9k0 5 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
wlan5g {
- label = "netgear:blue:wlan5g";
+ label = "blue:wlan5g";
gpios = <&ath9k1 5 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy1tpt";
};
compatible = "gpio-leds";
led_power_green: led_power_green {
- label = "ws-ap3610:green:power";
+ label = "green:power";
gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
};
led_power_red: led_power_red {
- label = "ws-ap3610:red:power";
+ label = "red:power";
gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
};
led_wlan5_blue {
- label = "ws-ap3610:blue:wlan5";
+ label = "blue:wlan5";
gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
led_wlan5_green {
- label = "ws-ap3610:green:wlan5";
+ label = "green:wlan5";
gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
};
led_wlan2_blue {
- label = "ws-ap3610:blue:wlan2";
+ label = "blue:wlan2";
gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy1tpt";
};
led_wlan2_green {
- label = "ws-ap3610:green:wlan2";
+ label = "green:wlan2";
gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_rf: rf_green {
- label = "ubnt:green:rf";
+ label = "green:rf";
gpios = <&gpio 2 GPIO_ACTIVE_HIGH>;
};
};
pinctrl-0 = <&switch_led_pins>;
security {
- label = "whr-g301n:orange:security";
+ label = "orange:security";
gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
};
led_diag: diag {
- label = "whr-g301n:red:diag";
+ label = "red:diag";
gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
};
router {
- label = "whr-g301n:green:router";
+ label = "green:router";
gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
};
lan1 {
- label = "whr-g301n:green:lan1";
+ label = "green:lan1";
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
};
lan2 {
- label = "whr-g301n:green:lan2";
+ label = "green:lan2";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
};
lan3 {
- label = "whr-g301n:green:lan3";
+ label = "green:lan3";
gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
};
lan4 {
- label = "whr-g301n:green:lan4";
+ label = "green:lan4";
gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
};
wan {
- label = "whr-g301n:green:wan";
+ label = "green:wan";
gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
wlan {
- label = "whr-g301n:green:wlan";
+ label = "green:wlan";
gpios = <&ath9k 1 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
pinctrl-0 = <&switch_led_pins>;
led_power_green: power_green {
- label = "d-link:green:power";
+ label = "green:power";
gpios = <&gpio 6 GPIO_ACTIVE_HIGH>;
};
led_power_amber: power_amber {
- label = "d-link:amber:power";
+ label = "amber:power";
gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
};
wps {
- label = "d-link:blue:wps";
+ label = "blue:wps";
gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
};
lan1 {
- label = "d-link:green:lan1";
+ label = "green:lan1";
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
};
lan2 {
- label = "d-link:green:lan2";
+ label = "green:lan2";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
};
lan3 {
- label = "d-link:green:lan3";
+ label = "green:lan3";
gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
};
lan4 {
- label = "d-link:green:lan4";
+ label = "green:lan4";
gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
};
wan_amber {
- label = "d-link:amber:wan";
+ label = "amber:wan";
gpios = <&gpio 7 GPIO_ACTIVE_HIGH>;
};
wan_green {
- label = "d-link:green:wan";
+ label = "green:wan";
gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
wlan {
- label = "d-link:green:wlan";
+ label = "green:wlan";
gpios = <&ath9k 1 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
pinctrl-0 = <&jtag_disable_pins &switch_led_disable_pins &clks_disable_pins>;
rssilow {
- label = "enh202-v1:red:rssilow";
+ label = "red:rssilow";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
};
rssimedium {
- label = "enh202-v1:amber:rssimedium";
+ label = "amber:rssimedium";
gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
};
led_rssihigh: rssihigh {
- label = "enh202-v1:green:rssihigh";
+ label = "green:rssihigh";
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
};
lan {
- label = "enh202-v1:amber:lan";
+ label = "amber:lan";
gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
};
wan {
- label = "enh202-v1:green:wan";
+ label = "green:wan";
gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
wlan {
- label = "enh202-v1:green:wlan";
+ label = "green:wlan";
gpios = <&ath9k 1 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
pinctrl-0 = <&jtag_disable_pins &switch_led_disable_pins &clks_disable_pins>;
led_power_green: power_green {
- label = "netgear:green:power";
+ label = "green:power";
gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
};
led_power_amber: power_amber {
- label = "netgear:amber:power";
+ label = "amber:power";
gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
default-state = "keep";
};
wan_green {
- label = "netgear:green:wan";
+ label = "green:wan";
gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
};
wan_amber {
- label = "netgear:amber:wan";
+ label = "amber:wan";
gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
};
lan1_green {
- label = "netgear:green:lan1";
+ label = "green:lan1";
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
};
lan1_amber {
- label = "netgear:amber:lan1";
+ label = "amber:lan1";
gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
};
lan2_green {
- label = "netgear:green:lan2";
+ label = "green:lan2";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
};
lan2_amber {
- label = "netgear:amber:lan2";
+ label = "amber:lan2";
gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
};
lan3_green {
- label = "netgear:green:lan3";
+ label = "green:lan3";
gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
};
lan3_amber {
- label = "netgear:amber:lan3";
+ label = "amber:lan3";
gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
};
lan4_green {
- label = "netgear:green:lan4";
+ label = "green:lan4";
gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
};
lan4_amber {
- label = "netgear:amber:lan4";
+ label = "amber:lan4";
gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
wps_green {
- label = "netgear:green:wps";
+ label = "green:wps";
gpios = <&ath9k 5 GPIO_ACTIVE_LOW>;
};
wlan_blue {
- label = "netgear:blue:wlan";
+ label = "blue:wlan";
gpios = <&ath9k 1 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
pinctrl-0 = <&jtag_disable_pins &switch_led_disable_pins &clks_disable_pins>;
led_power: power {
- label = "netgear:green:power";
+ label = "green:power";
gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
};
lan1 {
- label = "netgear:green:lan1";
+ label = "green:lan1";
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
};
lan2 {
- label = "netgear:green:lan2";
+ label = "green:lan2";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
};
wan {
- label = "netgear:green:wan";
+ label = "green:wan";
gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
wlan {
- label = "netgear:green:wlan";
+ label = "green:wlan";
gpios = <&ath9k 1 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
pinctrl-0 = <&pinmux_switch_led_pins>;
led_system: system {
- label = "tp-link:green:system";
+ label = "green:system";
gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
};
qss {
- label = "tp-link:green:qss";
+ label = "green:qss";
gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
wlan {
- label = "tp-link:green:wlan";
+ label = "green:wlan";
gpios = <&ath9k 1 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
&leds {
lan {
- label = "tp-link:green:lan";
+ label = "green:lan";
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
};
};
&leds {
lan1 {
- label = "tp-link:green:lan1";
+ label = "green:lan1";
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
};
lan2 {
- label = "tp-link:green:lan2";
+ label = "green:lan2";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
};
lan3 {
- label = "tp-link:green:lan3";
+ label = "green:lan3";
gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
};
lan4 {
- label = "tp-link:green:lan4";
+ label = "green:lan4";
gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
};
wan {
- label = "tp-link:green:wan";
+ label = "green:wan";
gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
};
};
pinctrl-0 = <&jtag_disable_pins &switch_led_disable_pins &clks_disable_pins>;
wan_green {
- label = "netgear:green:wan";
+ label = "green:wan";
gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
};
wan_amber {
- label = "netgear:amber:wan";
+ label = "amber:wan";
gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
};
lan1_green {
- label = "netgear:green:lan1";
+ label = "green:lan1";
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
};
lan1_amber {
- label = "netgear:amber:lan1";
+ label = "amber:lan1";
gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
};
lan2_green {
- label = "netgear:green:lan2";
+ label = "green:lan2";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
};
lan2_amber {
- label = "netgear:amber:lan2";
+ label = "amber:lan2";
gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
};
lan3_green {
- label = "netgear:green:lan3";
+ label = "green:lan3";
gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
};
lan3_amber {
- label = "netgear:amber:lan3";
+ label = "amber:lan3";
gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
};
lan4_green {
- label = "netgear:green:lan4";
+ label = "green:lan4";
gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
};
lan4_amber {
- label = "netgear:amber:lan4";
+ label = "amber:lan4";
gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
};
wps_green {
- label = "netgear:green:wps";
+ label = "green:wps";
gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_power_green: power_green {
- label = "netgear:green:power";
+ label = "green:power";
gpios = <&ath9k 3 GPIO_ACTIVE_LOW>;
};
led_power_amber: power_amber {
- label = "netgear:amber:power";
+ label = "amber:power";
gpios = <&ath9k 2 GPIO_ACTIVE_LOW>;
default-state = "keep";
};
wlan_blue {
- label = "netgear:blue:wlan";
+ label = "blue:wlan";
gpios = <&ath9k 1 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
pinctrl-0 = <&jtag_disable_pins &switch_led_disable_pins &clks_disable_pins>;
wan_green {
- label = "netgear:green:wan";
+ label = "green:wan";
gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
};
wan_amber {
- label = "netgear:amber:wan";
+ label = "amber:wan";
gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
};
lan1_green {
- label = "netgear:green:lan1";
+ label = "green:lan1";
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
};
lan1_amber {
- label = "netgear:amber:lan1";
+ label = "amber:lan1";
gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
};
lan2_green {
- label = "netgear:green:lan2";
+ label = "green:lan2";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
};
lan2_amber {
- label = "netgear:amber:lan2";
+ label = "amber:lan2";
gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
};
lan3_green {
- label = "netgear:green:lan3";
+ label = "green:lan3";
gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
};
lan3_amber {
- label = "netgear:amber:lan3";
+ label = "amber:lan3";
gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
};
lan4_green {
- label = "netgear:green:lan4";
+ label = "green:lan4";
gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
};
lan4_amber {
- label = "netgear:amber:lan4";
+ label = "amber:lan4";
gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
};
wps_green {
- label = "netgear:green:wps";
+ label = "green:wps";
gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
};
usb_green {
- label = "netgear:green:usb";
+ label = "green:usb";
gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
trigger-sources = <&hub_port>;
linux,default-trigger = "usbport";
compatible = "gpio-leds";
led_power_green: power_green {
- label = "netgear:green:power";
+ label = "green:power";
gpios = <&ath9k 2 GPIO_ACTIVE_LOW>;
};
led_power_amber: power_amber {
- label = "netgear:amber:power";
+ label = "amber:power";
gpios = <&ath9k 1 GPIO_ACTIVE_LOW>;
default-state = "keep";
};
wlan_blue {
- label = "netgear:blue:wlan";
+ label = "blue:wlan";
gpios = <&ath9k 0 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
compatible = "gpio-leds";
led_system: system {
- label = "tp-link:green:system";
+ label = "green:system";
gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
};
qss {
- label = "tp-link:green:qss";
+ label = "green:qss";
gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
wlan {
- label = "tp-link:green:wlan";
+ label = "green:wlan";
gpios = <&ath9k 1 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
compatible = "gpio-leds";
wlan {
- label = "tp-link:green:wlan";
+ label = "green:wlan";
gpios = <&ath9k 0 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
&leds {
led3g {
- label = "tp-link:green:3g";
+ label = "green:3g";
gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
trigger-sources = <&hub_port>;
linux,default-trigger = "usbport";
compatible = "gpio-leds";
wlan {
- label = "tp-link:green:wlan";
+ label = "green:wlan";
gpios = <&ath9k 0 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
compatible = "gpio-leds";
led_system: system {
- label = "tp-link:green:system";
+ label = "green:system";
gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
};
qss {
- label = "tp-link:green:qss";
+ label = "green:qss";
gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
};
led3g {
- label = "tp-link:green:3g";
+ label = "green:3g";
gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
trigger-sources = <&hub_port>;
linux,default-trigger = "usbport";
compatible = "gpio-leds";
wlan {
- label = "tp-link:green:wlan";
+ label = "green:wlan";
gpios = <&ath9k 0 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
compatible = "gpio-leds";
led_globe: globe {
- label = "ubnt:green:globe";
+ label = "green:globe";
gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
};
power {
- label = "ubnt:green:power";
+ label = "green:power";
gpios = <&gpio 11 GPIO_ACTIVE_HIGH>;
};
};
compatible = "gpio-leds";
led_dome_green: dome_green {
- label = "ubnt:green:dome";
+ label = "green:dome";
gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
};
dome_orange {
- label = "ubnt:orange:dome";
+ label = "orange:dome";
gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
};
};
compatible = "gpio-leds";
led_power: power {
- label = "fritz300e:green:power";
+ label = "green:power";
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
default-state = "on";
};
lan {
- label = "fritz300e:green:lan";
+ label = "green:lan";
gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
};
wlan {
- label = "fritz300e:green:wlan";
+ label = "green:wlan";
gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
compatible = "gpio-leds";
rssi0 {
- label = "fritz300e:green:rssi0";
+ label = "green:rssi0";
gpios = <&ath9k 10 GPIO_ACTIVE_LOW>;
};
rssi1 {
- label = "fritz300e:green:rssi1";
+ label = "green:rssi1";
gpios = <&ath9k 4 GPIO_ACTIVE_LOW>;
};
rssi2 {
- label = "fritz300e:green:rssi2";
+ label = "green:rssi2";
gpios = <&ath9k 6 GPIO_ACTIVE_LOW>;
};
rssi3 {
- label = "fritz300e:green:rssi3";
+ label = "green:rssi3";
gpios = <&ath9k 7 GPIO_ACTIVE_LOW>;
};
rssi4 {
- label = "fritz300e:green:rssi4";
+ label = "green:rssi4";
gpios = <&ath9k 5 GPIO_ACTIVE_LOW>;
};
};
&leds {
sec_vpn {
- label = "buffalo:orange:vpn";
+ label = "orange:vpn";
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_diag: diag {
- label = "buffalo:red:diag";
+ label = "red:diag";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
};
usb {
- label = "buffalo:green:usb";
+ label = "green:usb";
gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
trigger-sources = <&hub_port>;
linux,default-trigger = "usbport";
compatible = "gpio-leds";
led_diag: diag {
- label = "buffalo:red:diag";
+ label = "red:diag";
gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
usb {
- label = "buffalo:blue:usb";
+ label = "blue:usb";
gpios = <&ath9k 4 GPIO_ACTIVE_LOW>;
trigger-sources = <&hub_port>;
linux,default-trigger = "usbport";
};
wireless {
- label = "buffalo:green:wireless";
+ label = "green:wireless";
gpios = <&ath9k 5 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
security {
- label = "buffalo:orange:security";
+ label = "orange:security";
gpios = <&ath9k 6 GPIO_ACTIVE_LOW>;
};
router {
- label = "buffalo:green:router";
+ label = "green:router";
gpios = <&ath9k 7 GPIO_ACTIVE_LOW>;
};
movie_engine_on {
- label = "buffalo:blue:movie_engine_on";
+ label = "blue:movie_engine_on";
gpios = <&ath9k 8 GPIO_ACTIVE_LOW>;
};
movie_engine_off {
- label = "buffalo:blue:movie_engine_off";
+ label = "blue:movie_engine_off";
gpios = <&ath9k 9 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_movie_engine {
- label = "buffalo:blue:movie_engine";
+ label = "blue:movie_engine";
gpios = <&ath9k 13 GPIO_ACTIVE_LOW>;
};
router {
- label = "buffalo:green:router";
+ label = "green:router";
gpios = <&ath9k 14 GPIO_ACTIVE_LOW>;
};
wireless {
- label = "buffalo:green:wireless";
+ label = "green:wireless";
gpios = <&ath9k 15 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
&leds {
sec_vpn {
- label = "buffalo:orange:security";
+ label = "orange:security";
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_wps: wps {
- label = "tplink:green:wps";
+ label = "green:wps";
gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
};
usb {
- label = "tplink:green:usb";
+ label = "green:usb";
gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
trigger-sources = <&hub_port>;
linux,default-trigger = "usbport";
compatible = "gpio-leds";
wlan2g {
- label = "tplink:green:wlan2g";
+ label = "green:wlan2g";
gpios = <&ath9k 0 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
wlan5g {
- label = "tplink:green:wlan5g";
+ label = "green:wlan5g";
gpios = <&ath9k 1 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
compatible = "gpio-leds";
led_usr: usr {
- label = "ubnt:yellow:usr";
+ label = "yellow:usr";
gpios = <&gpio 13 GPIO_ACTIVE_HIGH>;
};
};
compatible = "gpio-leds";
link1 {
- label = "ubnt:red:link1";
+ label = "red:link1";
gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
};
link2 {
- label = "ubnt:orange:link2";
+ label = "orange:link2";
gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
};
link3 {
- label = "ubnt:green:link3";
+ label = "green:link3";
gpios = <&gpio 11 GPIO_ACTIVE_HIGH>;
};
led_link4: link4 {
- label = "ubnt:green:link4";
+ label = "green:link4";
gpios = <&gpio 7 GPIO_ACTIVE_HIGH>;
};
};
compatible = "gpio-leds";
led_system: system {
- label = "tp-link:green:system";
+ label = "green:system";
gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
};
qss {
- label = "tp-link:green:qss";
+ label = "green:qss";
gpios = <&gpio 4 GPIO_ACTIVE_HIGH>;
};
wlan {
- label = "tp-link:green:wlan";
+ label = "green:wlan";
gpios = <&gpio 9 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
compatible = "gpio-leds";
usb {
- label = "tp-link:green:usb";
+ label = "green:usb";
gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
trigger-sources = <&hub_port>;
linux,default-trigger = "usbport";
};
led_system: system {
- label = "tp-link:green:system";
+ label = "green:system";
gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
linux,default-trigger = "heartbeat";
};
qss {
- label = "tp-link:green:qss";
+ label = "green:qss";
gpios = <&gpio 5 GPIO_ACTIVE_HIGH>;
};
wlan {
- label = "tp-link:green:wlan";
+ label = "green:wlan";
gpios = <&gpio 9 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
compatible = "gpio-leds";
led_system: system {
- label = "tp-link:green:system";
+ label = "green:system";
gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
};
qss_r {
- label = "tp-link:red:qss";
+ label = "red:qss";
gpios = <&gpio 4 GPIO_ACTIVE_HIGH>;
};
qss_g {
- label = "tp-link:green:qss";
+ label = "green:qss";
gpios = <&gpio 5 GPIO_ACTIVE_HIGH>;
};
wlan {
- label = "tp-link:green:wlan";
+ label = "green:wlan";
gpios = <&gpio 9 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
pinctrl-0 = <&jtag_disable_pins>;
led_power_green: power {
- label = "d-link:green:power";
+ label = "green:power";
gpios = <&gpio 27 GPIO_ACTIVE_LOW>;
};
led_status_red: status {
- label = "d-link:red:status";
+ label = "red:status";
gpios = <&gpio 26 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
wlan {
- label = "gl-ar150:orange:wlan";
+ label = "orange:wlan";
gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "phy0tpt";
};
configurable {
- label = "gl-ar150:green:configurable";
+ label = "green:configurable";
gpios = <&gpio 13 GPIO_ACTIVE_HIGH>;
};
led_power: power {
- label = "gl-ar150:green:power";
+ label = "green:power";
gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;
default-state = "on";
};
compatible = "gpio-leds";
led_wlan: wlan {
- label = "air-pen:blue:wlan";
+ label = "blue:wlan";
gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "phy0tpt";
};
wps {
- label = "air-pen:blue:wps";
+ label = "blue:wps";
gpios = <&gpio 23 GPIO_ACTIVE_HIGH>;
};
};
compatible = "gpio-leds";
wlan {
- label = "carambola2:green:wlan";
+ label = "green:wlan";
gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
eth0 {
- label = "carambola2:orange:eth0";
+ label = "orange:eth0";
gpios = <&gpio 13 GPIO_ACTIVE_HIGH>;
};
eth1 {
- label = "carambola2:orange:eth1";
+ label = "orange:eth1";
gpios = <&gpio 14 GPIO_ACTIVE_HIGH>;
};
};
/ {
model = "ALFA Network AP121F";
compatible = "alfa-network,ap121f", "qca,ar9331";
-
- leds {
- compatible = "gpio-leds";
-
- lan {
- label = "ap121f:green:lan";
- gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
- };
-
- led_vpn: vpn {
- label = "ap121f:green:vpn";
- gpios = <&gpio 27 GPIO_ACTIVE_LOW>;
- };
-
- wlan {
- label = "ap121f:green:wlan";
- gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
- linux,default-trigger = "phy0tpt";
- };
- };
};
&usb {
debounce-interval = <60>;
};
};
+
+ leds {
+ compatible = "gpio-leds";
+
+ lan {
+ label = "green:lan";
+ gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
+ };
+
+ led_vpn: vpn {
+ label = "green:vpn";
+ gpios = <&gpio 27 GPIO_ACTIVE_LOW>;
+ };
+
+ wlan {
+ label = "green:wlan";
+ gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
+ linux,default-trigger = "phy0tpt";
+ };
+ };
};
ð0 {
/ {
model = "ALFA Network AP121FE";
compatible = "alfa-network,ap121fe", "qca,ar9331";
-
- leds {
- compatible = "gpio-leds";
-
- lan {
- label = "ap121fe:green:lan";
- gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
- };
-
- led_vpn: vpn {
- label = "ap121fe:green:vpn";
- gpios = <&gpio 27 GPIO_ACTIVE_LOW>;
- };
-
- wlan {
- label = "ap121fe:green:wlan";
- gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
- linux,default-trigger = "phy0tpt";
- };
- };
};
&usb {
compatible = "gpio-leds";
wlan {
- label = "yun:blue:wlan";
+ label = "blue:wlan";
gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "phy0tpt";
};
usb {
- label = "yun:white:usb";
+ label = "white:usb";
gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
trigger-sources = <&hub_port1>;
linux,default-trigger = "usbport";
compatible = "gpio-leds";
led_status: status {
- label = "dorin:green:status";
+ label = "green:status";
gpios = <&gpio 21 GPIO_ACTIVE_LOW>;
};
};
pinctrl-0 = <&switch_led_disable_pins>;
modbus {
- label = "eg200:red:modbus";
+ label = "red:modbus";
gpios = <&gpio 16 GPIO_ACTIVE_HIGH>;
};
led_etactica: etactica {
- label = "eg200:red:etactica";
+ label = "red:etactica";
gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;
};
eth0 {
- label = "eg200:red:eth0";
+ label = "red:eth0";
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
};
wlan {
- label = "eg200:red:wlan";
+ label = "red:wlan";
gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
compatible = "gpio-leds";
wlan {
- label = "gl-inet:red:wlan";
+ label = "red:wlan";
gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "phy0tpt";
};
lan {
- label = "gl-inet:green:lan";
+ label = "green:lan";
gpios = <&gpio 13 GPIO_ACTIVE_HIGH>;
};
};
compatible = "gpio-leds";
wlan {
- label = "gl-mifi:green:wlan";
+ label = "green:wlan";
gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "phy0tpt";
};
lan {
- label = "gl-mifi:green:lan";
+ label = "green:lan";
gpios = <&gpio 16 GPIO_ACTIVE_HIGH>;
};
wan {
- label = "gl-mifi:green:wan";
+ label = "green:wan";
gpios = <&gpio 27 GPIO_ACTIVE_HIGH>;
};
3g4g {
- label = "gl-mifi:green:3g4g";
+ label = "green:3g4g";
gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
};
};
pinctrl-0 = <&switch_led_disable_pins>;
led_system: system {
- label = "lan-turtle:orange:system";
+ label = "orange:system";
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_system_green: system-green {
- label = "packet-squirrel:green:system";
+ label = "green:system";
gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
};
system-blue {
- label = "packet-squirrel:blue:system";
+ label = "blue:system";
gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
};
system-red {
- label = "packet-squirrel:red:system";
+ label = "red:system";
gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_system: system {
- label = "wifi-pineapple-nano:blue:system";
+ label = "blue:system";
gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
compatible = "gpio-leds";
led_system: system {
- label = "ts-d084:blue:system";
+ label = "blue:system";
gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_system: system {
- label = "pisen:blue:system";
+ label = "blue:system";
gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
wlan {
- label = "tp-link:green:wlan";
+ label = "green:wlan";
gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "phy0tpt";
};
lan {
- label = "tp-link:green:lan";
+ label = "green:lan";
gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
};
led_wps: wps {
- label = "tp-link:green:wps";
+ label = "green:wps";
gpios = <&gpio 26 GPIO_ACTIVE_LOW>;
};
led3g {
- label = "tp-link:green:3g";
+ label = "green:3g";
gpios = <&gpio 27 GPIO_ACTIVE_LOW>;
trigger-sources = <&hub_port>;
linux,default-trigger = "usbport";
pinctrl-0 = <&switch_led_disable_pins>;
wlan {
- label = "tp-link:green:wlan";
+ label = "green:wlan";
gpios = <&gpio 26 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
led_lan: lan {
- label = "tp-link:green:lan";
+ label = "green:lan";
gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
};
led3g {
- label = "tp-link:green:3g";
+ label = "green:3g";
gpios = <&gpio 27 GPIO_ACTIVE_LOW>;
trigger-sources = <&hub_port>;
linux,default-trigger = "usbport";
compatible = "gpio-leds";
led_system: system {
- label = "tl-wr703n:blue:system";
+ label = "blue:system";
gpios = <&gpio 27 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_system: system {
- label = "tl-wr710n:green:system";
+ label = "green:system";
gpios = <&gpio 27 GPIO_ACTIVE_LOW>;
};
};
pinctrl-0 = <&switch_led_disable_pins>;
lan1 {
- label = "tp-link:green:lan1";
+ label = "green:lan1";
gpios = <&gpio 14 GPIO_ACTIVE_HIGH>;
};
lan2 {
- label = "tp-link:green:lan2";
+ label = "green:lan2";
gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;
};
lan3 {
- label = "tp-link:green:lan3";
+ label = "green:lan3";
gpios = <&gpio 16 GPIO_ACTIVE_HIGH>;
};
lan4 {
- label = "tp-link:green:lan4";
+ label = "green:lan4";
gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
};
qss {
- label = "tp-link:green:qss";
+ label = "green:qss";
gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
};
led_system: system {
- label = "tp-link:green:system";
+ label = "green:system";
gpios = <&gpio 27 GPIO_ACTIVE_LOW>;
};
wan {
- label = "tp-link:green:wan";
+ label = "green:wan";
gpios = <&gpio 13 GPIO_ACTIVE_HIGH>;
};
wlan {
- label = "tp-link:green:wlan";
+ label = "green:wlan";
gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "phy0tpt";
};
compatible = "gpio-leds";
led_power: power {
- label = "ens202ext-v1:amber:power";
+ label = "amber:power";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
default-state = "on";
};
wlan {
- label = "ens202ext-v1:amber:wlan";
+ label = "amber:wlan";
gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
rssilow {
- label = "ens202ext-v1:red:rssilow";
+ label = "red:rssilow";
gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
};
rssimedium {
- label = "ens202ext-v1:amber:rssimedium";
+ label = "amber:rssimedium";
gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
};
rssihigh {
- label = "ens202ext-v1:green:rssihigh";
+ label = "green:rssihigh";
gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_power: power {
- label = "pcs:amber:power";
+ label = "amber:power";
gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
default-state = "on";
};
wlan2g {
- label = "pcs:blue:wlan";
+ label = "blue:wlan";
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
wan {
- label = "pcs:blue:wan";
+ label = "blue:wan";
gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
};
lan1 {
- label = "pcs:blue:lan1";
+ label = "blue:lan1";
gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
};
lan2 {
- label = "pcs:blue:lan2";
+ label = "blue:lan2";
gpios = <&gpio 20 GPIO_ACTIVE_LOW>;
};
lan3 {
- label = "pcs:blue:lan3";
+ label = "blue:lan3";
gpios = <&gpio 21 GPIO_ACTIVE_LOW>;
};
lan4 {
- label = "pcs:blue:lan4";
+ label = "blue:lan4";
gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
};
};
pinctrl-0 = <&jtag_disable_pins>;
volume1 {
- label = "wmb001n:blue:volume1";
+ label = "blue:volume1";
gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
};
volume2 {
- label = "wmb001n:blue:volume2";
+ label = "blue:volume2";
gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
};
volume3 {
- label = "wmb001n:blue:volume3";
+ label = "blue:volume3";
gpios = <&gpio 2 GPIO_ACTIVE_HIGH>;
};
volume4 {
- label = "wmb001n:blue:volume4";
+ label = "blue:volume4";
gpios = <&gpio 3 GPIO_ACTIVE_HIGH>;
};
volume5 {
- label = "wmb001n:blue:volume5";
+ label = "blue:volume5";
gpios = <&gpio 4 GPIO_ACTIVE_HIGH>;
};
led_wifi: wifi {
- label = "wmb001n:blue:wifi";
+ label = "blue:wifi";
gpios = <&gpio 22 GPIO_ACTIVE_HIGH>;
};
};
compatible = "gpio-leds";
led_power: power {
- label = "tp-link:green:power";
+ label = "green:power";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
default-state = "on";
};
wlan {
- label = "tp-link:green:wlan";
+ label = "green:wlan";
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
qss {
- label = "tp-link:green:qss";
+ label = "green:qss";
gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
};
wan {
- label = "tp-link:green:wan";
+ label = "green:wan";
gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
};
lan1 {
- label = "tp-link:green:lan1";
+ label = "green:lan1";
gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
};
lan2 {
- label = "tp-link:green:lan2";
+ label = "green:lan2";
gpios = <&gpio 20 GPIO_ACTIVE_LOW>;
};
lan3 {
- label = "tp-link:green:lan3";
+ label = "green:lan3";
gpios = <&gpio 21 GPIO_ACTIVE_LOW>;
};
lan4 {
- label = "tp-link:green:lan4";
+ label = "green:lan4";
gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
};
};
&leds {
usb {
- label = "tp-link:green:usb";
+ label = "green:usb";
gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
trigger-sources = <&hub_port>;
linux,default-trigger = "usbport";
compatible = "gpio-leds";
lan {
- label = "tp-link:blue:lan";
+ label = "blue:lan";
gpios = <&gpio 20 GPIO_ACTIVE_LOW>;
};
wlan {
- label = "tp-link:blue:wlan";
+ label = "blue:wlan";
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
led_re: re {
- label = "tp-link:blue:re";
+ label = "blue:re";
gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
};
signal1 {
- label = "tp-link:blue:signal1";
+ label = "blue:signal1";
gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
};
signal2 {
- label = "tp-link:blue:signal2";
+ label = "blue:signal2";
gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
};
signal3 {
- label = "tp-link:blue:signal3";
+ label = "blue:signal3";
gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
};
signal4 {
- label = "tp-link:blue:signal4";
+ label = "blue:signal4";
gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
};
signal5 {
- label = "tp-link:blue:signal5";
+ label = "blue:signal5";
gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
lan {
- label = "tp-link:green:lan";
+ label = "green:lan";
gpios = <&gpio 20 GPIO_ACTIVE_LOW>;
};
led_power_green: power_green {
- label = "tp-link:green:power";
+ label = "green:power";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
default-state = "on";
};
led_power_orange: power_orange {
- label = "tp-link:orange:power";
+ label = "orange:power";
gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
};
wlan_green {
- label = "tp-link:green:wlan";
+ label = "green:wlan";
gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
wlan_orange {
- label = "tp-link:orange:wlan";
+ label = "orange:wlan";
gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
lan {
- label = "tp-link:green:lan";
+ label = "green:lan";
gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
};
wlan {
- label = "tp-link:green:wlan";
+ label = "green:wlan";
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
qss {
- label = "tp-link:green:qss";
+ label = "green:qss";
gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
};
led_system: system {
- label = "tp-link:green:system";
+ label = "green:system";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
};
};
&leds {
usb {
- label = "tp-link:green:usb";
+ label = "green:usb";
gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
trigger-sources = <&hub_port>;
linux,default-trigger = "usbport";
compatible = "gpio-leds";
led_power: power {
- label = "etg3-r:green:power";
+ label = "green:power";
gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
default-state = "on";
};
notification {
- label = "etg3-r:green:notification";
+ label = "green:notification";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
rssi0 {
- label = "ubnt:blue:rssi0";
+ label = "blue:rssi0";
gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
};
rssi1 {
- label = "ubnt:blue:rssi1";
+ label = "blue:rssi1";
gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
};
rssi2 {
- label = "ubnt:blue:rssi2";
+ label = "blue:rssi2";
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
};
led_rssi3: rssi3 {
- label = "ubnt:blue:rssi3";
+ label = "blue:rssi3";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
rssi0 {
- label = "ubnt:blue:rssi0";
+ label = "blue:rssi0";
gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
};
rssi1 {
- label = "ubnt:blue:rssi1";
+ label = "blue:rssi1";
gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
};
rssi2 {
- label = "ubnt:blue:rssi2";
+ label = "blue:rssi2";
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
};
led_rssi3: rssi3 {
- label = "ubnt:blue:rssi3";
+ label = "blue:rssi3";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
rssi0 {
- label = "ubnt:blue:rssi0";
+ label = "blue:rssi0";
gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
};
rssi1 {
- label = "ubnt:blue:rssi1";
+ label = "blue:rssi1";
gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
};
rssi2 {
- label = "ubnt:blue:rssi2";
+ label = "blue:rssi2";
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
};
led_rssi3: rssi3 {
- label = "ubnt:blue:rssi3";
+ label = "blue:rssi3";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
link1 {
- label = "ubnt:red:link1";
+ label = "red:link1";
gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
};
link2 {
- label = "ubnt:orange:link2";
+ label = "orange:link2";
gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
};
link3 {
- label = "ubnt:green:link3";
+ label = "green:link3";
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
};
led_link4: link4 {
- label = "ubnt:green:link4";
+ label = "green:link4";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_power_orange: power_orange {
- label = "hiveap-121:orange:power";
+ label = "orange:power";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
};
led_power_white: power_white {
- label = "hiveap-121:white:power";
+ label = "white:power";
gpios = <&gpio 21 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
lan1 {
- label = "n5q:green:lan1";
+ label = "green:lan1";
gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
};
lan2 {
- label = "n5q:green:lan2";
+ label = "green:lan2";
gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
};
led_signal4: signal4 {
- label = "n5q:green:signal4";
+ label = "green:signal4";
gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
};
signal1 {
- label = "n5q:red:signal1";
+ label = "red:signal1";
gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
};
signal2 {
- label = "n5q:orange:signal2";
+ label = "orange:signal2";
gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
};
signal3 {
- label = "n5q:green:signal3";
+ label = "green:signal3";
gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
};
wlan {
- label = "n5q:green:wlan";
+ label = "green:wlan";
gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
pinctrl-0 = <&led_rssimediumhigh_pin>;
wan {
- label = "cf-e120a-v3:green:wan";
+ label = "green:wan";
gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
};
lan {
- label = "cf-e120a-v3:green:lan";
+ label = "green:lan";
gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
};
wlan {
- label = "cf-e120a-v3:green:wlan";
+ label = "green:wlan";
gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
rssilow {
- label = "cf-e120a-v3:red:rssilow";
+ label = "red:rssilow";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
};
rssimediumlow {
- label = "cf-e120a-v3:red:rssimediumlow";
+ label = "red:rssimediumlow";
gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
};
rssimediumhigh {
- label = "cf-e120a-v3:green:rssimediumhigh";
+ label = "green:rssimediumhigh";
gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
};
led_rssihigh: rssihigh {
- label = "cf-e120a-v3:green:rssihigh";
+ label = "green:rssihigh";
gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_status: status {
- label = "wpj344:green:status";
+ label = "green:status";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
};
sig1 {
- label = "wpj344:red:sig1";
+ label = "red:sig1";
gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
};
sig2 {
- label = "wpj344:yellow:sig2";
+ label = "yellow:sig2";
gpios = <&gpio 20 GPIO_ACTIVE_LOW>;
};
sig3 {
- label = "wpj344:green:sig3";
+ label = "green:sig3";
gpios = <&gpio 21 GPIO_ACTIVE_LOW>;
};
sig4 {
- label = "wpj344:green:sig4";
+ label = "green:sig4";
gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
wlan {
- label = "devolo:white:wlan";
+ label = "white:wlan";
gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy1tpt";
};
led_dlan_white: dlan_white {
- label = "devolo:white:dlan";
+ label = "white:dlan";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
};
led_dlan_red: dlan_red {
- label = "devolo:red:dlan";
+ label = "red:dlan";
gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;
panic-indicator;
};
pinctrl-0 = <&enable_gpio_11>;
led_power_blue: power_blue {
- label = "d-link:blue:power";
+ label = "blue:power";
gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
};
usb {
- label = "d-link:blue:usb";
+ label = "blue:usb";
gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
linux,default-trigger = "usbport";
trigger-sources = <&hub_port1>;
};
wan_blue {
- label = "d-link:blue:wan";
+ label = "blue:wan";
gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
};
wlan2g {
- label = "d-link:blue:wlan2g";
+ label = "blue:wlan2g";
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
wps {
- label = "d-link:blue:wps";
+ label = "blue:wps";
gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
};
led_power_orange: power_orange {
- label = "d-link:orange:power";
+ label = "orange:power";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
};
wan_orange {
- label = "d-link:orange:wan";
+ label = "orange:wan";
gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
wlan5g {
- label = "d-link:blue:wlan5g";
+ label = "blue:wlan5g";
gpios = <&ath9k 0 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy1tpt";
};
compatible = "gpio-leds";
led_power_green: power_green {
- label = "d-link:green:power";
+ label = "green:power";
gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
};
wan_green {
- label = "d-link:green:wan";
+ label = "green:wan";
gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
};
wps {
- label = "d-link:green:wps";
+ label = "green:wps";
gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
};
led_power_orange: power_orange {
- label = "d-link:orange:power";
+ label = "orange:power";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
};
wan_orange {
- label = "d-link:orange:wan";
+ label = "orange:wan";
gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
};
};
pinctrl-0 = <&enable_gpio_11 &enable_gpio_16>;
led_power_green: power_green {
- label = "ws-ap3705i:green:power";
+ label = "green:power";
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
};
led_power_red: power_red {
- label = "ws-ap3705i:red:power";
+ label = "red:power";
gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
};
lan_blue {
- label = "ws-ap3705i:blue:lan";
+ label = "blue:lan";
gpios = <&gpio 19 GPIO_ACTIVE_HIGH>;
};
lan_green {
- label = "ws-ap3705i:green:lan";
+ label = "green:lan";
gpios = <&gpio 20 GPIO_ACTIVE_HIGH>;
};
radio2 {
- label = "ws-ap3705i:green:radio2";
+ label = "green:radio2";
gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
compatible = "gpio-leds";
radio1 {
- label = "ws-ap3705i:green:radio1";
+ label = "green:radio1";
gpios = <&ath9k 0 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy1tpt";
};
compatible = "gpio-leds";
power {
- label = "mikrotik:green:power";
+ label = "green:power";
gpios = <&gpio 11 GPIO_ACTIVE_HIGH>;
default-state = "on";
};
rssilow {
- label = "mikrotik:green:rssilow";
+ label = "green:rssilow";
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
};
rssimediumlow {
- label = "mikrotik:green:rssimediumlow";
+ label = "green:rssimediumlow";
gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
};
rssimedium {
- label = "mikrotik:green:rssimedium";
+ label = "green:rssimedium";
gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
};
rssimediumhigh {
- label = "mikrotik:green:rssimediumhigh";
+ label = "green:rssimediumhigh";
gpios = <&gpio 21 GPIO_ACTIVE_LOW>;
};
rssihigh {
- label = "mikrotik:green:rssihigh";
+ label = "green:rssihigh";
gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
};
led_user: user {
- label = "mikrotik:green:user";
+ label = "green:user";
gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
};
};
pinctrl-0 = <&enable_gpio_11>;
led_power_green: power_green {
- label = "netgear:green:power";
+ label = "green:power";
gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
};
led_power_amber: power_amber {
- label = "netgear:amber:power";
+ label = "amber:power";
gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
default-state = "keep";
};
wlan2g_green {
- label = "netgear:green:wlan2g";
+ label = "green:wlan2g";
gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
wlan5g_blue {
- label = "netgear:blue:wlan5g";
+ label = "blue:wlan5g";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy1tpt";
};
wps_green {
- label = "netgear:green:wps";
+ label = "green:wps";
gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
};
wps_amber {
- label = "netgear:amber:wps";
+ label = "amber:wps";
gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
};
};
&leds {
usb_green {
- label = "netgear:green:usb";
+ label = "green:usb";
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
trigger-sources = <&hub_port>;
linux,default-trigger = "usbport";
&leds {
wan_green {
- label = "netgear:green:wan";
+ label = "green:wan";
gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
};
wan_amber {
- label = "netgear:amber:wan";
+ label = "amber:wan";
gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
power {
- label = "raccoon:green:power";
+ label = "green:power";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
default-state = "on";
};
wlan2g {
- label = "raccoon:yellow:wlan24";
+ label = "yellow:wlan24";
gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
led_system: system {
- label = "raccoon:blue:sys";
+ label = "blue:sys";
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
wlan5g {
- label = "raccoon:red:wlan5";
+ label = "red:wlan5";
gpios = <&ath9k 0 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy1tpt";
};
compatible = "gpio-leds";
led_power_amber: power_amber {
- label = "pcs:amber:power";
+ label = "amber:power";
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
};
led_power_green: power_green {
- label = "pcs:green:power";
+ label = "green:power";
gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
default-state = "on";
};
wlan_amber {
- label = "pcs:amber:wlan";
+ label = "amber:wlan";
gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy1tpt";
};
wlan_green {
- label = "pcs:green:wlan";
+ label = "green:wlan";
gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
lan_amber {
- label = "pcs:amber:lan";
+ label = "amber:lan";
gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
};
lan_green {
- label = "pcs:green:lan";
+ label = "green:lan";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_power: power {
- label = "pcs:amber:power";
+ label = "amber:power";
gpios = <&gpio 2 GPIO_ACTIVE_LOW>,
<&gpio 4 GPIO_ACTIVE_LOW>;
default-state = "on";
};
wlan2g {
- label = "pcs:blue:wlan";
+ label = "blue:wlan";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
wps_white {
- label = "pcs:white:wps";
+ label = "white:wps";
gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
};
};
pinctrl-0 = <&jtag_disable_pins>;
led_wlan_g: wlan_g {
- label = "c301:green:wlan";
+ label = "green:wlan";
gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
};
led_wlan_o: wlan_o {
- label = "c301:orange:wlan";
+ label = "orange:wlan";
gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy1tpt";
};
compatible = "gpio-leds";
lan {
- label = "wam250:white:lan";
+ label = "white:lan";
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
};
led_power: power {
- label = "wam250:white:power";
+ label = "white:power";
gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
default-state = "keep";
};
repeater {
- label = "wam250:white:repeater";
+ label = "white:repeater";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
};
wlan {
- label = "wam250:white:wlan";
+ label = "white:wlan";
gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
compatible = "gpio-leds";
signal0 {
- label = "rut955:green:signal0";
+ label = "green:signal0";
gpios = <&gpio_ext 0 GPIO_ACTIVE_HIGH>;
};
signal1 {
- label = "rut955:green:signal1";
+ label = "green:signal1";
gpios = <&gpio_ext 1 GPIO_ACTIVE_HIGH>;
};
signal2 {
- label = "rut955:green:signal2";
+ label = "green:signal2";
gpios = <&gpio_ext 2 GPIO_ACTIVE_HIGH>;
};
signal3 {
- label = "rut955:green:signal3";
+ label = "green:signal3";
gpios = <&gpio_ext 3 GPIO_ACTIVE_HIGH>;
};
signal4 {
- label = "rut955:green:signal4";
+ label = "green:signal4";
gpios = <&gpio_ext 4 GPIO_ACTIVE_HIGH>;
};
led_system_red: system_red {
- label = "rut955:red:system";
+ label = "red:system";
gpios = <&gpio_ext 5 GPIO_ACTIVE_HIGH>;
};
led_system_green: system_green {
- label = "rut955:green:system";
+ label = "green:system";
gpios = <&gpio_ext 6 GPIO_ACTIVE_HIGH>;
default-state = "on";
};
compatible = "gpio-leds";
signal0 {
- label = "rut955:green:signal0";
+ label = "green:signal0";
gpios = <&gpio_ext 0 GPIO_ACTIVE_HIGH>;
};
signal1 {
- label = "rut955:green:signal1";
+ label = "green:signal1";
gpios = <&gpio_ext 1 GPIO_ACTIVE_HIGH>;
};
signal2 {
- label = "rut955:green:signal2";
+ label = "green:signal2";
gpios = <&gpio_ext 2 GPIO_ACTIVE_HIGH>;
};
signal3 {
- label = "rut955:green:signal3";
+ label = "green:signal3";
gpios = <&gpio_ext 3 GPIO_ACTIVE_HIGH>;
};
signal4 {
- label = "rut955:green:signal4";
+ label = "green:signal4";
gpios = <&gpio_ext 4 GPIO_ACTIVE_HIGH>;
};
led_system_red: system_red {
- label = "rut955:red:system";
+ label = "red:system";
gpios = <&gpio_ext 5 GPIO_ACTIVE_HIGH>;
};
led_system_green: system_green {
- label = "rut955:green:system";
+ label = "green:system";
gpios = <&gpio_ext 6 GPIO_ACTIVE_HIGH>;
default-state = "on";
};
compatible = "gpio-leds";
led_lan: lan {
- label = "tp-link:green:lan";
+ label = "green:lan";
gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
};
wlan5g {
- label = "tp-link:green:wlan5g";
+ label = "green:wlan5g";
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
compatible = "gpio-leds";
led_lan: lan {
- label = "tp-link:green:lan";
+ label = "green:lan";
gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
};
wlan5g {
- label = "tp-link:green:wlan5g";
+ label = "green:wlan5g";
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
compatible = "gpio-leds";
lan {
- label = "tp-link:green:lan";
+ label = "green:lan";
gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
};
link1 {
- label = "tp-link:green:link1";
+ label = "green:link1";
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
};
link2 {
- label = "tp-link:green:link2";
+ label = "green:link2";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
};
link3 {
- label = "tp-link:green:link3";
+ label = "green:link3";
gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
};
led_system: link4 {
- label = "tp-link:green:link4";
+ label = "green:link4";
gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
lan0 {
- label = "tp-link:green:lan0";
+ label = "green:lan0";
gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
};
lan1 {
- label = "tp-link:green:lan1";
+ label = "green:lan1";
gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
};
link1 {
- label = "tp-link:green:link1";
+ label = "green:link1";
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
};
link2 {
- label = "tp-link:green:link2";
+ label = "green:link2";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
};
link3 {
- label = "tp-link:green:link3";
+ label = "green:link3";
gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
};
led_link4: link4 {
- label = "tp-link:green:link4";
+ label = "green:link4";
};
};
};
&leds {
usb {
- label = "tp-link:green:usb";
+ label = "green:usb";
gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
linux,default-trigger = "usbport";
trigger-sources = <&hub_port>;
&leds {
usb1 {
- label = "tp-link:green:usb1";
+ label = "green:usb1";
gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
trigger-sources = <&hub_port1>;
linux,default-trigger = "usbport";
};
usb2 {
- label = "tp-link:green:usb2";
+ label = "green:usb2";
gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
trigger-sources = <&hub_port2>;
linux,default-trigger = "usbport";
compatible = "gpio-leds";
wlan2g {
- label = "tp-link:green:wlan2g";
+ label = "green:wlan2g";
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
led_system: system {
- label = "tp-link:green:system";
+ label = "green:system";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
default-state = "on";
};
qss {
- label = "tp-link:green:qss";
+ label = "green:qss";
gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
wlan5g {
- label = "tp-link:green:wlan5g";
+ label = "green:wlan5g";
gpios = <&ath9k 0 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy1tpt";
};
compatible = "gpio-leds";
led_white: led-white {
- label = "ubnt:white:dome";
+ label = "white:dome";
gpios = <&gpio 12 GPIO_ACTIVE_HIGH>;
};
led_blue: led-blue {
- label = "ubnt:blue:dome";
+ label = "blue:dome";
gpios = <&gpio 13 GPIO_ACTIVE_HIGH>;
};
};
compatible = "gpio-leds";
wifi {
- label = "mynet-n750:blue:wireless";
+ label = "blue:wireless";
gpios = <&gpio 11 GPIO_ACTIVE_HIGH>;
};
internet {
- label = "mynet-n750:blue:internet";
+ label = "blue:internet";
gpios = <&gpio 12 GPIO_ACTIVE_HIGH>;
};
wps {
- label = "mynet-n750:blue:wps";
+ label = "blue:wps";
gpios = <&gpio 13 GPIO_ACTIVE_HIGH>;
};
led_power: power {
- label = "mynet-n750:blue:power";
+ label = "blue:power";
gpios = <&gpio 14 GPIO_ACTIVE_HIGH>;
};
};
compatible = "gpio-leds";
led_power: power {
- label = "mynet-wifi-rangeextender:blue:power";
+ label = "blue:power";
gpios = <&gpio 11 GPIO_ACTIVE_HIGH>;
/* LED has no off state. It's either on or it blinks */
};
lan {
- label = "mynet-wifi-rangeextender:green:lan";
+ label = "green:lan";
gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
};
wifi {
- label = "mynet-wifi-rangeextender:blue:wifi";
+ label = "blue:wifi";
gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
wifi-rssi-low {
- label = "mynet-wifi-rangeextender:blue:rssi-low";
+ label = "blue:rssi-low";
gpios = <&gpio 20 GPIO_ACTIVE_LOW>;
};
wifi-rssi-med {
- label = "mynet-wifi-rangeextender:blue:rssi-med";
+ label = "blue:rssi-med";
gpios = <&gpio 21 GPIO_ACTIVE_LOW>;
};
wifi-rssi-max {
- label = "mynet-wifi-rangeextender:blue:rssi-max";
+ label = "blue:rssi-max";
gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
wlan2g {
- label = "wb2000:green:2g";
+ label = "green:2g";
gpios = <&gpio 20 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "phy0tpt";
};
usb {
- label = "wb2000:green:usb";
+ label = "green:usb";
gpios = <&gpio 21 GPIO_ACTIVE_HIGH>;
trigger-sources = <&hub_port1>, <&hub_port2>;
linux,default-trigger = "usbport";
};
led_system: system {
- label = "wb2000:green:system";
+ label = "green:system";
gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
default-state = "on";
};
compatible = "gpio-leds";
wlan {
- label = "wb2000:green:5g";
+ label = "green:5g";
gpios = <&ath9k 6 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy1tpt";
};
pinctrl-0 = <&enable_gpio20_gpio22>;
wifi {
- label = "zbt-wd323:green:wifi";
+ label = "green:wifi";
gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
lan1 {
- label = "zbt-wd323:orange:lan1";
+ label = "orange:lan1";
gpios = <&gpio 20 GPIO_ACTIVE_LOW>;
};
lan2 {
- label = "zbt-wd323:orange:lan2";
+ label = "orange:lan2";
gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
};
};
pinctrl-0 = <&enable_gpio4 &enable_gpio16>;
lan1 {
- label = "n2q:orange:lan1";
+ label = "orange:lan1";
gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
};
lan2 {
- label = "n2q:orange:lan2";
+ label = "orange:lan2";
gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
};
led_usb: usb {
- label = "n2q:green:usb";
+ label = "green:usb";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
linux,default-trigger = "usbport";
trigger-sources = <&hub_port0>;
};
minipcie {
- label = "n2q:green:minipcie";
+ label = "green:minipcie";
gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
};
wlan {
- label = "n2q:green:wlan";
+ label = "green:wlan";
gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
compatible = "gpio-leds";
poe-passthrough {
- label = "n2q:green:poe-passthrough";
+ label = "green:poe-passthrough";
gpios = <&pcf8574 1 GPIO_ACTIVE_LOW>;
};
signal1 {
- label = "n2q:red:signal1";
+ label = "red:signal1";
gpios = <&pcf8574 3 GPIO_ACTIVE_LOW>;
};
signal2 {
- label = "n2q:orange:signal2";
+ label = "orange:signal2";
gpios = <&pcf8574 4 GPIO_ACTIVE_LOW>;
};
signal3 {
- label = "n2q:green:signal3";
+ label = "green:signal3";
gpios = <&pcf8574 5 GPIO_ACTIVE_LOW>;
};
};
pinctrl-0 = <&enable_gpio4 &enable_gpio16>;
lan {
- label = "r36a:blue:lan";
+ label = "blue:lan";
gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
};
led_status: status {
- label = "r36a:blue:status";
+ label = "blue:status";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
};
usb {
- label = "r36a:blue:usb";
+ label = "blue:usb";
gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
trigger-sources = <&hub_port0>;
linux,default-trigger = "usbport";
};
wan {
- label = "r36a:blue:wan";
+ label = "blue:wan";
gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
};
wlan {
- label = "r36a:blue:wlan";
+ label = "blue:wlan";
gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
pinctrl-names = "default";
wlan {
- label = "cf-e130n-v2:green:wlan";
+ label = "green:wlan";
gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
lan {
- label = "cf-e130n-v2:green:lan";
+ label = "green:lan";
gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
};
unused {
- label = "cf-e130n-v2:green:unused";
+ label = "green:unused";
gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
};
rssilow {
- label = "cf-e130n-v2:red:rssilow";
+ label = "red:rssilow";
gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
};
rssimediumlow {
- label = "cf-e130n-v2:red:rssimediumlow";
+ label = "red:rssimediumlow";
gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
};
rssimediumhigh {
- label = "cf-e130n-v2:green:rssimediumhigh";
+ label = "green:rssimediumhigh";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
};
led_rssihigh: rssihigh {
- label = "cf-e130n-v2:green:rssihigh";
+ label = "green:rssihigh";
gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
};
};
pinctrl-names = "default";
wlan {
- label = "cf-e313ac:green:wlan";
+ label = "green:wlan";
gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
lan {
- label = "cf-e313ac:green:lan";
+ label = "green:lan";
gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
};
wan {
- label = "cf-e313ac:green:wan";
+ label = "green:wan";
gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
};
rssilow {
- label = "cf-e313ac:red:rssilow";
+ label = "red:rssilow";
gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
};
rssimediumlow {
- label = "cf-e313ac:red:rssimediumlow";
+ label = "red:rssimediumlow";
gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
};
rssimediumhigh {
- label = "cf-e313ac:green:rssimediumhigh";
+ label = "green:rssimediumhigh";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
};
led_rssihigh: rssihigh {
- label = "cf-e313ac:green:rssihigh";
+ label = "green:rssihigh";
gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
};
};
pinctrl-0 = <&jtag_disable_pins &led_rssilow_pin &led_rssimediumhigh_pin &led_rssihigh_pin>;
wan {
- label = "cf-e314n-v2:green:wan";
+ label = "green:wan";
gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
};
lan {
- label = "cf-e314n-v2:green:lan";
+ label = "green:lan";
gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
};
rssilow {
- label = "cf-e314n-v2:red:signal1";
+ label = "red:signal1";
gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
};
rssimediumlow {
- label = "cf-e314n-v2:red:signal2";
+ label = "red:signal2";
gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
};
rssimediumhigh {
- label = "cf-e314n-v2:green:signal3";
+ label = "green:signal3";
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
};
led_rssihigh: rssihigh {
- label = "cf-e314n-v2:green:signal4";
+ label = "green:signal4";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
};
wlan {
- label = "cf-e314n-v2:green:wlan";
+ label = "green:wlan";
gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
pinctrl-0 = <&jtag_disable_pins &led_wan_pin>;
wan {
- label = "cf-e5:blue:wan";
+ label = "blue:wan";
gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
};
lan {
- label = "cf-e5:blue:lan";
+ label = "blue:lan";
gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
};
wlan {
- label = "cf-e5:blue:wlan";
+ label = "blue:wlan";
gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
rssi0 {
- label = "cf-e5:blue:rssi0";
+ label = "blue:rssi0";
gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
};
rssi1 {
- label = "cf-e5:blue:rssi1";
+ label = "blue:rssi1";
gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
};
rssi2 {
- label = "cf-e5:blue:rssi2";
+ label = "blue:rssi2";
gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
};
};
pinctrl-0 = <&jtag_disable_pins>;
lan1 {
- label = "cf-e560ac:blue:lan1";
+ label = "blue:lan1";
gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
};
lan2 {
- label = "cf-e560ac:blue:lan2";
+ label = "blue:lan2";
gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
};
lan3 {
- label = "cf-e560ac:blue:lan3";
+ label = "blue:lan3";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
};
lan4 {
- label = "cf-e560ac:blue:lan4";
+ label = "blue:lan4";
gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
};
led_system: system {
- label = "cf-e560ac:blue:system";
+ label = "blue:system";
gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
};
wan {
- label = "cf-e560ac:blue:wan";
+ label = "blue:wan";
gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
};
wlan {
- label = "cf-e560ac:blue:wlan";
+ label = "blue:wlan";
gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
pinctrl-0 = <&jtag_disable_pins>;
lan {
- label = "cf-ew72:blue:lan";
+ label = "blue:lan";
gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
};
led_wan: wan {
- label = "cf-ew72:blue:wan";
+ label = "blue:wan";
gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
};
wlan {
- label = "cf-ew72:blue:wlan";
+ label = "blue:wlan";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
pinctrl-0 = <&jtag_disable_pins &pinmux_led_rssihigh &pinmux_led_rssilow>;
led_lan: lan {
- label = "cf-wr752ac-v1:blue:lan";
+ label = "blue:lan";
gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
};
rssihigh {
- label = "cf-wr752ac-v1:green:rssihigh";
+ label = "green:rssihigh";
gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
};
rssilow {
- label = "cf-wr752ac-v1:red:rssilow";
+ label = "red:rssilow";
gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
};
};
pinctrl-0 = <&pinmux_led_eth_pins>;
sig1 {
- label = "wpj531:red:sig1";
+ label = "red:sig1";
gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
};
sig2 {
- label = "wpj531:yellow:sig2";
+ label = "yellow:sig2";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
};
sig3 {
- label = "wpj531:green:sig3";
+ label = "green:sig3";
gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
};
led_sig4: sig4 {
- label = "wpj531:green:sig4";
+ label = "green:sig4";
gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-export";
usb_power {
- label = "d-link:power:usb";
+ label = "power:usb";
gpio-export,name = "d-link:power:usb";
gpio-export,output = <0>;
gpios = <&gpio_ext 3 GPIO_ACTIVE_LOW>;
};
zwave_power {
- label = "d-link:power:zwave";
+ label = "power:zwave";
gpio-export,name = "d-link:power:zwave";
gpio-export,output = <0>;
gpios = <&gpio_ext 1 GPIO_ACTIVE_LOW>;
compatible = "gpio-leds";
led_power: power {
- label = "d-link:green:power";
+ label = "green:power";
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
};
status {
- label = "d-link:red:status";
+ label = "red:status";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_power: power {
- label = "ews511ap:amber:power";
+ label = "amber:power";
gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
default-state = "on";
};
lan1 {
- label = "ews511ap:blue:lan1";
+ label = "blue:lan1";
gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
};
lan2 {
- label = "ews511ap:blue:lan2";
+ label = "blue:lan2";
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
};
wlan2g {
- label = "ews511ap:green:wlan2g";
+ label = "green:wlan2g";
gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
wlan5g {
- label = "ews511ap:green:wlan5g";
+ label = "green:wlan5g";
gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy1tpt";
};
};
&led_status {
- label = "gl-ar300m-lite:red:status";
-};
-
-&led_lan {
- label = "gl-ar300m-lite:green:lan";
+ label = "red:status";
};
&led_wlan {
- label = "gl-ar300m-lite:green:wlan";
+ label = "green:wlan";
};
// Colors for non-Lite versions
led_status: status {
- label = "gl-ar300m:green:status";
+ label = "green:status";
gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
};
- led_lan: lan {
- label = "gl-ar300m:green:lan";
+ lan {
+ label = "green:lan";
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
};
led_wlan: wlan {
- label = "gl-ar300m:red:wlan";
+ label = "red:wlan";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
compatible = "gpio-leds";
led_power: power {
- label = "gl-ar750:white:power";
+ label = "white:power";
gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
default-state = "on";
};
wlan2g {
- label = "gl-ar750:white:wlan2g";
+ label = "white:wlan2g";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy1tpt";
};
wlan5g {
- label = "gl-ar750:white:wlan5g";
+ label = "white:wlan5g";
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
compatible = "gpio-leds";
power {
- label = "gl-x750:green:power";
+ label = "green:power";
gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
default-state = "on";
};
wlan2g {
- label = "gl-x750:green:wlan2g";
+ label = "green:wlan2g";
gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy1tpt";
};
wlan5g {
- label = "gl-x750:green:wlan5g";
+ label = "green:wlan5g";
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
wan {
- label = "gl-x750:green:wan";
+ label = "green:wan";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
};
4g {
- label = "gl-x750:green:4g";
+ label = "green:4g";
gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
};
};
pinctrl-0 = <&jtag_disable_pins &pinmux_led_wan_pin>;
wan {
- label = "t1:blue:wan";
+ label = "blue:wan";
gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
};
lan {
- label = "t1:blue:lan";
+ label = "blue:lan";
gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
};
wlan {
- label = "t1:blue:wlan";
+ label = "blue:wlan";
gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
led_rssi0: rssi0 {
- label = "t1:blue:rssi0";
+ label = "blue:rssi0";
gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
};
rssi1 {
- label = "t1:blue:rssi1";
+ label = "blue:rssi1";
gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
};
rssi2 {
- label = "t1:blue:rssi2";
+ label = "blue:rssi2";
gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
wlan2g {
- label = "tp-link:white:wlan2g";
+ label = "white:wlan2g";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
wlan5g {
- label = "tp-link:white:wlan5g";
+ label = "white:wlan5g";
gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy1tpt";
};
qss {
- label = "tp-link:white:qss";
+ label = "white:qss";
gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
};
wan {
- label = "tp-link:white:wan";
+ label = "white:wan";
gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
};
lan {
- label = "tp-link:white:lan";
+ label = "white:lan";
gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
};
usb {
- label = "tp-link:white:usb";
+ label = "white:usb";
gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
trigger-sources = <&hub_port0>;
linux,default-trigger = "usbport";
};
internet {
- label = "tp-link:white:internet";
+ label = "white:internet";
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
};
led_system: system {
- label = "tp-link:white:system";
+ label = "white:system";
gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
default-state = "on";
};
compatible = "gpio-leds";
led_system: system {
- label = "tp-link:green:system";
+ label = "green:system";
gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
default-state = "on";
};
lan4 {
- label = "tp-link:green:lan4";
+ label = "green:lan4";
gpios = <&led_gpio 0 GPIO_ACTIVE_LOW>;
};
lan3 {
- label = "tp-link:green:lan3";
+ label = "green:lan3";
gpios = <&led_gpio 1 GPIO_ACTIVE_LOW>;
};
lan2 {
- label = "tp-link:green:lan2";
+ label = "green:lan2";
gpios = <&led_gpio 2 GPIO_ACTIVE_LOW>;
};
lan1 {
- label = "tp-link:green:lan1";
+ label = "green:lan1";
gpios = <&led_gpio 3 GPIO_ACTIVE_LOW>;
};
wan {
- label = "tp-link:green:wan";
+ label = "green:wan";
gpios = <&led_gpio 4 GPIO_ACTIVE_LOW>;
};
wan_fail {
- label = "tp-link:orange:wan";
+ label = "orange:wan";
gpios = <&led_gpio 5 GPIO_ACTIVE_LOW>;
};
wlan {
- label = "tp-link:green:wlan";
+ label = "green:wlan";
gpios = <&led_gpio 6 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
usb {
- label = "tp-link:green:usb";
+ label = "green:usb";
gpios = <&led_gpio 7 GPIO_ACTIVE_LOW>;
trigger-sources = <&hub_port>;
linux,default-trigger = "usbport";
};
qss {
- label = "tp-link:green:qss";
+ label = "green:qss";
gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
};
};
/* D12 */
wan {
- label = "tp-link:white:wan";
+ label = "white:wan";
gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
};
/* D11 */
4g {
- label = "tp-link:white:4g";
+ label = "white:4g";
gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
};
/* D5 */
wps {
- label = "tp-link:white:wps";
+ label = "white:wps";
gpios = <&gpio 3 GPIO_ACTIVE_HIGH>;
};
/* D3 */
wlan {
- label = "tp-link:white:wlan";
+ label = "white:wlan";
gpios = <&gpio 11 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "phy0tpt";
};
/* D2 */
led_power: power {
- label = "tp-link:white:power";
+ label = "white:power";
gpios = <&gpio 13 GPIO_ACTIVE_HIGH>;
};
/* D4 */
lan {
- label = "tp-link:white:lan";
+ label = "white:lan";
gpios = <&gpio 16 GPIO_ACTIVE_HIGH>;
};
};
compatible = "gpio-leds";
led_power: power {
- label = "tp-link:green:power";
+ label = "green:power";
gpios = <&gpio 13 GPIO_ACTIVE_HIGH>;
default-state = "on";
};
internet {
- label = "tp-link:green:internet";
+ label = "green:internet";
gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
};
wlan2g {
- label = "tp-link:green:wlan2g";
+ label = "green:wlan2g";
gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
usb {
- label = "tp-link:green:usb";
+ label = "green:usb";
gpios = <&gpio 4 GPIO_ACTIVE_HIGH>;
trigger-sources = <&hub_port0>;
linux,default-trigger = "usbport";
};
wps {
- label = "tp-link:green:wps";
+ label = "green:wps";
gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
};
lan {
- label = "tp-link:green:lan";
+ label = "green:lan";
gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;
};
};
compatible = "gpio-leds";
lan {
- label = "dr531:green:lan";
+ label = "green:lan";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
};
led_sig4: sig4 {
- label = "dr531:green:sig4";
+ label = "green:sig4";
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
};
sig1 {
- label = "dr531:green:sig1";
+ label = "green:sig1";
gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
};
sig2 {
- label = "dr531:green:sig2";
+ label = "green:sig2";
gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
};
sig3 {
- label = "dr531:green:sig3";
+ label = "green:sig3";
gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
};
wan {
- label = "dr531:green:wan";
+ label = "green:wan";
gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
lan {
- label = "a770:green:lan";
+ label = "green:lan";
gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
};
led_status: status {
- label = "a770:green:status";
+ label = "green:status";
gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
default-state = "keep";
};
wan {
- label = "a770:green:wan";
+ label = "green:wan";
gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
};
wlan2g {
- label = "a770:red:wlan2g";
+ label = "red:wlan2g";
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy1tpt";
};
pinctrl-0 = <&jtag_disable_pins &led_rssilow_pin &led_rssimediumhigh_pin &led_rssihigh_pin>;
wan {
- label = "cf-e110n-v2:green:wan";
+ label = "green:wan";
gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
};
lan {
- label = "cf-e110n-v2:green:lan";
+ label = "green:lan";
gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
};
rssilow {
- label = "cf-e110n-v2:red:rssilow";
+ label = "red:rssilow";
gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
};
rssimediumlow {
- label = "cf-e110n-v2:red:rssimediumlow";
+ label = "red:rssimediumlow";
gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
};
rssimediumhigh {
- label = "cf-e110n-v2:green:rssimediumhigh";
+ label = "green:rssimediumhigh";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
};
led_rssihigh: rssihigh {
- label = "cf-e110n-v2:green:rssihigh";
+ label = "green:rssihigh";
gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
wlan {
- label = "cf-e110n-v2:green:wlan";
+ label = "green:wlan";
gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
compatible = "gpio-leds";
led_power: power {
- label = "d-link:green:power";
+ label = "green:power";
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
};
led_status: status {
- label = "d-link:red:status";
+ label = "red:status";
gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
};
rssilow {
- label = "d-link:red:rssilow";
+ label = "red:rssilow";
gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
};
rssimediumlow {
- label = "d-link:green:rssimediumlow";
+ label = "green:rssimediumlow";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
};
rssimediumhigh {
- label = "d-link:green:rssimediumhigh";
+ label = "green:rssimediumhigh";
gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
};
rssihigh {
- label = "d-link:green:rssihigh";
+ label = "green:rssihigh";
gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
};
};
pinctrl-0 = <&led_wan_pin>;
power {
- label = "mikrotik:blue:power";
+ label = "blue:power";
gpios = <&gpio 17 GPIO_ACTIVE_HIGH>;
default-state = "on";
};
led_user: user {
- label = "mikrotik:green:user";
+ label = "green:user";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
};
lan {
- label = "mikrotik:green:lan";
+ label = "green:lan";
gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
};
wlan {
- label = "mikrotik:green:wlan";
+ label = "green:wlan";
gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
rssilow {
- label = "mikrotik:green:rssilow";
+ label = "green:rssilow";
gpios = <&gpio 9 GPIO_ACTIVE_LOW>;
};
rssimediumlow {
- label = "mikrotik:green:rssimediumlow";
+ label = "green:rssimediumlow";
gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
};
rssimediumhigh {
- label = "mikrotik:green:rssimediumhigh";
+ label = "green:rssimediumhigh";
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
};
unregistered here to avoid conflict.
rssihigh {
- label = "mikrotik:green:rssihigh";
+ label = "green:rssihigh";
gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
};
*/
&leds {
lan {
- label = "tp-link:green:lan";
+ label = "green:lan";
gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
};
};
&leds {
lan0 {
- label = "tp-link:green:lan0";
+ label = "green:lan0";
gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
};
lan1 {
- label = "tp-link:green:lan1";
+ label = "green:lan1";
gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
link1 {
- label = "tp-link:green:link1";
+ label = "green:link1";
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
};
link2 {
- label = "tp-link:green:link2";
+ label = "green:link2";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
};
link3 {
- label = "tp-link:green:link3";
+ label = "green:link3";
gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
};
led_link4: link4 {
- label = "tp-link:green:link4";
+ label = "green:link4";
gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
lan {
- label = "tp-link:green:lan";
+ label = "green:lan";
gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
};
security_red {
- label = "tp-link:red:security";
+ label = "red:security";
gpios = <&gpio 11 GPIO_ACTIVE_HIGH>;
};
wlan {
- label = "tp-link:green:wlan";
+ label = "green:wlan";
gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
led_system: system {
- label = "tp-link:green:system";
+ label = "green:system";
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
};
security_green {
- label = "tp-link:green:security";
+ label = "green:security";
gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;
};
};
pinctrl-0 = <&jtag_disable_pins>;
lan {
- label = "tp-link:blue:lan";
+ label = "blue:lan";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
};
led_re: re {
- label = "tp-link:blue:re";
+ label = "blue:re";
gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
};
signal1 {
- label = "tp-link:blue:signal1";
+ label = "blue:signal1";
gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
};
signal2 {
- label = "tp-link:blue:signal2";
+ label = "blue:signal2";
gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
};
signal3 {
- label = "tp-link:blue:signal3";
+ label = "blue:signal3";
gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
};
signal4 {
- label = "tp-link:blue:signal4";
+ label = "blue:signal4";
gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
};
led_signal5: signal5 {
- label = "tp-link:blue:signal5";
+ label = "blue:signal5";
gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
};
wlan {
- label = "tp-link:blue:wlan";
+ label = "blue:wlan";
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
compatible = "gpio-leds";
led_system: system {
- label = "tp-link:green:system";
+ label = "green:system";
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
};
};
&leds {
led_system: system {
- label = "tp-link:green:system";
+ label = "green:system";
gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
};
wan_orange {
- label = "tp-link:orange:wan";
+ label = "orange:wan";
gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
wifi {
- label = "tp-link:green:wlan";
+ label = "green:wlan";
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
led_qss: qss {
- label = "tp-link:green:qss";
+ label = "green:qss";
gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
};
wan {
- label = "tp-link:green:wan";
+ label = "green:wan";
gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
};
lan1 {
- label = "tp-link:green:lan1";
+ label = "green:lan1";
gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
};
lan2 {
- label = "tp-link:green:lan2";
+ label = "green:lan2";
gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
};
lan3 {
- label = "tp-link:green:lan3";
+ label = "green:lan3";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
};
lan4 {
- label = "tp-link:green:lan4";
+ label = "green:lan4";
gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_power: power {
- label = "tp-link:green:power";
+ label = "green:power";
gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
default-state = "on";
};
wifi {
- label = "tp-link:green:wlan";
+ label = "green:wlan";
gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
qss {
- label = "tp-link:green:qss";
+ label = "green:qss";
gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
};
wan_green {
- label = "tp-link:green:wan";
+ label = "green:wan";
gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
};
wan_red {
- label = "tp-link:red:wan";
+ label = "red:wan";
gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
};
lan1 {
- label = "tp-link:green:lan1";
+ label = "green:lan1";
gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
};
lan2 {
- label = "tp-link:green:lan2";
+ label = "green:lan2";
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
};
lan3 {
- label = "tp-link:green:lan3";
+ label = "green:lan3";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
};
lan4 {
- label = "tp-link:green:lan4";
+ label = "green:lan4";
gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
};
usb {
- label = "tp-link:green:usb";
+ label = "green:usb";
gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
linux,default-trigger = "usbport";
trigger-sources = <&hub_port>;
compatible = "gpio-leds";
led_system: system {
- label = "tp-link:blue:system";
+ label = "blue:system";
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_power: power {
- label = "fritz1750e:green:power";
+ label = "green:power";
gpios = <&spi_gpio 6 GPIO_ACTIVE_HIGH>;
};
wlan {
- label = "fritz1750e:green:wlan";
+ label = "green:wlan";
gpios = <&spi_gpio 5 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "phy1tpt";
};
lan {
- label = "fritz1750e:green:lan";
+ label = "green:lan";
gpios = <&gpio 13 GPIO_ACTIVE_HIGH>;
};
rssi0 {
- label = "fritz1750e:green:rssi0";
+ label = "green:rssi0";
gpios = <&spi_gpio 0 GPIO_ACTIVE_HIGH>;
};
rssi1 {
- label = "fritz1750e:green:rssi1";
+ label = "green:rssi1";
gpios = <&spi_gpio 1 GPIO_ACTIVE_HIGH>;
};
rssi2 {
- label = "fritz1750e:green:rssi2";
+ label = "green:rssi2";
gpios = <&spi_gpio 2 GPIO_ACTIVE_HIGH>;
};
rssi3 {
- label = "fritz1750e:green:rssi3";
+ label = "green:rssi3";
gpios = <&spi_gpio 3 GPIO_ACTIVE_HIGH>;
};
rssi4 {
- label = "fritz1750e:green:rssi4";
+ label = "green:rssi4";
gpios = <&spi_gpio 4 GPIO_ACTIVE_HIGH>;
};
};
compatible = "gpio-leds";
led_power: power {
- label = "fritz450e:green:power";
+ label = "green:power";
gpios = <&gpio 14 GPIO_ACTIVE_HIGH>;
};
wlan {
- label = "fritz450e:green:wlan";
+ label = "green:wlan";
gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
lan {
- label = "fritz450e:green:lan";
+ label = "green:lan";
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
};
rssi2 {
- label = "fritz450e:green:rssi2";
+ label = "green:rssi2";
gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
};
rssi3 {
- label = "fritz450e:green:rssi3";
+ label = "green:rssi3";
gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
};
rssi4 {
- label = "fritz450e:green:rssi4";
+ label = "green:rssi4";
gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_power: power {
- label = "fritzdvbc:green:power";
+ label = "green:power";
gpios = <&spi_gpio 6 GPIO_ACTIVE_LOW>;
};
wlan {
- label = "fritzdvbc:green:wlan";
+ label = "green:wlan";
gpios = <&spi_gpio 7 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy1tpt";
};
tv {
- label = "fritzdvbc:green:tv";
+ label = "green:tv";
gpios = <&spi_gpio 5 GPIO_ACTIVE_LOW>;
};
rssihigh {
- label = "fritzdvbc:green:rssihigh";
+ label = "green:rssihigh";
gpios = <&spi_gpio 1 GPIO_ACTIVE_LOW>;
};
rssimediumhigh {
- label = "fritzdvbc:green:rssimediumhigh";
+ label = "green:rssimediumhigh";
gpios = <&spi_gpio 2 GPIO_ACTIVE_LOW>;
};
rssimedium {
- label = "fritzdvbc:green:rssimedium";
+ label = "green:rssimedium";
gpios = <&spi_gpio 3 GPIO_ACTIVE_LOW>;
};
rssimediumlow {
- label = "fritzdvbc:green:rssimediumlow";
+ label = "green:rssimediumlow";
gpios = <&spi_gpio 4 GPIO_ACTIVE_LOW>;
};
rssilow {
- label = "fritzdvbc:green:rssilow";
+ label = "green:rssilow";
gpios = <&spi_gpio 0 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_power: power {
- label = "bhr-4grv2:green:power";
+ label = "green:power";
gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
default-state = "on";
};
diag {
- label = "bhr-4grv2:orange:diag";
+ label = "orange:diag";
gpios = <&gpio 20 GPIO_ACTIVE_LOW>;
};
vpn_orange {
- label = "bhr-4grv2:orange:vpn";
+ label = "orange:vpn";
gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
};
vpn_green {
- label = "bhr-4grv2:green:vpn";
+ label = "green:vpn";
gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_power: power {
- label = "iodata:green:power";
+ label = "green:power";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
default-state = "on";
};
eco {
- label = "iodata:green:eco";
+ label = "green:eco";
gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
};
wlan5g {
- label = "iodata:green:wlan5g";
+ label = "green:wlan5g";
gpios = <&gpio 21 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
wlan2g {
- label = "iodata:green:wlan2g";
+ label = "green:wlan2g";
gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy1tpt";
};
notification {
- label = "iodata:amber:notification";
+ label = "amber:notification";
gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
};
};
&leds {
copy {
- label = "iodata:green:copy";
+ label = "green:copy";
gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
};
};
&leds {
function {
- label = "iodata:green:function";
+ label = "green:function";
gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
};
};
&leds {
copy {
- label = "iodata:green:copy";
+ label = "green:copy";
gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_power: power {
- label = "nbg6616:green:power";
+ label = "green:power";
gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
};
usb1 {
- label = "nbg6616:green:usb1";
+ label = "green:usb1";
gpios = <&gpio 21 GPIO_ACTIVE_LOW>;
linux,default-trigger = "usbport";
trigger-sources = <&hub_port0>;
};
usb2 {
- label = "nbg6616:green:usb2";
+ label = "green:usb2";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
linux,default-trigger = "usbport";
trigger-sources = <&hub_port1>;
};
wifi2g {
- label = "nbg6616:green:wifi2g";
+ label = "green:wifi2g";
gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy1tpt";
};
wifi5g {
- label = "nbg6616:green:wifi5g";
+ label = "green:wifi5g";
gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
wps {
- label = "nbg6616:green:wps";
+ label = "green:wps";
gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_power: power {
- label = "all-wap02860ac:amber:power";
+ label = "amber:power";
gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
default-state = "on";
};
wlan2g {
- label = "all-wap02860ac:blue:wlan2g";
+ label = "blue:wlan2g";
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy1tpt";
};
wlan5g {
- label = "all-wap02860ac:green:wlan5g";
+ label = "green:wlan5g";
gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
wps {
- label = "all-wap02860ac:blue:wps";
+ label = "blue:wps";
gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
};
};
/ {
compatible = "comfast,cf-wr650ac-v1", "qca,qca9558";
model = "Comfast CF-WR650AC v1";
-
- leds {
- compatible = "gpio-leds";
-
- wps {
- label = "cf-wr650ac-v1:blue:wps";
- gpios = <&gpio 20 GPIO_ACTIVE_LOW>;
- };
-
- network {
- label = "cf-wr650ac-v1:blue:network";
- gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
- };
-
- wlan2g {
- label = "cf-wr650ac-v1:blue:wlan2";
- gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "phy1tpt";
- };
-
- wlan5g {
- label = "cf-wr650ac-v1:blue:wlan5";
- gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "phy0tpt";
- };
- };
};
&spi {
/ {
compatible = "comfast,cf-wr650ac-v2", "qca,qca9558";
model = "Comfast CF-WR650AC v2";
-
- leds {
- compatible = "gpio-leds";
-
- wps {
- label = "cf-wr650ac-v2:blue:wps";
- gpios = <&gpio 20 GPIO_ACTIVE_LOW>;
- };
-
- network {
- label = "cf-wr650ac-v2:blue:network";
- gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
- };
-
- wlan2g {
- label = "cf-wr650ac-v2:blue:wlan2";
- gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "phy1tpt";
- };
-
- wlan5g {
- label = "cf-wr650ac-v2:blue:wlan5";
- gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "phy0tpt";
- };
- };
};
&spi {
};
};
+ leds {
+ compatible = "gpio-leds";
+
+ wps {
+ label = "blue:wps";
+ gpios = <&gpio 20 GPIO_ACTIVE_LOW>;
+ };
+
+ network {
+ label = "blue:network";
+ gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
+ };
+
+ wlan2g {
+ label = "blue:wlan2";
+ gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
+ linux,default-trigger = "phy1tpt";
+ };
+
+ wlan5g {
+ label = "blue:wlan5";
+ gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
+ linux,default-trigger = "phy0tpt";
+ };
+ };
+
watchdog {
compatible = "linux,wdt-gpio";
gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
compatible = "gpio-leds";
led_status_blue: status_blue {
- label = "dvl1200e:blue:status";
+ label = "blue:status";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
default-state = "on";
};
led_status_red: status_red {
- label = "dvl1200e:red:status";
+ label = "red:status";
gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_status_blue: status_blue {
- label = "dvl1200i:blue:status";
+ label = "blue:status";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
default-state = "on";
};
led_status_red: status_red {
- label = "dvl1200i:red:status";
+ label = "red:status";
gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_status_blue: status_blue {
- label = "dvl1750c:blue:status";
+ label = "blue:status";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
default-state = "on";
};
led_status_red: status_red {
- label = "dvl1750c:red:status";
+ label = "red:status";
gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_status_blue: status_blue {
- label = "dvl1750e:blue:status";
+ label = "blue:status";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
default-state = "on";
};
led_status_red: status_red {
- label = "dvl1750e:red:status";
+ label = "red:status";
gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_status_blue: status_blue {
- label = "dvl1750i:blue:status";
+ label = "blue:status";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
default-state = "on";
};
led_status_red: status_red {
- label = "dvl1750i:red:status";
+ label = "red:status";
gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
};
};
led_status_red: status_red {
/* This LED is not visible on the external casing. */
- label = "dvl1750x:red:status";
+ label = "red:status";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
};
wlan {
- label = "dvl1750x:green:wlan";
+ label = "green:wlan";
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
compatible = "gpio-leds";
led_power_green: power_green {
- label = "d-link:green:power";
+ label = "green:power";
gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
default-state = "on";
};
led_power_red: power_red {
- label = "d-link:red:power";
+ label = "red:power";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
};
wifi2g {
- label = "d-link:green:wifi2g";
+ label = "green:wifi2g";
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy1tpt";
};
compatible = "gpio-leds";
led_system: system {
- label = "dw33d:blue:system";
+ label = "blue:system";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
};
mmc {
- label = "dw33d:blue:mmc";
+ label = "blue:mmc";
gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
trigger-sources = <&hub_port0>;
linux,default-trigger = "usbport";
};
usb {
- label = "dw33d:blue:usb";
+ label = "blue:usb";
gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
trigger-sources = <&hub_port1>;
linux,default-trigger = "usbport";
};
wlan2g {
- label = "dw33d:blue:wlan2g";
+ label = "blue:wlan2g";
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy1tpt";
};
internet {
- label = "dw33d:blue:internet";
+ label = "blue:internet";
gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_power_orange: power_orange {
- label = "ecb1750:orange:power";
+ label = "orange:power";
gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
default-state = "on";
};
wlan2g {
- label = "ecb1750:blue:wlan2g";
+ label = "blue:wlan2g";
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy1tpt";
};
wlan5g {
- label = "ecb1750:blue:wlan5g";
+ label = "blue:wlan5g";
gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
lan {
- label = "ecb1750:blue:lan";
+ label = "blue:lan";
gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_power: power {
- label = "epg5000:amber:power";
+ label = "amber:power";
gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
default-state = "on";
};
wlan2g {
- label = "epg5000:blue:wlan2g";
+ label = "blue:wlan2g";
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy1tpt";
};
wlan5g {
- label = "epg5000:blue:wlan5g";
+ label = "blue:wlan5g";
gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
wps_amber {
- label = "epg5000:amber:wps";
+ label = "amber:wps";
gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
};
wps_blue {
- label = "epg5000:blue:wps";
+ label = "blue:wps";
gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_system: system {
- label = "librerouter-v1:green:system";
+ label = "green:system";
gpios = <&gpio 23 GPIO_ACTIVE_HIGH>;
default-state = "on";
};
wifi_green {
- label = "librerouter-v1:green:wlan2g";
+ label = "green:wlan2g";
gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
status_blue {
- label = "librerouter-v1:blue:status";
+ label = "blue:status";
gpios = <&gpio 20 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
wlan5g {
- label = "mikrotik:green:wlan5g";
+ label = "green:wlan5g";
gpios = <&ath10k 0 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
compatible = "gpio-leds";
wlan5g {
- label = "mikrotik:green:wlan5g";
+ label = "green:wlan5g";
gpios = <&ath10k 0 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
compatible = "gpio-leds";
led_user: user {
- label = "mikrotik:green:user";
+ label = "green:user";
gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_power_green: power_green {
- label = "netgear:green:power";
+ label = "green:power";
gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
};
led_power_amber: power_amber {
- label = "netgear:amber:power";
+ label = "amber:power";
gpios = <&gpio 20 GPIO_ACTIVE_LOW>;
};
left_blue {
- label = "netgear:blue:left";
+ label = "blue:left";
gpios = <&led_gpio 7 GPIO_ACTIVE_LOW>;
};
right_blue {
- label = "netgear:blue:right";
+ label = "blue:right";
gpios = <&led_gpio 6 GPIO_ACTIVE_LOW>;
};
wps_green {
- label = "netgear:green:wps";
+ label = "green:wps";
gpios = <&led_gpio 5 GPIO_ACTIVE_LOW>;
};
client_red {
- label = "netgear:red:client";
+ label = "red:client";
gpios = <&led_gpio 3 GPIO_ACTIVE_LOW>;
};
client_green {
- label = "netgear:green:client";
+ label = "green:client";
gpios = <&led_gpio 2 GPIO_ACTIVE_LOW>;
};
router_red {
- label = "netgear:red:router";
+ label = "red:router";
gpios = <&led_gpio 1 GPIO_ACTIVE_LOW>;
};
router_green {
- label = "netgear:green:router";
+ label = "green:router";
gpios = <&led_gpio 0 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
power {
- label = "koala:green:power";
+ label = "green:power";
gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
default-state = "on";
};
wifi2 {
- label = "koala:yellow:wlan2";
+ label = "yellow:wlan2";
gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy1tpt";
};
wifi5 {
- label = "koala:red:wlan58";
+ label = "red:wlan58";
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
led_system: system {
- label = "koala:blue:sys";
+ label = "blue:sys";
gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
wifi2 {
- label = "ursus:green:wlan2g";
+ label = "green:wlan2g";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy1tpt";
};
wifi5 {
- label = "ursus:green:wlan5g";
+ label = "green:wlan5g";
gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
compatible = "gpio-leds";
power {
- label = "om5pac:blue:power";
+ label = "blue:power";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
};
wifi_green {
- label = "om5pac:green:wifi";
+ label = "green:wifi";
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
};
wifi_yellow {
- label = "om5pac:yellow:wifi";
+ label = "yellow:wifi";
gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
};
wifi_red {
- label = "om5pac:red:wifi";
+ label = "red:wifi";
gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_status_amber: status_amber {
- label = "wlr-8100:amber:status";
+ label = "amber:status";
gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
default-state = "on";
};
ops {
- label = "wlr-8100:white:ops";
+ label = "white:ops";
gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
};
wifi2g {
- label = "wlr-8100:blue:wifi2g";
+ label = "blue:wifi2g";
gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy1tpt";
};
wifi5g {
- label = "wlr-8100:blue:wifi5g";
+ label = "blue:wifi5g";
gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
compatible = "gpio-leds";
led_system: system {
- label = "tp-link:green:system";
+ label = "green:system";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
default-state = "on";
};
usb1 {
- label = "tp-link:green:usb1";
+ label = "green:usb1";
gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
trigger-sources = <&hub_port1>;
linux,default-trigger = "usbport";
};
usb2 {
- label = "tp-link:green:usb2";
+ label = "green:usb2";
gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
trigger-sources = <&hub_port0>;
linux,default-trigger = "usbport";
};
wlan2g {
- label = "tp-link:green:wlan2g";
+ label = "green:wlan2g";
gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy1tpt";
};
qss {
- label = "tp-link:green:qss";
+ label = "green:qss";
gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
};
};
&leds {
wlan5g {
- label = "tp-link:green:wlan5g";
+ label = "green:wlan5g";
gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
&leds {
wlan5g {
- label = "tp-link:green:wlan5g";
+ label = "green:wlan5g";
gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
&leds {
wlan5g {
- label = "tp-link:green:wlan5g";
+ label = "green:wlan5g";
gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
compatible = "gpio-leds";
led_system: system {
- label = "tp-link:white:system";
+ label = "white:system";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
default-state = "on";
};
wlan {
- label = "tp-link:white:wlan";
+ label = "white:wlan";
gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
};
lan {
- label = "tp-link:white:lan";
+ label = "white:lan";
gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
};
usb {
- label = "tp-link:white:usb";
+ label = "white:usb";
gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
trigger-sources = <&hub_port1>, <&hub_port0>;
linux,default-trigger = "usbport";
};
qss {
- label = "tp-link:white:qss";
+ label = "white:qss";
gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_power: power {
- label = "tp-link:green:power";
+ label = "green:power";
gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
default-state = "on";
};
wlan2g_green {
- label = "tp-link:green:wlan2g";
+ label = "green:wlan2g";
gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy1tpt";
};
wlan2g_red {
- label = "tp-link:red:wlan2g";
+ label = "red:wlan2g";
gpios = <&gpio 21 GPIO_ACTIVE_LOW>;
};
wlan5g_green {
- label = "tp-link:green:wlan5g";
+ label = "green:wlan5g";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
wlan5g_red {
- label = "tp-link:red:wlan5g";
+ label = "red:wlan5g";
gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_power: power {
- label = "tp-link:blue:power";
+ label = "blue:power";
gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
};
wlan2g {
- label = "tp-link:blue:wlan2g";
+ label = "blue:wlan2g";
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy1tpt";
};
wlan5g {
- label = "tp-link:blue:wlan5g";
+ label = "blue:wlan5g";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
lan_link {
- label = "tp-link:green:lan_link";
+ label = "green:lan_link";
gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
};
lan_data {
- label = "tp-link:green:lan_data";
+ label = "green:lan_data";
gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
};
wps_blue {
- label = "tp-link:blue:wps";
+ label = "blue:wps";
gpios = <&gpio 21 GPIO_ACTIVE_HIGH>;
};
wps_red {
- label = "tp-link:red:wps";
+ label = "red:wps";
gpios = <&gpio 22 GPIO_ACTIVE_HIGH>;
};
};
compatible = "gpio-leds";
led_system: system {
- label = "tp-link:blue:system";
+ label = "blue:system";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
default-state = "on";
};
usb1 {
- label = "tp-link:green:usb1";
+ label = "green:usb1";
gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
trigger-sources = <&hub_port1>;
linux,default-trigger = "usbport";
};
usb2 {
- label = "tp-link:green:usb2";
+ label = "green:usb2";
gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
trigger-sources = <&hub_port0>;
linux,default-trigger = "usbport";
};
wlan2g {
- label = "tp-link:blue:wlan2g";
+ label = "blue:wlan2g";
gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
qss {
- label = "tp-link:blue:qss";
+ label = "blue:qss";
gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
wlan5g {
- label = "tp-link:blue:wlan5g";
+ label = "blue:wlan5g";
gpios = <&ath9k 0 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy1tpt";
};
compatible = "gpio-leds";
led_system: system {
- label = "tp-link:green:system";
+ label = "green:system";
gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
linux,default-trigger = "heartbeat";
};
usb {
- label = "tp-link:green:usb";
+ label = "green:usb";
gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
trigger-sources = <&hub_port0>;
linux,default-trigger = "usbport";
};
wifi_green {
- label = "tp-link:green:wlan";
+ label = "green:wlan";
gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
wifi_wps {
- label = "tp-link:green:wps";
+ label = "green:wps";
gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_system: system {
- label = "tp-link:green:system";
+ label = "green:system";
gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
default-state = "on";
};
wlan {
- label = "tp-link:green:wlan";
+ label = "green:wlan";
gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
qss {
- label = "tp-link:green:qss";
+ label = "green:qss";
gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
power_orange {
- label = "trendnet:orange:power";
+ label = "orange:power";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
};
led_power_green: power_green {
- label = "trendnet:green:power";
+ label = "green:power";
gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
};
planet_green {
- label = "trendnet:green:planet";
+ label = "green:planet";
gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
};
planet_orange {
- label = "trendnet:orange:planet";
+ label = "orange:planet";
gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_power: power {
- label = "nbg6716:white:power";
+ label = "white:power";
gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
};
internet {
- label = "nbg6716:white:internet";
+ label = "white:internet";
gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
};
usb1 {
- label = "nbg6716:white:usb1";
+ label = "white:usb1";
gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
linux,default-trigger = "usbport";
trigger-sources = <&hub_port1>;
};
usb2 {
- label = "nbg6716:white:usb2";
+ label = "white:usb2";
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
linux,default-trigger = "usbport";
trigger-sources = <&hub_port0>;
};
wifi2g {
- label = "nbg6716:white:wifi2g";
+ label = "white:wifi2g";
gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy1tpt";
};
wifi5g {
- label = "nbg6716:white:wifi5g";
+ label = "white:wifi5g";
gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
wps {
- label = "nbg6716:white:wps";
+ label = "white:wps";
gpios = <&gpio 21 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_power: power {
- label = "fritz4020:green:power";
+ label = "green:power";
gpios = <&led_gpio 2 GPIO_ACTIVE_LOW>;
default-state = "on";
};
wlan {
- label = "fritz4020:green:wlan";
+ label = "green:wlan";
gpios = <&led_gpio 3 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
lan {
- label = "fritz4020:green:lan";
+ label = "green:lan";
gpios = <&led_gpio 0 GPIO_ACTIVE_LOW>;
};
wan {
- label = "fritz4020:green:wan";
+ label = "green:wan";
gpios = <&led_gpio 4 GPIO_ACTIVE_LOW>;
};
info {
- label = "fritz4020:green:info";
+ label = "green:info";
gpios = <&led_gpio 6 GPIO_ACTIVE_LOW>;
};
led_info_red: info_red {
- label = "fritz4020:red:info";
+ label = "red:info";
gpios = <&led_gpio 1 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_power: power {
- label = "tp-link:green:power";
+ label = "green:power";
gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
default-state = "on";
};
wps {
- label = "tp-link:green:wps";
+ label = "green:wps";
gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
};
wlan2g {
- label = "tp-link:green:wlan2g";
+ label = "green:wlan2g";
gpios = <&led_gpio 6 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy1tpt";
};
wlan5g {
- label = "tp-link:green:wlan5g";
+ label = "green:wlan5g";
gpios = <&led_gpio 7 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
wan_green {
- label = "tp-link:green:wan";
+ label = "green:wan";
gpios = <&led_gpio 5 GPIO_ACTIVE_LOW>;
};
wan_amber {
- label = "tp-link:amber:wan";
+ label = "amber:wan";
gpios = <&led_gpio 4 GPIO_ACTIVE_LOW>;
};
lan1 {
- label = "tp-link:green:lan1";
+ label = "green:lan1";
gpios = <&led_gpio 0 GPIO_ACTIVE_LOW>;
};
lan2 {
- label = "tp-link:green:lan2";
+ label = "green:lan2";
gpios = <&led_gpio 1 GPIO_ACTIVE_LOW>;
};
lan3 {
- label = "tp-link:green:lan3";
+ label = "green:lan3";
gpios = <&led_gpio 2 GPIO_ACTIVE_LOW>;
};
lan4 {
- label = "tp-link:green:lan4";
+ label = "green:lan4";
gpios = <&led_gpio 3 GPIO_ACTIVE_LOW>;
};
};
&leds {
usb {
- label = "tp-link:green:usb";
+ label = "green:usb";
gpios = <&led_gpio 7 GPIO_ACTIVE_LOW>;
linux,default-trigger = "usbport";
trigger-sources = <&hub_port>;
&leds {
usb {
- label = "tp-link:green:usb";
+ label = "green:usb";
gpios = <&led_gpio 7 GPIO_ACTIVE_LOW>;
linux,default-trigger = "usbport";
trigger-sources = <&hub_port>;
compatible = "gpio-leds";
led_power: power {
- label = "tp-link:green:power";
+ label = "green:power";
gpios = <&led_gpio 0 GPIO_ACTIVE_LOW>;
default-state = "on";
};
wlan2g {
- label = "tp-link:green:wlan2g";
+ label = "green:wlan2g";
gpios = <&led_gpio 1 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy1tpt";
};
wlan5g {
- label = "tp-link:green:wlan5g";
+ label = "green:wlan5g";
gpios = <&led_gpio 2 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
wan_green {
- label = "tp-link:green:wan";
+ label = "green:wan";
gpios = <&led_gpio 4 GPIO_ACTIVE_LOW>;
};
wan_amber {
- label = "tp-link:amber:wan";
+ label = "amber:wan";
gpios = <&led_gpio 5 GPIO_ACTIVE_LOW>;
};
lan {
- label = "tp-link:green:lan";
+ label = "green:lan";
gpios = <&led_gpio 3 GPIO_ACTIVE_LOW>;
};
wps {
- label = "tp-link:green:wps";
+ label = "green:wps";
gpios = <&led_gpio 6 GPIO_ACTIVE_LOW>;
};
};
&leds {
wan_amber {
- label = "tp-link:amber:wan";
+ label = "amber:wan";
gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
};
wps {
- label = "tp-link:green:wps";
+ label = "green:wps";
gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
};
};
&leds {
wan_amber {
- label = "tp-link:amber:wan";
+ label = "amber:wan";
gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
};
wps {
- label = "tp-link:green:wps";
+ label = "green:wps";
gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
};
};
&leds {
wan_amber {
- label = "tp-link:amber:wan";
+ label = "amber:wan";
gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_power: power {
- label = "tp-link:green:power";
+ label = "green:power";
gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
default-state = "on";
};
wlan2g {
- label = "tp-link:green:wlan2g";
+ label = "green:wlan2g";
gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy1tpt";
};
wlan5g {
- label = "tp-link:green:wlan5g";
+ label = "green:wlan5g";
gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
wan_green {
- label = "tp-link:green:wan";
+ label = "green:wan";
gpios = <&gpio 20 GPIO_ACTIVE_LOW>;
};
lan {
- label = "tp-link:green:lan";
+ label = "green:lan";
gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_status: status {
- label = "tp-link:white:status";
+ label = "white:status";
gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
default-state = "on";
};
compatible = "gpio-leds";
led_red: led_red {
- label = "mi-router-4q:red:led";
+ label = "red:led";
gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
};
led_yellow: led_yellow {
- label = "mi-router-4q:yellow:led";
+ label = "yellow:led";
gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
};
led_blue: led_blue {
- label = "mi-router-4q:blue:led";
+ label = "blue:led";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
sig1 {
- label = "wpj563:green:sig1";
+ label = "green:sig1";
gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
};
sig2 {
- label = "wpj563:green:sig2";
+ label = "green:sig2";
gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
};
sig3 {
- label = "wpj563:green:sig4";
+ label = "green:sig4";
gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
};
led_sig4: sig4 {
- label = "wpj563:green:sig4";
+ label = "green:sig4";
gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
};
};
#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";
debounce-interval = <60>;
};
};
+
+ leds {
+ compatible = "gpio-leds";
+
+ led_power: power {
+ label = "green:power";
+ gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
+ };
+
+ wps {
+ label = "green:wps";
+ gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
+ };
+
+ wlan {
+ label = "green:wlan";
+ gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
+ linux,default-trigger = "phy0tpt";
+ };
+ };
};
&uart {
/ {
compatible = "dlink,dir-842-c1", "qca,qca9563";
model = "D-Link DIR-842 C1";
-
- 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 = "dir-842-c1:green:power";
- gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
- };
-
- wps {
- label = "dir-842-c1:green:wps";
- gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
- };
-
- wlan {
- label = "dir-842-c1:green:wlan";
- gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "phy0tpt";
- };
- };
};
/ {
compatible = "dlink,dir-842-c2", "qca,qca9563";
model = "D-Link DIR-842 C2";
-
- 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 = "dir-842-c2:green:power";
- gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
- };
-
- wps {
- label = "dir-842-c2:green:wps";
- gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
- };
-
- wlan {
- label = "dir-842-c2:green:wlan";
- gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "phy0tpt";
- };
- };
};
&usb_phy0 {
/ {
compatible = "dlink,dir-842-c3", "qca,qca9563";
model = "D-Link DIR-842 C3";
-
- 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 = "dir-842-c3:green:power";
- gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
- };
-
- wps {
- label = "dir-842-c3:green:wps";
- gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
- };
-
- wlan {
- label = "dir-842-c3:green:wlan";
- gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "phy0tpt";
- };
- };
};
compatible = "gpio-leds";
wps {
- label = "dir-859-a1:green:wps";
+ label = "green:wps";
gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
};
led_power: power {
- label = "dir-859-a1:green:power";
+ label = "green:power";
gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
};
internet {
- label = "dir-859-a1:green:internet";
+ label = "green:internet";
gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
};
wlan {
- label = "dir-859-a1:green:wlan";
+ label = "green:wlan";
gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
&leds {
led_power: power {
- label = "elecom:blue:power";
+ label = "blue:power";
gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
default-state = "on";
};
wlan2g {
- label = "elecom:blue:wlan2g";
+ label = "blue:wlan2g";
gpios = <&gpio 7 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "phy1tpt";
};
wlan5g {
- label = "elecom:blue:wlan5g";
+ label = "blue:wlan5g";
gpios = <&gpio 8 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "phy0tpt";
};
&leds {
led_power: power {
- label = "elecom:white:power";
+ label = "white:power";
gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
default-state = "on";
};
wlan2g {
- label = "elecom:white:wlan2g";
+ label = "white:wlan2g";
gpios = <&gpio 7 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "phy0tpt";
};
compatible = "gpio-leds";
wps {
- label = "elecom:red:wps";
+ label = "red:wps";
gpios = <&gpio 9 GPIO_ACTIVE_HIGH>;
};
};
compatible = "gpio-leds";
led_power: power {
- label = "gl-ar750s:green:power";
+ label = "green:power";
gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
default-state = "keep";
};
led_wlan2g: wlan2g {
- label = "gl-ar750s:green:wlan2g";
+ label = "green:wlan2g";
gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy1tpt";
};
led_wlan5g: wlan5g {
- label = "gl-ar750s:green:wlan5g";
+ label = "green:wlan5g";
gpios = <&gpio 20 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "phy0tpt";
};
/* other LEDs are connected to ath10k (QCA9888) gpiochip */
led_power_green: power_green {
- label = "wg1200cr:green:power";
+ label = "green:power";
gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
default-state = "on";
};
led_power_red: power_red {
- label = "wg1200cr:red:power";
+ label = "red:power";
gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
};
};
pinctrl-0 = <&jtag_disable_pins>;
wlan2g_red {
- label = "wg800hp:red:wlan2g";
+ label = "red:wlan2g";
gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
};
active_red {
- label = "wg800hp:red:active";
+ label = "red:active";
gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
};
active_green {
- label = "wg800hp:green:active";
+ label = "green:active";
gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
};
led_power_red: power_red {
- label = "wg800hp:red:power";
+ label = "red:power";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
};
led_power_green: power_green {
- label = "wg800hp:green:power";
+ label = "green:power";
gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
default-state = "on";
};
wlan5g_red {
- label = "wg800hp:red:wlan5g";
+ label = "red:wlan5g";
gpios = <&gpio 16 GPIO_ACTIVE_HIGH>;
};
wlan5g_green {
- label = "wg800hp:green:wlan5g";
+ label = "green:wlan5g";
gpios = <&gpio 17 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "phy0tpt";
};
wlan2g_green {
- label = "wg800hp:green:wlan2g";
+ label = "green:wlan2g";
gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy1tpt";
};
pinctrl-0 = <&jtag_disable_pins>;
led_power_green: power_green {
- label = "netgear:green:power";
+ label = "green:power";
gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
};
led_power_amber: power_amber {
- label = "netgear:amber:power";
+ label = "amber:power";
gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
default-state = "keep";
};
wan_green {
- label = "netgear:green:wan";
+ label = "green:wan";
gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
};
wan_amber {
- label = "netgear:amber:wan";
+ label = "amber:wan";
gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
};
wlan2g_green {
- label = "netgear:green:wlan2g";
+ label = "green:wlan2g";
gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
wps_green {
- label = "netgear:green:wps";
+ label = "green:wps";
gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
wlan5g_blue {
- label = "netgear:blue:wlan5g";
+ label = "blue:wlan5g";
gpios = <&ath9k 7 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy1tpt";
};
&leds {
usb_green {
- label = "netgear:green:usb";
+ label = "green:usb";
gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
trigger-sources = <&hub_port0>;
linux,default-trigger = "usbport";
&leds {
usb1_green {
- label = "netgear:green:usb1";
+ label = "green:usb1";
gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
trigger-sources = <&hub_port0>;
linux,default-trigger = "usbport";
};
usb2_green {
- label = "netgear:green:usb2";
+ label = "green:usb2";
gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
trigger-sources = <&hub_port1>;
linux,default-trigger = "usbport";
compatible = "gpio-leds";
status_blue {
- label = "phicomm:blue:status";
+ label = "blue:status";
gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
};
led_status_red: status_red {
- label = "phicomm:red:status";
+ label = "red:status";
gpios = <&gpio 7 GPIO_ACTIVE_HIGH>;
};
status_yellow {
- label = "phicomm:yellow:status";
+ label = "yellow:status";
gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_system: system {
- label = "wr818:red:system";
+ label = "red:system";
gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
};
wifi_2g {
- label = "wr818:red:wifi2g";
+ label = "red:wifi2g";
gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
compatible = "gpio-leds";
led_system: system {
- label = "tp-link:green:system";
+ label = "green:system";
gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
default-state = "on";
};
wifi2g {
- label = "tp-link:green:wifi2g";
+ label = "green:wifi2g";
gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy1tpt";
};
wifi5g {
- label = "tp-link:green:wifi5g";
+ label = "green:wifi5g";
gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
wifi_wps {
- label = "tp-link:green:wps";
+ label = "green:wps";
gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
};
wan {
- label = "tp-link:green:wan";
+ label = "green:wan";
gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
};
wan_fail {
- label = "tp-link:orange:wan";
+ label = "orange:wan";
gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
};
lan1 {
- label = "tp-link:green:lan1";
+ label = "green:lan1";
gpios = <&gpio 9 GPIO_ACTIVE_LOW>;
};
lan2 {
- label = "tp-link:green:lan2";
+ label = "green:lan2";
gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
};
lan3 {
- label = "tp-link:green:lan3";
+ label = "green:lan3";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
};
lan4 {
- label = "tp-link:green:lan4";
+ label = "green:lan4";
gpios = <&gpio 21 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_power: power {
- label = "tp-link:green:power";
+ label = "green:power";
gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
default-state = "on";
};
wlan2g {
- label = "tp-link:green:wlan2g";
+ label = "green:wlan2g";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy1tpt";
};
wlan5g {
- label = "tp-link:green:wlan5g";
+ label = "green:wlan5g";
gpios = <&gpio 9 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
lan {
- label = "tp-link:green:lan";
+ label = "green:lan";
gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
};
wan {
- label = "tp-link:green:wan";
+ label = "green:wan";
gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
};
wan_fail {
- label = "tp-link:amber:wan";
+ label = "amber:wan";
gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
};
wps {
- label = "tp-link:green:wps";
+ label = "green:wps";
gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_power: power {
- label = "tp-link:green:power";
+ label = "green:power";
gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
default-state = "on";
};
wlan2g {
- label = "tp-link:green:wlan2g";
+ label = "green:wlan2g";
gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy1tpt";
};
wlan5g {
- label = "tp-link:green:wlan5g";
+ label = "green:wlan5g";
gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
lan {
- label = "tp-link:green:lan";
+ label = "green:lan";
gpios = <&gpio 20 GPIO_ACTIVE_LOW>;
};
wan {
- label = "tp-link:green:wan";
+ label = "green:wan";
gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
};
wan_fail {
- label = "tp-link:amber:wan";
+ label = "amber:wan";
gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
};
wps {
- label = "tp-link:green:wps";
+ label = "green:wps";
gpios = <&gpio 9 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_system: system {
- label = "tp-link:green:system";
+ label = "green:system";
gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
default-state = "on";
};
usb1 {
- label = "tp-link:green:usb1";
+ label = "green:usb1";
gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
trigger-sources = <&hub_port1>;
linux,default-trigger = "usbport";
};
usb2 {
- label = "tp-link:green:usb2";
+ label = "green:usb2";
gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
trigger-sources = <&hub_port0>;
linux,default-trigger = "usbport";
};
wlan5g {
- label = "tp-link:green:wlan5g";
+ label = "green:wlan5g";
gpios = <&gpio 9 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
wlan2g {
- label = "tp-link:green:wlan2g";
+ label = "green:wlan2g";
gpios = <&led_gpio 7 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy1tpt";
};
wan {
- label = "tp-link:green:wan";
+ label = "green:wan";
gpios = <&led_gpio 5 GPIO_ACTIVE_LOW>;
};
wan_fail {
- label = "tp-link:orange:wan";
+ label = "orange:wan";
gpios = <&led_gpio 6 GPIO_ACTIVE_LOW>;
};
lan1 {
- label = "tp-link:green:lan1";
+ label = "green:lan1";
gpios = <&led_gpio 4 GPIO_ACTIVE_LOW>;
};
lan2 {
- label = "tp-link:green:lan2";
+ label = "green:lan2";
gpios = <&led_gpio 3 GPIO_ACTIVE_LOW>;
};
lan3 {
- label = "tp-link:green:lan3";
+ label = "green:lan3";
gpios = <&led_gpio 2 GPIO_ACTIVE_LOW>;
};
lan4 {
- label = "tp-link:green:lan4";
+ label = "green:lan4";
gpios = <&led_gpio 1 GPIO_ACTIVE_LOW>;
};
wps {
- label = "tp-link:green:wps";
+ label = "green:wps";
gpios = <&led_gpio 0 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_system: system {
- label = "tp-link:green:system";
+ label = "green:system";
gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
default-state = "on";
};
usb {
- label = "tp-link:green:usb";
+ label = "green:usb";
gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
trigger-sources = <&hub_port0>;
linux,default-trigger = "usbport";
};
wlan5g {
- label = "tp-link:green:wlan5g";
+ label = "green:wlan5g";
gpios = <&gpio 9 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
wlan2g {
- label = "tp-link:green:wlan2g";
+ label = "green:wlan2g";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy1tpt";
};
wan {
- label = "tp-link:green:wan";
+ label = "green:wan";
gpios = <&gpio 21 GPIO_ACTIVE_LOW>;
};
wan_fail {
- label = "tp-link:orange:wan";
+ label = "orange:wan";
gpios = <&gpio 20 GPIO_ACTIVE_LOW>;
};
lan1 {
- label = "tp-link:green:lan1";
+ label = "green:lan1";
gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
};
lan2 {
- label = "tp-link:green:lan2";
+ label = "green:lan2";
gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
};
lan3 {
- label = "tp-link:green:lan3";
+ label = "green:lan3";
gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
};
lan4 {
- label = "tp-link:green:lan4";
+ label = "green:lan4";
gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
};
wps {
- label = "tp-link:green:wps";
+ label = "green:wps";
gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_status_green: status_green {
- label = "tp-link:green:status";
+ label = "green:status";
gpios = <&gpio 7 GPIO_ACTIVE_HIGH>;
default-state = "on";
};
led_status_amber: status_amber {
- label = "tp-link:amber:status";
+ label = "amber:status";
gpios = <&gpio 9 GPIO_ACTIVE_HIGH>;
};
};
compatible = "gpio-leds";
led_power: power {
- label = "tp-link:blue:power";
+ label = "blue:power";
gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
};
wlan2g {
- label = "tp-link:blue:wlan2g";
+ label = "blue:wlan2g";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy1tpt";
};
wlan5g {
- label = "tp-link:blue:wlan5g";
+ label = "blue:wlan5g";
gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
lan_link {
- label = "tp-link:green:lan_link";
+ label = "green:lan_link";
gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
};
lan_data {
- label = "tp-link:green:lan_data";
+ label = "green:lan_data";
gpios = <&gpio 9 GPIO_ACTIVE_LOW>;
};
wps_blue {
- label = "tp-link:blue:wps";
+ label = "blue:wps";
gpios = <&gpio 17 GPIO_ACTIVE_HIGH>;
};
wps_red {
- label = "tp-link:red:wps";
+ label = "red:wps";
gpios = <&gpio 20 GPIO_ACTIVE_HIGH>;
};
};
compatible = "gpio-leds";
led_power: power {
- label = "tp-link:green:power";
+ label = "green:power";
gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
};
lan {
- label = "tp-link:green:lan";
+ label = "green:lan";
gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
};
wifi2g {
- label = "tp-link:green:wifi2g";
+ label = "green:wifi2g";
gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy1tpt";
};
wifi5g {
- label = "tp-link:green:wifi5g";
+ label = "green:wifi5g";
gpios = <&gpio 21 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
compatible = "gpio-leds";
led_system: system {
- label = "tp-link:green:system";
+ label = "green:system";
gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
linux,default-trigger = "heartbeat";
};
wifi_green {
- label = "tp-link:green:wlan";
+ label = "green:wlan";
gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
wifi_wps {
- label = "tp-link:green:wps";
+ label = "green:wps";
gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
};
wan {
- label = "tp-link:green:wan";
+ label = "green:wan";
gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
};
wan_fail {
- label = "tp-link:orange:wan";
+ label = "orange:wan";
gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
};
lan1 {
- label = "tp-link:green:lan1";
+ label = "green:lan1";
gpios = <&gpio 9 GPIO_ACTIVE_LOW>;
};
lan2 {
- label = "tp-link:green:lan2";
+ label = "green:lan2";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
};
lan3 {
- label = "tp-link:green:lan3";
+ label = "green:lan3";
gpios = <&gpio 21 GPIO_ACTIVE_LOW>;
};
lan4 {
- label = "tp-link:green:lan4";
+ label = "green:lan4";
gpios = <&gpio 20 GPIO_ACTIVE_LOW>;
};
};
&leds {
usb {
- label = "tp-link:green:usb";
+ label = "green:usb";
gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
trigger-sources = <&hub_port0>;
linux,default-trigger = "usbport";
compatible = "gpio-leds";
led_white: led_white {
- label = "ubnt:white:dome";
+ label = "white:dome";
gpios = <&gpio 7 GPIO_ACTIVE_HIGH>;
};
led_blue: led_blue {
- label = "ubnt:blue:dome";
+ label = "blue:dome";
gpios = <&gpio 8 GPIO_ACTIVE_HIGH>;
};
};
compatible = "gpio-leds";
led_system: system {
- label = "a782:red:system";
+ label = "red:system";
gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
default-state = "keep";
};
wlan2g {
- label = "a782:green:wlan2g";
+ label = "green:wlan2g";
gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy1tpt";
};
compatible = "gpio-leds";
led_system: system {
- label = "xd4200:blue:system";
+ label = "blue:system";
gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
default-state = "keep";
};
wlan2g {
- label = "xd4200:blue:wlan2g";
+ label = "blue:wlan2g";
gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy1tpt";
};
compatible = "gpio-leds";
led_system: system {
- label = "tp-link:green:system";
+ label = "green:system";
gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
default-state = "on";
};
qss {
- label = "tp-link:green:qss";
+ label = "green:qss";
gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
};
lan {
- label = "tp-link:green:lan";
+ label = "green:lan";
gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
};
wlan {
- label = "tp-link:green:wlan";
+ label = "green:wlan";
gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
compatible = "gpio-leds";
led_system: system {
- label = "tp-link:blue:system";
+ label = "blue:system";
gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
default-state = "on";
};
qss {
- label = "tp-link:blue:qss";
+ label = "blue:qss";
gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
};
wlan {
- label = "tp-link:blue:wlan";
+ label = "blue:wlan";
gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
wan_blue {
- label = "tp-link:blue:wan";
+ label = "blue:wan";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
};
wan_red {
- label = "tp-link:red:wan";
+ label = "red:wan";
gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;
};
lan1 {
- label = "tp-link:blue:lan1";
+ label = "blue:lan1";
gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
};
lan2 {
- label = "tp-link:blue:lan2";
+ label = "blue:lan2";
gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
};
lan3 {
- label = "tp-link:blue:lan3";
+ label = "blue:lan3";
gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
};
lan4 {
- label = "tp-link:blue:lan4";
+ label = "blue:lan4";
gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
led_system: system {
- label = "tp-link:blue:system";
+ label = "blue:system";
gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
default-state = "on";
};
qss {
- label = "tp-link:blue:qss";
+ label = "blue:qss";
gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
};
wlan {
- label = "tp-link:blue:wlan";
+ label = "blue:wlan";
gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
wan_blue {
- label = "tp-link:blue:wan";
+ label = "blue:wan";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
};
wan_red {
- label = "tp-link:red:wan";
+ label = "red:wan";
gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;
};
lan1 {
- label = "tp-link:blue:lan1";
+ label = "blue:lan1";
gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
};
lan2 {
- label = "tp-link:blue:lan2";
+ label = "blue:lan2";
gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
};
lan3 {
- label = "tp-link:blue:lan3";
+ label = "blue:lan3";
gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
};
lan4 {
- label = "tp-link:blue:lan4";
+ label = "blue:lan4";
gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
};
};
compatible = "gpio-leds";
wan_blue {
- label = "tp-link:blue:wan";
+ label = "blue:wan";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
};
led_diag_orange: diag_orange {
- label = "tp-link:orange:diag";
+ label = "orange:diag";
gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;
default-state = "on";
};
board_config_update
board=$(board_name)
-boardname="${board##*,}"
case "$board" in
8dev,carambola2)
- ucidef_set_led_netdev "lan" "LAN" "$boardname:orange:eth0" "eth0"
- ucidef_set_led_switch "wan" "WAN" "$boardname:orange:eth1" "switch0" "0x04"
+ ucidef_set_led_netdev "lan" "LAN" "orange:eth0" "eth0"
+ ucidef_set_led_switch "wan" "WAN" "orange:eth1" "switch0" "0x04"
;;
alfa-network,ap121f|\
alfa-network,ap121fe|\
-avm,fritz450e)
- ucidef_set_led_netdev "lan" "LAN" "$boardname:green:lan" "eth0"
+avm,fritz450e|\
+glinet,6408|\
+glinet,6416|\
+glinet,gl-ar300m-lite|\
+glinet,gl-ar300m16|\
+pcs,cap324|\
+tplink,cpe610-v1|\
+tplink,cpe610-v2)
+ ucidef_set_led_netdev "lan" "LAN" "green:lan" "eth0"
;;
alfa-network,n2q)
- ucidef_set_led_netdev "lan2" "LAN2" "$boardname:orange:lan2" "eth1"
- ucidef_set_led_switch "lan1" "LAN1" "$boardname:orange:lan1" "switch0" "0x10"
+ ucidef_set_led_netdev "lan2" "LAN2" "orange:lan2" "eth1"
+ ucidef_set_led_switch "lan1" "LAN1" "orange:lan1" "switch0" "0x10"
ucidef_set_rssimon "wlan0" "200000" "1"
- ucidef_set_led_rssi "signal1" "SIGNAL1" "$boardname:red:signal1" "wlan0" "1" "100"
- ucidef_set_led_rssi "signal2" "SIGNAL2" "$boardname:orange:signal2" "wlan0" "33" "100"
- ucidef_set_led_rssi "signal3" "SIGNAL3" "$boardname:green:signal3" "wlan0" "66" "100"
+ ucidef_set_led_rssi "signal1" "SIGNAL1" "red:signal1" "wlan0" "1" "100"
+ ucidef_set_led_rssi "signal2" "SIGNAL2" "orange:signal2" "wlan0" "33" "100"
+ ucidef_set_led_rssi "signal3" "SIGNAL3" "green:signal3" "wlan0" "66" "100"
;;
alfa-network,n5q)
- ucidef_set_led_netdev "lan2" "LAN2" "$boardname:green:lan2" "eth1"
- ucidef_set_led_switch "lan1" "LAN1" "$boardname:green:lan1" "switch0" "0x10"
+ ucidef_set_led_netdev "lan2" "LAN2" "green:lan2" "eth1"
+ ucidef_set_led_switch "lan1" "LAN1" "green:lan1" "switch0" "0x10"
ucidef_set_rssimon "wlan0" "200000" "1"
- ucidef_set_led_rssi "signal1" "SIGNAL1" "$boardname:red:signal1" "wlan0" "1" "100"
- ucidef_set_led_rssi "signal2" "SIGNAL2" "$boardname:orange:signal2" "wlan0" "25" "100"
- ucidef_set_led_rssi "signal3" "SIGNAL3" "$boardname:green:signal3" "wlan0" "50" "100"
- ucidef_set_led_rssi "signal4" "SIGNAL4" "$boardname:green:signal4" "wlan0" "75" "100"
+ ucidef_set_led_rssi "signal1" "SIGNAL1" "red:signal1" "wlan0" "1" "100"
+ ucidef_set_led_rssi "signal2" "SIGNAL2" "orange:signal2" "wlan0" "25" "100"
+ ucidef_set_led_rssi "signal3" "SIGNAL3" "green:signal3" "wlan0" "50" "100"
+ ucidef_set_led_rssi "signal4" "SIGNAL4" "green:signal4" "wlan0" "75" "100"
;;
alfa-network,r36a)
- ucidef_set_led_netdev "lan" "LAN" "$boardname:blue:lan" "eth0"
- ucidef_set_led_switch "wan" "WAN" "$boardname:blue:wan" "switch0" "0x10"
+ ucidef_set_led_netdev "lan" "LAN" "blue:lan" "eth0"
+ ucidef_set_led_switch "wan" "WAN" "blue:wan" "switch0" "0x10"
;;
avm,fritz1750e)
- ucidef_set_led_netdev "lan" "LAN" "$boardname:green:lan" "eth0"
+ ucidef_set_led_netdev "lan" "LAN" "green:lan" "eth0"
ucidef_set_rssimon "wlan1" "200000" "1"
- ucidef_set_led_rssi "rssilow" "RSSILOW" "$boardname:green:rssi0" "wlan1" "1" "100"
- ucidef_set_led_rssi "rssimediumlow" "RSSIMEDIUMLOW" "$boardname:green:rssi1" "wlan1" "20" "100"
- ucidef_set_led_rssi "rssimedium" "RSSIMEDIUM" "$boardname:green:rssi2" "wlan1" "40" "100"
- ucidef_set_led_rssi "rssimediumhigh" "RSSIMEDIUMHIGH" "$boardname:green:rssi3" "wlan1" "60" "100"
- ucidef_set_led_rssi "rssihigh" "RSSIHIGH" "$boardname:green:rssi4" "wlan1" "80" "100"
+ ucidef_set_led_rssi "rssilow" "RSSILOW" "green:rssi0" "wlan1" "1" "100"
+ ucidef_set_led_rssi "rssimediumlow" "RSSIMEDIUMLOW" "green:rssi1" "wlan1" "20" "100"
+ ucidef_set_led_rssi "rssimedium" "RSSIMEDIUM" "green:rssi2" "wlan1" "40" "100"
+ ucidef_set_led_rssi "rssimediumhigh" "RSSIMEDIUMHIGH" "green:rssi3" "wlan1" "60" "100"
+ ucidef_set_led_rssi "rssihigh" "RSSIHIGH" "green:rssi4" "wlan1" "80" "100"
;;
avm,fritz300e)
- ucidef_set_led_netdev "lan" "LAN" "$boardname:green:lan" "eth0"
+ ucidef_set_led_netdev "lan" "LAN" "green:lan" "eth0"
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 "rssimedium" "RSSIMEDIUM" "$boardname:green:rssi2" "wlan0" "40" "100"
- ucidef_set_led_rssi "rssimediumhigh" "RSSIMEDIUMHIGH" "$boardname:green:rssi3" "wlan0" "60" "100"
- ucidef_set_led_rssi "rssihigh" "RSSIHIGH" "$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 "rssimedium" "RSSIMEDIUM" "green:rssi2" "wlan0" "40" "100"
+ ucidef_set_led_rssi "rssimediumhigh" "RSSIMEDIUMHIGH" "green:rssi3" "wlan0" "60" "100"
+ ucidef_set_led_rssi "rssihigh" "RSSIHIGH" "green:rssi4" "wlan0" "80" "100"
;;
-avm,fritz4020)
- ucidef_set_led_netdev "wan" "WAN" "$boardname:green:wan" "eth1"
- ucidef_set_led_switch "lan" "LAN" "$boardname:green:lan" "switch0" "0x1E"
+avm,fritz4020|\
+tplink,archer-c58-v1|\
+tplink,archer-c59-v1|\
+tplink,archer-c59-v2|\
+tplink,archer-c60-v1|\
+tplink,archer-c60-v2|\
+tplink,archer-c60-v3)
+ ucidef_set_led_switch "lan" "LAN" "green:lan" "switch0" "0x1e"
+ ucidef_set_led_netdev "wan" "WAN" "green:wan" "eth1"
;;
avm,fritzdvbc)
ucidef_set_rssimon "wlan1" "200000" "1"
- ucidef_set_led_rssi "rssilow" "RSSILOW" "$boardname:green:rssilow" "wlan1" "1" "100"
- ucidef_set_led_rssi "rssimediumlow" "RSSIMEDIUMLOW" "$boardname:green:rssimediumlow" "wlan1" "20" "100"
- ucidef_set_led_rssi "rssimedium" "RSSIMEDIUM" "$boardname:green:rssimedium" "wlan1" "40" "100"
- ucidef_set_led_rssi "rssimediumhigh" "RSSIMEDIUMHIGH" "$boardname:green:rssimediumhigh" "wlan1" "60" "100"
- ucidef_set_led_rssi "rssihigh" "RSSIHIGH" "$boardname:green:rssihigh" "wlan1" "80" "100"
+ ucidef_set_led_rssi "rssilow" "RSSILOW" "green:rssilow" "wlan1" "1" "100"
+ ucidef_set_led_rssi "rssimediumlow" "RSSIMEDIUMLOW" "green:rssimediumlow" "wlan1" "20" "100"
+ ucidef_set_led_rssi "rssimedium" "RSSIMEDIUM" "green:rssimedium" "wlan1" "40" "100"
+ ucidef_set_led_rssi "rssimediumhigh" "RSSIMEDIUMHIGH" "green:rssimediumhigh" "wlan1" "60" "100"
+ ucidef_set_led_rssi "rssihigh" "RSSIHIGH" "green:rssihigh" "wlan1" "80" "100"
;;
comfast,cf-e110n-v2)
- ucidef_set_led_netdev "lan" "LAN" "$boardname:green:lan" "eth1"
- ucidef_set_led_switch "wan" "WAN" "$boardname:green:wan" "switch0" "0x02"
- ucidef_set_led_wlan "wlan" "WLAN" "$boardname:green:wlan" "phy0tpt"
+ ucidef_set_led_netdev "lan" "LAN" "green:lan" "eth1"
+ ucidef_set_led_switch "wan" "WAN" "green:wan" "switch0" "0x02"
+ ucidef_set_led_wlan "wlan" "WLAN" "green:wlan" "phy0tpt"
ucidef_set_rssimon "wlan0" "200000" "1"
- ucidef_set_led_rssi "rssilow" "RSSILOW" "$boardname:red:rssilow" "wlan0" "1" "100"
- ucidef_set_led_rssi "rssimediumlow" "RSSIMEDIUMLOW" "$boardname:red:rssimediumlow" "wlan0" "26" "100"
- ucidef_set_led_rssi "rssimediumhigh" "RSSIMEDIUMHIGH" "$boardname:green:rssimediumhigh" "wlan0" "51" "100"
- ucidef_set_led_rssi "rssihigh" "RSSIHIGH" "$boardname:green:rssihigh" "wlan0" "76" "100"
+ ucidef_set_led_rssi "rssilow" "RSSILOW" "red:rssilow" "wlan0" "1" "100"
+ ucidef_set_led_rssi "rssimediumlow" "RSSIMEDIUMLOW" "red:rssimediumlow" "wlan0" "26" "100"
+ ucidef_set_led_rssi "rssimediumhigh" "RSSIMEDIUMHIGH" "green:rssimediumhigh" "wlan0" "51" "100"
+ ucidef_set_led_rssi "rssihigh" "RSSIHIGH" "green:rssihigh" "wlan0" "76" "100"
;;
comfast,cf-e120a-v3)
- ucidef_set_led_netdev "lan" "LAN" "$boardname:green:lan" "eth1"
- ucidef_set_led_switch "wan" "WAN" "$boardname:green:wan" "switch0" "0x04"
+ ucidef_set_led_netdev "lan" "LAN" "green:lan" "eth1"
+ ucidef_set_led_switch "wan" "WAN" "green:wan" "switch0" "0x04"
ucidef_set_rssimon "wlan0" "200000" "1"
- ucidef_set_led_rssi "rssilow" "RSSILOW" "$boardname:red:rssilow" "wlan0" "1" "100"
- ucidef_set_led_rssi "rssimediumlow" "RSSIMEDIUMLOW" "$boardname:red:rssimediumlow" "wlan0" "26" "100"
- ucidef_set_led_rssi "rssimediumhigh" "RSSIMEDIUMHIGH" "$boardname:green:rssimediumhigh" "wlan0" "51" "100"
- ucidef_set_led_rssi "rssihigh" "RSSIHIGH" "$boardname:green:rssihigh" "wlan0" "76" "100"
+ ucidef_set_led_rssi "rssilow" "RSSILOW" "red:rssilow" "wlan0" "1" "100"
+ ucidef_set_led_rssi "rssimediumlow" "RSSIMEDIUMLOW" "red:rssimediumlow" "wlan0" "26" "100"
+ ucidef_set_led_rssi "rssimediumhigh" "RSSIMEDIUMHIGH" "green:rssimediumhigh" "wlan0" "51" "100"
+ ucidef_set_led_rssi "rssihigh" "RSSIHIGH" "green:rssihigh" "wlan0" "76" "100"
;;
comfast,cf-e130n-v2)
- ucidef_set_led_netdev "lan" "LAN" "$boardname:green:lan" "eth0"
+ ucidef_set_led_netdev "lan" "LAN" "green:lan" "eth0"
ucidef_set_rssimon "wlan0" "200000" "1"
- ucidef_set_led_rssi "rssilow" "RSSILOW" "$boardname:red:rssilow" "wlan0" "1" "100"
- ucidef_set_led_rssi "rssimediumlow" "RSSIMEDIUMLOW" "$boardname:red:rssimediumlow" "wlan0" "26" "100"
- ucidef_set_led_rssi "rssimediumhigh" "RSSIMEDIUMHIGH" "$boardname:green:rssimediumhigh" "wlan0" "51" "100"
- ucidef_set_led_rssi "rssihigh" "RSSIHIGH" "$boardname:green:rssihigh" "wlan0" "76" "100"
+ ucidef_set_led_rssi "rssilow" "RSSILOW" "red:rssilow" "wlan0" "1" "100"
+ ucidef_set_led_rssi "rssimediumlow" "RSSIMEDIUMLOW" "red:rssimediumlow" "wlan0" "26" "100"
+ ucidef_set_led_rssi "rssimediumhigh" "RSSIMEDIUMHIGH" "green:rssimediumhigh" "wlan0" "51" "100"
+ ucidef_set_led_rssi "rssihigh" "RSSIHIGH" "green:rssihigh" "wlan0" "76" "100"
;;
comfast,cf-e313ac)
- ucidef_set_led_switch "lan" "LAN" "$boardname:green:lan" "switch0" "0x02"
- ucidef_set_led_netdev "wan" "WAN" "$boardname:green:wan" "eth1"
+ ucidef_set_led_switch "lan" "LAN" "green:lan" "switch0" "0x02"
+ ucidef_set_led_netdev "wan" "WAN" "green:wan" "eth1"
ucidef_set_rssimon "wlan0" "200000" "1"
- ucidef_set_led_rssi "rssilow" "RSSILOW" "$boardname:red:rssilow" "wlan0" "1" "100"
- ucidef_set_led_rssi "rssimediumlow" "RSSIMEDIUMLOW" "$boardname:red:rssimediumlow" "wlan0" "26" "100"
- ucidef_set_led_rssi "rssimediumhigh" "RSSIMEDIUMHIGH" "$boardname:green:rssimediumhigh" "wlan0" "51" "100"
- ucidef_set_led_rssi "rssihigh" "RSSIHIGH" "$boardname:green:rssihigh" "wlan0" "76" "100"
+ ucidef_set_led_rssi "rssilow" "RSSILOW" "red:rssilow" "wlan0" "1" "100"
+ ucidef_set_led_rssi "rssimediumlow" "RSSIMEDIUMLOW" "red:rssimediumlow" "wlan0" "26" "100"
+ ucidef_set_led_rssi "rssimediumhigh" "RSSIMEDIUMHIGH" "green:rssimediumhigh" "wlan0" "51" "100"
+ ucidef_set_led_rssi "rssihigh" "RSSIHIGH" "green:rssihigh" "wlan0" "76" "100"
;;
comfast,cf-e314n-v2)
- ucidef_set_led_netdev "wan" "WAN" "$boardname:green:wan" "eth0"
- ucidef_set_led_netdev "lan" "LAN" "$boardname:green:lan" "eth1"
+ ucidef_set_led_netdev "wan" "WAN" "green:wan" "eth0"
+ ucidef_set_led_netdev "lan" "LAN" "green:lan" "eth1"
ucidef_set_rssimon "wlan0" "200000" "1"
- ucidef_set_led_rssi "rssilow" "RSSILOW" "$boardname:red:rssilow" "wlan0" "1" "100"
- ucidef_set_led_rssi "rssimediumlow" "RSSIMEDIUMLOW" "$boardname:red:rssimediumlow" "wlan0" "26" "100"
- ucidef_set_led_rssi "rssimediumhigh" "RSSIMEDIUMHIGH" "$boardname:green:rssimediumhigh" "wlan0" "51" "100"
- ucidef_set_led_rssi "rssihigh" "RSSIHIGH" "$boardname:green:rssihigh" "wlan0" "76" "100"
+ ucidef_set_led_rssi "rssilow" "RSSILOW" "red:rssilow" "wlan0" "1" "100"
+ ucidef_set_led_rssi "rssimediumlow" "RSSIMEDIUMLOW" "red:rssimediumlow" "wlan0" "26" "100"
+ ucidef_set_led_rssi "rssimediumhigh" "RSSIMEDIUMHIGH" "green:rssimediumhigh" "wlan0" "51" "100"
+ ucidef_set_led_rssi "rssihigh" "RSSIHIGH" "green:rssihigh" "wlan0" "76" "100"
;;
comfast,cf-e5)
- ucidef_set_led_switch "lan" "LAN" "$boardname:blue:lan" "switch0" "0x02"
- ucidef_set_led_netdev "wan" "WAN" "$boardname:blue:wan" "eth1"
+ ucidef_set_led_switch "lan" "LAN" "blue:lan" "switch0" "0x02"
+ ucidef_set_led_netdev "wan" "WAN" "blue:wan" "eth1"
ucidef_set_rssimon "wlan0" "200000" "1"
- ucidef_set_led_rssi "rssilow" "RSSILOW" "$boardname:blue:rssi0" "wlan0" "1" "100"
- ucidef_set_led_rssi "rssimedium" "RSSIMEDIUM" "$boardname:blue:rssi1" "wlan0" "33" "100"
- ucidef_set_led_rssi "rssihigh" "RSSIHIGH" "$boardname:blue:rssi2" "wlan0" "66" "100"
+ ucidef_set_led_rssi "rssilow" "RSSILOW" "blue:rssi0" "wlan0" "1" "100"
+ ucidef_set_led_rssi "rssimedium" "RSSIMEDIUM" "blue:rssi1" "wlan0" "33" "100"
+ ucidef_set_led_rssi "rssihigh" "RSSIHIGH" "blue:rssi2" "wlan0" "66" "100"
;;
comfast,cf-e560ac)
- ucidef_set_led_netdev "wan" "WAN" "$boardname:blue:wan" "eth1"
- ucidef_set_led_switch "lan1" "LAN1" "$boardname:blue:lan1" "switch0" "0x02"
- ucidef_set_led_switch "lan2" "LAN2" "$boardname:blue:lan2" "switch0" "0x04"
- ucidef_set_led_switch "lan3" "LAN3" "$boardname:blue:lan3" "switch0" "0x08"
- ucidef_set_led_switch "lan4" "LAN4" "$boardname:blue:lan4" "switch0" "0x10"
+ ucidef_set_led_netdev "wan" "WAN" "blue:wan" "eth1"
+ ucidef_set_led_switch "lan1" "LAN1" "blue:lan1" "switch0" "0x02"
+ ucidef_set_led_switch "lan2" "LAN2" "blue:lan2" "switch0" "0x04"
+ ucidef_set_led_switch "lan3" "LAN3" "blue:lan3" "switch0" "0x08"
+ ucidef_set_led_switch "lan4" "LAN4" "blue:lan4" "switch0" "0x10"
;;
comfast,cf-ew72|\
telco,t1)
- ucidef_set_led_switch "lan" "LAN" "$boardname:blue:lan" "switch0" "0x02"
- ucidef_set_led_netdev "wan" "WAN" "$boardname:blue:wan" "eth1"
+ ucidef_set_led_switch "lan" "LAN" "blue:lan" "switch0" "0x02"
+ ucidef_set_led_netdev "wan" "WAN" "blue:wan" "eth1"
;;
comfast,cf-wr752ac-v1|\
engenius,ecb1750|\
enterasys,ws-ap3705i)
- ucidef_set_led_netdev "lan" "LAN" "$boardname:blue:lan" "eth0"
- ;;
-compex,wpj344-16m)
- ucidef_set_rssimon "wlan0" "200000" "1"
- ucidef_set_led_rssi "sig1" "SIG1" "wpj344:red:sig1" "wlan0" "85" "100"
- ucidef_set_led_rssi "sig2" "SIG2" "wpj344:yellow:sig2" "wlan0" "75" "100"
- ucidef_set_led_rssi "sig3" "SIG3" "wpj344:green:sig3" "wlan0" "65" "100"
- ucidef_set_led_rssi "sig4" "SIG4" "wpj344:green:sig4" "wlan0" "50" "100"
+ ucidef_set_led_netdev "lan" "LAN" "blue:lan" "eth0"
;;
+compex,wpj344-16m|\
compex,wpj531-16m)
ucidef_set_rssimon "wlan0" "200000" "1"
- ucidef_set_led_rssi "sig1" "SIG1" "wpj531:red:sig1" "wlan0" "85" "100"
- ucidef_set_led_rssi "sig2" "SIG2" "wpj531:yellow:sig2" "wlan0" "75" "100"
- ucidef_set_led_rssi "sig3" "SIG3" "wpj531:green:sig3" "wlan0" "65" "100"
- ucidef_set_led_rssi "sig4" "SIG4" "wpj531:green:sig4" "wlan0" "50" "100"
+ ucidef_set_led_rssi "sig1" "SIG1" "red:sig1" "wlan0" "85" "100"
+ ucidef_set_led_rssi "sig2" "SIG2" "yellow:sig2" "wlan0" "75" "100"
+ ucidef_set_led_rssi "sig3" "SIG3" "green:sig3" "wlan0" "65" "100"
+ ucidef_set_led_rssi "sig4" "SIG4" "green:sig4" "wlan0" "50" "100"
;;
devolo,magic-2-wifi)
- ucidef_set_led_netdev "plcw" "dLAN" "devolo:white:dlan" "eth0.1" "rx"
+ ucidef_set_led_netdev "plcw" "dLAN" "white:dlan" "eth0.1" "rx"
;;
dlink,dap-1330-a1|\
dlink,dap-1365-a1)
ucidef_set_rssimon "wlan0" "200000" "1"
- ucidef_set_led_rssi "rssilow" "RSSILOW" "d-link:red:rssilow" "wlan0" "1" "25"
- ucidef_set_led_rssi "rssimediumlow" "RSSIMEDIUMLOW" "d-link:green:rssimediumlow" "wlan0" "1" "100"
- ucidef_set_led_rssi "rssimediumhigh" "RSSIMEDIUMHIGH" "d-link:green:rssimediumhigh" "wlan0" "51" "100"
- ucidef_set_led_rssi "rssihigh" "RSSIHIGH" "d-link:green:rssihigh" "wlan0" "76" "100"
+ ucidef_set_led_rssi "rssilow" "RSSILOW" "red:rssilow" "wlan0" "1" "25"
+ ucidef_set_led_rssi "rssimediumlow" "RSSIMEDIUMLOW" "green:rssimediumlow" "wlan0" "1" "100"
+ ucidef_set_led_rssi "rssimediumhigh" "RSSIMEDIUMHIGH" "green:rssimediumhigh" "wlan0" "51" "100"
+ ucidef_set_led_rssi "rssihigh" "RSSIHIGH" "green:rssihigh" "wlan0" "76" "100"
;;
dlink,dir-859-a1)
- ucidef_set_led_switch "internet" "WAN" "$boardname:green:internet" "switch0" "0x20"
+ ucidef_set_led_switch "internet" "WAN" "green:internet" "switch0" "0x20"
;;
engenius,enh202-v1)
- ucidef_set_led_switch "lan" "LAN" "$boardname:amber:lan" "switch0" "0x10"
- ucidef_set_led_netdev "wan" "WAN" "$boardname:green:wan" "eth0"
+ ucidef_set_led_switch "lan" "LAN" "amber:lan" "switch0" "0x10"
+ ucidef_set_led_netdev "wan" "WAN" "green:wan" "eth0"
ucidef_set_rssimon "wlan0" "200000" "1"
- ucidef_set_led_rssi "rssilow" "RSSILOW" "$boardname:red:rssilow" "wlan0" "1" "100"
- ucidef_set_led_rssi "rssimedium" "RSSIMEDIUM" "$boardname:amber:rssimedium" "wlan0" "33" "100"
- ucidef_set_led_rssi "rssihigh" "RSSIHIGH" "$boardname:green:rssihigh" "wlan0" "67" "100"
+ ucidef_set_led_rssi "rssilow" "RSSILOW" "red:rssilow" "wlan0" "1" "100"
+ ucidef_set_led_rssi "rssimedium" "RSSIMEDIUM" "amber:rssimedium" "wlan0" "33" "100"
+ ucidef_set_led_rssi "rssihigh" "RSSIHIGH" "green:rssihigh" "wlan0" "67" "100"
;;
engenius,ens202ext-v1)
ucidef_set_rssimon "wlan0" "200000" "1"
- ucidef_set_led_rssi "rssilow" "RSSILOW" "$boardname:red:rssilow" "wlan0" "1" "100"
- ucidef_set_led_rssi "rssimedium" "RSSIMEDIUM" "$boardname:amber:rssimedium" "wlan0" "33" "100"
- ucidef_set_led_rssi "rssihigh" "RSSIHIGH" "$boardname:green:rssihigh" "wlan0" "67" "100"
+ ucidef_set_led_rssi "rssilow" "RSSILOW" "red:rssilow" "wlan0" "1" "100"
+ ucidef_set_led_rssi "rssimedium" "RSSIMEDIUM" "amber:rssimedium" "wlan0" "33" "100"
+ ucidef_set_led_rssi "rssihigh" "RSSIHIGH" "green:rssihigh" "wlan0" "67" "100"
;;
engenius,ews511ap)
- ucidef_set_led_netdev "lan1" "LAN1" "$boardname:blue:lan1" "eth1"
- ucidef_set_led_netdev "lan2" "LAN2" "$boardname:blue:lan2" "eth0"
+ ucidef_set_led_netdev "lan1" "LAN1" "blue:lan1" "eth1"
+ ucidef_set_led_netdev "lan2" "LAN2" "blue:lan2" "eth0"
;;
etactica,eg200)
- ucidef_set_led_netdev "lan" "LAN" "$boardname:red:eth0" "eth0"
- ucidef_set_led_oneshot "modbus" "Modbus" "$boardname:red:modbus" "100" "33"
- ;;
-glinet,6408|\
-glinet,6416)
- ucidef_set_led_netdev "lan" "LAN" "gl-inet:green:lan" "eth0"
- ;;
-glinet,gl-ar300m-lite)
- ucidef_set_led_netdev "lan" "LAN" "gl-ar300m-lite:green:lan" "eth0"
- ;;
-glinet,gl-ar300m16)
- ucidef_set_led_netdev "lan" "LAN" "gl-ar300m:green:lan" "eth0"
+ ucidef_set_led_netdev "lan" "LAN" "red:eth0" "eth0"
+ ucidef_set_led_oneshot "modbus" "Modbus" "red:modbus" "100" "33"
;;
glinet,gl-mifi)
- ucidef_set_led_switch "lan" "LAN" "$boardname:green:lan" "switch0" "0x02"
- ucidef_set_led_netdev "wan" "WAN" "$boardname:green:wan" "eth1"
+ ucidef_set_led_switch "lan" "LAN" "green:lan" "switch0" "0x02"
+ ucidef_set_led_netdev "wan" "WAN" "green:wan" "eth1"
;;
glinet,gl-x750)
- ucidef_set_led_netdev "wan" "WAN" "$boardname:green:wan" "eth1"
+ ucidef_set_led_netdev "wan" "WAN" "green:wan" "eth1"
;;
hak5,lan-turtle)
- ucidef_set_led_netdev "wan" "WAN" "$boardname:orange:system" "eth1"
+ ucidef_set_led_netdev "wan" "WAN" "orange:system" "eth1"
;;
meraki,mr16)
- ucidef_set_led_netdev "wan" "WAN" "$boardname:green:wan" "eth0"
+ ucidef_set_led_netdev "wan" "WAN" "green:wan" "eth0"
;;
netgear,wnr2200-8m|\
netgear,wnr2200-16m)
- ucidef_set_led_netdev "wan-amber" "WAN (amber)" "netgear:amber:wan" "eth0"
- ucidef_set_led_switch "lan1green" "LAN1 (green)" "netgear:green:lan1" "switch0" "0x02" "0x04"
- ucidef_set_led_switch "lan2green" "LAN2 (green)" "netgear:green:lan2" "switch0" "0x04" "0x04"
- ucidef_set_led_switch "lan3green" "LAN3 (green)" "netgear:green:lan3" "switch0" "0x08" "0x04"
- ucidef_set_led_switch "lan4green" "LAN4 (green)" "netgear:green:lan4" "switch0" "0x10" "0x04"
- ucidef_set_led_switch "lan1amber" "LAN1 (amber)" "netgear:amber:lan1" "switch0" "0x02" "0x02"
- ucidef_set_led_switch "lan2amber" "LAN2 (amber)" "netgear:amber:lan2" "switch0" "0x04" "0x02"
- ucidef_set_led_switch "lan3amber" "LAN3 (amber)" "netgear:amber:lan3" "switch0" "0x08" "0x02"
- ucidef_set_led_switch "lan4amber" "LAN4 (amber)" "netgear:amber:lan4" "switch0" "0x10" "0x02"
- ;;
-pcs,cap324)
- ucidef_set_led_netdev "lan" "LAN" "pcs:green:lan" "eth0"
+ ucidef_set_led_netdev "wan-amber" "WAN (amber)" "amber:wan" "eth0"
+ ucidef_set_led_switch "lan1green" "LAN1 (green)" "green:lan1" "switch0" "0x02" "0x04"
+ ucidef_set_led_switch "lan2green" "LAN2 (green)" "green:lan2" "switch0" "0x04" "0x04"
+ ucidef_set_led_switch "lan3green" "LAN3 (green)" "green:lan3" "switch0" "0x08" "0x04"
+ ucidef_set_led_switch "lan4green" "LAN4 (green)" "green:lan4" "switch0" "0x10" "0x04"
+ ucidef_set_led_switch "lan1amber" "LAN1 (amber)" "amber:lan1" "switch0" "0x02" "0x02"
+ ucidef_set_led_switch "lan2amber" "LAN2 (amber)" "amber:lan2" "switch0" "0x04" "0x02"
+ ucidef_set_led_switch "lan3amber" "LAN3 (amber)" "amber:lan3" "switch0" "0x08" "0x02"
+ ucidef_set_led_switch "lan4amber" "LAN4 (amber)" "amber:lan4" "switch0" "0x10" "0x02"
;;
pcs,cr3000)
- ucidef_set_led_netdev "wan" "WAN" "pcs:blue:wan" "eth1"
- ucidef_set_led_switch "lan1" "LAN1" "pcs:blue:lan1" "switch0" "0x04"
- ucidef_set_led_switch "lan2" "LAN2" "pcs:blue:lan2" "switch0" "0x08"
- ucidef_set_led_switch "lan3" "LAN3" "pcs:blue:lan3" "switch0" "0x10"
- ucidef_set_led_switch "lan4" "LAN4" "pcs:blue:lan4" "switch0" "0x02"
+ ucidef_set_led_netdev "wan" "WAN" "blue:wan" "eth1"
+ ucidef_set_led_switch "lan1" "LAN1" "blue:lan1" "switch0" "0x04"
+ ucidef_set_led_switch "lan2" "LAN2" "blue:lan2" "switch0" "0x08"
+ ucidef_set_led_switch "lan3" "LAN3" "blue:lan3" "switch0" "0x10"
+ ucidef_set_led_switch "lan4" "LAN4" "blue:lan4" "switch0" "0x02"
;;
qihoo,c301)
- ucidef_set_led_wlan "wlan" "WLAN" "$boardname:green:wlan" "phy0tpt"
+ ucidef_set_led_wlan "wlan" "WLAN" "green:wlan" "phy0tpt"
;;
samsung,wam250)
- ucidef_set_led_netdev "lan" "LAN" "$boardname:white:lan" "eth0"
+ ucidef_set_led_netdev "lan" "LAN" "white:lan" "eth0"
;;
tplink,archer-a7-v5|\
tplink,archer-c7-v4|\
tplink,archer-c7-v5)
- ucidef_set_led_switch "wan" "WAN" "tp-link:green:wan" "switch0" "0x02"
- ucidef_set_led_switch "lan1" "LAN1" "tp-link:green:lan1" "switch0" "0x04"
- ucidef_set_led_switch "lan2" "LAN2" "tp-link:green:lan2" "switch0" "0x08"
- ucidef_set_led_switch "lan3" "LAN3" "tp-link:green:lan3" "switch0" "0x10"
- ucidef_set_led_switch "lan4" "LAN4" "tp-link:green:lan4" "switch0" "0x20"
+ ucidef_set_led_switch "wan" "WAN" "green:wan" "switch0" "0x02"
+ ucidef_set_led_switch "lan1" "LAN1" "green:lan1" "switch0" "0x04"
+ ucidef_set_led_switch "lan2" "LAN2" "green:lan2" "switch0" "0x08"
+ ucidef_set_led_switch "lan3" "LAN3" "green:lan3" "switch0" "0x10"
+ ucidef_set_led_switch "lan4" "LAN4" "green:lan4" "switch0" "0x20"
;;
tplink,archer-c2-v3|\
tplink,tl-wr1043nd-v4|\
tplink,tl-wr1043n-v5)
- ucidef_set_led_switch "wan" "WAN" "tp-link:green:wan" "switch0" "0x20"
- ucidef_set_led_switch "lan1" "LAN1" "tp-link:green:lan1" "switch0" "0x10"
- ucidef_set_led_switch "lan2" "LAN2" "tp-link:green:lan2" "switch0" "0x08"
- ucidef_set_led_switch "lan3" "LAN3" "tp-link:green:lan3" "switch0" "0x04"
- ucidef_set_led_switch "lan4" "LAN4" "tp-link:green:lan4" "switch0" "0x02"
+ ucidef_set_led_switch "wan" "WAN" "green:wan" "switch0" "0x20"
+ ucidef_set_led_switch "lan1" "LAN1" "green:lan1" "switch0" "0x10"
+ ucidef_set_led_switch "lan2" "LAN2" "green:lan2" "switch0" "0x08"
+ ucidef_set_led_switch "lan3" "LAN3" "green:lan3" "switch0" "0x04"
+ ucidef_set_led_switch "lan4" "LAN4" "green:lan4" "switch0" "0x02"
;;
tplink,archer-c6-v2|\
tplink,archer-c6-v2-us)
- ucidef_set_led_switch "lan" "LAN" "tp-link:green:lan" "switch0" "0x3C"
- ucidef_set_led_switch "wan" "WAN" "tp-link:green:wan" "switch0" "0x02"
+ ucidef_set_led_switch "lan" "LAN" "green:lan" "switch0" "0x3c"
+ ucidef_set_led_switch "wan" "WAN" "green:wan" "switch0" "0x02"
;;
tplink,archer-c25-v1|\
tplink,tl-wr842n-v3)
- ucidef_set_led_netdev "wan" "WAN" "tp-link:green:wan" "eth1"
- ucidef_set_led_switch "lan1" "LAN1" "tp-link:green:lan1" "switch0" "0x10"
- ucidef_set_led_switch "lan2" "LAN2" "tp-link:green:lan2" "switch0" "0x08"
- ucidef_set_led_switch "lan3" "LAN3" "tp-link:green:lan3" "switch0" "0x04"
- ucidef_set_led_switch "lan4" "LAN4" "tp-link:green:lan4" "switch0" "0x02"
- ;;
-tplink,archer-c58-v1|\
-tplink,archer-c59-v1|\
-tplink,archer-c59-v2|\
-tplink,archer-c60-v1|\
-tplink,archer-c60-v2|\
-tplink,archer-c60-v3)
- ucidef_set_led_switch "lan" "LAN" "tp-link:green:lan" "switch0" "0x1E"
- ucidef_set_led_netdev "wan" "WAN" "tp-link:green:wan" "eth1"
+ ucidef_set_led_netdev "wan" "WAN" "green:wan" "eth1"
+ ucidef_set_led_switch "lan1" "LAN1" "green:lan1" "switch0" "0x10"
+ ucidef_set_led_switch "lan2" "LAN2" "green:lan2" "switch0" "0x08"
+ ucidef_set_led_switch "lan3" "LAN3" "green:lan3" "switch0" "0x04"
+ ucidef_set_led_switch "lan4" "LAN4" "green:lan4" "switch0" "0x02"
;;
tplink,archer-d50-v1)
- ucidef_set_led_switch "lan" "LAN" "tp-link:white:lan" "switch0" "0x1c"
- ucidef_set_led_switch "wan_data" "WAN Data" "tp-link:white:internet" "switch0" "0x02" "" "tx rx"
- ucidef_set_led_switch "wan_link" "WAN Link" "tp-link:white:wan" "switch0" "0x02" "" "link"
+ ucidef_set_led_switch "lan" "LAN" "white:lan" "switch0" "0x1c"
+ ucidef_set_led_switch "wan_data" "WAN Data" "white:internet" "switch0" "0x02" "" "tx rx"
+ ucidef_set_led_switch "wan_link" "WAN Link" "white:wan" "switch0" "0x02" "" "link"
;;
tplink,archer-d7-v1|\
tplink,archer-d7b-v1)
- ucidef_set_led_switch "lan" "LAN" "tp-link:white:lan" "switch0" "0x3c"
+ ucidef_set_led_switch "lan" "LAN" "white:lan" "switch0" "0x3c"
;;
tplink,cpe210-v1|\
tplink,cpe220-v2|\
tplink,wbs210-v2|\
tplink,wbs510-v1|\
tplink,wbs510-v2)
- ucidef_set_led_netdev "lan0" "LAN0" "tp-link:green:lan0" "eth1"
- ucidef_set_led_switch "lan1" "LAN1" "tp-link:green:lan1" "switch0" "0x10"
+ ucidef_set_led_netdev "lan0" "LAN0" "green:lan0" "eth1"
+ ucidef_set_led_switch "lan1" "LAN1" "green:lan1" "switch0" "0x10"
ucidef_set_rssimon "wlan0" "200000" "1"
- ucidef_set_led_rssi "rssilow" "RSSILOW" "tp-link:green:link1" "wlan0" "1" "100"
- ucidef_set_led_rssi "rssimediumlow" "RSSIMEDIUMLOW" "tp-link:green:link2" "wlan0" "30" "100"
- ucidef_set_led_rssi "rssimediumhigh" "RSSIMEDIUMHIGH" "tp-link:green:link3" "wlan0" "60" "100"
- ucidef_set_led_rssi "rssihigh" "RSSIHIGH" "tp-link:green:link4" "wlan0" "80" "100"
+ ucidef_set_led_rssi "rssilow" "RSSILOW" "green:link1" "wlan0" "1" "100"
+ ucidef_set_led_rssi "rssimediumlow" "RSSIMEDIUMLOW" "green:link2" "wlan0" "30" "100"
+ ucidef_set_led_rssi "rssimediumhigh" "RSSIMEDIUMHIGH" "green:link3" "wlan0" "60" "100"
+ ucidef_set_led_rssi "rssihigh" "RSSIHIGH" "green:link4" "wlan0" "80" "100"
;;
tplink,cpe210-v2|\
tplink,cpe210-v3)
- ucidef_set_led_netdev "lan" "LAN" "tp-link:green:lan" "eth0"
+ ucidef_set_led_netdev "lan" "LAN" "green:lan" "eth0"
ucidef_set_rssimon "wlan0" "200000" "1"
- ucidef_set_led_rssi "rssilow" "RSSILOW" "tp-link:green:link1" "wlan0" "1" "100"
- ucidef_set_led_rssi "rssimediumlow" "RSSIMEDIUMLOW" "tp-link:green:link2" "wlan0" "30" "100"
- ucidef_set_led_rssi "rssimediumhigh" "RSSIMEDIUMHIGH" "tp-link:green:link3" "wlan0" "60" "100"
- ucidef_set_led_rssi "rssihigh" "RSSIHIGH" "tp-link:green:link4" "wlan0" "80" "100"
+ ucidef_set_led_rssi "rssilow" "RSSILOW" "green:link1" "wlan0" "1" "100"
+ ucidef_set_led_rssi "rssimediumlow" "RSSIMEDIUMLOW" "green:link2" "wlan0" "30" "100"
+ ucidef_set_led_rssi "rssimediumhigh" "RSSIMEDIUMHIGH" "green:link3" "wlan0" "60" "100"
+ ucidef_set_led_rssi "rssihigh" "RSSIHIGH" "green:link4" "wlan0" "80" "100"
;;
tplink,cpe510-v2|\
tplink,cpe510-v3)
- ucidef_set_led_netdev "lan" "LAN" "tp-link:green:lan" "eth0"
+ ucidef_set_led_netdev "lan" "LAN" "green:lan" "eth0"
ucidef_set_rssimon "wlan0" "200000" "1"
- ucidef_set_led_rssi "rssilow" "RSSILOW" "tp-link:green:link1" "wlan0" "1" "100" "0" "13"
- ucidef_set_led_rssi "rssimediumlow" "RSSIMEDIUMLOW" "tp-link:green:link2" "wlan0" "26" "100" "-25" "13"
- ucidef_set_led_rssi "rssimediumhigh" "RSSIMEDIUMHIGH" "tp-link:green:link3" "wlan0" "51" "100" "-50" "13"
- ucidef_set_led_rssi "rssihigh" "RSSIHIGH" "tp-link:green:link4" "wlan0" "76" "100" "-75" "13"
- ;;
-tplink,cpe610-v1|\
-tplink,cpe610-v2)
- ucidef_set_led_netdev "lan" "LAN" "tp-link:green:lan" "eth0"
+ ucidef_set_led_rssi "rssilow" "RSSILOW" "green:link1" "wlan0" "1" "100" "0" "13"
+ ucidef_set_led_rssi "rssimediumlow" "RSSIMEDIUMLOW" "green:link2" "wlan0" "26" "100" "-25" "13"
+ ucidef_set_led_rssi "rssimediumhigh" "RSSIMEDIUMHIGH" "green:link3" "wlan0" "51" "100" "-50" "13"
+ ucidef_set_led_rssi "rssihigh" "RSSIHIGH" "green:link4" "wlan0" "76" "100" "-75" "13"
;;
tplink,tl-wr902ac-v1)
- ucidef_set_led_netdev "lan" "LAN" "tp-link:green:lan" "eth0"
- ucidef_set_led_netdev "internet" "Internet" "tp-link:green:internet" "eth0"
+ ucidef_set_led_netdev "lan" "LAN" "green:lan" "eth0"
+ ucidef_set_led_netdev "internet" "Internet" "green:internet" "eth0"
;;
tplink,re355-v1|\
tplink,re450-v1|\
tplink,re450-v2|\
tplink,re450-v3)
- ucidef_set_led_netdev "lan_data" "LAN Data" "tp-link:green:lan_data" "eth0" "tx rx"
- ucidef_set_led_netdev "lan_link" "LAN Link" "tp-link:green:lan_link" "eth0" "link"
+ ucidef_set_led_netdev "lan_data" "LAN Data" "green:lan_data" "eth0" "tx rx"
+ ucidef_set_led_netdev "lan_link" "LAN Link" "green:lan_link" "eth0" "link"
;;
tplink,tl-mr6400-v1)
- ucidef_set_led_switch "lan" "LAN" "tp-link:white:lan" "switch0" "0x0e"
- ucidef_set_led_netdev "wan" "WAN" "tp-link:white:wan" "eth1"
- ucidef_set_led_netdev "4g" "4G" "tp-link:white:4g" "usb0"
+ ucidef_set_led_switch "lan" "LAN" "white:lan" "switch0" "0x0e"
+ ucidef_set_led_netdev "wan" "WAN" "white:wan" "eth1"
+ ucidef_set_led_netdev "4g" "4G" "white:4g" "usb0"
;;
tplink,tl-wpa8630-v1|\
tplink,tl-wpa8630p-v2-eu|\
tplink,tl-wpa8630p-v2-int)
- ucidef_set_led_switch "lan" "LAN" "tp-link:green:lan" "switch0" "0x3c"
+ ucidef_set_led_switch "lan" "LAN" "green:lan" "switch0" "0x3c"
;;
tplink,tl-wr842n-v2)
- ucidef_set_led_netdev "wan" "WAN" "tp-link:green:wan" "eth1"
- ucidef_set_led_switch "lan1" "LAN1" "tp-link:green:lan1" "switch0" "0x04"
- ucidef_set_led_switch "lan2" "LAN2" "tp-link:green:lan2" "switch0" "0x08"
- ucidef_set_led_switch "lan3" "LAN3" "tp-link:green:lan3" "switch0" "0x10"
- ucidef_set_led_switch "lan4" "LAN4" "tp-link:green:lan4" "switch0" "0x02"
+ ucidef_set_led_netdev "wan" "WAN" "green:wan" "eth1"
+ ucidef_set_led_switch "lan1" "LAN1" "green:lan1" "switch0" "0x04"
+ ucidef_set_led_switch "lan2" "LAN2" "green:lan2" "switch0" "0x08"
+ ucidef_set_led_switch "lan3" "LAN3" "green:lan3" "switch0" "0x10"
+ ucidef_set_led_switch "lan4" "LAN4" "green:lan4" "switch0" "0x02"
;;
trendnet,tew-823dru)
- ucidef_set_led_netdev "wan" "WAN" "trendnet:green:planet" "eth0"
+ ucidef_set_led_netdev "wan" "WAN" "green:planet" "eth0"
;;
ubnt,bullet-m-ar7240|\
ubnt,bullet-m-ar7241|\
ubnt,powerbridge-m|\
ubnt,rocket-m)
ucidef_set_rssimon "wlan0" "200000" "1"
- ucidef_set_led_rssi "rssilow" "RSSILOW" "ubnt:red:link1" "wlan0" "1" "100"
- ucidef_set_led_rssi "rssimediumlow" "RSSIMEDIUMLOW" "ubnt:orange:link2" "wlan0" "26" "100"
- ucidef_set_led_rssi "rssimediumhigh" "RSSIMEDIUMHIGH" "ubnt:green:link3" "wlan0" "51" "100"
- ucidef_set_led_rssi "rssihigh" "RSSIHIGH" "ubnt:green:link4" "wlan0" "76" "100"
+ ucidef_set_led_rssi "rssilow" "RSSILOW" "red:link1" "wlan0" "1" "100"
+ ucidef_set_led_rssi "rssimediumlow" "RSSIMEDIUMLOW" "orange:link2" "wlan0" "26" "100"
+ ucidef_set_led_rssi "rssimediumhigh" "RSSIMEDIUMHIGH" "green:link3" "wlan0" "51" "100"
+ ucidef_set_led_rssi "rssihigh" "RSSIHIGH" "green:link4" "wlan0" "76" "100"
;;
ubnt,nanobeam-ac|\
ubnt,nanostation-ac|\
ubnt,powerbeam-5ac-gen2)
ucidef_set_rssimon "wlan0" "200000" "1"
- ucidef_set_led_rssi "rssilow" "RSSILOW" "ubnt:blue:rssi0" "wlan0" "1" "100"
- ucidef_set_led_rssi "rssimediumlow" "RSSIMEDIUMLOW" "ubnt:blue:rssi1" "wlan0" "26" "100"
- ucidef_set_led_rssi "rssimediumhigh" "RSSIMEDIUMHIGH" "ubnt:blue:rssi2" "wlan0" "51" "100"
- ucidef_set_led_rssi "rssihigh" "RSSIHIGH" "ubnt:blue:rssi3" "wlan0" "76" "100"
+ ucidef_set_led_rssi "rssilow" "RSSILOW" "blue:rssi0" "wlan0" "1" "100"
+ ucidef_set_led_rssi "rssimediumlow" "RSSIMEDIUMLOW" "blue:rssi1" "wlan0" "26" "100"
+ ucidef_set_led_rssi "rssimediumhigh" "RSSIMEDIUMHIGH" "blue:rssi2" "wlan0" "51" "100"
+ ucidef_set_led_rssi "rssihigh" "RSSIHIGH" "blue:rssi3" "wlan0" "76" "100"
;;
wallys,dr531)
- ucidef_set_led_netdev "lan" "LAN" "$boardname:green:lan" "eth0"
- ucidef_set_led_switch "wan" "WAN" "$boardname:green:wan" "switch0" "0x2"
+ ucidef_set_led_netdev "lan" "LAN" "green:lan" "eth0"
+ ucidef_set_led_switch "wan" "WAN" "green:wan" "switch0" "0x2"
ucidef_set_rssimon "wlan0" "200000" "1"
- ucidef_set_led_rssi "sig1" "SIG1" "$boardname:green:sig1" "wlan0" "1" "100"
- ucidef_set_led_rssi "sig2" "SIG2" "$boardname:green:sig2" "wlan0" "25" "100"
- ucidef_set_led_rssi "sig3" "SIG3" "$boardname:green:sig3" "wlan0" "50" "100"
- ucidef_set_led_rssi "sig4" "SIG4" "$boardname:green:sig4" "wlan0" "75" "100"
+ ucidef_set_led_rssi "sig1" "SIG1" "green:sig1" "wlan0" "1" "100"
+ ucidef_set_led_rssi "sig2" "SIG2" "green:sig2" "wlan0" "25" "100"
+ ucidef_set_led_rssi "sig3" "SIG3" "green:sig3" "wlan0" "50" "100"
+ ucidef_set_led_rssi "sig4" "SIG4" "green:sig4" "wlan0" "75" "100"
;;
wd,mynet-wifi-rangeextender)
- ucidef_set_led_netdev "lan" "LAN" "$boardname:green:lan" "eth0"
+ ucidef_set_led_netdev "lan" "LAN" "green:lan" "eth0"
ucidef_set_rssimon "wlan0" "200000" "1"
- ucidef_set_led_rssi "rssilow" "RSSILOW" "$boardname:blue:rssi-low" "wlan0" "1" "100"
- ucidef_set_led_rssi "rssimedium" "RSSIMED" "$boardname:blue:rssi-med" "wlan0" "33" "100"
- ucidef_set_led_rssi "rssihigh" "RSSIMAX" "$boardname:blue:rssi-max" "wlan0" "66" "100"
+ ucidef_set_led_rssi "rssilow" "RSSILOW" "blue:rssi-low" "wlan0" "1" "100"
+ ucidef_set_led_rssi "rssimedium" "RSSIMED" "blue:rssi-med" "wlan0" "33" "100"
+ ucidef_set_led_rssi "rssihigh" "RSSIMAX" "blue:rssi-max" "wlan0" "66" "100"
;;
yuncore,a770)
- ucidef_set_led_netdev "wan" "WAN" "$boardname:green:wan" "eth1"
- ucidef_set_led_switch "lan" "LAN" "$boardname:green:lan" "switch0" "0x10"
+ ucidef_set_led_netdev "wan" "WAN" "green:wan" "eth1"
+ ucidef_set_led_switch "lan" "LAN" "green:lan" "switch0" "0x10"
;;
zbtlink,zbt-wd323)
- ucidef_set_led_switch "lan1" "LAN1" "zbt-wd323:orange:lan1" "switch0" "0x10"
- ucidef_set_led_switch "lan2" "LAN2" "zbt-wd323:orange:lan2" "switch0" "0x08"
+ ucidef_set_led_switch "lan1" "LAN1" "orange:lan1" "switch0" "0x10"
+ ucidef_set_led_switch "lan2" "LAN2" "orange:lan2" "switch0" "0x08"
;;
esac
. /lib/functions/migrations.sh
board=$(board_name)
-boardonly="${board##*,}"
case "$board" in
-arduino,yun)
- migrate_leds "arduino:=yun:"
- ;;
dlink,dap-1330-a1)
- migrate_leds ":red:power=:red:status" \
- ":red:wifi=:red:rssilow" \
- ":green:wifi=:green:rssimediumlow" \
- ":green:signal1=:green:rssimediumhigh" \
- ":green:signal2=:green:rssihigh"
+ migrate_leds "red:power=red:status" \
+ "red:wifi=red:rssilow" \
+ "green:wifi=green:rssimediumlow" \
+ "green:signal1=green:rssimediumhigh" \
+ "green:signal2=green:rssihigh"
;;
engenius,epg5000)
migrate_leds ":wlan-2g=:wlan2g" ":wlan-5g=:wlan5g"
tplink,tl-wdr4300-v1|\
tplink,tl-wdr4300-v1-il|\
tplink,tl-wdr4310-v1)
- migrate_leds ":blue:=:green:"
- ;;
-tplink,archer-c25-v1|\
-tplink,archer-c58-v1|\
-tplink,archer-c59-v1|\
-tplink,archer-c59-v2|\
-tplink,archer-c60-v1|\
-tplink,archer-c60-v2|\
-tplink,archer-c7-v4|\
-tplink,archer-c7-v5|\
-tplink,tl-wr902ac-v1)
- migrate_leds "^$boardonly:=tp-link:"
- ;;
-tplink,re355-v1)
- migrate_leds "re355:=tp-link:"
- ;;
-tplink,re450-v1)
- migrate_leds "re450:=tp-link:"
+ migrate_leds "blue:=green:"
;;
tplink,tl-wpa8630-v1)
- migrate_leds "^tl-wpa8630:=tp-link:" \
- ':wlan$=:wifi2g' ':wlan5$=:wifi5g'
- ;;
-wd,mynet-n750)
- migrate_leds "wd:=mynet-n750:"
+ migrate_leds ':wlan$=:wifi2g' ':wlan5$=:wifi5g'
;;
esac
+remove_devicename_leds
+
migrations_apply system
exit 0
board_config_update
board=$(board_name)
-boardname="${board##*,}"
case "$board" in
mikrotik,routerboard-lhg-2nd)
- ucidef_set_led_netdev "lan" "lan" "mikrotik:green:lan" "eth0"
+ ucidef_set_led_netdev "lan" "lan" "green:lan" "eth0"
;;
mikrotik,routerboard-sxt-5nd-r2)
ucidef_set_rssimon "wlan0" "200000" "1"
- ucidef_set_led_rssi "rssilow" "rssilow" "sxt5n:green:rssilow" "wlan0" "1" "100"
- ucidef_set_led_rssi "rssimediumlow" "rssimediumlow" "sxt5n:green:rssimediumlow" "wlan0" "20" "100"
- ucidef_set_led_rssi "rssimedium" "rssimedium" "sxt5n:green:rssimedium" "wlan0" "40" "100"
- ucidef_set_led_rssi "rssimediumhigh" "rssimediumhigh" "sxt5n:green:rssimediumhigh" "wlan0" "60" "100"
- ucidef_set_led_rssi "rssihigh" "rssihigh" "sxt5n:green:rssihigh" "wlan0" "80" "100"
+ ucidef_set_led_rssi "rssilow" "rssilow" "green:rssilow" "wlan0" "1" "100"
+ ucidef_set_led_rssi "rssimediumlow" "rssimediumlow" "green:rssimediumlow" "wlan0" "20" "100"
+ ucidef_set_led_rssi "rssimedium" "rssimedium" "green:rssimedium" "wlan0" "40" "100"
+ ucidef_set_led_rssi "rssimediumhigh" "rssimediumhigh" "green:rssimediumhigh" "wlan0" "60" "100"
+ ucidef_set_led_rssi "rssihigh" "rssihigh" "green:rssihigh" "wlan0" "80" "100"
;;
esac
. /lib/functions/migrations.sh
board=$(board_name)
-boardonly="${board##*,}"
case "$board" in
-mikrotik,*)
- migrate_leds "^rb:=mikrotik:"
- ;;
esac
+remove_devicename_leds
+
migrations_apply system
exit 0
board_config_update
board=$(board_name)
-boardname="${board##*,}"
case "$board" in
glinet,gl-ar300m-nand|\
glinet,gl-ar300m-nor)
- ucidef_set_led_netdev "lan" "LAN" "gl-ar300m:green:lan" "eth0"
+ ucidef_set_led_netdev "lan" "LAN" "green:lan" "eth0"
;;
netgear,wndr3700-v4|\
netgear,wndr4300|\
netgear,wndr4300sw|\
netgear,wndr4300-v2|\
netgear,wndr4500-v3)
- ucidef_set_led_switch "wan-amber" "WAN (amber)" "netgear:amber:wan" "switch0" "0x20"
+ ucidef_set_led_switch "wan-amber" "WAN (amber)" "amber:wan" "switch0" "0x20"
;;
esac
--- /dev/null
+. /lib/functions.sh
+. /lib/functions/migrations.sh
+
+board=$(board_name)
+
+case "$board" in
+esac
+
+remove_devicename_leds
+
+migrations_apply system
+
+exit 0
board_config_update
board=$(board_name)
-boardname="${board##*,}"
case "$board" in
-buffalo,whr-g301n)
- ucidef_set_led_netdev "wan" "WAN" "$boardname:green:wan" "eth0"
- ucidef_set_led_switch "lan1" "LAN1" "$boardname:green:lan1" "switch0" "0x02"
- ucidef_set_led_switch "lan2" "LAN2" "$boardname:green:lan2" "switch0" "0x04"
- ucidef_set_led_switch "lan3" "LAN3" "$boardname:green:lan3" "switch0" "0x08"
- ucidef_set_led_switch "lan4" "LAN4" "$boardname:green:lan4" "switch0" "0x10"
- ;;
-dlink,dir-615-e4)
- ucidef_set_led_netdev "wan" "WAN" "d-link:green:wan" "eth0"
- ucidef_set_led_switch "lan1" "LAN1" "d-link:green:lan1" "switch0" "0x02"
- ucidef_set_led_switch "lan2" "LAN2" "d-link:green:lan2" "switch0" "0x04"
- ucidef_set_led_switch "lan3" "LAN3" "d-link:green:lan3" "switch0" "0x08"
- ucidef_set_led_switch "lan4" "LAN4" "d-link:green:lan4" "switch0" "0x10"
+buffalo,whr-g301n|\
+dlink,dir-615-e4|\
+tplink,tl-wr740n-v1|\
+tplink,tl-wr740n-v3|\
+tplink,tl-wr741-v1|\
+tplink,tl-wr743nd-v1|\
+tplink,tl-wr841-v5|\
+tplink,tl-wr941-v4)
+ ucidef_set_led_netdev "wan" "WAN" "green:wan" "eth0"
+ ucidef_set_led_switch "lan1" "LAN1" "green:lan1" "switch0" "0x02"
+ ucidef_set_led_switch "lan2" "LAN2" "green:lan2" "switch0" "0x04"
+ ucidef_set_led_switch "lan3" "LAN3" "green:lan3" "switch0" "0x08"
+ ucidef_set_led_switch "lan4" "LAN4" "green:lan4" "switch0" "0x10"
;;
netgear,wnr1000-v2|\
netgear,wnr2000-v3)
- ucidef_set_led_netdev "wan-amber" "WAN (amber)" "netgear:amber:wan" "eth0"
- ucidef_set_led_switch "lan1green" "LAN1 (green)" "netgear:green:lan1" "switch0" "0x02" "0x04"
- ucidef_set_led_switch "lan2green" "LAN2 (green)" "netgear:green:lan2" "switch0" "0x04" "0x04"
- ucidef_set_led_switch "lan3green" "LAN3 (green)" "netgear:green:lan3" "switch0" "0x08" "0x04"
- ucidef_set_led_switch "lan4green" "LAN4 (green)" "netgear:green:lan4" "switch0" "0x10" "0x04"
- ucidef_set_led_switch "lan1amber" "LAN1 (amber)" "netgear:amber:lan1" "switch0" "0x02" "0x02"
- ucidef_set_led_switch "lan2amber" "LAN2 (amber)" "netgear:amber:lan2" "switch0" "0x04" "0x02"
- ucidef_set_led_switch "lan3amber" "LAN3 (amber)" "netgear:amber:lan3" "switch0" "0x08" "0x02"
- ucidef_set_led_switch "lan4amber" "LAN4 (amber)" "netgear:amber:lan4" "switch0" "0x10" "0x02"
+ ucidef_set_led_netdev "wan-amber" "WAN (amber)" "amber:wan" "eth0"
+ ucidef_set_led_switch "lan1green" "LAN1 (green)" "green:lan1" "switch0" "0x02" "0x04"
+ ucidef_set_led_switch "lan2green" "LAN2 (green)" "green:lan2" "switch0" "0x04" "0x04"
+ ucidef_set_led_switch "lan3green" "LAN3 (green)" "green:lan3" "switch0" "0x08" "0x04"
+ ucidef_set_led_switch "lan4green" "LAN4 (green)" "green:lan4" "switch0" "0x10" "0x04"
+ ucidef_set_led_switch "lan1amber" "LAN1 (amber)" "amber:lan1" "switch0" "0x02" "0x02"
+ ucidef_set_led_switch "lan2amber" "LAN2 (amber)" "amber:lan2" "switch0" "0x04" "0x02"
+ ucidef_set_led_switch "lan3amber" "LAN3 (amber)" "amber:lan3" "switch0" "0x08" "0x02"
+ ucidef_set_led_switch "lan4amber" "LAN4 (amber)" "amber:lan4" "switch0" "0x10" "0x02"
;;
netgear,wnr612-v2|\
on,n150r)
- ucidef_set_led_netdev "wan" "WAN" "netgear:green:wan" "eth0"
- ucidef_set_led_switch "lan1" "LAN1" "netgear:green:lan1" "switch0" "0x02" "0x0f"
- ucidef_set_led_switch "lan2" "LAN2" "netgear:green:lan2" "switch0" "0x04" "0x0f"
+ ucidef_set_led_netdev "wan" "WAN" "green:wan" "eth0"
+ ucidef_set_led_switch "lan1" "LAN1" "green:lan1" "switch0" "0x02" "0x0f"
+ ucidef_set_led_switch "lan2" "LAN2" "green:lan2" "switch0" "0x04" "0x0f"
;;
tplink,tl-mr3020-v1|\
tplink,tl-mr3040-v2|\
tplink,tl-wa901nd-v3|\
tplink,tl-wa901nd-v4|\
tplink,tl-wa901nd-v5)
- ucidef_set_led_netdev "lan" "LAN" "tp-link:green:lan" "eth0"
+ ucidef_set_led_netdev "lan" "LAN" "green:lan" "eth0"
;;
tplink,tl-mr3420-v2|\
tplink,tl-wr740n-v4|\
tplink,tl-wr740n-v5|\
tplink,tl-wr741nd-v4|\
tplink,tl-wr841-v8)
- ucidef_set_led_netdev "wan" "WAN" "tp-link:green:wan" "eth1"
- ucidef_set_led_switch "lan1" "LAN1" "tp-link:green:lan1" "switch0" "0x04"
- ucidef_set_led_switch "lan2" "LAN2" "tp-link:green:lan2" "switch0" "0x08"
- ucidef_set_led_switch "lan3" "LAN3" "tp-link:green:lan3" "switch0" "0x10"
- ucidef_set_led_switch "lan4" "LAN4" "tp-link:green:lan4" "switch0" "0x02"
+ ucidef_set_led_netdev "wan" "WAN" "green:wan" "eth1"
+ ucidef_set_led_switch "lan1" "LAN1" "green:lan1" "switch0" "0x04"
+ ucidef_set_led_switch "lan2" "LAN2" "green:lan2" "switch0" "0x08"
+ ucidef_set_led_switch "lan3" "LAN3" "green:lan3" "switch0" "0x10"
+ ucidef_set_led_switch "lan4" "LAN4" "green:lan4" "switch0" "0x02"
;;
tplink,tl-mr3420-v3|\
tplink,tl-wr841-v9|\
tplink,tl-wr841-v10|\
tplink,tl-wr841-v11|\
tplink,tl-wr841-v12)
- ucidef_set_led_netdev "wan" "WAN" "tp-link:green:wan" "eth1"
- ucidef_set_led_switch "lan1" "LAN1" "tp-link:green:lan1" "switch0" "0x10"
- ucidef_set_led_switch "lan2" "LAN2" "tp-link:green:lan2" "switch0" "0x08"
- ucidef_set_led_switch "lan3" "LAN3" "tp-link:green:lan3" "switch0" "0x04"
- ucidef_set_led_switch "lan4" "LAN4" "tp-link:green:lan4" "switch0" "0x02"
+ ucidef_set_led_netdev "wan" "WAN" "green:wan" "eth1"
+ ucidef_set_led_switch "lan1" "LAN1" "green:lan1" "switch0" "0x10"
+ ucidef_set_led_switch "lan2" "LAN2" "green:lan2" "switch0" "0x08"
+ ucidef_set_led_switch "lan3" "LAN3" "green:lan3" "switch0" "0x04"
+ ucidef_set_led_switch "lan4" "LAN4" "green:lan4" "switch0" "0x02"
;;
tplink,tl-wa850re-v1|\
tplink,tl-wa850re-v2)
- ucidef_set_led_netdev "lan" "LAN" "tp-link:blue:lan" "eth0"
+ ucidef_set_led_netdev "lan" "LAN" "blue:lan" "eth0"
ucidef_set_rssimon "wlan0" "200000" "1"
- ucidef_set_led_rssi "rssilow" "RSSILOW" "tp-link:blue:signal1" "wlan0" "1" "100"
- ucidef_set_led_rssi "rssimediumlow" "RSSIMEDIUMLOW" "tp-link:blue:signal2" "wlan0" "20" "100"
- ucidef_set_led_rssi "rssimedium" "RSSIMEDIUM" "tp-link:blue:signal3" "wlan0" "40" "100"
- ucidef_set_led_rssi "rssimediumhigh" "RSSIMEDIUMHIGH" "tp-link:blue:signal4" "wlan0" "60" "100"
- ucidef_set_led_rssi "rssihigh" "RSSIHIGH" "tp-link:blue:signal5" "wlan0" "80" "100"
- ;;
-tplink,tl-wr740n-v1|\
-tplink,tl-wr740n-v3|\
-tplink,tl-wr741-v1|\
-tplink,tl-wr743nd-v1|\
-tplink,tl-wr841-v5|\
-tplink,tl-wr941-v4)
- ucidef_set_led_netdev "wan" "WAN" "tp-link:green:wan" "eth0"
- ucidef_set_led_switch "lan1" "LAN1" "tp-link:green:lan1" "switch0" "0x02"
- ucidef_set_led_switch "lan2" "LAN2" "tp-link:green:lan2" "switch0" "0x04"
- ucidef_set_led_switch "lan3" "LAN3" "tp-link:green:lan3" "switch0" "0x08"
- ucidef_set_led_switch "lan4" "LAN4" "tp-link:green:lan4" "switch0" "0x10"
+ ucidef_set_led_rssi "rssilow" "RSSILOW" "blue:signal1" "wlan0" "1" "100"
+ ucidef_set_led_rssi "rssimediumlow" "RSSIMEDIUMLOW" "blue:signal2" "wlan0" "20" "100"
+ ucidef_set_led_rssi "rssimedium" "RSSIMEDIUM" "blue:signal3" "wlan0" "40" "100"
+ ucidef_set_led_rssi "rssimediumhigh" "RSSIMEDIUMHIGH" "blue:signal4" "wlan0" "60" "100"
+ ucidef_set_led_rssi "rssihigh" "RSSIHIGH" "blue:signal5" "wlan0" "80" "100"
;;
tplink,tl-wr940n-v3|\
tplink,tl-wr940n-v4|\
tplink,tl-wr941nd-v6)
- ucidef_set_led_netdev "wan" "WAN" "tp-link:blue:wan" "eth1"
- ucidef_set_led_switch "lan1" "LAN1" "tp-link:blue:lan1" "switch0" "0x10"
- ucidef_set_led_switch "lan2" "LAN2" "tp-link:blue:lan2" "switch0" "0x08"
- ucidef_set_led_switch "lan3" "LAN3" "tp-link:blue:lan3" "switch0" "0x04"
- ucidef_set_led_switch "lan4" "LAN4" "tp-link:blue:lan4" "switch0" "0x02"
+ ucidef_set_led_netdev "wan" "WAN" "blue:wan" "eth1"
+ ucidef_set_led_switch "lan1" "LAN1" "blue:lan1" "switch0" "0x10"
+ ucidef_set_led_switch "lan2" "LAN2" "blue:lan2" "switch0" "0x08"
+ ucidef_set_led_switch "lan3" "LAN3" "blue:lan3" "switch0" "0x04"
+ ucidef_set_led_switch "lan4" "LAN4" "blue:lan4" "switch0" "0x02"
;;
tplink,tl-wr940n-v6)
- ucidef_set_led_netdev "wan" "WAN" "tp-link:blue:wan" "eth1"
+ ucidef_set_led_netdev "wan" "WAN" "blue:wan" "eth1"
;;
esac
. /lib/functions/migrations.sh
board=$(board_name)
-boardonly="${board##*,}"
case "$board" in
tplink,tl-wr802n-v1)
- migrate_leds ":blue:=:green:"
- ;;
-tplink,tl-wr802n-v2)
- migrate_leds "^$boardonly:=tp-link:"
+ migrate_leds "blue:=green:"
;;
esac
+remove_devicename_leds
+
migrations_apply system
exit 0