blob: f7cc7c0609107d6f94de076af38f84590f175896 [file] [log] [blame]
Wenyou Yangf4fff942015-08-06 18:17:05 +08001* Atmel SAMA5D4 Watchdog Timer (WDT) Controller
2
3Required properties:
4- compatible: "atmel,sama5d4-wdt"
5- reg: base physical address and length of memory mapped region.
6
7Optional properties:
8- timeout-sec: watchdog timeout value (in seconds).
9- interrupts: interrupt number to the CPU.
10- atmel,watchdog-type: should be "hardware" or "software".
11 "hardware": enable watchdog fault reset. A watchdog fault triggers
12 watchdog reset.
13 "software": enable watchdog fault interrupt. A watchdog fault asserts
14 watchdog interrupt.
15- atmel,idle-halt: present if you want to stop the watchdog when the CPU is
16 in idle state.
17 CAUTION: This property should be used with care, it actually makes the
18 watchdog not counting when the CPU is in idle state, therefore the
19 watchdog reset time depends on mean CPU usage and will not reset at all
20 if the CPU stop working while it is in idle state, which is probably
21 not what you want.
22- atmel,dbg-halt: present if you want to stop the watchdog when the CPU is
23 in debug state.
24
25Example:
26 watchdog@fc068640 {
27 compatible = "atmel,sama5d4-wdt";
28 reg = <0xfc068640 0x10>;
29 interrupts = <4 IRQ_TYPE_LEVEL_HIGH 5>;
30 timeout-sec = <10>;
31 atmel,watchdog-type = "hardware";
32 atmel,dbg-halt;
33 atmel,idle-halt;
34 status = "okay";
35 };