atmel-sama5d4-wdt.txt 1.2 KB

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