mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-21 03:17:59 +07:00
4da722ca19
Pretty much any node can have a status property, so it doesn't need to be in examples. Converted with the following command and removed examples with SoC and board specific splits: git grep -l -E 'status.*=.*' Documentation/devicetree/ | xargs sed -i -E '/\sstatus.*=.*"(disabled|ok|okay)/d' Acked-by: Mark Rutland <mark.rutland@arm.com> Signed-off-by: Rob Herring <robh@kernel.org>
35 lines
1.2 KiB
Plaintext
35 lines
1.2 KiB
Plaintext
* Atmel SAMA5D4 Watchdog Timer (WDT) Controller
|
|
|
|
Required properties:
|
|
- compatible: "atmel,sama5d4-wdt"
|
|
- reg: base physical address and length of memory mapped region.
|
|
|
|
Optional properties:
|
|
- timeout-sec: watchdog timeout value (in seconds).
|
|
- interrupts: interrupt number to the CPU.
|
|
- atmel,watchdog-type: should be "hardware" or "software".
|
|
"hardware": enable watchdog fault reset. A watchdog fault triggers
|
|
watchdog reset.
|
|
"software": enable watchdog fault interrupt. A watchdog fault asserts
|
|
watchdog interrupt.
|
|
- atmel,idle-halt: present if you want to stop the watchdog when the CPU is
|
|
in idle state.
|
|
CAUTION: This property should be used with care, it actually makes the
|
|
watchdog not counting when the CPU is in idle state, therefore the
|
|
watchdog reset time depends on mean CPU usage and will not reset at all
|
|
if the CPU stop working while it is in idle state, which is probably
|
|
not what you want.
|
|
- atmel,dbg-halt: present if you want to stop the watchdog when the CPU is
|
|
in debug state.
|
|
|
|
Example:
|
|
watchdog@fc068640 {
|
|
compatible = "atmel,sama5d4-wdt";
|
|
reg = <0xfc068640 0x10>;
|
|
interrupts = <4 IRQ_TYPE_LEVEL_HIGH 5>;
|
|
timeout-sec = <10>;
|
|
atmel,watchdog-type = "hardware";
|
|
atmel,dbg-halt;
|
|
atmel,idle-halt;
|
|
};
|