aspeed-wdt.txt 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. Aspeed Watchdog Timer
  2. Required properties:
  3. - compatible: must be one of:
  4. - "aspeed,ast2400-wdt"
  5. - "aspeed,ast2500-wdt"
  6. - reg: physical base address of the controller and length of memory mapped
  7. region
  8. Optional properties:
  9. - aspeed,reset-type = "cpu|soc|system|none"
  10. Reset behavior - Whenever a timeout occurs the watchdog can be programmed
  11. to generate one of three different, mutually exclusive, types of resets.
  12. Type "none" can be specified to indicate that no resets are to be done.
  13. This is useful in situations where another watchdog engine on chip is
  14. to perform the reset.
  15. If 'aspeed,reset-type=' is not specfied the default is to enable system
  16. reset.
  17. Reset types:
  18. - cpu: Reset CPU on watchdog timeout
  19. - soc: Reset 'System on Chip' on watchdog timeout
  20. - system: Reset system on watchdog timeout
  21. - none: No reset is performed on timeout. Assumes another watchdog
  22. engine is responsible for this.
  23. - aspeed,alt-boot: If property is present then boot from alternate block.
  24. - aspeed,external-signal: If property is present then signal is sent to
  25. external reset counter (only WDT1 and WDT2). If not
  26. specified no external signal is sent.
  27. - aspeed,ext-pulse-duration: External signal pulse duration in microseconds
  28. Optional properties for AST2500-compatible watchdogs:
  29. - aspeed,ext-push-pull: If aspeed,external-signal is present, set the pin's
  30. drive type to push-pull. The default is open-drain.
  31. - aspeed,ext-active-high: If aspeed,external-signal is present and and the pin
  32. is configured as push-pull, then set the pulse
  33. polarity to active-high. The default is active-low.
  34. Example:
  35. wdt1: watchdog@1e785000 {
  36. compatible = "aspeed,ast2400-wdt";
  37. reg = <0x1e785000 0x1c>;
  38. aspeed,reset-type = "system";
  39. aspeed,external-signal;
  40. };