gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
};
- wireless {
- label = "green:wireless";
- gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "phy0tpt";
- };
-
led_security: security {
label = "amber:security";
gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
nvmem-cells = <&cal_art_11000>;
nvmem-cell-names = "calibration";
+
+ led {
+ led-sources = <6>;
+ led-active-low;
+ };
};
&uart {
label = "green:qss";
gpios = <&gpio 4 GPIO_ACTIVE_HIGH>;
};
-
- wlan {
- function = LED_FUNCTION_WLAN;
- color = <LED_COLOR_ID_GREEN>;
- gpios = <&gpio 9 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "phy0tpt";
- };
};
};
nvmem-cells = <&macaddr_uboot_1fc00>, <&cal_art_1000>;
nvmem-cell-names = "mac-address", "calibration";
+
+ led {
+ led-sources = <9>;
+ led-active-low;
+ };
};
label = "green:qss";
gpios = <&gpio 5 GPIO_ACTIVE_HIGH>;
};
-
- wlan {
- function = LED_FUNCTION_WLAN;
- color = <LED_COLOR_ID_GREEN>;
- gpios = <&gpio 9 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "phy0tpt";
- };
};
rtl8366rb {
nvmem-cells = <&macaddr_uboot_1fc00>, <&cal_art_1000>;
nvmem-cell-names = "mac-address", "calibration";
+
+ led {
+ led-sources = <9>;
+ led-active-low;
+ };
};
label = "green:qss";
gpios = <&gpio 5 GPIO_ACTIVE_HIGH>;
};
-
- wlan {
- function = LED_FUNCTION_WLAN;
- color = <LED_COLOR_ID_GREEN>;
- gpios = <&gpio 9 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "phy0tpt";
- };
};
};
nvmem-cells = <&macaddr_uboot_1fc00>, <&cal_art_1000>;
nvmem-cell-names = "mac-address", "calibration";
+
+ led {
+ led-sources = <9>;
+ led-active-low;
+ };
};
leds {
compatible = "gpio-leds";
- wlan {
- function = LED_FUNCTION_WLAN;
- color = <LED_COLOR_ID_ORANGE>;
- gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
- linux,default-trigger = "phy0tpt";
- };
-
configurable {
label = "green:configurable";
gpios = <&gpio 13 GPIO_ACTIVE_HIGH>;
nvmem-cells = <&macaddr_art_0>, <&cal_art_1000>;
nvmem-cell-names = "mac-address", "calibration";
+
+ led {
+ led-sources = <0>;
+ };
};
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
};
- wifi_green {
- label = "green:wifi";
- gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "phy0tpt";
- };
-
wifi_red {
label = "red:wifi";
gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
nvmem-cells = <&cal_art_1000>;
nvmem-cell-names = "calibration";
+
+ led {
+ led-sources = <15>;
+ led-active-low;
+ };
};
leds {
compatible = "gpio-leds";
- wlan {
- function = LED_FUNCTION_WLAN;
- color = <LED_COLOR_ID_GREEN>;
- gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
- linux,default-trigger = "phy0tpt";
- };
-
rssi1 {
label = "green:rssi1";
gpios = <&gpio 20 GPIO_ACTIVE_HIGH>;
nvmem-cells = <&cal_art_1000>;
nvmem-cell-names = "calibration";
+
+ led {
+ led-sources = <0>;
+ };
};
leds {
compatible = "gpio-leds";
- wlan {
- function = LED_FUNCTION_WLAN;
- color = <LED_COLOR_ID_GREEN>;
- gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "phy0tpt";
- };
-
eth0 {
label = "orange:eth0";
gpios = <&gpio 13 GPIO_ACTIVE_HIGH>;
nvmem-cells = <&macaddr_art_6>, <&cal_art_1000>;
nvmem-cell-names = "mac-address", "calibration";
+
+ led {
+ led-sources = <0>;
+ led-active-low;
+ };
};
label = "green:vpn";
gpios = <&gpio 27 GPIO_ACTIVE_LOW>;
};
-
- wlan {
- function = LED_FUNCTION_WLAN;
- color = <LED_COLOR_ID_GREEN>;
- gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
- linux,default-trigger = "phy0tpt";
- };
};
};
nvmem-cells = <&cal_art_1000>;
nvmem-cell-names = "calibration";
+
+ led {
+ led-sources = <0>;
+ };
};
leds {
compatible = "gpio-leds";
- wlan {
- function = LED_FUNCTION_WLAN;
- color = <LED_COLOR_ID_BLUE>;
- gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
- linux,default-trigger = "phy0tpt";
- };
-
usb {
function = LED_FUNCTION_USB;
color = <LED_COLOR_ID_WHITE>;
nvmem-cells = <&cal_art_1000>;
nvmem-cell-names = "calibration";
+
+ led {
+ led-sources = <0>;
+ };
};
label = "red:eth0";
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
};
-
- wlan {
- function = LED_FUNCTION_WLAN;
- color = <LED_COLOR_ID_RED>;
- gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "phy0tpt";
- };
};
};
nvmem-cells = <&cal_art_1000>;
nvmem-cell-names = "calibration";
+
+ led {
+ led-sources = <0>;
+ led-active-low;
+ };
};
leds {
compatible = "gpio-leds";
- wlan {
- function = LED_FUNCTION_WLAN;
- color = <LED_COLOR_ID_RED>;
- gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
- linux,default-trigger = "phy0tpt";
- };
-
lan {
function = LED_FUNCTION_LAN;
color = <LED_COLOR_ID_GREEN>;
&wmac {
status = "okay";
+
+ led {
+ led-sources = <0>;
+ };
};
leds {
compatible = "gpio-leds";
- wlan {
- function = LED_FUNCTION_WLAN;
- color = <LED_COLOR_ID_GREEN>;
- gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
- linux,default-trigger = "phy0tpt";
- };
-
lan {
function = LED_FUNCTION_LAN;
color = <LED_COLOR_ID_GREEN>;
nvmem-cells = <&cal_art_1000>;
nvmem-cell-names = "calibration";
+
+ led {
+ led-sources = <1>;
+ };
};
leds {
compatible = "gpio-leds";
- wlan {
- function = LED_FUNCTION_WLAN;
- color = <LED_COLOR_ID_GREEN>;
- gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
- linux,default-trigger = "phy0tpt";
- };
-
led_power: power {
function = LED_FUNCTION_POWER;
color = <LED_COLOR_ID_GREEN>;
nvmem-cells = <&cal_art_1000>;
nvmem-cell-names = "calibration";
+
+ led {
+ led-sources = <0>;
+ };
};
leds {
compatible = "gpio-leds";
- wlan {
- function = LED_FUNCTION_WLAN;
- color = <LED_COLOR_ID_GREEN>;
- gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
- linux,default-trigger = "phy0tpt";
- };
-
lan {
function = LED_FUNCTION_LAN;
color = <LED_COLOR_ID_GREEN>;
nvmem-cells = <&macaddr_uboot_1fc00>, <&cal_art_1000>;
nvmem-cell-names = "mac-address", "calibration";
+
+ led {
+ led-sources = <0>;
+ };
};
pinctrl-names = "default";
pinctrl-0 = <&switch_led_disable_pins>;
- wlan {
- function = LED_FUNCTION_WLAN;
- color = <LED_COLOR_ID_GREEN>;
- gpios = <&gpio 26 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "phy0tpt";
- };
-
led_lan: lan {
function = LED_FUNCTION_LAN;
color = <LED_COLOR_ID_GREEN>;
nvmem-cells = <&macaddr_uboot_1fc00>, <&cal_art_1000>;
nvmem-cell-names = "mac-address", "calibration";
+
+ led {
+ led-sources = <26>;
+ led-active-low;
+ };
};
color = <LED_COLOR_ID_GREEN>;
gpios = <&gpio 13 GPIO_ACTIVE_HIGH>;
};
-
- wlan {
- function = LED_FUNCTION_WLAN;
- color = <LED_COLOR_ID_GREEN>;
- gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
- linux,default-trigger = "phy0tpt";
- };
};
};
nvmem-cells = <&macaddr_uboot_1fc00 0>, <&cal_art_1000>;
nvmem-cell-names = "mac-address", "calibration";
+
+ led {
+ led-sources = <0>;
+ };
};
gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
default-state = "on";
};
-
- wlan {
- function = LED_FUNCTION_WLAN;
- color = <LED_COLOR_ID_BLUE>;
- gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "phy0tpt";
- };
};
};
nvmem-cells = <&cal_art_1000>;
nvmem-cell-names = "calibration";
+
+ led {
+ led-sources = <17>;
+ led-active-low;
+ };
};
&art {
default-state = "on";
};
- wlan {
- function = LED_FUNCTION_WLAN;
- color = <LED_COLOR_ID_AMBER>;
- gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "phy0tpt";
- };
-
rssilow {
label = "red:rssilow";
gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
nvmem-cells = <&cal_art_1000>;
nvmem-cell-names = "calibration";
+
+ led {
+ led-sources = <18>;
+ led-active-low;
+ };
};
&art {
default-state = "on";
};
- wifi_green {
- label = "green:wifi";
- gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "phy0tpt";
- };
-
wifi_red {
label = "red:wifi";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
nvmem-cells = <&cal_art_1000>;
nvmem-cell-names = "calibration";
+
+ led {
+ led-sources = <13>;
+ led-active-low;
+ };
};
default-state = "on";
};
- wlan2g {
- function = LED_FUNCTION_WLAN;
- color = <LED_COLOR_ID_BLUE>;
- gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "phy0tpt";
- };
-
wan {
function = LED_FUNCTION_WAN;
color = <LED_COLOR_ID_BLUE>;
nvmem-cells = <&cal_art_1000>;
nvmem-cell-names = "calibration";
+
+ led {
+ led-sources = <13>;
+ led-active-low;
+ };
};
ð0 {
default-state = "on";
};
- wlan {
- function = LED_FUNCTION_WLAN;
- color = <LED_COLOR_ID_GREEN>;
- gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "phy0tpt";
- };
-
qss {
label = "green:qss";
gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
&wmac {
status = "okay";
+
+ led {
+ led-sources = <13>;
+ led-active-low;
+ };
};
gpios = <&gpio 20 GPIO_ACTIVE_LOW>;
};
- wlan {
- function = LED_FUNCTION_WLAN;
- color = <LED_COLOR_ID_BLUE>;
- gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "phy0tpt";
- };
-
led_re: re {
label = "blue:re";
gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
};
};
};
+
+&wmac {
+ led {
+ led-sources = <13>;
+ led-active-low;
+ };
+};
gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
};
- wlan_green {
- function = LED_FUNCTION_WLAN;
- color = <LED_COLOR_ID_GREEN>;
- gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "phy0tpt";
- };
-
wlan_orange {
function = LED_FUNCTION_WLAN;
color = <LED_COLOR_ID_ORANGE>;
};
};
};
+
+&wmac {
+ led {
+ led-sources = <2>;
+ led-active-low;
+ };
+};
gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
};
- wlan {
- function = LED_FUNCTION_WLAN;
- color = <LED_COLOR_ID_GREEN>;
- gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "phy0tpt";
- };
-
qss {
label = "green:qss";
gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
};
};
};
+
+&wmac {
+ led {
+ led-sources = <13>;
+ led-active-low;
+ };
+};
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
};
- led-wlan {
- color = <LED_COLOR_ID_GREEN>;
- function = LED_FUNCTION_WLAN;
- linux,default-trigger = "phy0tpt";
- gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
- };
-
led_status: led-power {
color = <LED_COLOR_ID_GREEN>;
function = LED_FUNCTION_POWER;
phy-handle = <&phy1>;
};
+
+&wmac {
+ led {
+ led-sources = <14>;
+ led-active-low;
+ };
+};
color = <LED_COLOR_ID_BLUE>;
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
};
-
- wifi5g {
- label = "green:wifi5g";
- gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "phy0tpt";
- };
};
};
&wmac {
nvmem-cells = <&macaddr_art_0 (-1)>, <&calibration_art_1000>;
nvmem-cell-names = "mac-address", "calibration";
+
+ led {
+ led-sources = <12>;
+ led-active-low;
+ };
};
&art {
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
default-state = "on";
};
-
- wifi5g {
- label = "blue:wifi5g";
- gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "phy0tpt";
- };
};
};
&wmac {
nvmem-cells = <&macaddr_art_0 (-1)>, <&calibration_art_1000>;
nvmem-cell-names = "mac-address", "calibration";
+
+ led {
+ led-sources = <12>;
+ led-active-low;
+ };
};
&art {
gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy1tpt";
};
-
- wifi5g {
- label = "green:wifi5g";
- gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "phy0tpt";
- };
};
virtual_flash {
nvmem-cells = <&calibration_wmac>, <&macaddr_uboot_3ff80 1>;
nvmem-cell-names = "calibration", "mac-address";
+
+ led {
+ led-sources = <18>;
+ led-active-low;
+ };
};
&art {
gpios = <&gpio 20 GPIO_ACTIVE_LOW>;
};
- wifi5g_green {
- label = "green:wifi5g";
- gpios = <&gpio 21 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "phy0tpt";
- };
-
wifi5g_yellow {
label = "yellow:wifi5g";
gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
&wdt {
status = "disabled";
};
+
+&wmac {
+ led {
+ led-sources = <21>;
+ led-active-low;
+ };
+};
gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
};
- wifi_green {
- label = "green:wifi";
- gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "phy0tpt";
- };
-
wifi_yellow {
label = "yellow:wifi";
gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
nvmem-cells = <&macaddr_art_0 2>, <&calibration_art_1000>;
nvmem-cell-names = "mac-address", "calibration";
+
+ led {
+ led-sources = <16>;
+ led-active-low;
+ };
};
&pcie {
gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
};
- wifi_green {
- label = "green:wifi";
- gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "phy0tpt";
- };
-
wifi_yellow {
label = "yellow:wifi";
gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
nvmem-cells = <&cal_art_1000>;
nvmem-cell-names = "calibration";
+
+ led {
+ led-sources = <16>;
+ led-active-low;
+ };
};
color = <LED_COLOR_ID_GREEN>;
gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
};
-
- wlan5g {
- label = "green:wlan5g";
- gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "phy0tpt";
- };
};
};
ð1 {
compatible = "syscon", "simple-mfd";
};
+
+&wmac {
+ led {
+ led-sources = <13>;
+ led-active-low;
+ };
+};
color = <LED_COLOR_ID_GREEN>;
gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
};
-
- wlan5g {
- label = "green:wlan5g";
- gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "phy0tpt";
- };
};
};
ð1 {
compatible = "syscon", "simple-mfd";
};
+
+&wmac {
+ led {
+ led-sources = <13>;
+ led-active-low;
+ };
+};
color = <LED_COLOR_ID_GREEN>;
gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
};
-
- wlan5g {
- label = "green:wlan5g";
- gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "phy0tpt";
- };
};
};
ð1 {
compatible = "syscon", "simple-mfd";
};
+
+&wmac {
+ led {
+ led-sources = <13>;
+ led-active-low;
+ };
+};
leds: leds {
compatible = "gpio-leds";
- wlan2g {
- label = "green:wlan2g";
- gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "phy0tpt";
- };
-
led_system: system {
label = "green:system";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
};
};
};
+
+&wmac {
+ led {
+ led-sources = <13>;
+ led-active-low;
+ };
+};