2017-04-17 19:00:21 +00:00
|
|
|
menu "Watchdog Timer Support"
|
2017-02-22 08:21:48 +00:00
|
|
|
|
2018-02-21 15:50:20 +00:00
|
|
|
config WATCHDOG
|
|
|
|
bool "Enable U-Boot watchdog reset"
|
2020-02-26 16:17:52 +00:00
|
|
|
depends on !HW_WATCHDOG
|
2018-02-21 15:50:20 +00:00
|
|
|
help
|
|
|
|
This option enables U-Boot watchdog support where U-Boot is using
|
|
|
|
watchdog_reset function to service watchdog device in U-Boot. Enable
|
|
|
|
this option if you want to service enabled watchdog by U-Boot. Disable
|
|
|
|
this option if you want U-Boot to start watchdog but never service it.
|
|
|
|
|
2021-03-09 13:26:56 +00:00
|
|
|
config WATCHDOG_AUTOSTART
|
|
|
|
bool "Automatically start watchdog timer"
|
|
|
|
depends on WDT
|
2021-11-05 18:34:31 +00:00
|
|
|
default n if ARCH_SUNXI
|
2021-03-09 13:26:56 +00:00
|
|
|
default y
|
|
|
|
help
|
|
|
|
Automatically start watchdog timer and start servicing it during
|
|
|
|
init phase. Enabled by default. Disable this option if you want
|
|
|
|
to compile U-Boot with CONFIG_WDT support but do not want to
|
|
|
|
activate watchdog, like when CONFIG_WDT option is disabled. You
|
|
|
|
would be able to start watchdog manually by 'wdt' command. Useful
|
|
|
|
when you want to have support for 'wdt' command but do not want
|
|
|
|
to have watchdog enabled by default.
|
|
|
|
|
2019-09-30 07:33:43 +00:00
|
|
|
config WATCHDOG_TIMEOUT_MSECS
|
|
|
|
int "Watchdog timeout in msec"
|
2021-09-09 11:54:50 +00:00
|
|
|
default 128000 if ARCH_MX31 || ARCH_MX5 || ARCH_MX6
|
2019-09-30 07:33:43 +00:00
|
|
|
default 128000 if ARCH_MX7 || ARCH_VF610
|
|
|
|
default 30000 if ARCH_SOCFPGA
|
2021-08-22 18:53:27 +00:00
|
|
|
default 16000 if ARCH_SUNXI
|
2019-09-30 07:33:43 +00:00
|
|
|
default 60000
|
|
|
|
help
|
|
|
|
Watchdog timeout in msec
|
|
|
|
|
2017-02-10 16:28:05 +00:00
|
|
|
config HW_WATCHDOG
|
|
|
|
bool
|
|
|
|
|
2019-04-30 15:26:20 +00:00
|
|
|
config IMX_WATCHDOG
|
|
|
|
bool "Enable Watchdog Timer support for IMX and LSCH2 of NXP"
|
2019-06-09 01:46:22 +00:00
|
|
|
select HW_WATCHDOG if !WDT
|
2019-04-30 15:26:20 +00:00
|
|
|
help
|
2020-03-11 11:26:53 +00:00
|
|
|
Select this to enable the IMX and LSCH2 of Layerscape watchdog
|
|
|
|
driver.
|
2019-04-30 15:26:20 +00:00
|
|
|
|
2020-09-24 08:09:15 +00:00
|
|
|
config WATCHDOG_RESET_DISABLE
|
|
|
|
bool "Disable reset watchdog"
|
|
|
|
depends on IMX_WATCHDOG
|
|
|
|
help
|
|
|
|
Disable reset watchdog, which can let WATCHDOG_RESET invalid, so
|
|
|
|
that the watchdog will not be fed in u-boot.
|
|
|
|
|
2017-05-13 02:33:24 +00:00
|
|
|
config OMAP_WATCHDOG
|
|
|
|
bool "TI OMAP watchdog driver"
|
|
|
|
depends on ARCH_OMAP2PLUS
|
|
|
|
select HW_WATCHDOG
|
|
|
|
help
|
|
|
|
Say Y here to enable the OMAP3+ watchdog driver.
|
2017-07-05 17:33:20 +00:00
|
|
|
|
2017-02-22 08:21:48 +00:00
|
|
|
config ULP_WATCHDOG
|
|
|
|
bool "i.MX7ULP watchdog"
|
|
|
|
help
|
|
|
|
Say Y here to enable i.MX7ULP watchdog driver.
|
|
|
|
|
2019-06-26 22:26:34 +00:00
|
|
|
config DESIGNWARE_WATCHDOG
|
|
|
|
bool "Designware watchdog timer support"
|
2019-06-26 23:19:23 +00:00
|
|
|
select HW_WATCHDOG if !WDT
|
2020-04-20 18:04:13 +00:00
|
|
|
default y if WDT && ROCKCHIP_RK3399
|
2019-06-26 22:26:34 +00:00
|
|
|
help
|
2020-03-11 11:26:53 +00:00
|
|
|
Enable this to support Designware Watchdog Timer IP, present e.g.
|
|
|
|
on Altera SoCFPGA SoCs.
|
2019-06-26 22:26:34 +00:00
|
|
|
|
2017-04-17 19:00:21 +00:00
|
|
|
config WDT
|
|
|
|
bool "Enable driver model for watchdog timer drivers"
|
|
|
|
depends on DM
|
2019-04-11 13:58:44 +00:00
|
|
|
imply WATCHDOG
|
2017-04-17 19:00:21 +00:00
|
|
|
help
|
|
|
|
Enable driver model for watchdog timer. At the moment the API
|
|
|
|
is very simple and only supports four operations:
|
2019-04-25 10:57:28 +00:00
|
|
|
start, stop, reset and expire_now (expire immediately).
|
2017-04-17 19:00:21 +00:00
|
|
|
What exactly happens when the timer expires is up to a particular
|
|
|
|
device/driver.
|
|
|
|
|
2022-01-12 18:55:15 +00:00
|
|
|
config WDT_APPLE
|
|
|
|
bool "Apple watchdog timer support"
|
|
|
|
depends on WDT
|
|
|
|
default y if ARCH_APPLE
|
|
|
|
help
|
|
|
|
Enable support for the watchdog timer on Apple SoCs.
|
|
|
|
The watchdog will perform a full SoC reset resulting in a
|
|
|
|
reboot of the entire system.
|
|
|
|
|
2018-04-24 15:21:30 +00:00
|
|
|
config WDT_ARMADA_37XX
|
|
|
|
bool "Marvell Armada 37xx watchdog timer support"
|
|
|
|
depends on WDT && ARMADA_3700
|
|
|
|
help
|
2020-03-11 11:26:53 +00:00
|
|
|
Enable this to support Watchdog Timer on Marvell Armada 37xx SoC.
|
|
|
|
There are 4 possible clocks which can be used on these SoCs. This
|
|
|
|
driver uses the second clock (ID 1), assuming that so will also
|
|
|
|
Linux's driver.
|
2018-04-24 15:21:30 +00:00
|
|
|
|
2017-04-17 19:00:22 +00:00
|
|
|
config WDT_ASPEED
|
|
|
|
bool "Aspeed ast2400/ast2500 watchdog timer support"
|
|
|
|
depends on WDT
|
|
|
|
default y if ARCH_ASPEED
|
|
|
|
help
|
|
|
|
Select this to enable watchdog timer for Aspeed ast2500/ast2400 devices.
|
|
|
|
The watchdog timer is stopped when initialized. It performs reset, either
|
|
|
|
full SoC reset or CPU or just some peripherals, based on the flags.
|
|
|
|
It currently does not support Boot Flash Addressing Mode Detection or
|
|
|
|
Second Boot.
|
|
|
|
|
2020-12-14 05:54:25 +00:00
|
|
|
config WDT_AST2600
|
|
|
|
bool "Aspeed AST2600 watchdog timer support"
|
|
|
|
depends on WDT
|
|
|
|
default y if ASPEED_AST2600
|
|
|
|
help
|
|
|
|
Select this to enable watchdog timer for Aspeed ast2500/ast2400 devices.
|
|
|
|
The watchdog timer is stopped when initialized. It performs reset, either
|
|
|
|
full SoC reset or CPU or just some peripherals, based on the flags.
|
|
|
|
|
2019-04-30 15:26:20 +00:00
|
|
|
config WDT_AT91
|
|
|
|
bool "AT91 watchdog timer support"
|
|
|
|
depends on WDT
|
|
|
|
help
|
2020-03-11 11:26:53 +00:00
|
|
|
Select this to enable Microchip watchdog timer, which can be found on
|
|
|
|
some AT91 devices.
|
2019-04-30 15:26:20 +00:00
|
|
|
|
2017-05-16 16:29:09 +00:00
|
|
|
config WDT_BCM6345
|
|
|
|
bool "BCM6345 watchdog timer support"
|
2020-01-07 19:14:11 +00:00
|
|
|
depends on WDT && (ARCH_BMIPS || ARCH_BCM68360 || \
|
2022-02-11 18:18:37 +00:00
|
|
|
ARCH_BCM6858 || ARCH_BCM63158 || \
|
|
|
|
ARCH_BCM6753)
|
2017-05-16 16:29:09 +00:00
|
|
|
help
|
|
|
|
Select this to enable watchdog timer for BCM6345 SoCs.
|
|
|
|
The watchdog timer is stopped when initialized.
|
|
|
|
It performs full SoC reset.
|
|
|
|
|
2021-03-05 03:32:58 +00:00
|
|
|
config WDT_BOOKE
|
|
|
|
bool "PowerPC Book-E watchdog driver"
|
|
|
|
depends on WDT && MPC85xx
|
|
|
|
help
|
|
|
|
Watchdog driver for PowerPC Book-E chips, such as the Freescale
|
|
|
|
MPC85xx SOCs and the IBM PowerPC 440.
|
|
|
|
|
2018-02-21 15:50:20 +00:00
|
|
|
config WDT_CDNS
|
|
|
|
bool "Cadence watchdog timer support"
|
|
|
|
depends on WDT
|
|
|
|
imply WATCHDOG
|
|
|
|
help
|
2020-03-11 11:26:53 +00:00
|
|
|
Select this to enable Cadence watchdog timer, which can be found on some
|
|
|
|
Xilinx Microzed Platform.
|
2018-02-21 15:50:20 +00:00
|
|
|
|
2020-01-30 20:34:57 +00:00
|
|
|
config WDT_CORTINA
|
|
|
|
bool "Cortina Access CAxxxx watchdog timer support"
|
|
|
|
depends on WDT
|
|
|
|
help
|
|
|
|
Cortina Access CAxxxx watchdog timer support.
|
|
|
|
This driver support all CPU ISAs supported by Cortina
|
2020-03-11 11:26:53 +00:00
|
|
|
Access CAxxxx SoCs.
|
2020-01-30 20:34:57 +00:00
|
|
|
|
2021-08-19 09:57:04 +00:00
|
|
|
config WDT_GPIO
|
|
|
|
bool "External gpio watchdog support"
|
|
|
|
depends on WDT
|
|
|
|
depends on DM_GPIO
|
|
|
|
help
|
|
|
|
Support for external watchdog fed by toggling a gpio. See
|
|
|
|
doc/device-tree-bindings/watchdog/gpio-wdt.txt for
|
|
|
|
information on how to describe the watchdog in device tree.
|
|
|
|
|
2022-05-02 16:41:07 +00:00
|
|
|
config WDT_MAX6370
|
|
|
|
bool "MAX6370 watchdog timer support"
|
|
|
|
depends on WDT
|
|
|
|
select DM_GPIO
|
|
|
|
help
|
|
|
|
Select this to enable max6370 watchdog timer.
|
|
|
|
|
2019-04-30 15:26:20 +00:00
|
|
|
config WDT_MPC8xx
|
|
|
|
bool "MPC8xx watchdog timer support"
|
|
|
|
depends on WDT && MPC8xx
|
2020-02-20 07:39:51 +00:00
|
|
|
select HW_WATCHDOG
|
2019-04-30 15:26:20 +00:00
|
|
|
help
|
2020-03-11 11:26:53 +00:00
|
|
|
Select this to enable mpc8xx watchdog timer
|
2019-04-30 15:26:20 +00:00
|
|
|
|
2020-11-12 08:36:28 +00:00
|
|
|
config WDT_MT7620
|
|
|
|
bool "MediaTek MT7620 watchdog timer support"
|
|
|
|
depends on WDT && SOC_MT7620
|
|
|
|
help
|
|
|
|
Select this to enable watchdog timer on MediaTek MT7620 and earlier
|
|
|
|
SoC chips.
|
|
|
|
|
2019-04-30 15:26:20 +00:00
|
|
|
config WDT_MT7621
|
|
|
|
bool "MediaTek MT7621 watchdog timer support"
|
|
|
|
depends on WDT && SOC_MT7628
|
|
|
|
help
|
2020-03-11 11:26:53 +00:00
|
|
|
Select this to enable Ralink / Mediatek watchdog timer,
|
|
|
|
which can be found on some MediaTek chips.
|
2019-04-30 15:26:20 +00:00
|
|
|
|
2018-11-15 02:07:57 +00:00
|
|
|
config WDT_MTK
|
|
|
|
bool "MediaTek watchdog timer support"
|
|
|
|
depends on WDT && ARCH_MEDIATEK
|
|
|
|
help
|
|
|
|
Select this to enable watchdog timer for MediaTek SoCs.
|
|
|
|
The watchdog timer is stopped when initialized.
|
|
|
|
It performs full SoC reset.
|
|
|
|
|
2022-04-01 09:59:39 +00:00
|
|
|
config WDT_NPCM
|
|
|
|
bool "Nuvoton watchdog timer support"
|
|
|
|
depends on WDT && ARCH_NPCM
|
|
|
|
help
|
|
|
|
This enables Nuvoton npcm7xx/npcm8xx watchdog timer driver,
|
|
|
|
The watchdog timer is stopped when initialized.
|
|
|
|
It performs full SoC reset.
|
|
|
|
|
2019-10-21 23:09:36 +00:00
|
|
|
config WDT_OCTEONTX
|
|
|
|
bool "OcteonTX core watchdog support"
|
|
|
|
depends on WDT && (ARCH_OCTEONTX || ARCH_OCTEONTX2)
|
|
|
|
default y
|
|
|
|
imply WATCHDOG
|
|
|
|
help
|
|
|
|
This enables OcteonTX watchdog driver, which can be
|
|
|
|
found on OcteonTX/TX2 chipsets and inline with driver model.
|
|
|
|
Only supports watchdog reset.
|
|
|
|
|
2019-07-31 16:24:06 +00:00
|
|
|
config WDT_OMAP3
|
2020-03-11 11:26:53 +00:00
|
|
|
bool "TI OMAP watchdog timer support"
|
|
|
|
depends on WDT && ARCH_OMAP2PLUS
|
|
|
|
default y if AM33XX
|
|
|
|
help
|
2019-07-31 16:24:06 +00:00
|
|
|
This enables OMAP3+ watchdog timer driver, which can be
|
|
|
|
found on some TI chipsets and inline with driver model.
|
|
|
|
|
2019-04-30 15:26:20 +00:00
|
|
|
config WDT_ORION
|
|
|
|
bool "Orion watchdog timer support"
|
2018-07-14 20:35:41 +00:00
|
|
|
depends on WDT
|
2019-04-30 15:26:20 +00:00
|
|
|
select CLK
|
2018-07-14 20:35:41 +00:00
|
|
|
help
|
2020-03-11 11:26:53 +00:00
|
|
|
Select this to enable Orion watchdog timer, which can be found on some
|
|
|
|
Marvell Armada chips.
|
2018-07-14 20:35:41 +00:00
|
|
|
|
2020-06-23 11:15:08 +00:00
|
|
|
config WDT_K3_RTI
|
|
|
|
bool "Texas Instruments K3 RTI watchdog"
|
|
|
|
depends on WDT && ARCH_K3
|
|
|
|
help
|
|
|
|
Say Y here if you want to include support for the K3 watchdog
|
|
|
|
timer (RTI module) available in the K3 generation of processors.
|
|
|
|
|
2021-09-18 06:17:55 +00:00
|
|
|
if WDT_K3_RTI
|
|
|
|
|
|
|
|
config WDT_K3_RTI_LOAD_FW
|
|
|
|
bool "Load watchdog firmware"
|
|
|
|
depends on REMOTEPROC
|
|
|
|
help
|
|
|
|
Automatically load the specified firmware image into the MCU R5F
|
|
|
|
core 0. On the AM65x, this firmware is supposed to handle the expiry
|
|
|
|
of the watchdog timer, typically by resetting the system.
|
|
|
|
|
|
|
|
config WDT_K3_RTI_FW_FILE
|
|
|
|
string "Watchdog firmware image file"
|
|
|
|
default "k3-rti-wdt.fw"
|
|
|
|
depends on WDT_K3_RTI_LOAD_FW
|
|
|
|
help
|
|
|
|
Firmware image to be embedded into U-Boot and loaded on watchdog
|
|
|
|
start.
|
|
|
|
|
|
|
|
endif
|
|
|
|
|
2019-04-30 15:26:20 +00:00
|
|
|
config WDT_SANDBOX
|
|
|
|
bool "Enable Watchdog Timer support for Sandbox"
|
|
|
|
depends on SANDBOX && WDT
|
2018-10-18 09:14:19 +00:00
|
|
|
help
|
2019-04-30 15:26:20 +00:00
|
|
|
Enable Watchdog Timer support in Sandbox. This is a dummy device that
|
|
|
|
can be probed and supports all of the methods of WDT, but does not
|
|
|
|
really do anything.
|
2018-10-18 09:14:19 +00:00
|
|
|
|
2020-07-10 08:55:18 +00:00
|
|
|
config WDT_SBSA
|
|
|
|
bool "SBSA watchdog timer support"
|
|
|
|
depends on WDT
|
|
|
|
help
|
|
|
|
Select this to enable SBSA watchdog timer.
|
|
|
|
This driver can operate ARM SBSA Generic Watchdog as a single stage.
|
|
|
|
In the single stage mode, when the timeout is reached, your system
|
|
|
|
will be reset by WS1. The first signal (WS0) is ignored.
|
|
|
|
|
2021-11-15 22:45:43 +00:00
|
|
|
config WDT_SL28CPLD
|
|
|
|
bool "sl28cpld watchdog timer support"
|
|
|
|
depends on WDT && SL28CPLD
|
|
|
|
help
|
|
|
|
Enable support for the watchdog timer in the Kontron sl28cpld
|
|
|
|
management controller.
|
|
|
|
|
2019-04-30 15:26:20 +00:00
|
|
|
config WDT_SP805
|
|
|
|
bool "SP805 watchdog timer support"
|
2018-10-09 18:46:40 +00:00
|
|
|
depends on WDT
|
|
|
|
help
|
2020-03-11 11:26:53 +00:00
|
|
|
Select this to enable SP805 watchdog timer, which can be found on some
|
|
|
|
nxp layerscape chips.
|
2018-10-04 11:39:07 +00:00
|
|
|
|
2019-04-30 15:26:22 +00:00
|
|
|
config WDT_STM32MP
|
|
|
|
bool "IWDG watchdog driver for STM32 MP's family"
|
|
|
|
depends on WDT
|
|
|
|
imply WATCHDOG
|
|
|
|
help
|
|
|
|
Enable the STM32 watchdog (IWDG) driver. Enable support to
|
|
|
|
configure STM32's on-SoC watchdog.
|
|
|
|
|
2021-08-22 18:53:27 +00:00
|
|
|
config WDT_SUNXI
|
|
|
|
bool "Allwinner sunxi watchdog timer support"
|
|
|
|
depends on WDT && ARCH_SUNXI
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
Enable support for the watchdog timer in Allwinner sunxi SoCs.
|
|
|
|
|
2019-04-30 15:26:20 +00:00
|
|
|
config XILINX_TB_WATCHDOG
|
|
|
|
bool "Xilinx Axi watchdog timer support"
|
|
|
|
depends on WDT
|
|
|
|
imply WATCHDOG
|
2018-11-21 08:51:45 +00:00
|
|
|
help
|
2020-03-11 11:26:53 +00:00
|
|
|
Select this to enable Xilinx Axi watchdog timer, which can be found on some
|
|
|
|
Xilinx Microblaze Platforms.
|
2018-11-21 08:51:45 +00:00
|
|
|
|
2020-03-11 09:06:04 +00:00
|
|
|
config WDT_XILINX
|
|
|
|
bool "Xilinx window watchdog timer support"
|
|
|
|
depends on WDT && ARCH_VERSAL
|
|
|
|
select REGMAP
|
|
|
|
imply WATCHDOG
|
|
|
|
help
|
|
|
|
Select this to enable Xilinx window watchdog timer, which can be found on
|
|
|
|
Xilinx Versal Platforms.
|
|
|
|
|
2019-06-21 10:28:08 +00:00
|
|
|
config WDT_TANGIER
|
|
|
|
bool "Intel Tangier watchdog timer support"
|
|
|
|
depends on WDT && INTEL_MID
|
|
|
|
help
|
|
|
|
This enables support for watchdog controller available on
|
|
|
|
Intel Tangier SoC. If you're using a board with Intel Tangier
|
|
|
|
SoC, say Y here.
|
|
|
|
|
2019-06-09 01:46:21 +00:00
|
|
|
config SPL_WDT
|
|
|
|
bool "Enable driver model for watchdog timer drivers in SPL"
|
|
|
|
depends on SPL_DM
|
|
|
|
help
|
|
|
|
Enable driver model for watchdog timer in SPL.
|
|
|
|
This is similar to CONFIG_WDT in U-Boot.
|
|
|
|
|
2017-02-22 08:21:48 +00:00
|
|
|
endmenu
|