diff options
Diffstat (limited to 'arch/sh')
-rw-r--r-- | arch/sh/boards/renesas/r7780rp/irq-r7780mp.c | 39 |
1 files changed, 26 insertions, 13 deletions
diff --git a/arch/sh/boards/renesas/r7780rp/irq-r7780mp.c b/arch/sh/boards/renesas/r7780rp/irq-r7780mp.c index 1f8f073f27be..68f0ad1b637d 100644 --- a/arch/sh/boards/renesas/r7780rp/irq-r7780mp.c +++ b/arch/sh/boards/renesas/r7780rp/irq-r7780mp.c | |||
@@ -18,31 +18,44 @@ enum { | |||
18 | UNUSED = 0, | 18 | UNUSED = 0, |
19 | 19 | ||
20 | /* board specific interrupt sources */ | 20 | /* board specific interrupt sources */ |
21 | AX88796, /* Ethernet controller */ | 21 | CF, /* Compact Flash */ |
22 | CF, /* Compact Flash */ | 22 | TP, /* Touch panel */ |
23 | PSW, /* Push Switch */ | 23 | SCIF1, /* FPGA SCIF1 */ |
24 | EXT1, /* EXT1n IRQ */ | 24 | SCIF0, /* FPGA SCIF0 */ |
25 | EXT4, /* EXT4n IRQ */ | 25 | SMBUS, /* SMBUS */ |
26 | RTC, /* RTC Alarm */ | ||
27 | AX88796, /* Ethernet controller */ | ||
28 | PSW, /* Push Switch */ | ||
29 | |||
30 | /* external bus connector */ | ||
31 | EXT1, EXT2, EXT4, EXT5, EXT6, | ||
26 | }; | 32 | }; |
27 | 33 | ||
28 | static struct intc_vect vectors[] __initdata = { | 34 | static struct intc_vect vectors[] __initdata = { |
29 | INTC_IRQ(CF, IRQ_CF), | 35 | INTC_IRQ(CF, IRQ_CF), |
30 | INTC_IRQ(PSW, IRQ_PSW), | 36 | INTC_IRQ(TP, IRQ_TP), |
37 | INTC_IRQ(SCIF1, IRQ_SCIF1), | ||
38 | INTC_IRQ(SCIF0, IRQ_SCIF0), | ||
39 | INTC_IRQ(SMBUS, IRQ_SMBUS), | ||
40 | INTC_IRQ(RTC, IRQ_RTC), | ||
31 | INTC_IRQ(AX88796, IRQ_AX88796), | 41 | INTC_IRQ(AX88796, IRQ_AX88796), |
32 | INTC_IRQ(EXT1, IRQ_EXT1), | 42 | INTC_IRQ(PSW, IRQ_PSW), |
33 | INTC_IRQ(EXT4, IRQ_EXT4), | 43 | |
44 | INTC_IRQ(EXT1, IRQ_EXT1), INTC_IRQ(EXT2, IRQ_EXT2), | ||
45 | INTC_IRQ(EXT4, IRQ_EXT4), INTC_IRQ(EXT5, IRQ_EXT5), | ||
46 | INTC_IRQ(EXT6, IRQ_EXT6), | ||
34 | }; | 47 | }; |
35 | 48 | ||
36 | static struct intc_mask_reg mask_registers[] __initdata = { | 49 | static struct intc_mask_reg mask_registers[] __initdata = { |
37 | { 0xa4000000, 0, 16, /* IRLMSK */ | 50 | { 0xa4000000, 0, 16, /* IRLMSK */ |
38 | { 0, 0, 0, 0, CF, 0, 0, 0, | 51 | { SCIF0, SCIF1, RTC, 0, CF, 0, TP, SMBUS, |
39 | 0, 0, 0, EXT4, 0, EXT1, PSW, AX88796 } }, | 52 | 0, EXT6, EXT5, EXT4, EXT2, EXT1, PSW, AX88796 } }, |
40 | }; | 53 | }; |
41 | 54 | ||
42 | static unsigned char irl2irq[HL_NR_IRL] __initdata = { | 55 | static unsigned char irl2irq[HL_NR_IRL] __initdata = { |
43 | 0, IRQ_CF, 0, 0, | 56 | 0, IRQ_CF, IRQ_TP, IRQ_SCIF1, |
44 | 0, 0, 0, 0, | 57 | IRQ_SCIF0, IRQ_SMBUS, IRQ_RTC, IRQ_EXT6, |
45 | 0, IRQ_EXT4, 0, IRQ_EXT1, | 58 | IRQ_EXT5, IRQ_EXT4, IRQ_EXT2, IRQ_EXT1, |
46 | 0, IRQ_AX88796, IRQ_PSW, | 59 | 0, IRQ_AX88796, IRQ_PSW, |
47 | }; | 60 | }; |
48 | 61 | ||