summaryrefslogtreecommitdiff
path: root/include/asm-sh/cpu-sh4/freq.h
diff options
context:
space:
mode:
authorMagnus Damm <magnus.damm@gmail.com>2008-02-08 11:31:24 +0300
committerPaul Mundt <lethal@linux-sh.org>2008-02-14 08:22:10 +0300
commit9109a30e5a548b39463b5a777943cf103da507af (patch)
tree30c9e05311a3a76acef42ebcc6f00f08cdacd605 /include/asm-sh/cpu-sh4/freq.h
parentd847afe7d4966d35eb7a6fe6f196a0d7e5633f35 (diff)
downloadlinux-9109a30e5a548b39463b5a777943cf103da507af.tar.xz
sh: add support for sh7366 processor
This patch adds sh7366 cpu supports. Just the most basic things like interrupt controller, clocks and serial port are included at this point. Signed-off-by: Magnus Damm <damm@igel.co.jp> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'include/asm-sh/cpu-sh4/freq.h')
-rw-r--r--include/asm-sh/cpu-sh4/freq.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/asm-sh/cpu-sh4/freq.h b/include/asm-sh/cpu-sh4/freq.h
index 1ac10b9a078f..ec028c649215 100644
--- a/include/asm-sh/cpu-sh4/freq.h
+++ b/include/asm-sh/cpu-sh4/freq.h
@@ -10,12 +10,14 @@
#ifndef __ASM_CPU_SH4_FREQ_H
#define __ASM_CPU_SH4_FREQ_H
-#if defined(CONFIG_CPU_SUBTYPE_SH7722)
+#if defined(CONFIG_CPU_SUBTYPE_SH7722) || defined(CONFIG_CPU_SUBTYPE_SH7366)
#define FRQCR 0xa4150000
#define VCLKCR 0xa4150004
#define SCLKACR 0xa4150008
#define SCLKBCR 0xa415000c
+#if defined(CONFIG_CPU_SUBTYPE_SH7722)
#define IrDACLKCR 0xa4150010
+#endif
#elif defined(CONFIG_CPU_SUBTYPE_SH7763) || \
defined(CONFIG_CPU_SUBTYPE_SH7780)
#define FRQCR 0xffc80000