]> git.kernelconcepts.de Git - karo-tx-linux.git/blob - arch/arc/plat-arcfpga/include/plat/irq.h
ARC: [Review] Multi-platform image #3: switch to board callback
[karo-tx-linux.git] / arch / arc / plat-arcfpga / include / plat / irq.h
1 /*
2  * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com)
3  *
4  * This program is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License version 2 as
6  * published by the Free Software Foundation.
7  *
8  * vineetg: Feb 2009
9  *  -For AA4 board, IRQ assignments to peripherals
10  */
11
12 #ifndef __PLAT_IRQ_H
13 #define __PLAT_IRQ_H
14
15 #ifdef CONFIG_SMP
16 #define NR_IRQS 32
17 #else
18 #define NR_IRQS 16
19 #endif
20
21 #define UART0_IRQ       5
22 #define UART1_IRQ       10
23 #define UART2_IRQ       11
24
25 #define VMAC_IRQ        6
26
27 #define IDE_IRQ         13
28 #define PCI_IRQ         14
29 #define PS2_IRQ         15
30
31 #ifdef CONFIG_SMP
32 #define IDU_INTERRUPT_0 16
33 #endif
34
35 extern void __init plat_fpga_init_IRQ(void);
36
37 #endif