From: Dario Binacchi Date: Mon, 17 Feb 2025 11:45:08 +0000 (+0100) Subject: ARM: dts: stm32: rename LEDs nodes for stm32f769-disco X-Git-Tag: v6.15-rc1~159^2~14^2~17 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9ccf47393d5d8245c6ce59800cfe58564d63737f;p=thirdparty%2Fkernel%2Flinux.git ARM: dts: stm32: rename LEDs nodes for stm32f769-disco Associate the LED node name with the corresponding board silkscreen for more precise identification. In fact, the board has a total of seven LEDs, some of which are user-controllable (i. e. usr{1,2,3}), while others are directly controlled by hardware (e. g. power, overcurrent, ...). All these LEDs are either green or red, so using the names led-green and led-red for the two LEDs mapped in the DTS does not simplify their identification on the board. Moreover, this patch is a prerequisite for adding the usr3 LED, which has not been included in the DTS. Signed-off-by: Dario Binacchi Link: https://lore.kernel.org/r/20250217114513.1098844-1-dario.binacchi@amarulasolutions.com Signed-off-by: Alexandre Torgue --- diff --git a/arch/arm/boot/dts/st/stm32f769-disco.dts b/arch/arm/boot/dts/st/stm32f769-disco.dts index 52c5baf58ab9c..d52e36aedcfbc 100644 --- a/arch/arm/boot/dts/st/stm32f769-disco.dts +++ b/arch/arm/boot/dts/st/stm32f769-disco.dts @@ -79,11 +79,11 @@ leds { compatible = "gpio-leds"; - led-green { + led-usr2 { gpios = <&gpioj 5 GPIO_ACTIVE_HIGH>; linux,default-trigger = "heartbeat"; }; - led-red { + led-usr1 { gpios = <&gpioj 13 GPIO_ACTIVE_HIGH>; }; };