2008-01-23 06:54:50 -07:00
|
|
|
#ifndef _COLIBRI_H_
|
|
|
|
#define _COLIBRI_H_
|
2009-04-01 23:33:15 -07:00
|
|
|
|
|
|
|
#include <net/ax88796.h>
|
2010-05-05 03:25:27 -07:00
|
|
|
#include <mach/mfp.h>
|
2009-04-01 23:33:15 -07:00
|
|
|
|
2009-03-13 08:37:09 -07:00
|
|
|
/*
|
|
|
|
* common settings for all modules
|
|
|
|
*/
|
2008-01-23 06:54:50 -07:00
|
|
|
|
2009-03-22 18:04:17 -07:00
|
|
|
#if defined(CONFIG_MMC_PXA) || defined(CONFIG_MMC_PXA_MODULE)
|
|
|
|
extern void colibri_pxa3xx_init_mmc(mfp_cfg_t *pins, int len, int detect_pin);
|
|
|
|
#else
|
2009-04-08 23:05:02 -07:00
|
|
|
static inline void colibri_pxa3xx_init_mmc(mfp_cfg_t *pins, int len, int detect_pin) {}
|
2009-03-22 18:04:17 -07:00
|
|
|
#endif
|
|
|
|
|
2009-03-22 18:04:19 -07:00
|
|
|
#if defined(CONFIG_FB_PXA) || defined(CONFIG_FB_PXA_MODULE)
|
|
|
|
extern void colibri_pxa3xx_init_lcd(int bl_pin);
|
|
|
|
#else
|
2009-04-08 23:05:02 -07:00
|
|
|
static inline void colibri_pxa3xx_init_lcd(int bl_pin) {}
|
2009-03-22 18:04:19 -07:00
|
|
|
#endif
|
|
|
|
|
2009-04-01 23:33:14 -07:00
|
|
|
#if defined(CONFIG_AX88796)
|
|
|
|
extern void colibri_pxa3xx_init_eth(struct ax_plat_data *plat_data);
|
|
|
|
#endif
|
|
|
|
|
2009-06-17 01:32:54 -07:00
|
|
|
#if defined(CONFIG_MTD_NAND_PXA3xx) || defined(CONFIG_MTD_NAND_PXA3xx_MODULE)
|
|
|
|
extern void colibri_pxa3xx_init_nand(void);
|
|
|
|
#else
|
|
|
|
static inline void colibri_pxa3xx_init_nand(void) {}
|
|
|
|
#endif
|
|
|
|
|
2008-01-23 06:54:50 -07:00
|
|
|
/* physical memory regions */
|
|
|
|
#define COLIBRI_SDRAM_BASE 0xa0000000 /* SDRAM region */
|
|
|
|
|
2010-05-21 15:29:33 -07:00
|
|
|
/* GPIO definitions for Colibri PXA270 */
|
|
|
|
#define GPIO114_COLIBRI_PXA270_ETH_IRQ 114
|
2010-05-21 15:29:34 -07:00
|
|
|
#define GPIO0_COLIBRI_PXA270_SD_DETECT 0
|
2008-01-23 06:54:50 -07:00
|
|
|
|
|
|
|
#endif /* _COLIBRI_H_ */
|
2009-03-13 08:37:08 -07:00
|
|
|
|