aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/kernel
diff options
context:
space:
mode:
authorMagnus Damm <damm@igel.co.jp>2007-07-25 21:12:50 -0400
committerPaul Mundt <lethal@linux-sh.org>2007-09-20 22:57:46 -0400
commit1301e71562acc301a39fd363010c971aade8511a (patch)
tree2ff70b47a0a44fb7046dd647e9d509c7c8c4a8bf /arch/sh/kernel
parentec58f1f32de0b6f9e83aada94c857a8fa9b00070 (diff)
sh: intc - add missing vectors for SH7707
This patch adds a few missing vectors for sh7707. The only interrupt controller differences between sh7707 and sh7709 seem to be added vectors for one LCD controller and two PCMCIA slots. Signed-off-by: Magnus Damm <damm@igel.co.jp> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/kernel')
-rw-r--r--arch/sh/kernel/cpu/sh3/setup-sh770x.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/sh/kernel/cpu/sh3/setup-sh770x.c b/arch/sh/kernel/cpu/sh3/setup-sh770x.c
index 68fc037a6b5c..43f8199bb4c1 100644
--- a/arch/sh/kernel/cpu/sh3/setup-sh770x.c
+++ b/arch/sh/kernel/cpu/sh3/setup-sh770x.c
@@ -29,6 +29,7 @@ enum {
29 SCIF2_ERI, SCIF2_RXI, SCIF2_BRI, SCIF2_TXI, 29 SCIF2_ERI, SCIF2_RXI, SCIF2_BRI, SCIF2_TXI,
30 SCI_ERI, SCI_RXI, SCI_TXI, SCI_TEI, 30 SCI_ERI, SCI_RXI, SCI_TXI, SCI_TEI,
31 ADC_ADI, 31 ADC_ADI,
32 LCDC, PCC0, PCC1,
32 TMU0, TMU1, TMU2_TUNI, TMU2_TICPI, 33 TMU0, TMU1, TMU2_TUNI, TMU2_TICPI,
33 RTC_ATI, RTC_PRI, RTC_CUI, 34 RTC_ATI, RTC_PRI, RTC_CUI,
34 WDT, 35 WDT,
@@ -64,6 +65,10 @@ static struct intc_vect vectors[] = {
64 INTC_VECT(SCIF0_ERI, 0x880), INTC_VECT(SCIF0_RXI, 0x8a0), 65 INTC_VECT(SCIF0_ERI, 0x880), INTC_VECT(SCIF0_RXI, 0x8a0),
65 INTC_VECT(SCIF0_BRI, 0x8c0), INTC_VECT(SCIF0_TXI, 0x8e0), 66 INTC_VECT(SCIF0_BRI, 0x8c0), INTC_VECT(SCIF0_TXI, 0x8e0),
66#endif 67#endif
68#if defined(CONFIG_CPU_SUBTYPE_SH7707)
69 INTC_VECT(LCDC, 0x9a0),
70 INTC_VECT(PCC0, 0x9c0), INTC_VECT(PCC1, 0x9e0),
71#endif
67}; 72};
68 73
69static struct intc_group groups[] = { 74static struct intc_group groups[] = {
@@ -98,6 +103,9 @@ static struct intc_prio_reg prio_registers[] = {
98 { 0xa4000018, 16, 4, /* IPRD */ { PINT07, PINT815, } }, 103 { 0xa4000018, 16, 4, /* IPRD */ { PINT07, PINT815, } },
99 { 0xa400001a, 16, 4, /* IPRE */ { 0, SCIF0 } }, 104 { 0xa400001a, 16, 4, /* IPRE */ { 0, SCIF0 } },
100#endif 105#endif
106#if defined(CONFIG_CPU_SUBTYPE_SH7707)
107 { 0xa400001c, 16, 4, /* IPRF */ { 0, LCDC, PCC0, PCC1, } },
108#endif
101}; 109};
102 110
103static DECLARE_INTC_DESC(intc_desc, "sh770x", vectors, groups, 111static DECLARE_INTC_DESC(intc_desc, "sh770x", vectors, groups,