boards: cc13x2/cc26x2*: enable WDT + update docs & sample

Enables the watchdog timer within the DTS of supported boards,
add sample overlays showing how to use NMI WDT interrupts and
updated the board features inside the boards' doc / yaml files.

Signed-off-by: Stancu Florin <niflostancu@gmail.com>
This commit is contained in:
Stancu Florin 2022-08-23 17:14:45 +03:00 committed by Christopher Friedt
parent 236084df70
commit e55fd536c8
15 changed files with 44 additions and 0 deletions

View file

@ -19,6 +19,7 @@
led1 = &led1;
sw0 = &btn0;
sw1 = &btn1;
watchdog0 = &wdt0;
};
chosen {
@ -145,3 +146,7 @@
&ieee802154g {
status = "disabled";
};
&wdt0 {
status = "okay";
};

View file

@ -12,3 +12,4 @@ supported:
- gpio
- i2c
- spi
- watchdog

View file

@ -56,6 +56,8 @@ features:
+-----------+------------+----------------------+
| SPI | on-chip | spi |
+-----------+------------+----------------------+
| WDT | on-chip | watchdog |
+-----------+------------+----------------------+
Other hardware features have not been enabled yet for this board.

View file

@ -21,6 +21,7 @@
led1 = &led1;
sw0 = &btn0;
sw1 = &btn1;
watchdog0 = &wdt0;
};
chosen {
@ -125,3 +126,7 @@
&ieee802154g {
status = "disabled";
};
&wdt0 {
status = "okay";
};

View file

@ -12,4 +12,5 @@ supported:
- gpio
- i2c
- spi
- watchdog
- adc

View file

@ -53,6 +53,8 @@ features:
+-----------+------------+----------------------+
| SPI | on-chip | spi |
+-----------+------------+----------------------+
| WDT | on-chip | watchdog |
+-----------+------------+----------------------+
| AUX_ADC | on-chip | adc |
+-----------+------------+----------------------+

View file

@ -27,6 +27,7 @@
sensor1 = &sensor1;
sensor2 = &sensor2;
accel0 = &sensor1;
watchdog0 = &wdt0;
};
chosen {
@ -155,3 +156,7 @@
&ieee802154g {
status = "okay";
};
&wdt0 {
status = "okay";
};

View file

@ -12,4 +12,5 @@ supported:
- gpio
- i2c
- spi
- watchdog
- adc

View file

@ -63,6 +63,8 @@ features:
+-----------+------------+------------------+
| SPI | off-chip | ADXL362 |
+-----------+------------+------------------+
| WDT | on-chip | watchdog |
+-----------+------------+------------------+
Other hardware features have not been enabled yet for this board.

View file

@ -21,6 +21,7 @@
led1 = &led1;
sw0 = &btn0;
sw1 = &btn1;
watchdog0 = &wdt0;
};
chosen {
@ -113,3 +114,7 @@
&rtc {
status = "okay";
};
&wdt0 {
status = "okay";
};

View file

@ -12,4 +12,5 @@ supported:
- gpio
- i2c
- spi
- watchdog
- adc

View file

@ -53,6 +53,8 @@ features:
+-----------+------------+----------------------+
| SPI | on-chip | spi |
+-----------+------------+----------------------+
| WDT | on-chip | watchdog |
+-----------+------------+----------------------+
| AUX_ADC | on-chip | adc |
+-----------+------------+----------------------+

View file

@ -0,0 +1,4 @@
&wdt0 {
/* uncomment to use Non-Maskable interrupt instead of the normal one */
/* interrupt-nmi; */
};

View file

@ -0,0 +1,4 @@
&wdt0 {
/* uncomment to use Non-Maskable interrupt instead of the normal one */
/* interrupt-nmi; */
};

View file

@ -0,0 +1,4 @@
&wdt0 {
/* uncomment to use Non-Maskable interrupt instead of the normal one */
/* interrupt-nmi; */
};