aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-pxa/include/mach/colibri.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-pxa/include/mach/colibri.h')
-rw-r--r--arch/arm/mach-pxa/include/mach/colibri.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/arch/arm/mach-pxa/include/mach/colibri.h b/arch/arm/mach-pxa/include/mach/colibri.h
index c7c99d07881..e295e8df8d6 100644
--- a/arch/arm/mach-pxa/include/mach/colibri.h
+++ b/arch/arm/mach-pxa/include/mach/colibri.h
@@ -1,14 +1,31 @@
1#ifndef _COLIBRI_H_ 1#ifndef _COLIBRI_H_
2#define _COLIBRI_H_ 2#define _COLIBRI_H_
3/*
4 * common settings for all modules
5 */
3 6
4/* physical memory regions */ 7/* physical memory regions */
5#define COLIBRI_SDRAM_BASE 0xa0000000 /* SDRAM region */ 8#define COLIBRI_SDRAM_BASE 0xa0000000 /* SDRAM region */
6 9
10/* definitions for Colibri PXA270 */
11
7#define COLIBRI_PXA270_FLASH_PHYS (PXA_CS0_PHYS) /* Flash region */ 12#define COLIBRI_PXA270_FLASH_PHYS (PXA_CS0_PHYS) /* Flash region */
8#define COLIBRI_PXA270_ETH_PHYS (PXA_CS2_PHYS) /* Ethernet */ 13#define COLIBRI_PXA270_ETH_PHYS (PXA_CS2_PHYS) /* Ethernet */
9#define COLIBRI_PXA270_ETH_IRQ_GPIO 114 14#define COLIBRI_PXA270_ETH_IRQ_GPIO 114
10#define COLIBRI_PXA270_ETH_IRQ \ 15#define COLIBRI_PXA270_ETH_IRQ \
11 gpio_to_irq(mfp_to_gpio(COLIBRI_PXA270_ETH_IRQ_GPIO)) 16 gpio_to_irq(mfp_to_gpio(COLIBRI_PXA270_ETH_IRQ_GPIO))
12 17
18/* definitions for Colibri PXA300 */
19
20#define COLIBRI_PXA300_ETH_IRQ_GPIO 26
21#define COLIBRI_PXA300_ETH_IRQ \
22 gpio_to_irq(mfp_to_gpio(COLIBRI_PXA300_ETH_IRQ_GPIO))
23
24/* definitions for Colibri PXA320 */
25
26#define COLIBRI_PXA320_ETH_IRQ_GPIO 36
27#define COLIBRI_PXA320_ETH_IRQ \
28 gpio_to_irq(mfp_to_gpio(COLIBRI_PXA320_ETH_IRQ_GPIO))
29
13#endif /* _COLIBRI_H_ */ 30#endif /* _COLIBRI_H_ */
14 31