devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Patrice Chotard <patrice.chotard@foss.st.com>
To: Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	Maxime Coquelin <mcoquelin.stm32@gmail.com>,
	Alexandre Torgue <alexandre.torgue@foss.st.com>
Cc: <devicetree@vger.kernel.org>,
	<linux-stm32@st-md-mailman.stormreply.com>,
	<linux-arm-kernel@lists.infradead.org>,
	<linux-kernel@vger.kernel.org>,
	Patrice Chotard <patrice.chotard@foss.st.com>
Subject: [PATCH 10/15] ARM: dts: stm32: Add boot-led for stm32mp135f-dk
Date: Wed, 12 Nov 2025 16:48:13 +0100	[thread overview]
Message-ID: <20251112-upstream_add_boot-led_for_stm32_boards-v1-10-50a3a9b339a8@foss.st.com> (raw)
In-Reply-To: <20251112-upstream_add_boot-led_for_stm32_boards-v1-0-50a3a9b339a8@foss.st.com>

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


  parent reply	other threads:[~2025-11-12 15:48 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 ` Patrice Chotard [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20251112-upstream_add_boot-led_for_stm32_boards-v1-10-50a3a9b339a8@foss.st.com \
    --to=patrice.chotard@foss.st.com \
    --cc=alexandre.torgue@foss.st.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-stm32@st-md-mailman.stormreply.com \
    --cc=mcoquelin.stm32@gmail.com \
    --cc=robh@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).