devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 00/15] Add boot-led property for STM32 boards
@ 2025-11-12 15:48 Patrice Chotard
  2025-11-12 15:48 ` [PATCH 01/15] ARM: dts: stm32: Add boot-led for stm32429i-eval Patrice Chotard
                   ` (14 more replies)
  0 siblings, 15 replies; 16+ messages in thread
From: Patrice Chotard @ 2025-11-12 15:48 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Maxime Coquelin,
	Alexandre Torgue
  Cc: devicetree, linux-stm32, linux-arm-kernel, linux-kernel,
	Patrice Chotard

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 <patrice.chotard@foss.st.com>


^ permalink raw reply	[flat|nested] 16+ messages in thread

* [PATCH 01/15] ARM: dts: stm32: Add boot-led for stm32429i-eval
  2025-11-12 15:48 [PATCH 00/15] Add boot-led property for STM32 boards Patrice Chotard
@ 2025-11-12 15:48 ` Patrice Chotard
  2025-11-12 15:48 ` [PATCH 02/15] ARM: dts: stm32: Add boot-led for stm32f429-disco Patrice Chotard
                   ` (13 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: Patrice Chotard @ 2025-11-12 15:48 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Maxime Coquelin,
	Alexandre Torgue
  Cc: devicetree, linux-stm32, linux-arm-kernel, linux-kernel,
	Patrice Chotard

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


^ permalink raw reply related	[flat|nested] 16+ messages in thread

* [PATCH 02/15] ARM: dts: stm32: Add boot-led for stm32f429-disco
  2025-11-12 15:48 [PATCH 00/15] Add boot-led property for STM32 boards Patrice Chotard
  2025-11-12 15:48 ` [PATCH 01/15] ARM: dts: stm32: Add boot-led for stm32429i-eval Patrice Chotard
@ 2025-11-12 15:48 ` Patrice Chotard
  2025-11-12 15:48 ` [PATCH 03/15] ARM: dts: stm32: Add boot-led for stm32469-disco Patrice Chotard
                   ` (12 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: Patrice Chotard @ 2025-11-12 15:48 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Maxime Coquelin,
	Alexandre Torgue
  Cc: devicetree, linux-stm32, linux-arm-kernel, linux-kernel,
	Patrice Chotard

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


^ permalink raw reply related	[flat|nested] 16+ messages in thread

* [PATCH 03/15] ARM: dts: stm32: Add boot-led for stm32469-disco
  2025-11-12 15:48 [PATCH 00/15] Add boot-led property for STM32 boards Patrice Chotard
  2025-11-12 15:48 ` [PATCH 01/15] ARM: dts: stm32: Add boot-led for stm32429i-eval Patrice Chotard
  2025-11-12 15:48 ` [PATCH 02/15] ARM: dts: stm32: Add boot-led for stm32f429-disco Patrice Chotard
@ 2025-11-12 15:48 ` Patrice Chotard
  2025-11-12 15:48 ` [PATCH 04/15] ARM: dts: stm32: Add boot-led for stm32746g-eval Patrice Chotard
                   ` (11 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: Patrice Chotard @ 2025-11-12 15:48 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Maxime Coquelin,
	Alexandre Torgue
  Cc: devicetree, linux-stm32, linux-arm-kernel, linux-kernel,
	Patrice Chotard

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


^ permalink raw reply related	[flat|nested] 16+ messages in thread

* [PATCH 04/15] ARM: dts: stm32: Add boot-led for stm32746g-eval
  2025-11-12 15:48 [PATCH 00/15] Add boot-led property for STM32 boards Patrice Chotard
                   ` (2 preceding siblings ...)
  2025-11-12 15:48 ` [PATCH 03/15] ARM: dts: stm32: Add boot-led for stm32469-disco Patrice Chotard
@ 2025-11-12 15:48 ` Patrice Chotard
  2025-11-12 15:48 ` [PATCH 05/15] ARM: dts: stm32: Add boot-led for stm32f746-disco Patrice Chotard
                   ` (10 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: Patrice Chotard @ 2025-11-12 15:48 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Maxime Coquelin,
	Alexandre Torgue
  Cc: devicetree, linux-stm32, linux-arm-kernel, linux-kernel,
	Patrice Chotard

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


^ permalink raw reply related	[flat|nested] 16+ messages in thread

* [PATCH 05/15] ARM: dts: stm32: Add boot-led for stm32f746-disco
  2025-11-12 15:48 [PATCH 00/15] Add boot-led property for STM32 boards Patrice Chotard
                   ` (3 preceding siblings ...)
  2025-11-12 15:48 ` [PATCH 04/15] ARM: dts: stm32: Add boot-led for stm32746g-eval Patrice Chotard
@ 2025-11-12 15:48 ` Patrice Chotard
  2025-11-12 15:48 ` [PATCH 06/15] ARM: dts: stm32: Add boot-led for stm32f769-disco Patrice Chotard
                   ` (9 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: Patrice Chotard @ 2025-11-12 15:48 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Maxime Coquelin,
	Alexandre Torgue
  Cc: devicetree, linux-stm32, linux-arm-kernel, linux-kernel,
	Patrice Chotard

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


^ permalink raw reply related	[flat|nested] 16+ messages in thread

* [PATCH 06/15] ARM: dts: stm32: Add boot-led for stm32f769-disco
  2025-11-12 15:48 [PATCH 00/15] Add boot-led property for STM32 boards Patrice Chotard
                   ` (4 preceding siblings ...)
  2025-11-12 15:48 ` [PATCH 05/15] ARM: dts: stm32: Add boot-led for stm32f746-disco Patrice Chotard
@ 2025-11-12 15:48 ` Patrice Chotard
  2025-11-12 15:48 ` [PATCH 07/15] ARM: dts: stm32: Add boot-led for stm32h743i-disco Patrice Chotard
                   ` (8 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: Patrice Chotard @ 2025-11-12 15:48 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Maxime Coquelin,
	Alexandre Torgue
  Cc: devicetree, linux-stm32, linux-arm-kernel, linux-kernel,
	Patrice Chotard

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


^ permalink raw reply related	[flat|nested] 16+ messages in thread

* [PATCH 07/15] ARM: dts: stm32: Add boot-led for stm32h743i-disco
  2025-11-12 15:48 [PATCH 00/15] Add boot-led property for STM32 boards Patrice Chotard
                   ` (5 preceding siblings ...)
  2025-11-12 15:48 ` [PATCH 06/15] ARM: dts: stm32: Add boot-led for stm32f769-disco Patrice Chotard
@ 2025-11-12 15:48 ` Patrice Chotard
  2025-11-12 15:48 ` [PATCH 08/15] ARM: dts: stm32: Add boot-led for stm32h743i-eval Patrice Chotard
                   ` (7 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: Patrice Chotard @ 2025-11-12 15:48 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Maxime Coquelin,
	Alexandre Torgue
  Cc: devicetree, linux-stm32, linux-arm-kernel, linux-kernel,
	Patrice Chotard

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


^ permalink raw reply related	[flat|nested] 16+ messages in thread

* [PATCH 08/15] ARM: dts: stm32: Add boot-led for stm32h743i-eval
  2025-11-12 15:48 [PATCH 00/15] Add boot-led property for STM32 boards Patrice Chotard
                   ` (6 preceding siblings ...)
  2025-11-12 15:48 ` [PATCH 07/15] ARM: dts: stm32: Add boot-led for stm32h743i-disco Patrice Chotard
@ 2025-11-12 15:48 ` Patrice Chotard
  2025-11-12 15:48 ` [PATCH 09/15] ARM: dts: stm32: Add boot-led for stm32h747i-disco Patrice Chotard
                   ` (6 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: Patrice Chotard @ 2025-11-12 15:48 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Maxime Coquelin,
	Alexandre Torgue
  Cc: devicetree, linux-stm32, linux-arm-kernel, linux-kernel,
	Patrice Chotard

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


^ permalink raw reply related	[flat|nested] 16+ messages in thread

* [PATCH 09/15] ARM: dts: stm32: Add boot-led for stm32h747i-disco
  2025-11-12 15:48 [PATCH 00/15] Add boot-led property for STM32 boards Patrice Chotard
                   ` (7 preceding siblings ...)
  2025-11-12 15:48 ` [PATCH 08/15] ARM: dts: stm32: Add boot-led for stm32h743i-eval Patrice Chotard
@ 2025-11-12 15:48 ` Patrice Chotard
  2025-11-12 15:48 ` [PATCH 10/15] ARM: dts: stm32: Add boot-led for stm32mp135f-dk Patrice Chotard
                   ` (5 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: Patrice Chotard @ 2025-11-12 15:48 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Maxime Coquelin,
	Alexandre Torgue
  Cc: devicetree, linux-stm32, linux-arm-kernel, linux-kernel,
	Patrice Chotard

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


^ permalink raw reply related	[flat|nested] 16+ messages in thread

* [PATCH 10/15] ARM: dts: stm32: Add boot-led for stm32mp135f-dk
  2025-11-12 15:48 [PATCH 00/15] Add boot-led property for STM32 boards Patrice Chotard
                   ` (8 preceding siblings ...)
  2025-11-12 15:48 ` [PATCH 09/15] ARM: dts: stm32: Add boot-led for stm32h747i-disco Patrice Chotard
@ 2025-11-12 15:48 ` Patrice Chotard
  2025-11-12 15:48 ` [PATCH 11/15] ARM: dts: stm32: Add boot-led for stm32mp157c-ed1 Patrice Chotard
                   ` (4 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: Patrice Chotard @ 2025-11-12 15:48 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Maxime Coquelin,
	Alexandre Torgue
  Cc: devicetree, linux-stm32, linux-arm-kernel, linux-kernel,
	Patrice Chotard

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


^ permalink raw reply related	[flat|nested] 16+ messages in thread

* [PATCH 11/15] ARM: dts: stm32: Add boot-led for stm32mp157c-ed1
  2025-11-12 15:48 [PATCH 00/15] Add boot-led property for STM32 boards Patrice Chotard
                   ` (9 preceding siblings ...)
  2025-11-12 15:48 ` [PATCH 10/15] ARM: dts: stm32: Add boot-led for stm32mp135f-dk Patrice Chotard
@ 2025-11-12 15:48 ` Patrice Chotard
  2025-11-12 15:48 ` [PATCH 12/15] ARM: dts: stm32: Add boot-led for stm32mp15xx-dkx Patrice Chotard
                   ` (3 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: Patrice Chotard @ 2025-11-12 15:48 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Maxime Coquelin,
	Alexandre Torgue
  Cc: devicetree, linux-stm32, linux-arm-kernel, linux-kernel,
	Patrice Chotard

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


^ permalink raw reply related	[flat|nested] 16+ messages in thread

* [PATCH 12/15] ARM: dts: stm32: Add boot-led for stm32mp15xx-dkx
  2025-11-12 15:48 [PATCH 00/15] Add boot-led property for STM32 boards Patrice Chotard
                   ` (10 preceding siblings ...)
  2025-11-12 15:48 ` [PATCH 11/15] ARM: dts: stm32: Add boot-led for stm32mp157c-ed1 Patrice Chotard
@ 2025-11-12 15:48 ` Patrice Chotard
  2025-11-12 15:48 ` [PATCH 13/15] arm64: dts: st: Add boot-led for stm32mp235f-dk Patrice Chotard
                   ` (2 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: Patrice Chotard @ 2025-11-12 15:48 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Maxime Coquelin,
	Alexandre Torgue
  Cc: devicetree, linux-stm32, linux-arm-kernel, linux-kernel,
	Patrice Chotard

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


^ permalink raw reply related	[flat|nested] 16+ messages in thread

* [PATCH 13/15] arm64: dts: st: Add boot-led for stm32mp235f-dk
  2025-11-12 15:48 [PATCH 00/15] Add boot-led property for STM32 boards Patrice Chotard
                   ` (11 preceding siblings ...)
  2025-11-12 15:48 ` [PATCH 12/15] ARM: dts: stm32: Add boot-led for stm32mp15xx-dkx Patrice Chotard
@ 2025-11-12 15:48 ` Patrice Chotard
  2025-11-12 15:48 ` [PATCH 14/15] arm64: dts: st: Add boot-led for stm32mp257f-dk Patrice Chotard
  2025-11-12 15:48 ` [PATCH 15/15] arm64: dts: st: Add boot-led for stm32mp257f-ev1 Patrice Chotard
  14 siblings, 0 replies; 16+ messages in thread
From: Patrice Chotard @ 2025-11-12 15:48 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Maxime Coquelin,
	Alexandre Torgue
  Cc: devicetree, linux-stm32, linux-arm-kernel, linux-kernel,
	Patrice Chotard

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


^ permalink raw reply related	[flat|nested] 16+ messages in thread

* [PATCH 14/15] arm64: dts: st: Add boot-led for stm32mp257f-dk
  2025-11-12 15:48 [PATCH 00/15] Add boot-led property for STM32 boards Patrice Chotard
                   ` (12 preceding siblings ...)
  2025-11-12 15:48 ` [PATCH 13/15] arm64: dts: st: Add boot-led for stm32mp235f-dk Patrice Chotard
@ 2025-11-12 15:48 ` Patrice Chotard
  2025-11-12 15:48 ` [PATCH 15/15] arm64: dts: st: Add boot-led for stm32mp257f-ev1 Patrice Chotard
  14 siblings, 0 replies; 16+ messages in thread
From: Patrice Chotard @ 2025-11-12 15:48 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Maxime Coquelin,
	Alexandre Torgue
  Cc: devicetree, linux-stm32, linux-arm-kernel, linux-kernel,
	Patrice Chotard

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


^ permalink raw reply related	[flat|nested] 16+ messages in thread

* [PATCH 15/15] arm64: dts: st: Add boot-led for stm32mp257f-ev1
  2025-11-12 15:48 [PATCH 00/15] Add boot-led property for STM32 boards Patrice Chotard
                   ` (13 preceding siblings ...)
  2025-11-12 15:48 ` [PATCH 14/15] arm64: dts: st: Add boot-led for stm32mp257f-dk Patrice Chotard
@ 2025-11-12 15:48 ` Patrice Chotard
  14 siblings, 0 replies; 16+ messages in thread
From: Patrice Chotard @ 2025-11-12 15:48 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Maxime Coquelin,
	Alexandre Torgue
  Cc: devicetree, linux-stm32, linux-arm-kernel, linux-kernel,
	Patrice Chotard

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


^ permalink raw reply related	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2025-11-12 15:48 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-12 15:48 [PATCH 00/15] Add boot-led property for STM32 boards Patrice Chotard
2025-11-12 15:48 ` [PATCH 01/15] ARM: dts: stm32: Add boot-led for stm32429i-eval Patrice Chotard
2025-11-12 15:48 ` [PATCH 02/15] ARM: dts: stm32: Add boot-led for stm32f429-disco Patrice Chotard
2025-11-12 15:48 ` [PATCH 03/15] ARM: dts: stm32: Add boot-led for stm32469-disco Patrice Chotard
2025-11-12 15:48 ` [PATCH 04/15] ARM: dts: stm32: Add boot-led for stm32746g-eval Patrice Chotard
2025-11-12 15:48 ` [PATCH 05/15] ARM: dts: stm32: Add boot-led for stm32f746-disco Patrice Chotard
2025-11-12 15:48 ` [PATCH 06/15] ARM: dts: stm32: Add boot-led for stm32f769-disco Patrice Chotard
2025-11-12 15:48 ` [PATCH 07/15] ARM: dts: stm32: Add boot-led for stm32h743i-disco Patrice Chotard
2025-11-12 15:48 ` [PATCH 08/15] ARM: dts: stm32: Add boot-led for stm32h743i-eval Patrice Chotard
2025-11-12 15:48 ` [PATCH 09/15] ARM: dts: stm32: Add boot-led for stm32h747i-disco Patrice Chotard
2025-11-12 15:48 ` [PATCH 10/15] ARM: dts: stm32: Add boot-led for stm32mp135f-dk Patrice Chotard
2025-11-12 15:48 ` [PATCH 11/15] ARM: dts: stm32: Add boot-led for stm32mp157c-ed1 Patrice Chotard
2025-11-12 15:48 ` [PATCH 12/15] ARM: dts: stm32: Add boot-led for stm32mp15xx-dkx Patrice Chotard
2025-11-12 15:48 ` [PATCH 13/15] arm64: dts: st: Add boot-led for stm32mp235f-dk Patrice Chotard
2025-11-12 15:48 ` [PATCH 14/15] arm64: dts: st: Add boot-led for stm32mp257f-dk Patrice Chotard
2025-11-12 15:48 ` [PATCH 15/15] arm64: dts: st: Add boot-led for stm32mp257f-ev1 Patrice Chotard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).