[PATCH 14/15] arm64: dts: st: Add boot-led for stm32mp257f-dk
Patrice Chotard
patrice.chotard at foss.st.com
Wed Nov 12 07:48:17 PST 2025
Add options/u-boot/boot-led property to specify to U-Boot
the LED which indicates a successful boot.
Signed-off-by: Patrice Chotard <patrice.chotard at foss.st.com>
---
arch/arm64/boot/dts/st/stm32mp257f-dk.dts | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/arch/arm64/boot/dts/st/stm32mp257f-dk.dts b/arch/arm64/boot/dts/st/stm32mp257f-dk.dts
index dc1a75f10f49..d260e18cc1c9 100644
--- a/arch/arm64/boot/dts/st/stm32mp257f-dk.dts
+++ b/arch/arm64/boot/dts/st/stm32mp257f-dk.dts
@@ -46,7 +46,7 @@ button-user-2 {
gpio-leds {
compatible = "gpio-leds";
- led-blue {
+ led_blue: led-blue {
function = LED_FUNCTION_HEARTBEAT;
color = <LED_COLOR_ID_BLUE>;
gpios = <&gpioh 7 GPIO_ACTIVE_HIGH>;
@@ -70,6 +70,13 @@ memory at 80000000 {
reg = <0x0 0x80000000 0x1 0x0>;
};
+ options {
+ u-boot {
+ compatible = "u-boot,config";
+ boot-led = <&led_blue>;
+ };
+ };
+
reserved-memory {
#address-cells = <2>;
#size-cells = <2>;
--
2.43.0
More information about the linux-arm-kernel
mailing list