[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240325170656.2829600-1-patrice.chotard@foss.st.com>
Date: Mon, 25 Mar 2024 18:06:56 +0100
From: <patrice.chotard@...s.st.com>
To: <robh+dt@...nel.org>,
Krzysztof Kozlowski
<krzysztof.kozlowski+dt@...aro.org>,
<alexandre.torgue@...s.st.com>
CC: <linux-stm32@...md-mailman.stormreply.com>,
<linux-arm-kernel@...ts.infradead.org>, <linux-kernel@...r.kernel.org>,
<devicetree@...r.kernel.org>,
Patrice Chotard <patrice.chotard@...s.st.com>
Subject: [PATCH] ARM: dts: stm32: add heartbeat led for stm32mp157c-ed1
From: Patrice Chotard <patrice.chotard@...s.st.com>
Add heartbeat led for stm32mp157c-ed1.
Signed-off-by: Patrice Chotard <patrice.chotard@...s.st.com>
---
arch/arm/boot/dts/st/stm32mp157c-ed1.dts | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/arch/arm/boot/dts/st/stm32mp157c-ed1.dts b/arch/arm/boot/dts/st/stm32mp157c-ed1.dts
index 66ed5f9921ba..bd727455a7e4 100644
--- a/arch/arm/boot/dts/st/stm32mp157c-ed1.dts
+++ b/arch/arm/boot/dts/st/stm32mp157c-ed1.dts
@@ -24,6 +24,15 @@ chosen {
stdout-path = "serial0:115200n8";
};
+ led {
+ compatible = "gpio-leds";
+ led-blue {
+ gpios = <&gpiod 9 GPIO_ACTIVE_HIGH>;
+ linux,default-trigger = "heartbeat";
+ default-state = "off";
+ };
+ };
+
memory@...00000 {
device_type = "memory";
reg = <0xC0000000 0x40000000>;
--
2.25.1
Powered by blists - more mailing lists