diff options
author | Kuninori Morimoto <morimoto.kuninori@renesas.com> | 2010-03-16 02:02:08 +0000 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2010-03-23 13:19:36 +0900 |
commit | 67eaa3e4fb29a758f92c9296ca006264a034e9c2 (patch) | |
tree | 9348345deb31d55a87f3747db4754fad4d23dfe3 /arch/sh | |
parent | bec9fb072f58a77a449c4bb3b1b036fcecc68663 (diff) | |
download | op-kernel-dev-67eaa3e4fb29a758f92c9296ca006264a034e9c2.zip op-kernel-dev-67eaa3e4fb29a758f92c9296ca006264a034e9c2.tar.gz |
sh: Add watch-dog register address for SH7722/SH7723/SH7724
Signed-off-by: Kuninori Morimoto <morimoto.kuninori@renesas.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh')
-rw-r--r-- | arch/sh/include/cpu-sh4/cpu/watchdog.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/sh/include/cpu-sh4/cpu/watchdog.h b/arch/sh/include/cpu-sh4/cpu/watchdog.h index 7672301..7f62b93 100644 --- a/arch/sh/include/cpu-sh4/cpu/watchdog.h +++ b/arch/sh/include/cpu-sh4/cpu/watchdog.h @@ -21,6 +21,12 @@ #define WTCNT 0xffcc0000 /*WDTST*/ #define WTST WTCNT #define WTBST 0xffcc0008 /*WDTBST*/ +/* Register definitions */ +#elif defined(CONFIG_CPU_SUBTYPE_SH7722) || \ + defined(CONFIG_CPU_SUBTYPE_SH7723) || \ + defined(CONFIG_CPU_SUBTYPE_SH7724) +#define WTCNT 0xa4520000 +#define WTCSR 0xa4520004 #else /* Register definitions */ #define WTCNT 0xffc00008 |