ath79: convert phy1tpt to led-sources

Makes it a lot clearer what phy1tpt is, especially since it differs
between ath10k and ath9k.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/23191
Signed-off-by: Robert Marko <robimarko@gmail.com>
This commit is contained in:
Rosen Penev
2025-11-30 14:52:18 -08:00
committed by Robert Marko
parent ab8cebbc97
commit a5cbb9ef52
69 changed files with 347 additions and 412 deletions
@@ -122,7 +122,7 @@
&pcie0 {
status = "okay";
ath9k0: wifi@11,0 {
wifi@11,0 {
compatible = "pci168c,0029";
nvmem-cells = <&macaddr_hwinfo_1c 1>;
nvmem-cell-names = "mac-address";
@@ -131,7 +131,7 @@
gpio-controller;
};
ath9k1: wifi@12,0 {
wifi@12,0 {
compatible = "pci168c,0029";
nvmem-cells = <&macaddr_hwinfo_1c 2>;
nvmem-cell-names = "mac-address";
@@ -63,12 +63,6 @@
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";
};
};
};
@@ -170,4 +164,8 @@
nvmem-cells = <&cal_art_1000>;
nvmem-cell-names = "calibration";
led {
led-sources = <0>;
};
};
@@ -74,13 +74,6 @@
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 {
@@ -118,6 +111,13 @@
nvmem-cell-names = "mac-address";
};
&wmac {
led {
led-sources = <12>;
led-active-low;
};
};
&pcie0 {
status = "okay";
};
@@ -38,13 +38,6 @@
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";
};
};
};
@@ -57,6 +50,13 @@
compatible = "syscon", "simple-mfd";
};
&wmac {
led {
led-sources = <12>;
led-active-low;
};
};
&gpio_export {
usb-power {
gpio-export,name = "usb-power";
@@ -46,13 +46,6 @@
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";
};
};
};
@@ -70,6 +63,13 @@
nvmem-cell-names = "mac-address";
};
&wmac {
led {
led-sources = <15>;
led-active-low;
};
};
&gpio_export {
usb-power {
gpio-export,name = "usb-power";
@@ -32,13 +32,6 @@
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";
};
};
};
@@ -51,6 +44,13 @@
compatible = "syscon", "simple-mfd";
};
&wmac {
led {
led-sources = <11>;
led-active-low;
};
};
&gpio_export {
usb-power {
gpio-export,name = "usb-power";
@@ -23,13 +23,6 @@
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>;
@@ -149,4 +142,9 @@
nvmem-cells = <&macaddr_art_0>, <&cal_art_1000>;
nvmem-cell-names = "mac-address", "calibration";
led {
led-sources = <0>;
led-active-low;
};
};
@@ -54,13 +54,6 @@
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 {
@@ -172,4 +165,9 @@
nvmem-cells = <&cal_art_1000>;
nvmem-cell-names = "calibration";
led {
led-sources = <0>;
led-active-low;
};
};
@@ -41,13 +41,6 @@
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";
@@ -158,4 +151,8 @@
nvmem-cells = <&cal_art_1000>, <&macaddr_art_0 2>;
nvmem-cell-names = "calibration", "mac-address";
led {
led-sources = <0>;
};
};
@@ -41,13 +41,6 @@
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>;
@@ -150,6 +143,11 @@
nvmem-cells = <&cal_art_1000>;
nvmem-cell-names = "calibration";
led {
led-sources = <0>;
led-active-low;
};
};
&pinmux {
@@ -35,13 +35,6 @@
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 {
@@ -148,4 +141,9 @@
nvmem-cells = <&macaddr_art_0 3>, <&cal_art_1000>;
nvmem-cell-names = "mac-address", "calibration";
led {
led-sources = <12>;
led-active-low;
};
};
@@ -47,12 +47,6 @@
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>;
@@ -166,4 +160,9 @@
nvmem-cells = <&cal_art_1000>;
nvmem-cell-names = "calibration";
led {
led-sources = <14>;
led-active-low;
};
};
@@ -33,12 +33,6 @@
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>;
@@ -155,4 +149,9 @@
nvmem-cells = <&cal_art_1000>;
nvmem-cell-names = "calibration";
led {
led-sources = <4>;
led-active-low;
};
};
@@ -17,12 +17,6 @@
};
&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>;
@@ -46,3 +40,10 @@
reg = <0x070000 0xf90000>;
};
};
&wmac {
led {
led-sources = <4>;
led-active-low;
};
};
@@ -17,12 +17,6 @@
};
&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>;
@@ -46,3 +40,10 @@
reg = <0x070000 0x790000>;
};
};
&wmac {
led {
led-sources = <4>;
led-active-low;
};
};
@@ -49,12 +49,6 @@
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";
};
};
};
@@ -149,4 +143,9 @@
nvmem-cells = <&cal_art_1000>;
nvmem-cell-names = "calibration";
led {
led-sources = <13>;
led-active-low;
};
};
@@ -42,12 +42,6 @@
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 {
@@ -207,4 +201,9 @@
nvmem-cells = <&cal_art_1000>;
nvmem-cell-names = "calibration";
led {
led-sources = <13>;
led-active-low;
};
};
@@ -36,10 +36,6 @@
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
};
led-wlan2g {
gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
};
led-wlan5g {
gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
};
@@ -58,6 +54,13 @@
};
};
&wmac {
led {
led-sources = <1>;
led-active-low;
};
};
&spi {
flash@0 {
broken-flash-reset;
@@ -29,10 +29,6 @@
gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
};
led-wlan2g {
gpios = <&gpio 21 GPIO_ACTIVE_LOW>;
};
led-wlan5g {
gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
};
@@ -63,6 +59,13 @@
};
};
&wmac {
led {
led-sources = <21>;
led-active-low;
};
};
&spi {
flash@0 {
partitions {
@@ -52,12 +52,6 @@
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;
@@ -37,12 +37,6 @@
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>;
@@ -112,6 +106,11 @@
nvmem-cells = <&macaddr_art_0 1>, <&cal_art_1000>;
nvmem-cell-names = "mac-address", "calibration";
led {
led-sources = <13>;
led-active-low;
};
};
&pcie0 {
@@ -39,12 +39,6 @@
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>;
@@ -114,6 +108,11 @@
nvmem-cells = <&macaddr_art_0 1>, <&calibration_art_1000>;
nvmem-cell-names = "mac-address", "calibration";
led {
led-sources = <13>;
led-active-low;
};
};
&ath10k_0 {
@@ -25,12 +25,6 @@
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>;
@@ -82,6 +76,11 @@
&wmac {
nvmem-cells = <&calibration_art_1000>, <&macaddr_uboot_eth 1>;
nvmem-cell-names = "calibration", "mac-address";
led {
led-sources = <13>;
led-active-low;
};
};
&wifi0 {
@@ -39,12 +39,6 @@
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>;
@@ -149,3 +143,10 @@
nvmem-cell-names = "calibration", "mac-address";
};
};
&wmac {
led {
led-sources = <19>;
led-active-low;
};
};
@@ -39,12 +39,6 @@
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>;
@@ -114,6 +108,11 @@
nvmem-cells = <&macaddr_art_0 1>, <&cal_art_1000>;
nvmem-cell-names = "mac-address", "calibration";
led {
led-sources = <13>;
led-active-low;
};
};
&pcie0 {
@@ -37,12 +37,6 @@
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>;
@@ -112,6 +106,11 @@
nvmem-cells = <&macaddr_art_0 1>, <&cal_art_1000>;
nvmem-cell-names = "mac-address", "calibration";
led {
led-sources = <13>;
led-active-low;
};
};
&pcie0 {
@@ -40,12 +40,6 @@
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>;
@@ -157,4 +151,8 @@
nvmem-cells = <&macaddr_art_0 10>, <&cal_art_1000>;
nvmem-cell-names = "mac-address", "calibration";
led {
led-sources = <2>;
};
};
@@ -32,12 +32,6 @@
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>;
@@ -110,6 +104,11 @@
&wmac {
status = "okay";
led {
led-sources = <13>;
led-active-low;
};
};
// This node is required for the Ethernet ports to work correctly.
@@ -30,12 +30,6 @@
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 {
@@ -119,6 +113,13 @@
};
};
&wmac {
led {
led-sources = <13>;
led-active-low;
};
};
&art {
nvmem-layout {
compatible = "fixed-layout";
@@ -40,12 +40,6 @@
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>;
@@ -225,4 +219,9 @@
nvmem-cells = <&macaddr_art_c>, <&cal_art_1000>;
nvmem-cell-names = "mac-address", "calibration";
led {
led-sources = <13>;
led-active-low;
};
};
@@ -39,12 +39,6 @@
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>;
@@ -114,6 +108,11 @@
nvmem-cells = <&macaddr_art_0 1>, <&calibration_art_1000>;
nvmem-cell-names = "mac-address", "calibration";
led {
led-sources = <13>;
led-active-low;
};
};
&ath10k_0 {
@@ -31,13 +31,6 @@
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;
@@ -46,3 +39,10 @@
};
};
};
&wmac {
led {
led-sources = <14>;
led-active-low;
};
};
@@ -25,12 +25,6 @@
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>;
@@ -82,6 +76,11 @@
&wmac {
nvmem-cells = <&calibration_art_1000>, <&macaddr_uboot_eth 1>;
nvmem-cell-names = "calibration", "mac-address";
led {
led-sources = <13>;
led-active-low;
};
};
&wifi0 {
@@ -25,12 +25,6 @@
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>;
@@ -82,6 +76,11 @@
&wmac {
nvmem-cells = <&calibration_art_1000>, <&macaddr_uboot_eth 1>;
nvmem-cell-names = "calibration", "mac-address";
led {
led-sources = <13>;
led-active-low;
};
};
&wifi0 {
@@ -25,16 +25,10 @@
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 {
@@ -82,6 +76,11 @@
&wmac {
nvmem-cells = <&calibration_art_1000>, <&macaddr_uboot_eth 0>;
nvmem-cell-names = "calibration", "mac-address";
led {
led-sources = <13>;
led-active-low;
};
};
&wifi0 {
@@ -31,13 +31,6 @@
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;
@@ -46,3 +39,10 @@
};
};
};
&wmac {
led {
led-sources = <14>;
led-active-low;
};
};
@@ -28,12 +28,6 @@
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>;
@@ -151,6 +145,11 @@
nvmem-cells = <&macaddr_art_6>, <&cal_art_1000>;
nvmem-cell-names = "mac-address", "calibration";
led {
led-sources = <23>;
led-active-low;
};
};
&mdio0 {
@@ -12,12 +12,6 @@
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>;
@@ -124,6 +118,11 @@
nvmem-cells = <&macaddr_art_6>, <&cal_art_1000>;
nvmem-cell-names = "mac-address", "calibration";
led {
led-sources = <14>;
led-active-low;
};
};
&mdio0 {
@@ -38,11 +38,6 @@
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>;
@@ -184,6 +179,11 @@
nvmem-cells = <&macaddr_art_0 1>, <&cal_art_1000>;
nvmem-cell-names = "mac-address", "calibration";
led {
led-sources = <13>;
led-active-low;
};
};
&pcie0 {
@@ -7,10 +7,6 @@
model = "OpenMesh MR1750 v1";
};
&led_wifi2g {
linux,default-trigger = "phy1tpt";
};
&led_wifi5g {
linux,default-trigger = "phy0tpt";
};
@@ -7,10 +7,6 @@
model = "OpenMesh MR1750 v2";
};
&led_wifi2g {
linux,default-trigger = "phy1tpt";
};
&led_wifi5g {
linux,default-trigger = "phy0tpt";
};
@@ -7,10 +7,6 @@
model = "OpenMesh MR900 v1";
};
&led_wifi2g {
linux,default-trigger = "phy0tpt";
};
&led_wifi5g {
linux,default-trigger = "phy1tpt";
};
@@ -7,10 +7,6 @@
model = "OpenMesh MR900 v2";
};
&led_wifi2g {
linux,default-trigger = "phy0tpt";
};
&led_wifi5g {
linux,default-trigger = "phy1tpt";
};
@@ -37,12 +37,6 @@
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>;
@@ -203,4 +197,9 @@
&wmac {
status = "okay";
led {
led-sources = <12>;
led-active-low;
};
};
@@ -25,12 +25,6 @@
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>;
@@ -223,4 +217,9 @@
nvmem-cells = <&macaddr_info_8 (-1)>, <&cal_art_1000>;
nvmem-cell-names = "mac-address", "calibration";
led {
led-sources = <13>;
led-active-low;
};
};
@@ -48,12 +48,6 @@
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>;
@@ -138,6 +132,11 @@
nvmem-cells = <&macaddr_art_0 1>, <&cal_art_1000>;
nvmem-cell-names = "mac-address", "calibration";
led {
led-sources = <23>;
led-active-low;
};
};
&pcie0 {
@@ -44,12 +44,6 @@
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>;
@@ -199,3 +193,10 @@
qcom,ath10k-calibration-variant = "ZyXEL-NBG6716";
};
};
&wmac {
led {
led-sources = <19>;
led-active-low;
};
};
@@ -16,14 +16,6 @@
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>;
@@ -244,4 +236,9 @@
nvmem-cells = <&cal_art_1000>;
nvmem-cell-names = "calibration";
led {
led-sources = <13>;
led-active-low;
};
};
@@ -40,12 +40,6 @@
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>;
@@ -82,4 +76,9 @@
&wmac {
status = "okay";
led {
led-sources = <17>;
led-active-low;
};
};
@@ -32,12 +32,6 @@
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 {
@@ -166,4 +160,8 @@
nvmem-cells = <&macaddr_art_0 10>, <&cal_art_1000>;
nvmem-cell-names = "mac-address", "calibration";
led {
led-sources = <16>;
};
};
@@ -17,12 +17,6 @@
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>;
@@ -89,4 +83,8 @@
&wmac {
nvmem-cells = <&cal_art_1000>;
nvmem-cell-names = "calibration";
led {
led-sources = <7>;
};
};
@@ -48,12 +48,6 @@
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>;
@@ -203,4 +197,9 @@
nvmem-cells = <&cal_art_1000>;
nvmem-cell-names = "calibration";
led {
led-sources = <19>;
led-active-low;
};
};
@@ -36,12 +36,6 @@
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>;
@@ -200,4 +194,9 @@
nvmem-cells = <&calibration_ath9k>;
nvmem-cell-names = "calibration";
led {
led-sources = <19>;
led-active-low;
};
};
@@ -60,12 +60,6 @@
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 {
@@ -234,4 +228,9 @@
nvmem-cells = <&macaddr_board_data_680 0>, <&cal_art_1000>;
nvmem-cell-names = "mac-address", "calibration";
led {
led-sources = <19>;
led-active-low;
};
};
@@ -74,12 +74,6 @@
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>;
@@ -265,6 +259,11 @@
nvmem-cells = <&macaddr_caldata_0>, <&cal_art_1000>;
nvmem-cell-names = "mac-address", "calibration";
led {
led-sources = <19>;
led-active-low;
};
};
&pcie {
@@ -42,12 +42,6 @@
trigger-sources = <&hub_port0>;
linux,default-trigger = "usbport";
};
wlan2g {
label = "green:wlan2g";
gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy1tpt";
};
};
};
@@ -174,4 +168,9 @@
nvmem-cells = <&cal_art_1000>;
nvmem-cell-names = "calibration";
led {
led-sources = <19>;
led-active-low;
};
};
@@ -26,12 +26,6 @@
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>;
@@ -208,4 +202,9 @@
nvmem-cells = <&macaddr_info_8 0>, <&cal_art_1000>;
nvmem-cell-names = "mac-address", "calibration";
led {
led-sources = <8>;
led-active-low;
};
};
@@ -27,12 +27,6 @@
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>;
@@ -178,4 +172,9 @@
&wmac {
nvmem-cells = <&macaddr_info_8 0>, <&cal_art_1000>;
nvmem-cell-names = "mac-address", "calibration";
led {
led-sources = <14>;
led-active-low;
};
};
@@ -27,12 +27,6 @@
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>;
@@ -173,4 +167,9 @@
&wmac {
nvmem-cells = <&macaddr_info_8 0>, <&cal_art_1000>;
nvmem-cell-names = "mac-address", "calibration";
led {
led-sources = <15>;
led-active-low;
};
};
@@ -37,12 +37,6 @@
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>;
@@ -162,4 +156,9 @@
&wmac {
status = "okay";
led {
led-sources = <14>;
led-active-low;
};
};
@@ -20,12 +20,6 @@
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>;
@@ -166,4 +160,9 @@
nvmem-cells = <&macaddr_config_8 0>, <&cal_art_1000>;
nvmem-cell-names = "mac-address", "calibration";
led {
led-sources = <1>;
led-active-low;
};
};
@@ -20,12 +20,6 @@
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>;
@@ -151,4 +145,9 @@
nvmem-cells = <&cal_art_1000>;
nvmem-cell-names = "calibration";
led {
led-sources = <1>;
led-active-low;
};
};
@@ -24,12 +24,6 @@
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>;
@@ -136,4 +130,9 @@
&wmac {
status = "okay";
led {
led-sources = <14>;
led-active-low;
};
};
@@ -29,12 +29,6 @@
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>;
@@ -111,6 +105,11 @@
nvmem-cells = <&macaddr_info_8 0>, <&cal_art_1000>;
nvmem-cell-names = "mac-address", "calibration";
led {
led-sources = <15>;
led-active-low;
};
};
&spi {
@@ -61,12 +61,6 @@
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>;
@@ -129,4 +123,9 @@
&wmac {
status = "okay";
led {
led-sources = <19>;
led-active-low;
};
};
@@ -21,11 +21,12 @@
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;
};
};
@@ -22,12 +22,6 @@
gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
default-state = "keep";
};
wlan2g {
label = "blue:wlan2g";
gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy1tpt";
};
};
};
@@ -37,3 +31,10 @@
nvmem-cell-names = "calibration";
};
};
&wmac {
led {
led-sources = <19>;
led-active-low;
};
};
@@ -21,11 +21,12 @@
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;
};
};
@@ -7,13 +7,6 @@
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 {
@@ -31,3 +24,10 @@
pinctrl-single,bits = <0x10 0x0 0xff000000>;
};
};
&wmac {
led {
led-sources = <19>;
led-active-low;
};
};