Skip to content

Commit 11cb93d

Browse files
mmahadevan108kartben
authored andcommitted
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 <[email protected]>
1 parent 2bce5c1 commit 11cb93d

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

boards/nxp/mimxrt1180_evk/mimxrt1180_evk.dtsi

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,14 @@
99

1010
/ {
1111
aliases {
12-
led0 = &green_led;
12+
led0 = &red_led;
1313
sw0 = &user_button;
1414
pwm-led0 = &green_pwm_led;
1515
sdhc0 = &usdhc1;
1616
};
1717

1818
leds {
1919
compatible = "gpio-leds";
20-
green_led: led-1 {
21-
gpios = <&gpio4 27 GPIO_ACTIVE_HIGH>;
22-
label = "User LED D6";
23-
};
2420
red_led: led-2 {
2521
gpios = <&gpio4 26 GPIO_ACTIVE_HIGH>;
2622
label = "User LED D7";
@@ -166,10 +162,6 @@
166162
status = "okay";
167163
};
168164

169-
&green_led {
170-
status = "okay";
171-
};
172-
173165
&gpio1 {
174166
status = "okay";
175167
};

0 commit comments

Comments
 (0)