From: Patrice Chotard Date: Thu, 13 Nov 2025 15:14:00 +0000 (+0100) Subject: ARM: dts: stm32: Add LED support for stm32h743i-eval X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4d33caf1f0b7a859661f00b8ff909fb7fbcc02d7;p=thirdparty%2Fkernel%2Flinux.git ARM: dts: stm32: Add LED support for stm32h743i-eval Add green and red LEDs support for stm32h743-eval. Signed-off-by: Patrice Chotard Link: https://lore.kernel.org/r/20251113-upstream_update_led_nodes-v2-9-45090db9e2e5@foss.st.com Signed-off-by: Alexandre Torgue --- diff --git a/arch/arm/boot/dts/st/stm32h743i-eval.dts b/arch/arm/boot/dts/st/stm32h743i-eval.dts index 4b0ced27b80ea..4b3e0c5a90095 100644 --- a/arch/arm/boot/dts/st/stm32h743i-eval.dts +++ b/arch/arm/boot/dts/st/stm32h743i-eval.dts @@ -43,6 +43,8 @@ /dts-v1/; #include "stm32h743.dtsi" #include "stm32h7-pinctrl.dtsi" +#include +#include / { model = "STMicroelectronics STM32H743i-EVAL board"; @@ -62,6 +64,22 @@ serial0 = &usart1; }; + led { + compatible = "gpio-leds"; + led-green { + function = LED_FUNCTION_HEARTBEAT; + color = ; + gpios = <&gpiof 10 GPIO_ACTIVE_LOW>; + linux,default-trigger = "heartbeat"; + default-state = "off"; + }; + + led-red { + color = ; + gpios = <&gpioa 4 GPIO_ACTIVE_LOW>; + }; + }; + vdda: regulator-vdda { compatible = "regulator-fixed"; regulator-name = "vdda";