mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2026-02-20 22:52:26 +01:00
ath79: dir-825-c1: set LED pin properly
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/18908 Signed-off-by: Robert Marko <robimarko@gmail.com>
This commit is contained in:
parent
b2277e9bab
commit
acc49770c2
2 changed files with 11 additions and 15 deletions
|
|
@ -41,12 +41,6 @@
|
|||
gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
|
||||
};
|
||||
|
||||
wlan2g {
|
||||
label = "blue:wlan2g";
|
||||
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
|
||||
linux,default-trigger = "phy0tpt";
|
||||
};
|
||||
|
||||
wps {
|
||||
function = LED_FUNCTION_WPS;
|
||||
color = <LED_COLOR_ID_BLUE>;
|
||||
|
|
@ -65,15 +59,19 @@
|
|||
gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
leds-ath9k {
|
||||
compatible = "gpio-leds";
|
||||
&ath9k {
|
||||
led {
|
||||
led-sources = <0>;
|
||||
led-active-low;
|
||||
};
|
||||
};
|
||||
|
||||
wlan5g {
|
||||
label = "blue:wlan5g";
|
||||
gpios = <&ath9k 0 GPIO_ACTIVE_LOW>;
|
||||
linux,default-trigger = "phy1tpt";
|
||||
};
|
||||
&wmac {
|
||||
led {
|
||||
led-sources = <13>;
|
||||
led-active-low;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -65,8 +65,6 @@
|
|||
nvmem-cell-names = "mac-address", "calibration";
|
||||
*/
|
||||
qca,no-eeprom; /* remove this when "mac-address" works */
|
||||
gpio-controller;
|
||||
#gpio-cells = <2>;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue