diff mbox series

[v1,21/25] ARM: dts: stm32: Add led-blue for stm32mp157c-ed1-u-boot

Message ID 20240409150215.2497778-22-patrice.chotard@foss.st.com
State Accepted
Commit e7e209a28ac95fbf349730504dc81bc42fdc97ba
Delegated to: Patrick Delaunay
Headers show
Series stm32mp: Fix keys & leds management | expand

Commit Message

Patrice CHOTARD April 9, 2024, 3:02 p.m. UTC
The blue led is used to indicate U-Boot entering / exit indication
then Linux heartbeat.

Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
---

 arch/arm/dts/stm32mp157c-ed1-u-boot.dtsi | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

Comments

Patrick Delaunay April 17, 2024, 9:11 a.m. UTC | #1
Hi,

On 4/9/24 17:02, Patrice Chotard wrote:
> The blue led is used to indicate U-Boot entering / exit indication
> then Linux heartbeat.
>
> Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
> ---
>
>   arch/arm/dts/stm32mp157c-ed1-u-boot.dtsi | 6 +++++-
>   1 file changed, 5 insertions(+), 1 deletion(-)
>


Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com>

Thanks
Patrick
Patrice CHOTARD April 19, 2024, 12:30 p.m. UTC | #2
On 4/17/24 11:11, Patrick DELAUNAY wrote:
> Hi,
> 
> On 4/9/24 17:02, Patrice Chotard wrote:
>> The blue led is used to indicate U-Boot entering / exit indication
>> then Linux heartbeat.
>>
>> Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
>> ---
>>
>>   arch/arm/dts/stm32mp157c-ed1-u-boot.dtsi | 6 +++++-
>>   1 file changed, 5 insertions(+), 1 deletion(-)
>>
> 
> 
> Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
> 
> Thanks
> Patrick
> 

Applied on u-boot-stm32/master
diff mbox series

Patch

diff --git a/arch/arm/dts/stm32mp157c-ed1-u-boot.dtsi b/arch/arm/dts/stm32mp157c-ed1-u-boot.dtsi
index 09cfe9bc246..d93359f967c 100644
--- a/arch/arm/dts/stm32mp157c-ed1-u-boot.dtsi
+++ b/arch/arm/dts/stm32mp157c-ed1-u-boot.dtsi
@@ -14,7 +14,7 @@ 
 	};
 
 	config {
-		u-boot,boot-led = "heartbeat";
+		u-boot,boot-led = "led-blue";
 		u-boot,error-led = "led-red";
 		u-boot,mmc-env-partition = "fip";
 	};
@@ -61,6 +61,10 @@ 
 	led {
 		compatible = "gpio-leds";
 
+		led-blue {
+			gpios = <&gpiod 9 GPIO_ACTIVE_HIGH>;
+		};
+
 		led-red {
 			gpios = <&gpioa 13 GPIO_ACTIVE_LOW>;
 		};