Skip to content

Commit 8c29e95

Browse files
Kamil GaworKamil Gawor
authored andcommitted
board: LED id for nrf52840_pca10056
Add LED ID for nrf52840_pca10056 board. This id is required for gpio leds driver. Signed-off-by: Kamil Gawor <Kamil.Gawor@nordicsemi.no>
1 parent cd065bd commit 8c29e95

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

boards/arm/nrf52840dk_nrf52840/nrf52840dk_nrf52840.dts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,18 +27,22 @@
2727
led0: led_0 {
2828
gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
2929
label = "Green LED 0";
30+
id = <1>;
3031
};
3132
led1: led_1 {
3233
gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
3334
label = "Green LED 1";
35+
id = <2>;
3436
};
3537
led2: led_2 {
3638
gpios = <&gpio0 15 GPIO_ACTIVE_LOW>;
3739
label = "Green LED 2";
40+
id = <3>;
3841
};
3942
led3: led_3 {
4043
gpios = <&gpio0 16 GPIO_ACTIVE_LOW>;
4144
label = "Green LED 3";
45+
id = <4>;
4246
};
4347
};
4448

0 commit comments

Comments
 (0)