mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-02 06:12:53 +00:00
- 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>
13 lines
376 B
C
13 lines
376 B
C
/*
|
|
* Copyright (c) 2018 Nordic Semiconductor ASA
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
/* SoC level DTS fixup file */
|
|
|
|
#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 */
|