Remove u-boot,error-led property as it's the legacy LED stuff.
Use /options/u-boot to configure LED device as described here [1].

[1] 
https://github.com/devicetree-org/dt-schema/blob/main/dtschema/schemas/options/u-boot.yaml

Signed-off-by: Patrice Chotard <[email protected]>
---

 arch/arm/dts/stm32mp157a-dk1-scmi-u-boot.dtsi | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/arch/arm/dts/stm32mp157a-dk1-scmi-u-boot.dtsi 
b/arch/arm/dts/stm32mp157a-dk1-scmi-u-boot.dtsi
index a5158fec7ef..2f67341a076 100644
--- a/arch/arm/dts/stm32mp157a-dk1-scmi-u-boot.dtsi
+++ b/arch/arm/dts/stm32mp157a-dk1-scmi-u-boot.dtsi
@@ -13,8 +13,6 @@
        };
 
        config {
-               u-boot,boot-led = "led-blue";
-               u-boot,error-led = "led-red";
                u-boot,mmc-env-partition = "u-boot-env";
                st,adc_usb_pd = <&adc1 18>, <&adc1 19>;
        };
@@ -36,7 +34,7 @@
        };
 
        led {
-               led-blue {
+               led_blue: led-blue {
                        /delete-property/label;
                };
 
@@ -44,6 +42,12 @@
                        gpios = <&gpioa 13 GPIO_ACTIVE_LOW>;
                };
        };
+
+       options {
+               u-boot {
+                       boot-led = <&led_blue>;
+               };
+       };
 };
 
 &adc {
-- 
2.43.0

Reply via email to