boards: st: nucleo_l152re: fix LED polarity in device tree

Fix incorrectly defined LED polarity (GPIO_ACTIVE_LOW → GPIO_ACTIVE_HIGH)
to match hardware schematic and ensure consistent GPIO API behavior.

Fixes: #87424
Link: https://www.st.com/en/evaluation-tools/nucleo-l152re.html#cad-resources

Signed-off-by: Roudy Dagher <roudy.dagher@gmail.com>
This commit is contained in:
Roudy Dagher 2025-03-21 08:56:38 +00:00 committed by Benjamin Cabé
parent a4e139b9f8
commit c67f17de0e

View File

@ -25,7 +25,7 @@
leds: leds {
compatible = "gpio-leds";
green_led_0: led_0 {
gpios = <&gpioa 5 GPIO_ACTIVE_LOW>;
gpios = <&gpioa 5 GPIO_ACTIVE_HIGH>;
label = "User LD2";
};
};