From 11cb93dadfb3cbad024932bfbcac331f654878ed Mon Sep 17 00:00:00 2001 From: Mahesh Mahadevan Date: Thu, 24 Jul 2025 14:29:22 -0500 Subject: [PATCH] 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 --- boards/nxp/mimxrt1180_evk/mimxrt1180_evk.dtsi | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/boards/nxp/mimxrt1180_evk/mimxrt1180_evk.dtsi b/boards/nxp/mimxrt1180_evk/mimxrt1180_evk.dtsi index 5716bfe366a..d05530a66f3 100644 --- a/boards/nxp/mimxrt1180_evk/mimxrt1180_evk.dtsi +++ b/boards/nxp/mimxrt1180_evk/mimxrt1180_evk.dtsi @@ -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"; };