[PATCH v1 06/11] ARM: dts: Update config node for stm32mp157c-ed1-u-boot
Patrice Chotard
patrice.chotard at foss.st.com
Thu Oct 9 15:54:00 CEST 2025
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 <patrice.chotard at foss.st.com>
---
arch/arm/dts/stm32mp157c-ed1-u-boot.dtsi | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/arch/arm/dts/stm32mp157c-ed1-u-boot.dtsi b/arch/arm/dts/stm32mp157c-ed1-u-boot.dtsi
index d93359f967c..e44ea84b88f 100644
--- a/arch/arm/dts/stm32mp157c-ed1-u-boot.dtsi
+++ b/arch/arm/dts/stm32mp157c-ed1-u-boot.dtsi
@@ -14,8 +14,6 @@
};
config {
- u-boot,boot-led = "led-blue";
- u-boot,error-led = "led-red";
u-boot,mmc-env-partition = "fip";
};
@@ -61,7 +59,7 @@
led {
compatible = "gpio-leds";
- led-blue {
+ led_blue: led-blue {
gpios = <&gpiod 9 GPIO_ACTIVE_HIGH>;
};
@@ -69,6 +67,12 @@
gpios = <&gpioa 13 GPIO_ACTIVE_LOW>;
};
};
+
+ options {
+ u-boot {
+ boot-led = <&led_blue>;
+ };
+ };
};
&clk_hse {
--
2.43.0
More information about the U-Boot
mailing list