&pcie0 {
status = "okay";
- ath9k0: wifi@11,0 {
+ wifi@11,0 {
compatible = "pci168c,0029";
nvmem-cells = <&macaddr_hwinfo_1c 1>;
nvmem-cell-names = "mac-address";
gpio-controller;
};
- ath9k1: wifi@12,0 {
+ wifi@12,0 {
compatible = "pci168c,0029";
nvmem-cells = <&macaddr_hwinfo_1c 2>;
nvmem-cell-names = "mac-address";
color = <LED_COLOR_ID_ORANGE>;
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
};
-
- wifi {
- label = "blue:wifi";
- gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
- linux,default-trigger = "phy0tpt";
- };
};
};
nvmem-cells = <&cal_art_1000>;
nvmem-cell-names = "calibration";
+
+ led {
+ led-sources = <0>;
+ };
};
label = "green:minipcie";
gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
};
-
- wlan {
- function = LED_FUNCTION_WLAN;
- color = <LED_COLOR_ID_GREEN>;
- gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "phy0tpt";
- };
};
leds-pcf8574 {
nvmem-cell-names = "mac-address";
};
+&wmac {
+ led {
+ led-sources = <12>;
+ led-active-low;
+ };
+};
+
&pcie0 {
status = "okay";
};
trigger-sources = <&gl850g_port1>, <&gl850g_port2>,
<&gl850g_port3>, <&gl850g_port4>;
};
-
- wlan {
- function = LED_FUNCTION_WLAN;
- color = <LED_COLOR_ID_BLUE>;
- gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "phy0tpt";
- };
};
};
compatible = "syscon", "simple-mfd";
};
+&wmac {
+ led {
+ led-sources = <12>;
+ led-active-low;
+ };
+};
+
&gpio_export {
usb-power {
gpio-export,name = "usb-power";
color = <LED_COLOR_ID_BLUE>;
gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
};
-
- wlan {
- function = LED_FUNCTION_WLAN;
- color = <LED_COLOR_ID_BLUE>;
- gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "phy0tpt";
- };
};
};
nvmem-cell-names = "mac-address";
};
+&wmac {
+ led {
+ led-sources = <15>;
+ led-active-low;
+ };
+};
+
&gpio_export {
usb-power {
gpio-export,name = "usb-power";
color = <LED_COLOR_ID_GREEN>;
gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
};
-
- wlan2g {
- function = LED_FUNCTION_WLAN_2GHZ;
- color = <LED_COLOR_ID_BLUE>;
- gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "phy1tpt";
- };
};
};
compatible = "syscon", "simple-mfd";
};
+&wmac {
+ led {
+ led-sources = <11>;
+ led-active-low;
+ };
+};
+
&gpio_export {
usb-power {
gpio-export,name = "usb-power";
pinctrl-names = "default";
- wlan {
- function = LED_FUNCTION_WLAN;
- color = <LED_COLOR_ID_GREEN>;
- gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "phy0tpt";
- };
-
lan {
function = LED_FUNCTION_LAN;
color = <LED_COLOR_ID_GREEN>;
nvmem-cells = <&macaddr_art_0>, <&cal_art_1000>;
nvmem-cell-names = "mac-address", "calibration";
+
+ led {
+ led-sources = <0>;
+ led-active-low;
+ };
};
label = "green:rssihigh";
gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
};
-
- wlan {
- function = LED_FUNCTION_WLAN;
- color = <LED_COLOR_ID_GREEN>;
- gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "phy0tpt";
- };
};
keys {
nvmem-cells = <&cal_art_1000>;
nvmem-cell-names = "calibration";
+
+ led {
+ led-sources = <0>;
+ led-active-low;
+ };
};
gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
};
- wlan2g {
- color = <LED_COLOR_ID_BLUE>;
- function = "LED_FUNCTION_WLAN_2GHZ";
- gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
- linux,default-trigger = "phy1tpt";
- };
-
wlan5g {
color = <LED_COLOR_ID_RED>;
function = "LED_FUNCTION_WLAN_5GHZ";
nvmem-cells = <&cal_art_1000>, <&macaddr_art_0 2>;
nvmem-cell-names = "calibration", "mac-address";
+
+ led {
+ led-sources = <0>;
+ };
};
gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
};
- wlan {
- function = LED_FUNCTION_WLAN;
- color = <LED_COLOR_ID_BLUE>;
- gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "phy0tpt";
- };
-
rssi0 {
label = "blue:rssi0";
gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
nvmem-cells = <&cal_art_1000>;
nvmem-cell-names = "calibration";
+
+ led {
+ led-sources = <0>;
+ led-active-low;
+ };
};
&pinmux {
color = <LED_COLOR_ID_BLUE>;
gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
};
-
- wlan {
- function = LED_FUNCTION_WLAN;
- color = <LED_COLOR_ID_BLUE>;
- gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "phy0tpt";
- };
};
keys {
nvmem-cells = <&macaddr_art_0 3>, <&cal_art_1000>;
nvmem-cell-names = "mac-address", "calibration";
+
+ led {
+ led-sources = <12>;
+ led-active-low;
+ };
};
default-state = "on";
};
- wlan2g {
- label = "white:wlan2g";
- gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "phy1tpt";
- };
-
wlan5g {
label = "white:wlan5g";
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
nvmem-cells = <&cal_art_1000>;
nvmem-cell-names = "calibration";
+
+ led {
+ led-sources = <14>;
+ led-active-low;
+ };
};
default-state = "on";
};
- wlan2g {
- label = "green:wlan2g";
- gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "phy1tpt";
- };
-
wlan5g {
label = "green:wlan5g";
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
nvmem-cells = <&cal_art_1000>;
nvmem-cell-names = "calibration";
+
+ led {
+ led-sources = <4>;
+ led-active-low;
+ };
};
};
&leds {
- wlan2g {
- label = "orange:wlan2g";
- gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "phy1tpt";
- };
-
control1 {
label = "green:control";
gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
reg = <0x070000 0xf90000>;
};
};
+
+&wmac {
+ led {
+ led-sources = <4>;
+ led-active-low;
+ };
+};
};
&leds {
- wlan2g {
- label = "orange:wlan2g";
- gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "phy1tpt";
- };
-
control1 {
label = "green:control";
gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
reg = <0x070000 0x790000>;
};
};
+
+&wmac {
+ led {
+ led-sources = <4>;
+ led-active-low;
+ };
+};
color = <LED_COLOR_ID_GREEN>;
gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
};
-
- wlan2g {
- label = "red:wlan2g";
- gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "phy1tpt";
- };
};
};
nvmem-cells = <&cal_art_1000>;
nvmem-cell-names = "calibration";
+
+ led {
+ led-sources = <13>;
+ led-active-low;
+ };
};
function = LED_FUNCTION_POWER;
gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
};
-
- wlan2g {
- label = "green:wlan2g";
- gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "phy1tpt";
- };
};
virtual_flash {
nvmem-cells = <&cal_art_1000>;
nvmem-cell-names = "calibration";
+
+ led {
+ led-sources = <13>;
+ led-active-low;
+ };
};
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
};
- led-wlan2g {
- gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
- };
-
led-wlan5g {
gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
};
};
};
+&wmac {
+ led {
+ led-sources = <1>;
+ led-active-low;
+ };
+};
+
&spi {
flash@0 {
broken-flash-reset;
gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
};
- led-wlan2g {
- gpios = <&gpio 21 GPIO_ACTIVE_LOW>;
- };
-
led-wlan5g {
gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
};
};
};
+&wmac {
+ led {
+ led-sources = <21>;
+ led-active-low;
+ };
+};
+
&spi {
flash@0 {
partitions {
function-enumerator = <2>;
};
- led-wlan2g {
- color = <LED_COLOR_ID_GREEN>;
- function = LED_FUNCTION_WLAN_2GHZ;
- linux,default-trigger = "phy1tpt";
- };
-
led-wlan5g {
color = <LED_COLOR_ID_GREEN>;
function = LED_FUNCTION_WLAN_5GHZ;
default-state = "off";
};
- wifi2g {
- label = "blue:wifi2g";
- gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "phy1tpt";
- };
-
wifi5g {
label = "blue:wifi5g";
gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
nvmem-cells = <&macaddr_art_0 1>, <&cal_art_1000>;
nvmem-cell-names = "mac-address", "calibration";
+
+ led {
+ led-sources = <13>;
+ led-active-low;
+ };
};
&pcie0 {
default-state = "on";
};
- wifi2g {
- label = "blue:wifi2g";
- gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "phy1tpt";
- };
-
wifi5g {
label = "green:wifi5g";
gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
nvmem-cells = <&macaddr_art_0 1>, <&calibration_art_1000>;
nvmem-cell-names = "mac-address", "calibration";
+
+ led {
+ led-sources = <13>;
+ led-active-low;
+ };
};
&ath10k_0 {
default-state = "on";
};
- wlan2g {
- label = "blue:wlan2g";
- gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "phy1tpt";
- };
-
wlan5g {
label = "blue:wlan5g";
gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
&wmac {
nvmem-cells = <&calibration_art_1000>, <&macaddr_uboot_eth 1>;
nvmem-cell-names = "calibration", "mac-address";
+
+ led {
+ led-sources = <13>;
+ led-active-low;
+ };
};
&wifi0 {
trigger-sources = <&hub_port1>;
};
- wifi2g {
- label = "green:wifi2g";
- gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "phy1tpt";
- };
-
wifi5g {
label = "green:wifi5g";
gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
nvmem-cell-names = "calibration", "mac-address";
};
};
+
+&wmac {
+ led {
+ led-sources = <19>;
+ led-active-low;
+ };
+};
default-state = "on";
};
- wlan2g {
- label = "blue:wlan2g";
- gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "phy1tpt";
- };
-
wlan5g {
label = "green:wlan5g";
gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
nvmem-cells = <&macaddr_art_0 1>, <&cal_art_1000>;
nvmem-cell-names = "mac-address", "calibration";
+
+ led {
+ led-sources = <13>;
+ led-active-low;
+ };
};
&pcie0 {
default-state = "off";
};
- wifi2g {
- label = "blue:wifi2g";
- gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "phy1tpt";
- };
-
wifi5g {
label = "blue:wifi5g";
gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
nvmem-cells = <&macaddr_art_0 1>, <&cal_art_1000>;
nvmem-cell-names = "mac-address", "calibration";
+
+ led {
+ led-sources = <13>;
+ led-active-low;
+ };
};
&pcie0 {
gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
};
- wlan2g {
- label = "blue:wlan2g";
- gpios = <&gpio 2 GPIO_ACTIVE_HIGH>;
- linux,default-trigger = "phy1tpt";
- };
-
wlan5g {
label = "red:wlan5g";
gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
nvmem-cells = <&macaddr_art_0 10>, <&cal_art_1000>;
nvmem-cell-names = "mac-address", "calibration";
+
+ led {
+ led-sources = <2>;
+ };
};
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>;
&wmac {
status = "okay";
+
+ led {
+ led-sources = <13>;
+ led-active-low;
+ };
};
// This node is required for the Ethernet ports to work correctly.
color = <LED_COLOR_ID_RED>;
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
};
-
- wifi2g {
- label = "green:wifi2g";
- gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "phy1tpt";
- };
};
keys {
};
};
+&wmac {
+ led {
+ led-sources = <13>;
+ led-active-low;
+ };
+};
+
&art {
nvmem-layout {
compatible = "fixed-layout";
linux,default-trigger = "usbport";
};
- wlan2g {
- label = "blue:wlan2g";
- gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "phy1tpt";
- };
-
internet {
label = "blue:internet";
gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
nvmem-cells = <&macaddr_art_c>, <&cal_art_1000>;
nvmem-cell-names = "mac-address", "calibration";
+
+ led {
+ led-sources = <13>;
+ led-active-low;
+ };
};
default-state = "on";
};
- wifi2g {
- label = "blue:wifi2g";
- gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "phy1tpt";
- };
-
wifi5g {
label = "green:wifi5g";
gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
nvmem-cells = <&macaddr_art_0 1>, <&calibration_art_1000>;
nvmem-cell-names = "mac-address", "calibration";
+
+ led {
+ led-sources = <13>;
+ led-active-low;
+ };
};
&ath10k_0 {
leds {
compatible = "gpio-leds";
- wifi2g {
- color = <LED_COLOR_ID_GREEN>;
- function = LED_FUNCTION_WLAN_2GHZ;
- gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "phy1tpt";
- };
-
led_wifi5g: wifi5g {
color = <LED_COLOR_ID_GREEN>;
function = LED_FUNCTION_WLAN_5GHZ;
};
};
};
+
+&wmac {
+ led {
+ led-sources = <14>;
+ led-active-low;
+ };
+};
default-state = "on";
};
- wlan2g {
- label = "blue:wlan2g";
- gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "phy1tpt";
- };
-
wlan5g {
label = "blue:wlan5g";
gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
&wmac {
nvmem-cells = <&calibration_art_1000>, <&macaddr_uboot_eth 1>;
nvmem-cell-names = "calibration", "mac-address";
+
+ led {
+ led-sources = <13>;
+ led-active-low;
+ };
};
&wifi0 {
default-state = "on";
};
- wlan2g {
- label = "blue:wlan2g";
- gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "phy1tpt";
- };
-
wlan5g {
label = "blue:wlan5g";
gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
&wmac {
nvmem-cells = <&calibration_art_1000>, <&macaddr_uboot_eth 1>;
nvmem-cell-names = "calibration", "mac-address";
+
+ led {
+ led-sources = <13>;
+ led-active-low;
+ };
};
&wifi0 {
default-state = "on";
};
- wlan2g {
- label = "blue:wlan2g";
- gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "phy1tpt";
- };
-
wlan5g {
label = "blue:wlan5g";
gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "phy0tpt";
+ linux,default-trigger = "phy1tpt";
};
wps_amber {
&wmac {
nvmem-cells = <&calibration_art_1000>, <&macaddr_uboot_eth 0>;
nvmem-cell-names = "calibration", "mac-address";
+
+ led {
+ led-sources = <13>;
+ led-active-low;
+ };
};
&wifi0 {
leds {
compatible = "gpio-leds";
- wifi2g {
- color = <LED_COLOR_ID_GREEN>;
- function = LED_FUNCTION_WLAN_2GHZ;
- gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "phy1tpt";
- };
-
led_wifi5g: wifi5g {
color = <LED_COLOR_ID_GREEN>;
function = LED_FUNCTION_WLAN_5GHZ;
};
};
};
+
+&wmac {
+ led {
+ led-sources = <14>;
+ led-active-low;
+ };
+};
default-state = "on";
};
- wifi2 {
- label = "yellow:wlan2";
- gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "phy1tpt";
- };
-
wifi5 {
label = "red:wlan58";
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
nvmem-cells = <&macaddr_art_6>, <&cal_art_1000>;
nvmem-cell-names = "mac-address", "calibration";
+
+ led {
+ led-sources = <23>;
+ led-active-low;
+ };
};
&mdio0 {
leds {
compatible = "gpio-leds";
- wifi2 {
- label = "green:wlan2g";
- gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "phy1tpt";
- };
-
wifi5 {
label = "green:wlan5g";
gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
nvmem-cells = <&macaddr_art_6>, <&cal_art_1000>;
nvmem-cell-names = "mac-address", "calibration";
+
+ led {
+ led-sources = <14>;
+ led-active-low;
+ };
};
&mdio0 {
gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
};
- led_wifi2g: wifi2g {
- label = "blue:wifi2g";
- gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
- };
-
status_green {
function = LED_FUNCTION_STATUS;
color = <LED_COLOR_ID_GREEN>;
nvmem-cells = <&macaddr_art_0 1>, <&cal_art_1000>;
nvmem-cell-names = "mac-address", "calibration";
+
+ led {
+ led-sources = <13>;
+ led-active-low;
+ };
};
&pcie0 {
model = "OpenMesh MR1750 v1";
};
-&led_wifi2g {
- linux,default-trigger = "phy1tpt";
-};
-
&led_wifi5g {
linux,default-trigger = "phy0tpt";
};
model = "OpenMesh MR1750 v2";
};
-&led_wifi2g {
- linux,default-trigger = "phy1tpt";
-};
-
&led_wifi5g {
linux,default-trigger = "phy0tpt";
};
model = "OpenMesh MR900 v1";
};
-&led_wifi2g {
- linux,default-trigger = "phy0tpt";
-};
-
&led_wifi5g {
linux,default-trigger = "phy1tpt";
};
model = "OpenMesh MR900 v2";
};
-&led_wifi2g {
- linux,default-trigger = "phy0tpt";
-};
-
&led_wifi5g {
linux,default-trigger = "phy1tpt";
};
linux,default-trigger = "usbport";
};
- wlan2g {
- label = "green:wlan2g";
- gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "phy1tpt";
- };
-
qss {
label = "green:qss";
gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
&wmac {
status = "okay";
+
+ led {
+ led-sources = <12>;
+ led-active-low;
+ };
};
gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
};
- wlan2g {
- label = "blue:wlan2g";
- gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "phy1tpt";
- };
-
wlan5g {
label = "blue:wlan5g";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
nvmem-cells = <&macaddr_info_8 (-1)>, <&cal_art_1000>;
nvmem-cell-names = "mac-address", "calibration";
+
+ led {
+ led-sources = <13>;
+ led-active-low;
+ };
};
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
};
- wifi_amber {
- label = "amber:wifi";
- gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "phy1tpt";
- };
-
wifi_green {
label = "green:wifi";
gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
nvmem-cells = <&macaddr_art_0 1>, <&cal_art_1000>;
nvmem-cell-names = "mac-address", "calibration";
+
+ led {
+ led-sources = <23>;
+ led-active-low;
+ };
};
&pcie0 {
trigger-sources = <&hub_port0>;
};
- wifi2g {
- label = "white:wifi2g";
- gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "phy1tpt";
- };
-
wifi5g {
label = "white:wifi5g";
gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
qcom,ath10k-calibration-variant = "ZyXEL-NBG6716";
};
};
+
+&wmac {
+ led {
+ led-sources = <19>;
+ led-active-low;
+ };
+};
leds {
compatible = "gpio-leds";
- led-0 {
- gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
- color = <LED_COLOR_ID_GREEN>;
- function = LED_FUNCTION_WLAN;
- function-enumerator = <24>;
- linux,default-trigger = "phy1tpt";
- };
-
led_status: led-1 {
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
color = <LED_COLOR_ID_RED>;
nvmem-cells = <&cal_art_1000>;
nvmem-cell-names = "calibration";
+
+ led {
+ led-sources = <13>;
+ led-active-low;
+ };
};
default-state = "on";
};
- wlan2g {
- label = "green:wlan2g";
- gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "phy1tpt";
- };
-
wlan5g {
label = "green:wlan5g";
gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
&wmac {
status = "okay";
+
+ led {
+ led-sources = <17>;
+ led-active-low;
+ };
};
color = <LED_COLOR_ID_RED>;
gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;
};
-
- wlan2g {
- label = "blue:wlan2g";
- gpios = <&gpio 16 GPIO_ACTIVE_HIGH>;
- linux,default-trigger = "phy1tpt";
- };
};
keys {
nvmem-cells = <&macaddr_art_0 10>, <&cal_art_1000>;
nvmem-cell-names = "mac-address", "calibration";
+
+ led {
+ led-sources = <16>;
+ };
};
default-state = "on";
};
- wlan2g {
- label = "blue:wlan2g";
- gpios = <&gpio 7 GPIO_ACTIVE_HIGH>;
- linux,default-trigger = "phy1tpt";
- };
-
wlan5g {
label = "blue:wlan5g";
gpios = <&gpio 8 GPIO_ACTIVE_HIGH>;
&wmac {
nvmem-cells = <&cal_art_1000>;
nvmem-cell-names = "calibration";
+
+ led {
+ led-sources = <7>;
+ };
};
default-state = "keep";
};
- led_wlan2g: wlan2g {
- label = "green:wlan2g";
- gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "phy1tpt";
- };
-
led_wlan5g: wlan5g {
label = "green:wlan5g";
gpios = <&gpio 20 GPIO_ACTIVE_HIGH>;
nvmem-cells = <&cal_art_1000>;
nvmem-cell-names = "calibration";
+
+ led {
+ led-sources = <19>;
+ led-active-low;
+ };
};
default-state = "keep";
};
- wlan2g {
- label = "green:wlan2g";
- gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "phy1tpt";
- };
-
wlan5g {
label = "green:wlan5g";
gpios = <&gpio 20 GPIO_ACTIVE_HIGH>;
nvmem-cells = <&calibration_ath9k>;
nvmem-cell-names = "calibration";
+
+ led {
+ led-sources = <19>;
+ led-active-low;
+ };
};
gpios = <&gpio 17 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "phy0tpt";
};
-
- wlan2g_green {
- label = "green:wlan2g";
- gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "phy1tpt";
- };
};
keys {
nvmem-cells = <&macaddr_board_data_680 0>, <&cal_art_1000>;
nvmem-cell-names = "mac-address", "calibration";
+
+ led {
+ led-sources = <19>;
+ led-active-low;
+ };
};
gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
};
- wlan2g_green {
- label = "green:wlan2g";
- gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "phy0tpt";
- };
-
wps_green {
function = LED_FUNCTION_WPS;
color = <LED_COLOR_ID_GREEN>;
nvmem-cells = <&macaddr_caldata_0>, <&cal_art_1000>;
nvmem-cell-names = "mac-address", "calibration";
+
+ led {
+ led-sources = <19>;
+ led-active-low;
+ };
};
&pcie {
trigger-sources = <&hub_port0>;
linux,default-trigger = "usbport";
};
-
- wlan2g {
- label = "green:wlan2g";
- gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "phy1tpt";
- };
};
};
nvmem-cells = <&cal_art_1000>;
nvmem-cell-names = "calibration";
+
+ led {
+ led-sources = <19>;
+ led-active-low;
+ };
};
default-state = "on";
};
- wifi2g {
- label = "green:wifi2g";
- gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "phy1tpt";
- };
-
wifi5g {
label = "green:wifi5g";
gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
nvmem-cells = <&macaddr_info_8 0>, <&cal_art_1000>;
nvmem-cell-names = "mac-address", "calibration";
+
+ led {
+ led-sources = <8>;
+ led-active-low;
+ };
};
default-state = "on";
};
- wlan2g {
- label = "green:wlan2g";
- gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "phy1tpt";
- };
-
wlan5g {
label = "green:wlan5g";
gpios = <&gpio 9 GPIO_ACTIVE_LOW>;
&wmac {
nvmem-cells = <&macaddr_info_8 0>, <&cal_art_1000>;
nvmem-cell-names = "mac-address", "calibration";
+
+ led {
+ led-sources = <14>;
+ led-active-low;
+ };
};
default-state = "on";
};
- wlan2g {
- label = "green:wlan2g";
- gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "phy1tpt";
- };
-
wlan5g {
label = "green:wlan5g";
gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
&wmac {
nvmem-cells = <&macaddr_info_8 0>, <&cal_art_1000>;
nvmem-cell-names = "mac-address", "calibration";
+
+ led {
+ led-sources = <15>;
+ led-active-low;
+ };
};
linux,default-trigger = "phy0tpt";
};
- wlan2g {
- label = "green:wlan2g";
- gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "phy1tpt";
- };
-
wan {
function = LED_FUNCTION_WAN;
color = <LED_COLOR_ID_GREEN>;
&wmac {
status = "okay";
+
+ led {
+ led-sources = <14>;
+ led-active-low;
+ };
};
leds {
compatible = "gpio-leds";
- wlan2g {
- label = "red:wlan2g";
- gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "phy1tpt";
- };
-
led_power: power {
function = LED_FUNCTION_POWER;
color = <LED_COLOR_ID_GREEN>;
nvmem-cells = <&macaddr_config_8 0>, <&cal_art_1000>;
nvmem-cell-names = "mac-address", "calibration";
+
+ led {
+ led-sources = <1>;
+ led-active-low;
+ };
};
leds {
compatible = "gpio-leds";
- wlan2g {
- label = "red:wlan2g";
- gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "phy1tpt";
- };
-
led_power: power {
function = LED_FUNCTION_POWER;
color = <LED_COLOR_ID_GREEN>;
nvmem-cells = <&cal_art_1000>;
nvmem-cell-names = "calibration";
+
+ led {
+ led-sources = <1>;
+ led-active-low;
+ };
};
gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
};
- wlan2g {
- label = "blue:wlan2g";
- gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "phy1tpt";
- };
-
wlan5g {
label = "blue:wlan5g";
gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
&wmac {
status = "okay";
+
+ led {
+ led-sources = <14>;
+ led-active-low;
+ };
};
default-state = "on";
};
- wlan2g {
- label = "green:wlan2g";
- gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "phy1tpt";
- };
-
wlan5g {
label = "green:wlan5g";
gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
nvmem-cells = <&macaddr_info_8 0>, <&cal_art_1000>;
nvmem-cell-names = "mac-address", "calibration";
+
+ led {
+ led-sources = <15>;
+ led-active-low;
+ };
};
&spi {
gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
};
- wifi2g {
- label = "green:wifi2g";
- gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "phy1tpt";
- };
-
wifi5g {
label = "green:wifi5g";
gpios = <&gpio 21 GPIO_ACTIVE_LOW>;
&wmac {
status = "okay";
+
+ led {
+ led-sources = <19>;
+ led-active-low;
+ };
};
gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
default-state = "keep";
};
+ };
+};
- wlan2g {
- label = "green:wlan2g";
- gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "phy1tpt";
- };
+&wmac {
+ led {
+ led-sources = <19>;
+ led-active-low;
};
};
gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
default-state = "keep";
};
-
- wlan2g {
- label = "blue:wlan2g";
- gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "phy1tpt";
- };
};
};
nvmem-cell-names = "calibration";
};
};
+
+&wmac {
+ led {
+ led-sources = <19>;
+ led-active-low;
+ };
+};
gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
default-state = "keep";
};
+ };
+};
- wlan2g {
- label = "blue:wlan2g";
- gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "phy1tpt";
- };
+&wmac {
+ led {
+ led-sources = <19>;
+ led-active-low;
};
};
leds {
pinctrl-names = "default";
pinctrl-0 = <&enable_wlan_led_gpio>;
-
- led-1 {
- function = LED_FUNCTION_WLAN;
- color = <LED_COLOR_ID_BLUE>;
- gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "phy1tpt";
- };
};
keys {
pinctrl-single,bits = <0x10 0x0 0xff000000>;
};
};
+
+&wmac {
+ led {
+ led-sources = <19>;
+ led-active-low;
+ };
+};