[PATCH 09/15] ARM: dts: stm32: Add boot-led for stm32h747i-disco
Patrice Chotard
patrice.chotard at foss.st.com
Wed Nov 12 07:48:12 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/arm/boot/dts/st/stm32h747i-disco.dts | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/st/stm32h747i-disco.dts b/arch/arm/boot/dts/st/stm32h747i-disco.dts
index bb6649a58bc1..c9dcc680e26d 100644
--- a/arch/arm/boot/dts/st/stm32h747i-disco.dts
+++ b/arch/arm/boot/dts/st/stm32h747i-disco.dts
@@ -39,7 +39,7 @@ v3v3: regulator-v3v3 {
leds {
compatible = "gpio-leds";
- led-green {
+ led_green: led-green {
function = LED_FUNCTION_HEARTBEAT;
color = <LED_COLOR_ID_GREEN>;
gpios = <&gpioi 12 GPIO_ACTIVE_LOW>;
@@ -93,6 +93,13 @@ button-5 {
gpios = <&gpiok 5 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
};
};
+
+ options {
+ u-boot {
+ compatible = "u-boot,config";
+ boot-led = <&led_green>;
+ };
+ };
};
&clk_hse {
--
2.43.0
More information about the linux-arm-kernel
mailing list