diff options
author | Robert Schwebel <robert@schwebel.de> | 2008-01-08 02:44:23 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2008-01-28 08:13:20 -0500 |
commit | 34e31d871ee4b6a9f6c5504da7d6dcc24967844c (patch) | |
tree | ab6f518113f9d13445c514ad5f36f0c5e2b6167f /include/asm-arm/arch-pxa/irqs.h | |
parent | e7b3dc7ef1e27fd5713a0df71f82c0a27de1c2eb (diff) |
[ARM] 4744/1: pcm027: add support for phyCORE-PXA270 CPU module
This patch adds main support for the generic phyCORE-PXA270 CPU module
(aka PCM-027). Its as generic as possible to support any kind of baseboard.
Note: Neither the CPU module nor the pcm027.c implementation can work without
a baseboard support. Baseboard support can be added by the PCM-990 or any
custom variant.
V2:
After comments by Eric Miao:
- Currently unsupported devices moved into separate patch
- direct call of baseboard initialisation
V3:
After comments by Russell King
- sort include files
- setting RTC bit for power control removed
- style problems fixed (discovered by checkpatch.pl)
Signed-off-by: Juergen Beisert <j.beisert@pengutronix.de>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'include/asm-arm/arch-pxa/irqs.h')
-rw-r--r-- | include/asm-arm/arch-pxa/irqs.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/include/asm-arm/arch-pxa/irqs.h b/include/asm-arm/arch-pxa/irqs.h index b76ee6d1f5b4..c562b972a4a6 100644 --- a/include/asm-arm/arch-pxa/irqs.h +++ b/include/asm-arm/arch-pxa/irqs.h | |||
@@ -180,7 +180,8 @@ | |||
180 | #define NR_IRQS (IRQ_LOCOMO_SPI_TEND + 1) | 180 | #define NR_IRQS (IRQ_LOCOMO_SPI_TEND + 1) |
181 | #elif defined(CONFIG_ARCH_LUBBOCK) || \ | 181 | #elif defined(CONFIG_ARCH_LUBBOCK) || \ |
182 | defined(CONFIG_MACH_LOGICPD_PXA270) || \ | 182 | defined(CONFIG_MACH_LOGICPD_PXA270) || \ |
183 | defined(CONFIG_MACH_MAINSTONE) | 183 | defined(CONFIG_MACH_MAINSTONE) || \ |
184 | defined(CONFIG_MACH_PCM027) | ||
184 | #define NR_IRQS (IRQ_BOARD_END) | 185 | #define NR_IRQS (IRQ_BOARD_END) |
185 | #else | 186 | #else |
186 | #define NR_IRQS (IRQ_BOARD_START) | 187 | #define NR_IRQS (IRQ_BOARD_START) |
@@ -227,6 +228,13 @@ | |||
227 | #define IRQ_LOCOMO_LT_BASE (IRQ_BOARD_START + 2) | 228 | #define IRQ_LOCOMO_LT_BASE (IRQ_BOARD_START + 2) |
228 | #define IRQ_LOCOMO_SPI_BASE (IRQ_BOARD_START + 3) | 229 | #define IRQ_LOCOMO_SPI_BASE (IRQ_BOARD_START + 3) |
229 | 230 | ||
231 | /* phyCORE-PXA270 (PCM027) Interrupts */ | ||
232 | #define PCM027_IRQ(x) (IRQ_BOARD_START + (x)) | ||
233 | #define PCM027_BTDET_IRQ PCM027_IRQ(0) | ||
234 | #define PCM027_FF_RI_IRQ PCM027_IRQ(1) | ||
235 | #define PCM027_MMCDET_IRQ PCM027_IRQ(2) | ||
236 | #define PCM027_PM_5V_IRQ PCM027_IRQ(3) | ||
237 | |||
230 | /* ITE8152 irqs */ | 238 | /* ITE8152 irqs */ |
231 | /* add IT8152 IRQs beyond BOARD_END */ | 239 | /* add IT8152 IRQs beyond BOARD_END */ |
232 | #ifdef CONFIG_PCI_HOST_ITE8152 | 240 | #ifdef CONFIG_PCI_HOST_ITE8152 |