boards: mimxrt1180_evk: Use both LEDs on the board

When the gpio-leds and pwm-leds nodes are enabled,
the pin gets reconfigured to the driver that is
initialized later as both nodes were using the same
LED.
Use the Red LED that was unused for gpio-leds node.

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
This commit is contained in:
Mahesh Mahadevan 2025-07-24 14:29:22 -05:00 committed by Benjamin Cabé
parent 2bce5c1fc8
commit 11cb93dadf

View File

@ -9,7 +9,7 @@
/ {
aliases {
led0 = &green_led;
led0 = &red_led;
sw0 = &user_button;
pwm-led0 = &green_pwm_led;
sdhc0 = &usdhc1;
@ -17,10 +17,6 @@
leds {
compatible = "gpio-leds";
green_led: led-1 {
gpios = <&gpio4 27 GPIO_ACTIVE_HIGH>;
label = "User LED D6";
};
red_led: led-2 {
gpios = <&gpio4 26 GPIO_ACTIVE_HIGH>;
label = "User LED D7";
@ -166,10 +162,6 @@
status = "okay";
};
&green_led {
status = "okay";
};
&gpio1 {
status = "okay";
};