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>
This commit is contained in:
Kuninori Morimoto 2010-03-16 02:02:08 +00:00 committed by Paul Mundt
parent bec9fb072f
commit 67eaa3e4fb
1 changed files with 6 additions and 0 deletions

View File

@ -21,6 +21,12 @@
#define WTCNT 0xffcc0000 /*WDTST*/ #define WTCNT 0xffcc0000 /*WDTST*/
#define WTST WTCNT #define WTST WTCNT
#define WTBST 0xffcc0008 /*WDTBST*/ #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 #else
/* Register definitions */ /* Register definitions */
#define WTCNT 0xffc00008 #define WTCNT 0xffc00008