Skip to content

Commit b9a5d0d

Browse files
rdob-antcarlescufi
authored andcommitted
boards/arm/efr32_thunderboard: MCUboot led, button
Add mcuboot DT aliases for LED and button. These can be used by MCUboot when recovery mode entrance via GPIO is enabled. Signed-off-by: Roman Dobrodii <rdobrodii@antmicro.com>
1 parent 7969deb commit b9a5d0d

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

boards/arm/efr32_thunderboard/efr32bg22_brd4184a.dts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@
2121
spi-flash0 = &mx25r80;
2222
spi0 = &usart0;
2323
watchdog0 = &wdog0;
24+
/* If enabled, MCUboot uses this for recovery mode entrance */
25+
mcuboot-led0 = &led0;
26+
mcuboot-button0 = &button0;
2427
};
2528

2629
chosen {

boards/arm/efr32_thunderboard/efr32bg27_brd2602a.dts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@
2121
spi-flash0 = &mx25r80;
2222
spi0 = &usart0;
2323
watchdog0 = &wdog0;
24+
/* If enabled, MCUboot uses this for recovery mode entrance */
25+
mcuboot-led0 = &led0;
26+
mcuboot-button0 = &button0;
2427
};
2528

2629
chosen {

0 commit comments

Comments
 (0)