[PATCH 00/15] Add boot-led property for STM32 boards

STALE278d

17 messages, 2 authors, 2026-01-08 · open the first message on its own page

[PATCH 00/15] Add boot-led property for STM32 boards

From: Patrice Chotard <patrice.chotard@foss.st.com>
Date: 2025-11-12 15:48:45

Add options/u-boot/boot-led property to specify to U-Boot
the LED which indicates a successful boot for STMicroelectronics
boards.

The heartbeat LED is used as boot-led.

Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
---
Patrice Chotard (15):
      ARM: dts: stm32: Add boot-led for stm32429i-eval
      ARM: dts: stm32: Add boot-led for stm32f429-disco
      ARM: dts: stm32: Add boot-led for stm32469-disco
      ARM: dts: stm32: Add boot-led for stm32746g-eval
      ARM: dts: stm32: Add boot-led for stm32f746-disco
      ARM: dts: stm32: Add boot-led for stm32f769-disco
      ARM: dts: stm32: Add boot-led for stm32h743i-disco
      ARM: dts: stm32: Add boot-led for stm32h743i-eval
      ARM: dts: stm32: Add boot-led for stm32h747i-disco
      ARM: dts: stm32: Add boot-led for stm32mp135f-dk
      ARM: dts: stm32: Add boot-led for stm32mp157c-ed1
      ARM: dts: stm32: Add boot-led for stm32mp15xx-dkx
      arm64: dts: st: Add boot-led for stm32mp235f-dk
      arm64: dts: st: Add boot-led for stm32mp257f-dk
      arm64: dts: st: Add boot-led for stm32mp257f-ev1

 arch/arm/boot/dts/st/stm32429i-eval.dts    | 8 +++++++-
 arch/arm/boot/dts/st/stm32746g-eval.dts    | 9 ++++++++-
 arch/arm/boot/dts/st/stm32f429-disco.dts   | 9 ++++++++-
 arch/arm/boot/dts/st/stm32f469-disco.dts   | 9 ++++++++-
 arch/arm/boot/dts/st/stm32f746-disco.dts   | 9 ++++++++-
 arch/arm/boot/dts/st/stm32f769-disco.dts   | 9 ++++++++-
 arch/arm/boot/dts/st/stm32h743i-disco.dts  | 9 ++++++++-
 arch/arm/boot/dts/st/stm32h743i-eval.dts   | 9 ++++++++-
 arch/arm/boot/dts/st/stm32h747i-disco.dts  | 9 ++++++++-
 arch/arm/boot/dts/st/stm32mp135f-dk.dts    | 9 ++++++++-
 arch/arm/boot/dts/st/stm32mp157c-ed1.dts   | 9 ++++++++-
 arch/arm/boot/dts/st/stm32mp15xx-dkx.dtsi  | 9 ++++++++-
 arch/arm64/boot/dts/st/stm32mp235f-dk.dts  | 9 ++++++++-
 arch/arm64/boot/dts/st/stm32mp257f-dk.dts  | 9 ++++++++-
 arch/arm64/boot/dts/st/stm32mp257f-ev1.dts | 9 ++++++++-
 15 files changed, 119 insertions(+), 15 deletions(-)
---
base-commit: 329ef1e3a91600940cae9adbae08f2a157aa51c4
change-id: 20251112-upstream_add_boot-led_for_stm32_boards-3815f2e9fd9a
prerequisite-change-id: 20251112-upstream_update_led_nodes-30e8ca390161:v1
prerequisite-patch-id: 67ab2e4482e0edf07c7144922669aaeef75bb800
prerequisite-patch-id: 83333194d9de46872e5fdef3a7c28246c594ad89
prerequisite-patch-id: b5c7c9257a8e9badd14efc3d325ca319c5c2bb17
prerequisite-patch-id: 11ddd0a8da81152cf1614fb7f7c46e7f090725c6
prerequisite-patch-id: f3efa9052e5d0df9ebc55b91aecabbd7cd2c7bb7
prerequisite-patch-id: ec053fcbced6d1d0ba61b7d40d4f14d2a14fb680
prerequisite-patch-id: b2fe9787745761fe56529f033f0a713f140e4280
prerequisite-patch-id: 8760acf7bf81c0969307de081efec34032a4f57b
prerequisite-patch-id: 2c27c9bcbaa4961e6a907e269b46aca7cf40ca38
prerequisite-patch-id: f79aa19a1e76b0604d410e5dc56436ef7884d60b
prerequisite-patch-id: 1bed61c35e48271b4e56c43695edef2e0c819d55
prerequisite-patch-id: 7f73889eeb54d1d54f5c441485e211aa45b94035
prerequisite-patch-id: 78a98bdbfb3a13beae5fe234f799239be7b4b3fa
prerequisite-patch-id: d066a879ebb950227d941f6abac320e00e964b50
prerequisite-patch-id: 3540a2861aa07db77641671ef32823779fdf69c1
prerequisite-patch-id: f361e230ad24fd006396fa717ee517d72ad6ca40

Best regards,
-- 
Patrice Chotard [off-list ref]

[PATCH 05/15] ARM: dts: stm32: Add boot-led for stm32f746-disco

From: Patrice Chotard <patrice.chotard@foss.st.com>
Date: 2025-11-12 15:48:45

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@foss.st.com>
---
 arch/arm/boot/dts/st/stm32f746-disco.dts | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/st/stm32f746-disco.dts b/arch/arm/boot/dts/st/stm32f746-disco.dts
index 2e6086eea6ed..61ca41ea523e 100644
--- a/arch/arm/boot/dts/st/stm32f746-disco.dts
+++ b/arch/arm/boot/dts/st/stm32f746-disco.dts
@@ -81,7 +81,7 @@ aliases {
 
 	leds {
 		compatible = "gpio-leds";
-		led-usr {
+		led_usr: led-usr {
 			function = LED_FUNCTION_HEARTBEAT;
 			color = <LED_COLOR_ID_GREEN>;
 			gpios = <&gpioi 1 GPIO_ACTIVE_HIGH>;
@@ -99,6 +99,13 @@ button-0 {
 		};
 	};
 
+	options {
+		u-boot {
+			compatible = "u-boot,config";
+			boot-led = <&led_usr>;
+		};
+	};
+
 	usbotg_hs_phy: usb-phy {
 		#phy-cells = <0>;
 		compatible = "usb-nop-xceiv";
-- 
2.43.0

[PATCH 04/15] ARM: dts: stm32: Add boot-led for stm32746g-eval

From: Patrice Chotard <patrice.chotard@foss.st.com>
Date: 2025-11-12 15:48:45

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@foss.st.com>
---
 arch/arm/boot/dts/st/stm32746g-eval.dts | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/st/stm32746g-eval.dts b/arch/arm/boot/dts/st/stm32746g-eval.dts
index 78ceec4a9487..6772c1f9d03e 100644
--- a/arch/arm/boot/dts/st/stm32746g-eval.dts
+++ b/arch/arm/boot/dts/st/stm32746g-eval.dts
@@ -67,7 +67,7 @@ aliases {
 
 	leds {
 		compatible = "gpio-leds";
-		led-green {
+		led_green: led-green {
 			function = LED_FUNCTION_HEARTBEAT;
 			color = <LED_COLOR_ID_GREEN>;
 			gpios = <&gpiof 10 1>;
@@ -133,6 +133,13 @@ button-4 {
 		};
 	};
 
+	options {
+		u-boot {
+			compatible = "u-boot,config";
+			boot-led = <&led_green>;
+		};
+	};
+
 	usbotg_hs_phy: usb-phy {
 		#phy-cells = <0>;
 		compatible = "usb-nop-xceiv";
-- 
2.43.0

[PATCH 03/15] ARM: dts: stm32: Add boot-led for stm32469-disco

From: Patrice Chotard <patrice.chotard@foss.st.com>
Date: 2025-11-12 15:48:47

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@foss.st.com>
---
 arch/arm/boot/dts/st/stm32f469-disco.dts | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/st/stm32f469-disco.dts b/arch/arm/boot/dts/st/stm32f469-disco.dts
index f43547ec436d..943afba06b5f 100644
--- a/arch/arm/boot/dts/st/stm32f469-disco.dts
+++ b/arch/arm/boot/dts/st/stm32f469-disco.dts
@@ -83,7 +83,7 @@ soc {
 
 	leds {
 		compatible = "gpio-leds";
-		led-green {
+		led_green: led-green {
 			function = LED_FUNCTION_HEARTBEAT;
 			color = <LED_COLOR_ID_GREEN>;
 			gpios = <&gpiog 6 GPIO_ACTIVE_LOW>;
@@ -113,6 +113,13 @@ button-0 {
 		};
 	};
 
+	options {
+		u-boot {
+			compatible = "u-boot,config";
+			boot-led = <&led_green>;
+		};
+	};
+
 	/* This turns on vbus for otg for host mode (dwc2) */
 	vcc5v_otg: vcc5v-otg-regulator {
 		compatible = "regulator-fixed";
-- 
2.43.0

[PATCH 02/15] ARM: dts: stm32: Add boot-led for stm32f429-disco

From: Patrice Chotard <patrice.chotard@foss.st.com>
Date: 2025-11-12 15:48:47

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@foss.st.com>
---
 arch/arm/boot/dts/st/stm32f429-disco.dts | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/st/stm32f429-disco.dts b/arch/arm/boot/dts/st/stm32f429-disco.dts
index 15f92842c8e1..ded369abee4f 100644
--- a/arch/arm/boot/dts/st/stm32f429-disco.dts
+++ b/arch/arm/boot/dts/st/stm32f429-disco.dts
@@ -77,7 +77,7 @@ led-red {
 			color = <LED_COLOR_ID_RED>;
 			gpios = <&gpiog 14 0>;
 		};
-		led-green {
+		led_green: led-green {
 			function = LED_FUNCTION_HEARTBEAT;
 			color = <LED_COLOR_ID_GREEN>;
 			gpios = <&gpiog 13 0>;
@@ -95,6 +95,13 @@ button-0 {
 		};
 	};
 
+	options {
+		u-boot {
+			compatible = "u-boot,config";
+			boot-led = <&led_green>;
+		};
+	};
+
 	/* This turns on vbus for otg for host mode (dwc2) */
 	vcc5v_otg: vcc5v-otg-regulator {
 		compatible = "regulator-fixed";
-- 
2.43.0

[PATCH 12/15] ARM: dts: stm32: Add boot-led for stm32mp15xx-dkx

From: Patrice Chotard <patrice.chotard@foss.st.com>
Date: 2025-11-12 15:48:49

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@foss.st.com>
---
 arch/arm/boot/dts/st/stm32mp15xx-dkx.dtsi | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/st/stm32mp15xx-dkx.dtsi b/arch/arm/boot/dts/st/stm32mp15xx-dkx.dtsi
index fc0ff818e1fa..7ed2b01958fe 100644
--- a/arch/arm/boot/dts/st/stm32mp15xx-dkx.dtsi
+++ b/arch/arm/boot/dts/st/stm32mp15xx-dkx.dtsi
@@ -64,7 +64,7 @@ retram: retram@38000000 {
 
 	led {
 		compatible = "gpio-leds";
-		led-blue {
+		led_blue: led-blue {
 			function = LED_FUNCTION_HEARTBEAT;
 			color = <LED_COLOR_ID_BLUE>;
 			gpios = <&gpiod 11 GPIO_ACTIVE_HIGH>;
@@ -79,6 +79,13 @@ led-red {
 		};
 	};
 
+	options {
+		u-boot {
+			compatible = "u-boot,config";
+			boot-led = <&led_blue>;
+		};
+	};
+
 	sound {
 		compatible = "audio-graph-card";
 		label = "STM32MP15-DK";
-- 
2.43.0

[PATCH 08/15] ARM: dts: stm32: Add boot-led for stm32h743i-eval

From: Patrice Chotard <patrice.chotard@foss.st.com>
Date: 2025-11-12 15:48:49

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@foss.st.com>
---
 arch/arm/boot/dts/st/stm32h743i-eval.dts | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/st/stm32h743i-eval.dts b/arch/arm/boot/dts/st/stm32h743i-eval.dts
index 4b3e0c5a9009..e5e10b0758ee 100644
--- a/arch/arm/boot/dts/st/stm32h743i-eval.dts
+++ b/arch/arm/boot/dts/st/stm32h743i-eval.dts
@@ -66,7 +66,7 @@ aliases {
 
 	led {
 		compatible = "gpio-leds";
-		led-green {
+		led_green: led-green {
 			function = LED_FUNCTION_HEARTBEAT;
 			color = <LED_COLOR_ID_GREEN>;
 			gpios = <&gpiof 10 GPIO_ACTIVE_LOW>;
@@ -80,6 +80,13 @@ led-red {
 		};
 	};
 
+	options {
+		u-boot {
+			compatible = "u-boot,config";
+			boot-led = <&led_green>;
+		};
+	};
+
 	vdda: regulator-vdda {
 		compatible = "regulator-fixed";
 		regulator-name = "vdda";
-- 
2.43.0

[PATCH 06/15] ARM: dts: stm32: Add boot-led for stm32f769-disco

From: Patrice Chotard <patrice.chotard@foss.st.com>
Date: 2025-11-12 15:48:49

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@foss.st.com>
---
 arch/arm/boot/dts/st/stm32f769-disco.dts | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/st/stm32f769-disco.dts b/arch/arm/boot/dts/st/stm32f769-disco.dts
index 97c276f81f9a..e5854fa1071b 100644
--- a/arch/arm/boot/dts/st/stm32f769-disco.dts
+++ b/arch/arm/boot/dts/st/stm32f769-disco.dts
@@ -80,7 +80,7 @@ aliases {
 
 	leds {
 		compatible = "gpio-leds";
-		led-usr2 {
+		led_usr2: led-usr2 {
 			function = LED_FUNCTION_HEARTBEAT;
 			color = <LED_COLOR_ID_GREEN>;
 			gpios = <&gpioj 5 GPIO_ACTIVE_HIGH>;
@@ -106,6 +106,13 @@ button-0 {
 		};
 	};
 
+	options {
+		u-boot {
+			compatible = "u-boot,config";
+			boot-led = <&led_usr2>;
+		};
+	};
+
 	usbotg_hs_phy: usb-phy {
 		#phy-cells = <0>;
 		compatible = "usb-nop-xceiv";
-- 
2.43.0

[PATCH 07/15] ARM: dts: stm32: Add boot-led for stm32h743i-disco

From: Patrice Chotard <patrice.chotard@foss.st.com>
Date: 2025-11-12 15:48:49

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@foss.st.com>
---
 arch/arm/boot/dts/st/stm32h743i-disco.dts | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/st/stm32h743i-disco.dts b/arch/arm/boot/dts/st/stm32h743i-disco.dts
index f20266de4e7f..78d55b77db7c 100644
--- a/arch/arm/boot/dts/st/stm32h743i-disco.dts
+++ b/arch/arm/boot/dts/st/stm32h743i-disco.dts
@@ -74,7 +74,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>;
@@ -96,6 +96,13 @@ led-blue {
 			gpios = <&gpioi 15 GPIO_ACTIVE_LOW>;
 		};
 	};
+
+	options {
+		u-boot {
+			compatible = "u-boot,config";
+			boot-led = <&led_green>;
+		};
+	};
 };
 
 &clk_hse {
-- 
2.43.0

[PATCH 01/15] ARM: dts: stm32: Add boot-led for stm32429i-eval

From: Patrice Chotard <patrice.chotard@foss.st.com>
Date: 2025-11-12 15:48:50

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@foss.st.com>
---
 arch/arm/boot/dts/st/stm32429i-eval.dts | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/st/stm32429i-eval.dts b/arch/arm/boot/dts/st/stm32429i-eval.dts
index 36415d4d2ffd..f4b1c4eb64f2 100644
--- a/arch/arm/boot/dts/st/stm32429i-eval.dts
+++ b/arch/arm/boot/dts/st/stm32429i-eval.dts
@@ -85,7 +85,7 @@ soc {
 
 	leds {
 		compatible = "gpio-leds";
-		led-green {
+		led_green: led-green {
 			function = LED_FUNCTION_HEARTBEAT;
 			color = <LED_COLOR_ID_GREEN>;
 			gpios = <&gpiog 6 1>;
@@ -126,6 +126,12 @@ mmc_vcard: mmc_vcard {
 		regulator-min-microvolt = <3300000>;
 		regulator-max-microvolt = <3300000>;
 	};
+
+	options {
+		u-boot {
+			compatible = "u-boot,config";
+			boot-led = <&led_green>;
+		};
 	};
 
 	panel_rgb: panel-rgb {
-- 
2.43.0

[PATCH 09/15] ARM: dts: stm32: Add boot-led for stm32h747i-disco

From: Patrice Chotard <patrice.chotard@foss.st.com>
Date: 2025-11-12 15:48:50

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@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

[PATCH 11/15] ARM: dts: stm32: Add boot-led for stm32mp157c-ed1

From: Patrice Chotard <patrice.chotard@foss.st.com>
Date: 2025-11-12 15:48:51

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@foss.st.com>
---
 arch/arm/boot/dts/st/stm32mp157c-ed1.dts | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/st/stm32mp157c-ed1.dts b/arch/arm/boot/dts/st/stm32mp157c-ed1.dts
index 6a1c4e5d31a4..49dd555cc228 100644
--- a/arch/arm/boot/dts/st/stm32mp157c-ed1.dts
+++ b/arch/arm/boot/dts/st/stm32mp157c-ed1.dts
@@ -74,7 +74,7 @@ retram: retram@38000000 {
 
 	led {
 		compatible = "gpio-leds";
-		led-blue {
+		led_blue: led-blue {
 			gpios = <&gpiod 9 GPIO_ACTIVE_HIGH>;
 			linux,default-trigger = "heartbeat";
 			default-state = "off";
@@ -89,6 +89,13 @@ led-red {
 		};
 	};
 
+	options {
+		u-boot {
+			compatible = "u-boot,config";
+			boot-led = <&led_blue>;
+		};
+	};
+
 	sd_switch: regulator-sd_switch {
 		compatible = "regulator-gpio";
 		regulator-name = "sd_switch";
-- 
2.43.0

[PATCH 14/15] arm64: dts: st: Add boot-led for stm32mp257f-dk

From: Patrice Chotard <patrice.chotard@foss.st.com>
Date: 2025-11-12 15:48:53

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@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@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

[PATCH 13/15] arm64: dts: st: Add boot-led for stm32mp235f-dk

From: Patrice Chotard <patrice.chotard@foss.st.com>
Date: 2025-11-12 15:48:54

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@foss.st.com>
---
 arch/arm64/boot/dts/st/stm32mp235f-dk.dts | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/arch/arm64/boot/dts/st/stm32mp235f-dk.dts b/arch/arm64/boot/dts/st/stm32mp235f-dk.dts
index ab9a30103db7..4d7e3939ba5c 100644
--- a/arch/arm64/boot/dts/st/stm32mp235f-dk.dts
+++ b/arch/arm64/boot/dts/st/stm32mp235f-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@80000000 {
 		reg = <0x0 0x80000000 0x0 0x80000000>;
 	};
 
+	options {
+		u-boot {
+			compatible = "u-boot,config";
+			boot-led = <&led_blue>;
+		};
+	};
+
 	reserved-memory {
 		#address-cells = <2>;
 		#size-cells = <2>;
-- 
2.43.0

[PATCH 15/15] arm64: dts: st: Add boot-led for stm32mp257f-ev1

From: Patrice Chotard <patrice.chotard@foss.st.com>
Date: 2025-11-12 15:48:54

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@foss.st.com>
---
 arch/arm64/boot/dts/st/stm32mp257f-ev1.dts | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/arch/arm64/boot/dts/st/stm32mp257f-ev1.dts b/arch/arm64/boot/dts/st/stm32mp257f-ev1.dts
index f41213187723..703b0c08eb5f 100644
--- a/arch/arm64/boot/dts/st/stm32mp257f-ev1.dts
+++ b/arch/arm64/boot/dts/st/stm32mp257f-ev1.dts
@@ -46,7 +46,7 @@ pad_clk: pad-clk {
 	gpio-leds {
 		compatible = "gpio-leds";
 
-		led-blue {
+		led_blue: led-blue {
 			function = LED_FUNCTION_HEARTBEAT;
 			color = <LED_COLOR_ID_BLUE>;
 			gpios = <&gpioj 7 GPIO_ACTIVE_HIGH>;
@@ -94,6 +94,13 @@ memory@80000000 {
 		reg = <0x0 0x80000000 0x1 0x0>;
 	};
 
+	options {
+		u-boot {
+			compatible = "u-boot,config";
+			boot-led = <&led_blue>;
+		};
+	};
+
 	panel_lvds: display {
 		compatible = "edt,etml0700z9ndha", "panel-lvds";
 		enable-gpios = <&gpiog 15 GPIO_ACTIVE_HIGH>;
-- 
2.43.0

[PATCH 10/15] ARM: dts: stm32: Add boot-led for stm32mp135f-dk

From: Patrice Chotard <patrice.chotard@foss.st.com>
Date: 2025-11-12 15:48:55

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@foss.st.com>
---
 arch/arm/boot/dts/st/stm32mp135f-dk.dts | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/st/stm32mp135f-dk.dts b/arch/arm/boot/dts/st/stm32mp135f-dk.dts
index 909372da711b..0a2124eeca2b 100644
--- a/arch/arm/boot/dts/st/stm32mp135f-dk.dts
+++ b/arch/arm/boot/dts/st/stm32mp135f-dk.dts
@@ -73,7 +73,7 @@ button-user {
 	leds {
 		compatible = "gpio-leds";
 
-		led-blue {
+		led_blue: led-blue {
 			function = LED_FUNCTION_HEARTBEAT;
 			color = <LED_COLOR_ID_BLUE>;
 			gpios = <&gpioa 14 GPIO_ACTIVE_LOW>;
@@ -88,6 +88,13 @@ led-red {
 		};
 	};
 
+	options {
+		u-boot {
+			compatible = "u-boot,config";
+			boot-led = <&led_blue>;
+		};
+	};
+
 	panel_backlight: panel-backlight {
 		compatible = "gpio-backlight";
 		gpios = <&gpioe 12 GPIO_ACTIVE_HIGH>;
-- 
2.43.0

Re: [PATCH 00/15] Add boot-led property for STM32 boards

From: Alexandre TORGUE <alexandre.torgue@foss.st.com>
Date: 2026-01-08 16:03:08

Hi Patrice

On 11/12/25 16:48, Patrice Chotard wrote:
Add options/u-boot/boot-led property to specify to U-Boot
the LED which indicates a successful boot for STMicroelectronics
boards.

The heartbeat LED is used as boot-led.

Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
---
Patrice Chotard (15):
       ARM: dts: stm32: Add boot-led for stm32429i-eval
       ARM: dts: stm32: Add boot-led for stm32f429-disco
       ARM: dts: stm32: Add boot-led for stm32469-disco
       ARM: dts: stm32: Add boot-led for stm32746g-eval
       ARM: dts: stm32: Add boot-led for stm32f746-disco
       ARM: dts: stm32: Add boot-led for stm32f769-disco
       ARM: dts: stm32: Add boot-led for stm32h743i-disco
       ARM: dts: stm32: Add boot-led for stm32h743i-eval
       ARM: dts: stm32: Add boot-led for stm32h747i-disco
       ARM: dts: stm32: Add boot-led for stm32mp135f-dk
       ARM: dts: stm32: Add boot-led for stm32mp157c-ed1
       ARM: dts: stm32: Add boot-led for stm32mp15xx-dkx
       arm64: dts: st: Add boot-led for stm32mp235f-dk
       arm64: dts: st: Add boot-led for stm32mp257f-dk
       arm64: dts: st: Add boot-led for stm32mp257f-ev1

  arch/arm/boot/dts/st/stm32429i-eval.dts    | 8 +++++++-
  arch/arm/boot/dts/st/stm32746g-eval.dts    | 9 ++++++++-
  arch/arm/boot/dts/st/stm32f429-disco.dts   | 9 ++++++++-
  arch/arm/boot/dts/st/stm32f469-disco.dts   | 9 ++++++++-
  arch/arm/boot/dts/st/stm32f746-disco.dts   | 9 ++++++++-
  arch/arm/boot/dts/st/stm32f769-disco.dts   | 9 ++++++++-
  arch/arm/boot/dts/st/stm32h743i-disco.dts  | 9 ++++++++-
  arch/arm/boot/dts/st/stm32h743i-eval.dts   | 9 ++++++++-
  arch/arm/boot/dts/st/stm32h747i-disco.dts  | 9 ++++++++-
  arch/arm/boot/dts/st/stm32mp135f-dk.dts    | 9 ++++++++-
  arch/arm/boot/dts/st/stm32mp157c-ed1.dts   | 9 ++++++++-
  arch/arm/boot/dts/st/stm32mp15xx-dkx.dtsi  | 9 ++++++++-
  arch/arm64/boot/dts/st/stm32mp235f-dk.dts  | 9 ++++++++-
  arch/arm64/boot/dts/st/stm32mp257f-dk.dts  | 9 ++++++++-
  arch/arm64/boot/dts/st/stm32mp257f-ev1.dts | 9 ++++++++-
  15 files changed, 119 insertions(+), 15 deletions(-)
---
base-commit: 329ef1e3a91600940cae9adbae08f2a157aa51c4
change-id: 20251112-upstream_add_boot-led_for_stm32_boards-3815f2e9fd9a
prerequisite-change-id: 20251112-upstream_update_led_nodes-30e8ca390161:v1
prerequisite-patch-id: 67ab2e4482e0edf07c7144922669aaeef75bb800
prerequisite-patch-id: 83333194d9de46872e5fdef3a7c28246c594ad89
prerequisite-patch-id: b5c7c9257a8e9badd14efc3d325ca319c5c2bb17
prerequisite-patch-id: 11ddd0a8da81152cf1614fb7f7c46e7f090725c6
prerequisite-patch-id: f3efa9052e5d0df9ebc55b91aecabbd7cd2c7bb7
prerequisite-patch-id: ec053fcbced6d1d0ba61b7d40d4f14d2a14fb680
prerequisite-patch-id: b2fe9787745761fe56529f033f0a713f140e4280
prerequisite-patch-id: 8760acf7bf81c0969307de081efec34032a4f57b
prerequisite-patch-id: 2c27c9bcbaa4961e6a907e269b46aca7cf40ca38
prerequisite-patch-id: f79aa19a1e76b0604d410e5dc56436ef7884d60b
prerequisite-patch-id: 1bed61c35e48271b4e56c43695edef2e0c819d55
prerequisite-patch-id: 7f73889eeb54d1d54f5c441485e211aa45b94035
prerequisite-patch-id: 78a98bdbfb3a13beae5fe234f799239be7b4b3fa
prerequisite-patch-id: d066a879ebb950227d941f6abac320e00e964b50
prerequisite-patch-id: 3540a2861aa07db77641671ef32823779fdf69c1
prerequisite-patch-id: f361e230ad24fd006396fa717ee517d72ad6ca40

Best regards,

Series applied. As for your previous STM32 leds series I'll probably squash patches for my PR.

Thanks
Alex
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help