[PATCH v1 07/11] ARM: dts: Update config node for stm32mp157c-ed1-scmi-u-boot
Patrice Chotard
patrice.chotard at foss.st.com
Thu Oct 9 15:54:01 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
Dependency with series https://patchwork.ozlabs.org/project/uboot/list/?series=476911
Signed-off-by: Patrice Chotard <patrice.chotard at foss.st.com>
---
arch/arm/dts/stm32mp157c-ed1-scmi-u-boot.dtsi | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/arch/arm/dts/stm32mp157c-ed1-scmi-u-boot.dtsi b/arch/arm/dts/stm32mp157c-ed1-scmi-u-boot.dtsi
index 7c0d1bab11a..54acd507d0e 100644
--- a/arch/arm/dts/stm32mp157c-ed1-scmi-u-boot.dtsi
+++ b/arch/arm/dts/stm32mp157c-ed1-scmi-u-boot.dtsi
@@ -12,8 +12,6 @@
};
config {
- u-boot,boot-led = "led-blue";
- u-boot,error-led = "led-red";
u-boot,mmc-env-partition = "u-boot-env";
};
@@ -36,7 +34,7 @@
led {
compatible = "gpio-leds";
- led-blue {
+ led_blue: led-blue {
gpios = <&gpiod 9 GPIO_ACTIVE_HIGH>;
};
@@ -44,6 +42,12 @@
gpios = <&gpioa 13 GPIO_ACTIVE_LOW>;
};
};
+
+ options {
+ u-boot {
+ boot-led = <&led_blue>;
+ };
+ };
};
&uart4 {
--
2.43.0
More information about the U-Boot
mailing list