Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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 <dario.binacchi@amarulasolutions.com>
Link: https://lore.kernel.org/r/20250217114513.1098844-1-dario.binacchi@amarulasolutions.com
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>

authored by

Dario Binacchi and committed by
Alexandre Torgue
9ccf4739 d36f7da4

+2 -2
+2 -2
arch/arm/boot/dts/st/stm32f769-disco.dts
··· 79 79 80 80 leds { 81 81 compatible = "gpio-leds"; 82 - led-green { 82 + led-usr2 { 83 83 gpios = <&gpioj 5 GPIO_ACTIVE_HIGH>; 84 84 linux,default-trigger = "heartbeat"; 85 85 }; 86 - led-red { 86 + led-usr1 { 87 87 gpios = <&gpioj 13 GPIO_ACTIVE_HIGH>; 88 88 }; 89 89 };