Skip to content

Commit 03ab40f

Browse files
Alain Volmatkartben
authored andcommitted
board: st: add description of orange led on stm32l4r9i_disco
The stm32l4r9i_disco has a 2nd LED (Orange) which can be controlled via the mfx gpio controller. Signed-off-by: Alain Volmat <[email protected]>
1 parent be29569 commit 03ab40f

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

boards/st/stm32l4r9i_disco/stm32l4r9i_disco.dts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,10 @@
2222

2323
leds {
2424
compatible = "gpio-leds";
25-
/* N.B. LD1 (orange) is not wired to MCU */
25+
orange_led: led_1 {
26+
gpios = <&mfx 0 GPIO_ACTIVE_LOW>;
27+
label = "User LD1";
28+
};
2629
green_led: led_2 {
2730
gpios = <&gpioh 4 GPIO_ACTIVE_LOW>;
2831
label = "User LD2";
@@ -40,6 +43,7 @@
4043

4144
aliases {
4245
led0 = &green_led;
46+
led1 = &orange_led;
4347
sw0 = &joy_sel;
4448
die-temp0 = &die_temp;
4549
volt-sensor0 = &vref;

0 commit comments

Comments
 (0)