]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: dts: stm32: Update red led node for stm32mp157c-ed1-scmi-u-boot
authorPatrice Chotard <patrice.chotard@foss.st.com>
Tue, 9 Apr 2024 15:02:14 +0000 (17:02 +0200)
committerPatrice Chotard <patrice.chotard@foss.st.com>
Fri, 19 Apr 2024 10:05:10 +0000 (12:05 +0200)
As indicated in kernel led dt-bindings, label is a deprecated
property, so remove it and use led node's name instead for
u-boot,error-led property.
Rename red led node's name to led-red.
Remove status property which is useless.
Add compatible = "gpio-leds"; which is not present in kernel DT.

Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
arch/arm/dts/stm32mp157c-ed1-scmi-u-boot.dtsi

index 2abd512e2976ff0d3c483f72be1533478c20420e..b38e816f888290a036a906e3d398a6803aee59b1 100644 (file)
@@ -13,7 +13,7 @@
 
        config {
                u-boot,boot-led = "heartbeat";
-               u-boot,error-led = "error";
+               u-boot,error-led = "led-red";
                u-boot,mmc-env-partition = "u-boot-env";
        };
 
        };
 
        led {
-               red {
-                       label = "error";
+               compatible = "gpio-leds";
+
+               led-red {
                        gpios = <&gpioa 13 GPIO_ACTIVE_LOW>;
-                       status = "okay";
                };
        };
 };