18c2ecf20Sopenharmony_ci* Atmel SAMA5D4 Watchdog Timer (WDT) Controller 28c2ecf20Sopenharmony_ci 38c2ecf20Sopenharmony_ciRequired properties: 48c2ecf20Sopenharmony_ci- compatible: "atmel,sama5d4-wdt" or "microchip,sam9x60-wdt" 58c2ecf20Sopenharmony_ci- reg: base physical address and length of memory mapped region. 68c2ecf20Sopenharmony_ci 78c2ecf20Sopenharmony_ciOptional properties: 88c2ecf20Sopenharmony_ci- timeout-sec: watchdog timeout value (in seconds). 98c2ecf20Sopenharmony_ci- interrupts: interrupt number to the CPU. 108c2ecf20Sopenharmony_ci- atmel,watchdog-type: should be "hardware" or "software". 118c2ecf20Sopenharmony_ci "hardware": enable watchdog fault reset. A watchdog fault triggers 128c2ecf20Sopenharmony_ci watchdog reset. 138c2ecf20Sopenharmony_ci "software": enable watchdog fault interrupt. A watchdog fault asserts 148c2ecf20Sopenharmony_ci watchdog interrupt. 158c2ecf20Sopenharmony_ci- atmel,idle-halt: present if you want to stop the watchdog when the CPU is 168c2ecf20Sopenharmony_ci in idle state. 178c2ecf20Sopenharmony_ci CAUTION: This property should be used with care, it actually makes the 188c2ecf20Sopenharmony_ci watchdog not counting when the CPU is in idle state, therefore the 198c2ecf20Sopenharmony_ci watchdog reset time depends on mean CPU usage and will not reset at all 208c2ecf20Sopenharmony_ci if the CPU stop working while it is in idle state, which is probably 218c2ecf20Sopenharmony_ci not what you want. 228c2ecf20Sopenharmony_ci- atmel,dbg-halt: present if you want to stop the watchdog when the CPU is 238c2ecf20Sopenharmony_ci in debug state. 248c2ecf20Sopenharmony_ci 258c2ecf20Sopenharmony_ciExample: 268c2ecf20Sopenharmony_ci watchdog@fc068640 { 278c2ecf20Sopenharmony_ci compatible = "atmel,sama5d4-wdt"; 288c2ecf20Sopenharmony_ci reg = <0xfc068640 0x10>; 298c2ecf20Sopenharmony_ci interrupts = <4 IRQ_TYPE_LEVEL_HIGH 5>; 308c2ecf20Sopenharmony_ci timeout-sec = <10>; 318c2ecf20Sopenharmony_ci atmel,watchdog-type = "hardware"; 328c2ecf20Sopenharmony_ci atmel,dbg-halt; 338c2ecf20Sopenharmony_ci atmel,idle-halt; 348c2ecf20Sopenharmony_ci }; 35