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
|
|
|
|
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
|
|
|
|
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.
|
|
|
|
|
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 || \
|
|
|
|
ARCH_BCM6858 || ARCH_BCM63158)
|
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.
|
|
|
|
|
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.
|
|
|
|
|
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.
|
|
|
|
|
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.
|
|
|
|
|
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.
|
|
|
|
|
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
|