boards: efr32_slwstk6061a: Enable watchdog

This commit adds the following:
- EFR32FG1P SoC support for the watchdog
- efr32_slwstk6061a board support for the watchdog

Signed-off-by: Oane Kingma <o.kingma@interay.com>
This commit is contained in:
Oane Kingma 2019-11-08 21:54:19 +01:00 committed by Maureen Helm
commit 1421dfb3f1
4 changed files with 16 additions and 0 deletions

View file

@ -71,6 +71,8 @@ The efr32_slwstk6061a board configuration supports the following hardware featur
+-----------+------------+-------------------------------------+
| SPI(M) | on-chip | spi port-polling |
+-----------+------------+-------------------------------------+
| WATCHDOG | on-chip | watchdog |
+-----------+------------+-------------------------------------+
The default configuration can be found in the defconfig file:

View file

@ -25,6 +25,7 @@
led1 = &led1;
sw0 = &button0;
sw1 = &button1;
watchdog0 = &wdog0;
};
leds {
@ -101,6 +102,10 @@
status = "okay";
};
&wdog0 {
status = "okay";
};
&flash0 {
/*
* If the chosen node has no zephyr,code-partition property, the

View file

@ -12,6 +12,7 @@ supported:
- gpio
- nvs
- spi
- watchdog
testing:
ignore_tags:
- net

View file

@ -147,6 +147,14 @@
#gpio-cells = <2>;
};
};
wdog0: wdog@40052000 {
compatible = "silabs,gecko-wdog";
reg = <0x40052000 0x2C>;
label = "WDOG0";
interrupts = <2 0>;
status = "disabled";
};
};
};