瀏覽代碼

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>
Kuninori Morimoto 15 年之前
父節點
當前提交
67eaa3e4fb
共有 1 個文件被更改,包括 6 次插入0 次删除
  1. 6 0
      arch/sh/include/cpu-sh4/cpu/watchdog.h

+ 6 - 0
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