From: Patrice Chotard Date: Tue, 26 Mar 2024 07:54:38 +0000 (+0100) Subject: ARM: dts: stm32: add heartbeat led for stm32mp157c-ed1 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=9af77157d3e50829cfda5d017f1c0098b10aca22;p=linux.git ARM: dts: stm32: add heartbeat led for stm32mp157c-ed1 Add heartbeat led for stm32mp157c-ed1. Signed-off-by: Patrice Chotard Signed-off-by: Alexandre Torgue --- diff --git a/arch/arm/boot/dts/st/stm32mp157c-ed1.dts b/arch/arm/boot/dts/st/stm32mp157c-ed1.dts index 66ed5f9921ba1..9cf5ed111b52e 100644 --- a/arch/arm/boot/dts/st/stm32mp157c-ed1.dts +++ b/arch/arm/boot/dts/st/stm32mp157c-ed1.dts @@ -10,6 +10,7 @@ #include "stm32mp15-pinctrl.dtsi" #include "stm32mp15xxaa-pinctrl.dtsi" #include +#include #include / { @@ -71,6 +72,17 @@ }; }; + led { + compatible = "gpio-leds"; + led-blue { + gpios = <&gpiod 9 GPIO_ACTIVE_HIGH>; + linux,default-trigger = "heartbeat"; + default-state = "off"; + function = LED_FUNCTION_HEARTBEAT; + color = ; + }; + }; + sd_switch: regulator-sd_switch { compatible = "regulator-gpio"; regulator-name = "sd_switch";