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:
parent
6b382bc9e7
commit
1421dfb3f1
4 changed files with 16 additions and 0 deletions
|
@ -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:
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -12,6 +12,7 @@ supported:
|
|||
- gpio
|
||||
- nvs
|
||||
- spi
|
||||
- watchdog
|
||||
testing:
|
||||
ignore_tags:
|
||||
- net
|
||||
|
|
|
@ -147,6 +147,14 @@
|
|||
#gpio-cells = <2>;
|
||||
};
|
||||
};
|
||||
|
||||
wdog0: wdog@40052000 {
|
||||
compatible = "silabs,gecko-wdog";
|
||||
reg = <0x40052000 0x2C>;
|
||||
label = "WDOG0";
|
||||
interrupts = <2 0>;
|
||||
status = "disabled";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue