sh: Add support Renesas SH7203 processor
authorNobuhiro Iwamatsu <iwamatsu.nobuhiro@renesas.com>
Thu, 3 Jul 2008 14:11:02 +0000 (23:11 +0900)
committerNobuhiro Iwamatsu <iwamatsu@nigauri.org>
Sun, 31 Aug 2008 13:51:55 +0000 (22:51 +0900)
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu.nobuhiro@renesas.com>
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
drivers/serial/serial_sh.c
include/asm-sh/cpu_sh7203.h [new file with mode: 0644]

index 2b9eeed47e0c68fdf530f89bc0362efbc5665303..46600e65874e33bad5df70747e720f44d41c2f72 100644 (file)
@@ -70,7 +70,8 @@
 # endif
 #elif defined(CONFIG_CPU_SH7750) || \
        defined(CONFIG_CPU_SH7751) || \
-       defined(CONFIG_CPU_SH7722)
+       defined(CONFIG_CPU_SH7722) || \
+       defined(CONFIG_CPU_SH7203)
 # define SCSPTR        (vu_short *)(SCIF_BASE + 0x20)
 # define SCLSR         (vu_short *)(SCIF_BASE + 0x24)
 # define LSR_ORER      1
diff --git a/include/asm-sh/cpu_sh7203.h b/include/asm-sh/cpu_sh7203.h
new file mode 100644 (file)
index 0000000..77dcac4
--- /dev/null
@@ -0,0 +1,41 @@
+#ifndef _ASM_CPU_SH7203_H_
+#define _ASM_CPU_SH7203_H_
+
+/* Cache */
+#define CCR1           0xFFFC1000
+#define CCR                    CCR1
+
+/* PFC */
+#define PACR           0xA4050100
+#define PBCR           0xA4050102
+#define PCCR           0xA4050104
+#define PETCR          0xA4050106
+
+/* Port Data Registers */
+#define PADR           0xA4050120
+#define PBDR           0xA4050122
+#define PCDR           0xA4050124
+
+/* BSC */
+
+/* SDRAM controller */
+
+/* SCIF */
+#define SCSMR_0                0xFFFE8000
+#define SCIF0_BASE     SCSMR_0
+
+/* Timer(CMT) */
+#define CMSTR  0xFFFEC000
+#define CMCSR_0 0xFFFEC002
+#define CMCNT_0 0xFFFEC004
+#define CMCOR_0 0xFFFEC006
+#define CMCSR_1 0xFFFEC008
+#define CMCNT_1 0xFFFEC00A
+#define CMCOR_1        0xFFFEC00C
+
+/* On chip oscillator circuits */
+#define FRQCR          0xA415FF80
+#define WTCNT          0xA415FF84
+#define WTCSR          0xA415FF86
+
+#endif /* _ASM_CPU_SH7203_H_ */