atmel-wdt.txt 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. * Atmel Watchdog Timers
  2. ** at91sam9-wdt
  3. Required properties:
  4. - compatible: must be "atmel,at91sam9260-wdt".
  5. - reg: physical base address of the controller and length of memory mapped
  6. region.
  7. Optional properties:
  8. - timeout-sec: contains the watchdog timeout in seconds.
  9. - interrupts : Should contain WDT interrupt.
  10. - atmel,max-heartbeat-sec : Should contain the maximum heartbeat value in
  11. seconds. This value should be less or equal to 16. It is used to
  12. compute the WDV field.
  13. - atmel,min-heartbeat-sec : Should contain the minimum heartbeat value in
  14. seconds. This value must be smaller than the max-heartbeat-sec value.
  15. It is used to compute the WDD field.
  16. - atmel,watchdog-type : Should be "hardware" or "software". Hardware watchdog
  17. use the at91 watchdog reset. Software watchdog use the watchdog
  18. interrupt to trigger a software reset.
  19. - atmel,reset-type : Should be "proc" or "all".
  20. "all" : assert peripherals and processor reset signals
  21. "proc" : assert the processor reset signal
  22. This is valid only when using "hardware" watchdog.
  23. - atmel,disable : Should be present if you want to disable the watchdog.
  24. - atmel,idle-halt : Should be present if you want to stop the watchdog when
  25. entering idle state.
  26. - atmel,dbg-halt : Should be present if you want to stop the watchdog when
  27. entering debug state.
  28. Example:
  29. watchdog@fffffd40 {
  30. compatible = "atmel,at91sam9260-wdt";
  31. reg = <0xfffffd40 0x10>;
  32. interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
  33. timeout-sec = <15>;
  34. atmel,watchdog-type = "hardware";
  35. atmel,reset-type = "all";
  36. atmel,dbg-halt;
  37. atmel,idle-halt;
  38. atmel,max-heartbeat-sec = <16>;
  39. atmel,min-heartbeat-sec = <0>;
  40. status = "okay";
  41. };