[ARM] pxa/vpac270: Add VGA modes for ADV7125
[deliverable/linux.git] / arch / arm / mach-pxa / include / mach / colibri.h
CommitLineData
4e4fc05a
DM
1#ifndef _COLIBRI_H_
2#define _COLIBRI_H_
8a28b10e
DM
3
4#include <net/ax88796.h>
ccb8d8d0 5#include <mach/mfp.h>
8a28b10e 6
5fc9f9a1
DM
7/*
8 * common settings for all modules
9 */
4e4fc05a 10
acb36559
DM
11#if defined(CONFIG_MMC_PXA) || defined(CONFIG_MMC_PXA_MODULE)
12extern void colibri_pxa3xx_init_mmc(mfp_cfg_t *pins, int len, int detect_pin);
13#else
0e983d3c 14static inline void colibri_pxa3xx_init_mmc(mfp_cfg_t *pins, int len, int detect_pin) {}
acb36559
DM
15#endif
16
91fcfb90
DM
17#if defined(CONFIG_FB_PXA) || defined(CONFIG_FB_PXA_MODULE)
18extern void colibri_pxa3xx_init_lcd(int bl_pin);
19#else
0e983d3c 20static inline void colibri_pxa3xx_init_lcd(int bl_pin) {}
91fcfb90
DM
21#endif
22
22a0200b
DM
23#if defined(CONFIG_AX88796)
24extern void colibri_pxa3xx_init_eth(struct ax_plat_data *plat_data);
25#endif
26
53740df1
DM
27#if defined(CONFIG_MTD_NAND_PXA3xx) || defined(CONFIG_MTD_NAND_PXA3xx_MODULE)
28extern void colibri_pxa3xx_init_nand(void);
29#else
30static inline void colibri_pxa3xx_init_nand(void) {}
31#endif
32
4e4fc05a 33/* physical memory regions */
4e4fc05a
DM
34#define COLIBRI_SDRAM_BASE 0xa0000000 /* SDRAM region */
35
5fc9f9a1
DM
36/* definitions for Colibri PXA270 */
37
5c0dbb8f
DM
38#define COLIBRI_PXA270_FLASH_PHYS (PXA_CS0_PHYS) /* Flash region */
39#define COLIBRI_PXA270_ETH_PHYS (PXA_CS2_PHYS) /* Ethernet */
40#define COLIBRI_PXA270_ETH_IRQ_GPIO 114
41#define COLIBRI_PXA270_ETH_IRQ \
42 gpio_to_irq(mfp_to_gpio(COLIBRI_PXA270_ETH_IRQ_GPIO))
4e4fc05a
DM
43
44#endif /* _COLIBRI_H_ */
5c0dbb8f 45
This page took 0.203605 seconds and 5 git commands to generate.