mvebu: fix Linksys power LED
authorRichard Schneidt <ricsc@users.noreply.github.com>
Fri, 27 Dec 2024 11:57:34 +0000 (12:57 +0100)
committerRobert Marko <robimarko@gmail.com>
Fri, 27 Dec 2024 15:08:19 +0000 (16:08 +0100)
Kernel 6.6 requires LED node names to be prefixed via "led-", otherwise
probing the LED will fail, so update our downstream patch adding the LED.

Signed-off-by: Richard Schneidt <ricsc@users.noreply.github.com>
Link: https://github.com/openwrt/openwrt/pull/17330
Signed-off-by: Robert Marko <robimarko@gmail.com>
target/linux/mvebu/patches-6.6/309-linksys-status-led.patch

index 4ad9abc3a1988f538239b5dae4ed23dbaf2314ea..270937a924b240c04ac9052caab087937a71fa43 100644 (file)
@@ -19,7 +19,7 @@
                pinctrl-names = "default";
  
 -              led-power {
-+              led_power: power {
++              led_power: led-power {
                        gpios = <&gpio1 23 GPIO_ACTIVE_HIGH>;
                        default-state = "on";
                };
@@ -44,7 +44,7 @@
                pinctrl-names = "default";
  
 -              led-power {
-+              led_power: power {
++              led_power: led-power {
                        label = "mamba:white:power";
                        gpios = <&gpio1 8 GPIO_ACTIVE_HIGH>;
                        default-state = "on";