alphascale-asm9260.txt 1.0 KB

123456789101112131415161718192021222324252627282930313233343536
  1. Alphascale asm9260 Watchdog timer
  2. Required properties:
  3. - compatible : should be "alphascale,asm9260-wdt".
  4. - reg : Specifies base physical address and size of the registers.
  5. - clocks : the clocks feeding the watchdog timer. See clock-bindings.txt
  6. - clock-names : should be set to
  7. "mod" - source for tick counter.
  8. "ahb" - ahb gate.
  9. - resets : phandle pointing to the system reset controller with
  10. line index for the watchdog.
  11. - reset-names : should be set to "wdt_rst".
  12. Optional properties:
  13. - timeout-sec : shall contain the default watchdog timeout in seconds,
  14. if unset, the default timeout is 30 seconds.
  15. - alphascale,mode : three modes are supported
  16. "hw" - hw reset (default).
  17. "sw" - sw reset.
  18. "debug" - no action is taken.
  19. Example:
  20. watchdog0: watchdog@80048000 {
  21. compatible = "alphascale,asm9260-wdt";
  22. reg = <0x80048000 0x10>;
  23. clocks = <&acc CLKID_SYS_WDT>, <&acc CLKID_AHB_WDT>;
  24. clock-names = "mod", "ahb";
  25. interrupts = <55>;
  26. resets = <&rst WDT_RESET>;
  27. reset-names = "wdt_rst";
  28. timeout-sec = <30>;
  29. alphascale,mode = "hw";
  30. };