[openwrt/openwrt] ath79: add back usb LED label for NETGEAR WNDR3x00 devices

LEDE Commits lede-commits at lists.infradead.org
Thu Jun 20 05:02:31 PDT 2024


nick pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/66b41c4afd3d1cd7a674c773a5dd4025fe1cd0fb

commit 66b41c4afd3d1cd7a674c773a5dd4025fe1cd0fb
Author: Shiji Yang <yangshiji66 at qq.com>
AuthorDate: Wed Jun 19 10:52:03 2024 +0000

    ath79: add back usb LED label for NETGEAR WNDR3x00 devices
    
    The "reset-leds" driver does not support parsing color and function
    properties.
    
    Signed-off-by: Shiji Yang <yangshiji66 at qq.com>
---
 target/linux/ath79/dts/ar7161_netgear_wndr.dtsi | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/target/linux/ath79/dts/ar7161_netgear_wndr.dtsi b/target/linux/ath79/dts/ar7161_netgear_wndr.dtsi
index bc280976cb..0afa989ee3 100644
--- a/target/linux/ath79/dts/ar7161_netgear_wndr.dtsi
+++ b/target/linux/ath79/dts/ar7161_netgear_wndr.dtsi
@@ -19,8 +19,7 @@
 		compatible = "reset-leds";
 
 		usb_led {
-			function = LED_FUNCTION_USB;
-			color = <LED_COLOR_ID_GREEN>;
+			label = "green:usb";
 			resets = <&rst 12>;
 			trigger-sources = <&usb_ohci_port>, <&usb_ehci_port>;
 			linux,default-trigger = "usbport";




More information about the lede-commits mailing list