drivers: watchdog: esp32: Add Watchdog Device tree support
- Add WDT(0,1) to esp32.dtsi - Extend the module to be able to use WDT(0,1) - Some minor refactoring due to usage of device tree Tests: - samples/drivers/watchdog - tests/drivers/watchdog/wdt_basic_api Note: - timer module interrupt registers shall be removed when timer driver implemented. Signed-off-by: Mohamed ElShahawi <ExtremeGTX@hotmail.com>
This commit is contained in:
parent
21212f30b5
commit
2d2f4de5b8
5 changed files with 183 additions and 98 deletions
|
@ -8,4 +8,5 @@
|
|||
|
||||
#define DT_CPU_CLOCK_FREQUENCY DT_CADENCE_TENSILICA_XTENSA_LX6_0_CLOCK_FREQUENCY
|
||||
#define CONFIG_ENTROPY_NAME DT_INST_0_ESPRESSIF_ESP32_TRNG_LABEL
|
||||
#define DT_WDT_0_NAME DT_INST_0_ESPRESSIF_ESP32_WATCHDOG_LABEL
|
||||
/* End of SoC Level DTS fixup file */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue