Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Kuninori Morimoto and committed by
Paul Mundt
67eaa3e4 bec9fb07

+6
+6
arch/sh/include/cpu-sh4/cpu/watchdog.h
··· 21 21 #define WTCNT 0xffcc0000 /*WDTST*/ 22 22 #define WTST WTCNT 23 23 #define WTBST 0xffcc0008 /*WDTBST*/ 24 + /* Register definitions */ 25 + #elif defined(CONFIG_CPU_SUBTYPE_SH7722) || \ 26 + defined(CONFIG_CPU_SUBTYPE_SH7723) || \ 27 + defined(CONFIG_CPU_SUBTYPE_SH7724) 28 + #define WTCNT 0xa4520000 29 + #define WTCSR 0xa4520004 24 30 #else 25 31 /* Register definitions */ 26 32 #define WTCNT 0xffc00008