[PATCH v1 04/11] ARM: dts: Update config node for stm32mp157a-dk1-u-boot
Patrice Chotard
patrice.chotard at foss.st.com
Thu Oct 9 15:53:58 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/stm32mp157a-dk1-u-boot.dtsi | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/arch/arm/dts/stm32mp157a-dk1-u-boot.dtsi b/arch/arm/dts/stm32mp157a-dk1-u-boot.dtsi
index f97debaa0e4..ae3933fa3de 100644
--- a/arch/arm/dts/stm32mp157a-dk1-u-boot.dtsi
+++ b/arch/arm/dts/stm32mp157a-dk1-u-boot.dtsi
@@ -15,8 +15,6 @@
};
config {
- u-boot,boot-led = "led-blue";
- u-boot,error-led = "led-red";
u-boot,mmc-env-partition = "fip";
st,adc_usb_pd = <&adc1 18>, <&adc1 19>;
};
@@ -64,7 +62,7 @@
};
led {
- led-blue {
+ led_blue: led-blue {
/delete-property/label;
};
@@ -72,6 +70,12 @@
gpios = <&gpioa 13 GPIO_ACTIVE_LOW>;
};
};
+
+ options {
+ u-boot {
+ boot-led = <&led_blue>;
+ };
+ };
};
&adc {
--
2.43.0
More information about the U-Boot
mailing list