drivers: wdt: espressif: Add 32K Xtal Watchdog

This WDT is responsible for monitoring the external
32.728 Hz crystal connected to pins XTAL_32K_P and
XTAL_32K_N. If an oscillation failure is detected
the hardware automatically switch to RTC_RC_SLOW
clock source and triggers an interrupt.

Signed-off-by: Lucas Tamborrino <lucas.tamborrino@espressif.com>
This commit is contained in:
Lucas Tamborrino 2024-05-13 09:54:00 -03:00 committed by David Leach
commit aa692309bf
15 changed files with 402 additions and 4 deletions

View file

@ -0,0 +1,17 @@
# Copyright (c) 2024 Espressif Systems (Shanghai) Co., Ltd.
# SPDX-License-Identifier: Apache-2.0
description: |
This watchdog timer can detect oscillation failure of the RTC_SLOW_CLK_SRC_XTAL32K.
When such a failure is detected the hardware automatically switch to
ESP32_RTC_SLOW_CLK_SRC_RC_SLOW.
This feature is only available for ESP32S2,ESP32C3 and ESP32S3.
compatible: "espressif,esp32-xt-wdt"
include: base.yaml
properties:
reg:
required: true