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:
parent
57fa44c8a7
commit
4d678207b7
|
@ -21,6 +21,8 @@
|
|||
sw0 = &btn0;
|
||||
sw1 = &btn1;
|
||||
watchdog0 = &wdt0;
|
||||
mcuboot-led0 = &led1;
|
||||
mcuboot-button0 = &btn1;
|
||||
};
|
||||
|
||||
chosen {
|
||||
|
|
|
@ -23,6 +23,8 @@
|
|||
sw0 = &btn0;
|
||||
sw1 = &btn1;
|
||||
watchdog0 = &wdt0;
|
||||
mcuboot-led0 = &led1;
|
||||
mcuboot-button0 = &btn1;
|
||||
};
|
||||
|
||||
chosen {
|
||||
|
|
|
@ -29,6 +29,8 @@
|
|||
sensor2 = &sensor2;
|
||||
accel0 = &sensor1;
|
||||
watchdog0 = &wdt0;
|
||||
mcuboot-led0 = &led1;
|
||||
mcuboot-button0 = &btn1;
|
||||
};
|
||||
|
||||
chosen {
|
||||
|
|
|
@ -23,6 +23,8 @@
|
|||
sw0 = &btn0;
|
||||
sw1 = &btn1;
|
||||
watchdog0 = &wdt0;
|
||||
mcuboot-led0 = &led1;
|
||||
mcuboot-button0 = &btn1;
|
||||
};
|
||||
|
||||
chosen {
|
||||
|
|
Loading…
Reference in a new issue