aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-pxa/include/mach/colibri.h
blob: e295e8df8d640cf2e4f0ae86c7b120dbbc8d5c1d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#ifndef _COLIBRI_H_
#define _COLIBRI_H_
/*
 * common settings for all modules
 */

/* physical memory regions */
#define COLIBRI_SDRAM_BASE	0xa0000000      /* SDRAM region */

/* definitions for Colibri PXA270 */

#define COLIBRI_PXA270_FLASH_PHYS	(PXA_CS0_PHYS)  /* Flash region */
#define COLIBRI_PXA270_ETH_PHYS		(PXA_CS2_PHYS)  /* Ethernet */
#define COLIBRI_PXA270_ETH_IRQ_GPIO	114
#define COLIBRI_PXA270_ETH_IRQ		\
	gpio_to_irq(mfp_to_gpio(COLIBRI_PXA270_ETH_IRQ_GPIO))

/* definitions for Colibri PXA300 */

#define COLIBRI_PXA300_ETH_IRQ_GPIO     26
#define COLIBRI_PXA300_ETH_IRQ          \
	gpio_to_irq(mfp_to_gpio(COLIBRI_PXA300_ETH_IRQ_GPIO))

/* definitions for Colibri PXA320 */

#define COLIBRI_PXA320_ETH_IRQ_GPIO     36
#define COLIBRI_PXA320_ETH_IRQ          \
	gpio_to_irq(mfp_to_gpio(COLIBRI_PXA320_ETH_IRQ_GPIO))

#endif /* _COLIBRI_H_ */