summaryrefslogtreecommitdiffstats
path: root/arch/sh/include/mach-se/mach/se.h
diff options
context:
space:
mode:
authorSteve Glendinning <steve.glendinning@smsc.com>2008-11-23 15:27:21 +0100
committerPaul Mundt <lethal@linux-sh.org>2008-12-22 10:42:54 +0100
commit8085ac753164f45fd23603e7cad85a4c985cbf75 (patch)
treef150a3649ab9424549796346caf9eb7f032449bd /arch/sh/include/mach-se/mach/se.h
parentsh: Provide optimized non-atomic bitops for SH-2A. (diff)
downloadlinux-8085ac753164f45fd23603e7cad85a4c985cbf75.tar.xz
linux-8085ac753164f45fd23603e7cad85a4c985cbf75.zip
sh: Add platform-specific constants for SH7709
I'm using these constants in support of an in-house development board, and thought they may be useful to other users of SH7709. Signed-off-by: Steve Glendinning <steve.glendinning@smsc.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/include/mach-se/mach/se.h')
-rw-r--r--arch/sh/include/mach-se/mach/se.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/arch/sh/include/mach-se/mach/se.h b/arch/sh/include/mach-se/mach/se.h
index eb23000e1bbe..14be91c5a2f0 100644
--- a/arch/sh/include/mach-se/mach/se.h
+++ b/arch/sh/include/mach-se/mach/se.h
@@ -68,6 +68,24 @@
#define BCR_ILCRF (PA_BCR + 10)
#define BCR_ILCRG (PA_BCR + 12)
+#if defined(CONFIG_CPU_SUBTYPE_SH7709)
+#define INTC_IRR0 0xa4000004UL
+#define INTC_IRR1 0xa4000006UL
+#define INTC_IRR2 0xa4000008UL
+
+#define INTC_ICR0 0xfffffee0UL
+#define INTC_ICR1 0xa4000010UL
+#define INTC_ICR2 0xa4000012UL
+#define INTC_INTER 0xa4000014UL
+
+#define INTC_IPRC 0xa4000016UL
+#define INTC_IPRD 0xa4000018UL
+#define INTC_IPRE 0xa400001aUL
+
+#define IRQ0_IRQ 32
+#define IRQ1_IRQ 33
+#endif
+
#if defined(CONFIG_CPU_SUBTYPE_SH7705)
#define IRQ_STNIC 12
#define IRQ_CFCARD 14