boards: arm: cc1352*/cc26x2r1: add mcuboot-{led0,button0} aliases

This adds DT aliases for LED and button used in recovery mode of the
MCUboot bootloader, on the following CC13x2/CC26x2 based boards:

- CC1352P1 LaunchXL (CC1352P)
- CC1352R1 LaunchXL (CC1352R)
- CC1352R SensorTag (CC1352R)
- CC26x2R1 LaunchXL (CC2652R)

For all boards a red LED and second button (not the one used by the
TI ROM bootloader) was selected.

Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
This commit is contained in:
Piotr Dymacz 2023-09-03 23:31:24 +02:00 committed by Maureen Helm
parent 57fa44c8a7
commit 4d678207b7
4 changed files with 8 additions and 0 deletions

View file

@ -21,6 +21,8 @@
sw0 = &btn0;
sw1 = &btn1;
watchdog0 = &wdt0;
mcuboot-led0 = &led1;
mcuboot-button0 = &btn1;
};
chosen {

View file

@ -23,6 +23,8 @@
sw0 = &btn0;
sw1 = &btn1;
watchdog0 = &wdt0;
mcuboot-led0 = &led1;
mcuboot-button0 = &btn1;
};
chosen {

View file

@ -29,6 +29,8 @@
sensor2 = &sensor2;
accel0 = &sensor1;
watchdog0 = &wdt0;
mcuboot-led0 = &led1;
mcuboot-button0 = &btn1;
};
chosen {

View file

@ -23,6 +23,8 @@
sw0 = &btn0;
sw1 = &btn1;
watchdog0 = &wdt0;
mcuboot-led0 = &led1;
mcuboot-button0 = &btn1;
};
chosen {