[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <dc4251d1-8cbb-4a0c-834c-26f16f3f9484@linaro.org>
Date: Mon, 25 Mar 2024 19:29:54 +0100
From: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
To: patrice.chotard@...s.st.com, 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
Subject: Re: [PATCH] ARM: dts: stm32: add heartbeat led for stm32mp157c-ed1
On 25/03/2024 18:06, patrice.chotard@...s.st.com wrote:
> 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";
Please add function and color properties.
Best regards,
Krzysztof
Powered by blists - more mailing lists