ath79: add back usb LED label for NETGEAR WNDR3x00 devices
authorShiji Yang <yangshiji66@qq.com>
Wed, 19 Jun 2024 10:52:03 +0000 (10:52 +0000)
committerNick Hainke <vincent@systemli.org>
Thu, 20 Jun 2024 12:02:13 +0000 (14:02 +0200)
The "reset-leds" driver does not support parsing color and function
properties.

Signed-off-by: Shiji Yang <yangshiji66@qq.com>
target/linux/ath79/dts/ar7161_netgear_wndr.dtsi

index bc280976cb5ab8cdf9a28a82d6fad7fd8ea5594d..0afa989ee324aa5a9834b84e09a35f8816611ca3 100644 (file)
@@ -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";