boards: st: nucleo_wba55cg: define all LEDs and buttons

This board includes three gpio-connected LEDs and push-buttons. Include
all missing defines in board's DTS and while at it, fix existing button
definition (missing pull-up enable) and align node names with other
boards (e.g. 'nucleo_wb55rg').

Provided changes were tested on real board with 'blinky' and 'button'
samples.

Additionally, duplicated LED nodes no longer required were removed from
overlay file for this board, in 'suspend_to_ram' sample.

Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
This commit is contained in:
Piotr Dymacz 2024-05-08 15:30:16 +02:00 committed by Carles Cufí
commit 35c08ea636
2 changed files with 27 additions and 17 deletions

View file

@ -31,18 +31,6 @@
/* adjust channel number according to pinmux in board.dts */
io-channels = <&adc4 8>;
};
leds: leds {
compatible = "gpio-leds";
red_led_3: led_3 {
gpios = <&gpiob 8 GPIO_ACTIVE_LOW>;
label = "User LD2";
};
};
aliases {
led2 = &red_led_3;
};
};
&lptim1 {