watchdog.h 448 B

12345678910111213141516171819202122
  1. /* SPDX-License-Identifier: GPL-2.0
  2. *
  3. * include/asm-sh/cpu-sh3/watchdog.h
  4. *
  5. * Copyright (C) 2002, 2003 Paul Mundt
  6. */
  7. #ifndef __ASM_CPU_SH3_WATCHDOG_H
  8. #define __ASM_CPU_SH3_WATCHDOG_H
  9. /* Register definitions */
  10. #define WTCNT 0xffffff84
  11. #define WTCSR 0xffffff86
  12. /* Bit definitions */
  13. #define WTCSR_TME 0x80
  14. #define WTCSR_WT 0x40
  15. #define WTCSR_RSTS 0x20
  16. #define WTCSR_WOVF 0x10
  17. #define WTCSR_IOVF 0x08
  18. #endif /* __ASM_CPU_SH3_WATCHDOG_H */