zephyr/drivers/watchdog/Kconfig.xlnx
Robert Hancock e57bab59ff drivers: watchdog: add Xilinx AXI Timebase WDT driver
Add a driver for the Xilinx AXI Timebase WDT logic core. This can be
instantiated on various Xilinx FPGA-based platforms such as the
Digilent Arty, although it is not part of the default image used with
the Zephyr board configuration.

The driver can also optionally implement the HWINFO API to allow
determining whether the last system reset was initiated by the WDT.
Since this is a standalone IP core which could be used a variety of
configurations, this support is optional in case the system/SoC it is
used with already implements this support.

Signed-off-by: Robert Hancock <robert.hancock@calian.com>
2023-05-19 16:14:24 +02:00

26 lines
698 B
Plaintext

# Xilinx watchdog configuration
# Copyright (c) 2023, Calian
# SPDX-License-Identifier: Apache-2.0
config WDT_XILINX_AXI
bool "Xilinx AXI Timebase WDT driver"
default y
depends on DT_HAS_XLNX_XPS_TIMEBASE_WDT_1_00_A_ENABLED
help
Enable the Xilinx AXI Timebase WDT driver.
if WDT_XILINX_AXI
config WDT_XILINX_AXI_HWINFO_API
bool "Expose HWINFO API in Xilinx AXI Timebase WDT driver"
default y
select HWINFO
help
Controls whether the Xilinx AXI Timebase WDT driver exposes a HWINFO
API which allows determining whether the WDT initiated the last
system reset. This may need to be disabled if using a device or SoC
which already implements this API.
endif # WDT_XILINX_AXI