label = "green:signal3";
gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
};
-
- wlan {
- function = LED_FUNCTION_WLAN;
- color = <LED_COLOR_ID_GREEN>;
- gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "phy0tpt";
- };
};
watchdog {
nvmem-cells = <&cal_art_1000>;
nvmem-cell-names = "calibration";
+
+ led {
+ led-sources = <12>;
+ led-active-low;
+
+ };
};
gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
};
- wlan {
- function = LED_FUNCTION_WLAN;
- color = <LED_COLOR_ID_GREEN>;
- gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "phy0tpt";
- };
-
rssilow {
label = "red:rssilow";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
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_WHITE>;
- gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "phy1tpt";
- };
-
led_dlan_white: dlan_white {
label = "white:dlan";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
nvmem-cells = <&cal_art_1000>;
nvmem-cell-names = "calibration";
+
+ led {
+ led-sources = <12>;
+ led-active-low;
+ };
};
&pcie {
gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
-
- wifi2g {
- label = "amber:wifi2g";
- gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "phy1tpt";
- };
};
virtual_flash {
nvmem-cells = <&calibration_wmac>, <&macaddr_uboot_3ff80 1>;
nvmem-cell-names = "calibration", "mac-address";
+
+ led {
+ led-sources = <19>;
+ led-active-low;
+ };
};
&art {
&pcie {
status = "okay";
- ath9k: wifi@0,0 {
+ wifi@0,0 {
compatible = "pci168c,0033";
reg = <0x0000 0 0 0 0>;
gpio-controller;
leds: leds {
compatible = "gpio-leds";
- wlan2g {
- function = LED_FUNCTION_WLAN;
- color = <LED_COLOR_ID_BLUE>;
- gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "phy0tpt";
- };
-
led_system: system {
function = LED_FUNCTION_STATUS;
color = <LED_COLOR_ID_BLUE>;
nvmem-cells = <&cal_art_1000>;
nvmem-cell-names = "calibration";
+
+ led {
+ led-sources = <13>;
+ led-active-low;
+ };
};
&gpio {
los-gpios = <&gpio 17 GPIO_ACTIVE_HIGH>;
maximum-power-milliwatt = <1000>;
};
-
- leds {
- compatible = "gpio-leds";
-
- led-0 {
- color = <LED_COLOR_ID_GREEN>;
- function = LED_FUNCTION_WLAN_2GHZ;
- gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "phy0tpt";
- };
- };
};
&ref {
status = "okay";
qca,no-eeprom;
+
+ led {
+ led-sources = <4>;
+ led-active-low;
+ };
};
color = <LED_COLOR_ID_GREEN>;
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
};
-
- wlan {
- function = LED_FUNCTION_WLAN;
- color = <LED_COLOR_ID_BLUE>;
- gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "phy1tpt";
- };
};
};
nvmem-cells = <&cal_ath9k>;
nvmem-cell-names = "calibration";
+
+ led {
+ led-sources = <0>;
+ led-active-low;
+ };
};
default-state = "keep";
};
- wlan2g_green {
- label = "green:wlan2g";
- gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "phy0tpt";
- };
-
wlan5g_blue {
label = "blue:wlan5g";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
nvmem-cells = <&macaddr_caldata_0>, <&cal_art_1000>;
nvmem-cell-names = "mac-address", "calibration";
+
+ led {
+ led-sources = <11>;
+ led-active-low;
+ };
};
&pcie {
default-state = "on";
};
- wlan2g {
- label = "yellow:wlan24";
- gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "phy0tpt";
- };
-
led_system: system {
label = "blue:sys";
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
};
};
- ath9k-leds {
- compatible = "gpio-leds";
-
- wlan5g {
- label = "red:wlan5";
- gpios = <&ath9k 0 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "phy1tpt";
- };
- };
-
keys {
compatible = "gpio-keys";
&pcie {
status = "okay";
- ath9k: wifi@0,0 {
+ wifi@0,0 {
compatible = "pci168c,0030";
reg = <0x0000 0 0 0 0>;
nvmem-cells = <&macaddr_art_c>, <&calibration_art_5000>;
nvmem-cell-names = "mac-address", "calibration";
- #gpio-cells = <2>;
- gpio-controller;
+
+ led {
+ led-sources = <0>;
+ led-active-low;
+ };
};
};
nvmem-cells = <&macaddr_art_6>, <&calibration_art_1000>;
nvmem-cell-names = "mac-address", "calibration";
+
+ led {
+ led-sources = <12>;
+ led-active-low;
+ };
};
&mdio0 {
linux,default-trigger = "phy1tpt";
};
- wlan_green {
- function = LED_FUNCTION_WLAN;
- color = <LED_COLOR_ID_GREEN>;
- gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "phy0tpt";
- };
-
lan_amber {
function = LED_FUNCTION_LAN;
color = <LED_COLOR_ID_AMBER>;
&pcie {
status = "okay";
- ath9k: wifi@0,0 {
- compatible = "168c,0030";
+ wifi@0,0 {
+ compatible = "pci168c,0030";
reg = <0x0000 0 0 0 0>;
nvmem-cells = <&macaddr_art_0 (-2)>, <&cal_art_5000>;
nvmem-cell-names = "mac-address", "calibration";
ieee80211-freq-limit = <4900000 5990000>;
nvmem-cells = <&macaddr_art_0 (-1)>, <&cal_art_1000>;
nvmem-cell-names = "mac-address", "calibration";
+
+ led {
+ led-sources = <18>;
+ led-active-low;
+ };
};
&mdio0 {
default-state = "on";
};
- wlan2g {
- function = LED_FUNCTION_WLAN;
- color = <LED_COLOR_ID_BLUE>;
- gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "phy0tpt";
- };
-
wps_white {
function = LED_FUNCTION_WPS;
color = <LED_COLOR_ID_WHITE>;
&pcie {
status = "okay";
- ath9k: wifi@0,0 {
+ wifi@0,0 {
compatible = "pci168c,0030";
reg = <0x0000 0 0 0 0>;
nvmem-cells = <&macaddr_art_5002>;
nvmem-cells = <&cal_art_1000>;
nvmem-cell-names = "calibration";
+
+ led {
+ led-sources = <14>;
+ led-active-low;
+ };
};
label = "green:sig2";
gpios = <&gpio 20 GPIO_ACTIVE_LOW>;
};
-
- wlan {
- function = LED_FUNCTION_WLAN;
- color = <LED_COLOR_ID_GREEN>;
- gpios = <&gpio 21 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "phy0tpt";
- };
};
};
nvmem-cells = <&cal_art_1000>;
nvmem-cell-names = "calibration";
+
+ led {
+ led-sources = <21>;
+ led-active-low;
+ };
};
label = "white:repeater";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
};
-
- wlan {
- function = LED_FUNCTION_WLAN;
- color = <LED_COLOR_ID_WHITE>;
- gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "phy0tpt";
- };
};
};
nvmem-cells = <&cal_art_1000>;
nvmem-cell-names = "calibration";
+
+ led {
+ led-sources = <12>;
+ led-active-low;
+ };
};
linux,code = <KEY_RESTART>;
};
};
-
- ath9k-leds {
- compatible = "gpio-leds";
-
- wifi2g {
- label = "blue:wifi2g";
- gpios = <&ath9k 0 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "phy1tpt";
- };
- };
};
&mdio0 {
&pcie {
status = "okay";
- ath9k: wifi@0,0 {
+ wifi@0,0 {
compatible = "pci168c,0030";
reg = <0x0 0 0 0 0>;
ieee80211-freq-limit = <2402000 2482000>;
- #gpio-cells = <2>;
- gpio-controller;
+
+ led {
+ led-sources = <0>;
+ led-active-low;
+ };
};
};
gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
};
- wlan {
- function = LED_FUNCTION_WLAN;
- color = <LED_COLOR_ID_GREEN>;
- gpios = <&gpio 21 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "phy0tpt";
- };
-
led_system: system {
label = "green:system";
gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
nvmem-cells = <&macaddr_uboot_1fc00 0>, <&cal_art_1000>;
nvmem-cell-names = "mac-address", "calibration";
+
+ led {
+ led-sources = <21>;
+ led-active-low;
+ };
};
ð0 {
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
};
- wifi_amber {
- label = "amber:wifi";
- gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "phy1tpt";
- };
-
wifi_green {
label = "green:wifi";
gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
nvmem-cells = <&macaddr_art_0 (-2)>, <&calibration_art_1000>;
nvmem-cell-names = "mac-address", "calibration";
+
+ led {
+ led-sources = <19>;
+ led-active-low;
+ };
};
&art {
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
};
- wifi_amber {
- label = "amber:wifi";
- gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "phy1tpt";
- };
-
wifi_green {
label = "green:wifi";
gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
&wmac {
nvmem-cells = <&macaddr_art_0 (-2)>, <&calibration_art_1000>;
nvmem-cell-names = "mac-address", "calibration";
+
+ led {
+ led-sources = <19>;
+ led-active-low;
+ };
};
&art {
pinctrl-names = "default";
pinctrl-0 = <&enable_gpio20_gpio22>;
- wifi {
- label = "green:wifi";
- gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "phy0tpt";
- };
-
lan1 {
label = "orange:lan1";
gpios = <&gpio 20 GPIO_ACTIVE_LOW>;
nvmem-cells = <&cal_art_1000>;
nvmem-cell-names = "calibration";
+
+ led {
+ led-sources = <12>;
+ led-active-low;
+ };
};
&pinmux {