mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2025-12-11 23:22:11 -05:00
ath79: araknis_an-300-ap-i-n: use led-sources
The ath9k driver creates an ath9k LED by default. Instead of having a non functional LED, configure it properly and remove the extra as it's not needed. Signed-off-by: Rosen Penev <rosenp@gmail.com> Link: https://github.com/openwrt/openwrt/pull/18904 Signed-off-by: Robert Marko <robimarko@gmail.com>
This commit is contained in:
parent
43ae8e17e1
commit
c22db9698e
@ -38,28 +38,12 @@
|
|||||||
default-state = "off";
|
default-state = "off";
|
||||||
};
|
};
|
||||||
|
|
||||||
wifi5g {
|
|
||||||
label = "blue:wifi5g";
|
|
||||||
gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
|
|
||||||
linux,default-trigger = "phy0tpt";
|
|
||||||
};
|
|
||||||
|
|
||||||
wps {
|
wps {
|
||||||
function = LED_FUNCTION_WPS;
|
function = LED_FUNCTION_WPS;
|
||||||
color = <LED_COLOR_ID_BLUE>;
|
color = <LED_COLOR_ID_BLUE>;
|
||||||
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
|
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
ath9k-leds {
|
|
||||||
compatible = "gpio-leds";
|
|
||||||
|
|
||||||
wifi2g {
|
|
||||||
label = "blue:wifi2g";
|
|
||||||
gpios = <&ath9k 0 GPIO_ACTIVE_LOW>;
|
|
||||||
linux,default-trigger = "phy1tpt";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
&mdio0 {
|
&mdio0 {
|
||||||
@ -87,14 +71,17 @@
|
|||||||
&pcie {
|
&pcie {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
||||||
ath9k: wifi@0,0 {
|
wifi@0,0 {
|
||||||
compatible = "pci168c,0030";
|
compatible = "pci168c,0030";
|
||||||
reg = <0x0 0 0 0 0>;
|
reg = <0x0 0 0 0 0>;
|
||||||
nvmem-cells = <&macaddr_art_0 1>, <&calibration_art_5000>;
|
nvmem-cells = <&macaddr_art_0 1>, <&calibration_art_5000>;
|
||||||
nvmem-cell-names = "mac-address", "calibration";
|
nvmem-cell-names = "mac-address", "calibration";
|
||||||
ieee80211-freq-limit = <2402000 2482000>;
|
ieee80211-freq-limit = <2402000 2482000>;
|
||||||
#gpio-cells = <2>;
|
|
||||||
gpio-controller;
|
led {
|
||||||
|
led-sources = <0>;
|
||||||
|
led-active-low;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -105,6 +92,11 @@
|
|||||||
|
|
||||||
nvmem-cells = <&macaddr_art_0 2>, <&calibration_art_1000>;
|
nvmem-cells = <&macaddr_art_0 2>, <&calibration_art_1000>;
|
||||||
nvmem-cell-names = "mac-address", "calibration";
|
nvmem-cell-names = "mac-address", "calibration";
|
||||||
|
|
||||||
|
led {
|
||||||
|
led-sources = <12>;
|
||||||
|
led-active-low;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
&art {
|
&art {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user