men-a021-wdt.txt 624 B

1234567891011121314151617181920212223242526
  1. Bindings for MEN A21 Watchdog device connected to GPIO lines
  2. Required properties:
  3. - compatible: "men,a021-wdt"
  4. - gpios: Specifies the pins that control the Watchdog, order:
  5. 1: Watchdog enable
  6. 2: Watchdog fast-mode
  7. 3: Watchdog trigger
  8. 4: Watchdog reset cause bit 0
  9. 5: Watchdog reset cause bit 1
  10. 6: Watchdog reset cause bit 2
  11. Optional properties:
  12. - None
  13. Example:
  14. watchdog {
  15. compatible ="men,a021-wdt";
  16. gpios = <&gpio3 9 1 /* WD_EN */
  17. &gpio3 10 1 /* WD_FAST */
  18. &gpio3 11 1 /* WD_TRIG */
  19. &gpio3 6 1 /* RST_CAUSE[0] */
  20. &gpio3 7 1 /* RST_CAUSE[1] */
  21. &gpio3 8 1>; /* RST_CAUSE[2] */
  22. };