diff options
author | Magnus Damm <damm@opensource.se> | 2010-11-17 10:59:31 +0000 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2010-11-18 15:45:21 +0900 |
commit | 6d9598e24d50a8c72f48a3864327484a30aaee44 (patch) | |
tree | 4ff6d28a73306df0fe4853833010ca58a8ab8450 /arch/arm/mach-shmobile/include/mach/irqs.h | |
parent | 6d72ad35f1bfaf6e52ca7133cb51ce0e36f17528 (diff) | |
download | op-kernel-dev-6d9598e24d50a8c72f48a3864327484a30aaee44.zip op-kernel-dev-6d9598e24d50a8c72f48a3864327484a30aaee44.tar.gz |
ARM: mach-shmobile: Initial AG5 and AG5EVM support
This patch adds initial support for Renesas SH-Mobile AG5.
At this point the AG5 CPU support is limited to the ARM
core, SCIF serial and a CMT timer together with L2 cache
and the GIC. The AG5EVM board also supports Ethernet.
Future patches will add support for GPIO, INTCS, CPGA
and platform data / driver updates for devices such as
IIC, LCDC, FSI, KEYSC, CEU and SDHI among others.
The code in entry-macro.S will be cleaned up when the
ARM IRQ demux code improvements have been merged.
Depends on the AG5EVM mach-type recently registered but
not yet present in arch/arm/tools/mach-types.
As the AG5EVM board comes with 512MiB memory it is
recommended to turn on HIGHMEM.
Many thanks to Yoshii-san for initial bring up.
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/irqs.h')
-rw-r--r-- | arch/arm/mach-shmobile/include/mach/irqs.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-shmobile/include/mach/irqs.h b/arch/arm/mach-shmobile/include/mach/irqs.h index fa15b5f..09e0ab7 100644 --- a/arch/arm/mach-shmobile/include/mach/irqs.h +++ b/arch/arm/mach-shmobile/include/mach/irqs.h @@ -3,6 +3,9 @@ #define NR_IRQS 512 +/* GIC */ +#define gic_spi(nr) ((nr) + 32) + /* INTCA */ #define evt2irq(evt) (((evt) >> 5) - 16) #define irq2evt(irq) (((irq) + 16) << 5) |