summaryrefslogtreecommitdiff
path: root/arch/arm/mach-pxa/include/mach/pcm027.h
diff options
context:
space:
mode:
authorEric Miao <eric.y.miao@gmail.com>2009-12-27 18:01:25 +0300
committerEric Miao <eric.y.miao@gmail.com>2010-03-02 02:40:51 +0300
commit0dc726bb264ca5ecfdfab94a6937e0e9b9b26f64 (patch)
tree4c7341d035de7891bfe43d5dc6edbe1b482d5a28 /arch/arm/mach-pxa/include/mach/pcm027.h
parent19851c58e680f71d087b79b53edbf814193e1d33 (diff)
downloadlinux-0dc726bb264ca5ecfdfab94a6937e0e9b9b26f64.tar.xz
[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/pcm027.h')
-rw-r--r--arch/arm/mach-pxa/include/mach/pcm027.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/mach-pxa/include/mach/pcm027.h b/arch/arm/mach-pxa/include/mach/pcm027.h
index 4dcd2e8baa61..04083263167e 100644
--- a/arch/arm/mach-pxa/include/mach/pcm027.h
+++ b/arch/arm/mach-pxa/include/mach/pcm027.h
@@ -23,6 +23,13 @@
* Definitions of CPU card resources only
*/
+/* phyCORE-PXA270 (PCM027) Interrupts */
+#define PCM027_IRQ(x) (IRQ_BOARD_START + (x))
+#define PCM027_BTDET_IRQ PCM027_IRQ(0)
+#define PCM027_FF_RI_IRQ PCM027_IRQ(1)
+#define PCM027_MMCDET_IRQ PCM027_IRQ(2)
+#define PCM027_PM_5V_IRQ PCM027_IRQ(3)
+
/* I2C RTC */
#define PCM027_RTC_IRQ_GPIO 0
#define PCM027_RTC_IRQ IRQ_GPIO(PCM027_RTC_IRQ_GPIO)