b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame^] | 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 | |
| 10 | /* Register definitions */ |
| 11 | #define WTCNT 0xffffff84 |
| 12 | #define WTCSR 0xffffff86 |
| 13 | |
| 14 | /* Bit definitions */ |
| 15 | #define WTCSR_TME 0x80 |
| 16 | #define WTCSR_WT 0x40 |
| 17 | #define WTCSR_RSTS 0x20 |
| 18 | #define WTCSR_WOVF 0x10 |
| 19 | #define WTCSR_IOVF 0x08 |
| 20 | |
| 21 | #endif /* __ASM_CPU_SH3_WATCHDOG_H */ |
| 22 | |