tegrakernel/kernel/nvidia/Documentation/devicetree/bindings/watchdog/nvidia,tegra-wdt-t18x.txt

67 lines
2.5 KiB
Plaintext
Raw Permalink Normal View History

2022-02-16 09:13:02 -06:00
* NVIDIA Tegra18x Watchdog controller
Required properties:
- compatible: Should be "nvidia,tegra-wdt-t18x"
- reg: Should contain WDT and corresponding timer source
registers location and length. There must be three register
addresses and size in following sequence:
WDT0 base address and size.
Timer0 base address and size.
TKE TOP base address and size.
If timer index and watchdog index is not provided then
the address must be the actual base address of WDT and
timer which will be use.
Optional properties for recovery mode:
- interrupts: interrupt number to the cpu
- nvidia,wdt-cluster-id: ID of the cpu cluster monitored by this WDT instance.
- nvidia,enable-on-init: toggle switch for enable during init
- nvidia,heartbeat-init: default timeout in secs (120 secs if not specified)
- nvidia,shutdown-timeout: timeout in secs during shutdown before watchdog
reset occurs. same as heartbeat if not specified.
- nvidia,expiry-count: total expiration levels supported by the watchdog.
Should be 1 if not specified. (Deprecated)
- nvidia,extend-watchdog-suspend: Boolean. Extend the disable of watchdog
timer to syscore suspend and re-eanble on syscore resume. If this
is selected then do not disable watchdog timer in device suspend
otherwise disable in device suspend.
- nvidia,watchdog-index: Watchdog to be use, it can be 0, 1 or 2.
- nvidia,timer-index: Timer to be use for counter. It can be 0 to 7.
If nvidia,watchdog-index or nvidia,timer-index are provided then property
"reg" must contain the base address of timer and watchdog.
Optional properties for debug purpose:
- nvidia,disable-debug-reset:
Disable system wide debug reset assertion at fourth expiration of the
counter. WDT debug reset can be intercepted by debug logic, e.g. to
preserve information. This reset should be enabled if not specified.
- nvidia,disable-por-reset:
Disable internal full system reset at fifth expiration of the counter.
WDT POR reset cannot be intercepted and acts as a Power On Reset. This
reset should be enabled if not specified.
- nvidia,disable-remote-interrupt:
Disable remote interrupt which happen in 3rd expiry of the counter.
Examples:
watchdog@30c0000 {
compatible = "nvidia,tegra-wdt-18x";
reg = <0x0 0x030c0000 0x0 0x10000
0x0 0x03090000 0x0 0x10000>;
nvidia,expiry-count = <5>;
status = "disabled";
};
watchdog@30d0000 {
compatible = "nvidia,tegra-wdt-18x";
reg = <0x0 0x030c0000 0x0 0x10000
0x0 0x030a0000 0x0 0x10000>;
nvidia,expiry-count = <5>;
status = "disabled";
};