summaryrefslogtreecommitdiff
path: root/include/asm-arm/arch-pxa/eseries-irq.h
diff options
context:
space:
mode:
authorIan Molton <spyro@f2s.com>2008-07-10 20:01:07 +0100
committerIan Molton <spyro@f2s.com>2008-07-10 20:14:57 +0100
commitc316f101a10f2681618ffb537ecba6084d5a137e (patch)
treef2464af7885e51a6cc838700d33fe212b8c7fdb9 /include/asm-arm/arch-pxa/eseries-irq.h
parentc0b8556f2f8146bd38324b14b1ce00f249ba8ed9 (diff)
E-series GPIO / IRQ definitions.
Diffstat (limited to 'include/asm-arm/arch-pxa/eseries-irq.h')
-rw-r--r--include/asm-arm/arch-pxa/eseries-irq.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/include/asm-arm/arch-pxa/eseries-irq.h b/include/asm-arm/arch-pxa/eseries-irq.h
new file mode 100644
index 000000000000..f2a93d5e31d3
--- /dev/null
+++ b/include/asm-arm/arch-pxa/eseries-irq.h
@@ -0,0 +1,27 @@
+/*
+ * eseries-irq.h
+ *
+ * Copyright (C) Ian Molton <spyro@f2s.com>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+ */
+
+#define ANGELX_IRQ_BASE (IRQ_BOARD_START+8)
+#define IRQ_ANGELX(n) (ANGELX_IRQ_BASE + (n))
+
+#define ANGELX_RDY0_IRQ IRQ_ANGELX(0)
+#define ANGELX_ST0_IRQ IRQ_ANGELX(1)
+#define ANGELX_CD0_IRQ IRQ_ANGELX(2)
+#define ANGELX_RDY1_IRQ IRQ_ANGELX(3)
+#define ANGELX_ST1_IRQ IRQ_ANGELX(4)
+#define ANGELX_CD1_IRQ IRQ_ANGELX(5)
+
+#define TMIO_IRQ_BASE (IRQ_BOARD_START+0)
+#define IRQ_TMIO(n) (TMIO_IRQ_BASE + (n))
+
+#define TMIO_SD_IRQ IRQ_TMIO(1)
+#define TMIO_USB_IRQ IRQ_TMIO(2)
+