diff options
author | Magnus Damm <damm@opensource.se> | 2011-10-17 13:00:52 +0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2011-11-04 20:03:55 +0400 |
commit | 566aad39df77211467078e0b3dcd62100f56b5e4 (patch) | |
tree | c91d7a06ad1a6f0090d425359d500ba9897d18f7 /arch/arm/mach-shmobile/include/mach | |
parent | 91c088ae17c62f7741d9563e36935bc7a69a7e9e (diff) | |
download | linux-566aad39df77211467078e0b3dcd62100f56b5e4.tar.xz |
ARM: mach-shmobile: sh73a0 and AG5EVM PINT support
Support PINT on sh73a0 and AG5EVM using INTC PINT macros.
With this patch applied the AG5EVM ethernet is handled
through one of the chained sh73a0 PINT interrupt controllers.
Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/arm/mach-shmobile/include/mach')
-rw-r--r-- | arch/arm/mach-shmobile/include/mach/sh73a0.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-shmobile/include/mach/sh73a0.h b/arch/arm/mach-shmobile/include/mach/sh73a0.h index b385e976797a..18ae6a990bc2 100644 --- a/arch/arm/mach-shmobile/include/mach/sh73a0.h +++ b/arch/arm/mach-shmobile/include/mach/sh73a0.h @@ -507,4 +507,8 @@ enum { SHDMA_SLAVE_MMCIF_RX, }; +/* PINT interrupts are located at Linux IRQ 768 and up */ +#define SH73A0_PINT0_IRQ(irq) ((irq) + 768) +#define SH73A0_PINT1_IRQ(irq) ((irq) + 800) + #endif /* __ASM_SH73A0_H__ */ |