summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-pxa/include/mach/lubbock.h
diff options
context:
space:
mode:
authorEric Miao <eric.y.miao@gmail.com>2009-12-27 23:01:25 +0800
committerEric Miao <eric.y.miao@gmail.com>2010-03-02 07:40:51 +0800
commit0dc726bb264ca5ecfdfab94a6937e0e9b9b26f64 (patch)
tree4c7341d035de7891bfe43d5dc6edbe1b482d5a28 /arch/arm/mach-pxa/include/mach/lubbock.h
parent19851c58e680f71d087b79b53edbf814193e1d33 (diff)
downloadblackbird-op-linux-0dc726bb264ca5ecfdfab94a6937e0e9b9b26f64.tar.gz
blackbird-op-linux-0dc726bb264ca5ecfdfab94a6937e0e9b9b26f64.zip
[ARM] pxa: move board board IRQ definitions out of irqs.h
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
Diffstat (limited to 'arch/arm/mach-pxa/include/mach/lubbock.h')
-rw-r--r--arch/arm/mach-pxa/include/mach/lubbock.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/arm/mach-pxa/include/mach/lubbock.h b/arch/arm/mach-pxa/include/mach/lubbock.h
index 751b74811d0f..a0d4247f08fc 100644
--- a/arch/arm/mach-pxa/include/mach/lubbock.h
+++ b/arch/arm/mach-pxa/include/mach/lubbock.h
@@ -34,6 +34,17 @@
#define LUB_IRQ_SET_CLR __LUB_REG(LUBBOCK_FPGA_PHYS + 0x0d0)
#define LUB_GP __LUB_REG(LUBBOCK_FPGA_PHYS + 0x100)
+/* Board specific IRQs */
+#define LUBBOCK_IRQ(x) (IRQ_BOARD_START + (x))
+#define LUBBOCK_SD_IRQ LUBBOCK_IRQ(0)
+#define LUBBOCK_SA1111_IRQ LUBBOCK_IRQ(1)
+#define LUBBOCK_USB_IRQ LUBBOCK_IRQ(2) /* usb connect */
+#define LUBBOCK_ETH_IRQ LUBBOCK_IRQ(3)
+#define LUBBOCK_UCB1400_IRQ LUBBOCK_IRQ(4)
+#define LUBBOCK_BB_IRQ LUBBOCK_IRQ(5)
+#define LUBBOCK_USB_DISC_IRQ LUBBOCK_IRQ(6) /* usb disconnect */
+#define LUBBOCK_LAST_IRQ LUBBOCK_IRQ(6)
+
#ifndef __ASSEMBLY__
extern void lubbock_set_misc_wr(unsigned int mask, unsigned int set);
#endif
OpenPOWER on IntegriCloud