1 /* SPDX-License-Identifier: GPL-2.0 */
5 #include <net/ax88796.h>
9 * base board glue for PXA270 module
13 COLIBRI_EVALBOARD
= 0,
14 COLIBRI_PXA270_INCOME
,
17 #if defined(CONFIG_MACH_COLIBRI_EVALBOARD)
18 extern void colibri_evalboard_init(void);
20 static inline void colibri_evalboard_init(void) {}
23 #if defined(CONFIG_MACH_COLIBRI_PXA270_INCOME)
24 extern void colibri_pxa270_income_boardinit(void);
26 static inline void colibri_pxa270_income_boardinit(void) {}
30 * common settings for all modules
33 #if defined(CONFIG_MMC_PXA) || defined(CONFIG_MMC_PXA_MODULE)
34 extern void colibri_pxa3xx_init_mmc(mfp_cfg_t
*pins
, int len
, int detect_pin
);
36 static inline void colibri_pxa3xx_init_mmc(mfp_cfg_t
*pins
, int len
, int detect_pin
) {}
39 #if defined(CONFIG_FB_PXA) || defined(CONFIG_FB_PXA_MODULE)
40 extern void colibri_pxa3xx_init_lcd(int bl_pin
);
42 static inline void colibri_pxa3xx_init_lcd(int bl_pin
) {}
45 #if defined(CONFIG_AX88796)
46 extern void colibri_pxa3xx_init_eth(struct ax_plat_data
*plat_data
);
49 #if IS_ENABLED(CONFIG_MTD_NAND_MARVELL)
50 extern void colibri_pxa3xx_init_nand(void);
52 static inline void colibri_pxa3xx_init_nand(void) {}
55 /* physical memory regions */
56 #define COLIBRI_SDRAM_BASE 0xa0000000 /* SDRAM region */
58 /* GPIO definitions for Colibri PXA270 */
59 #define GPIO114_COLIBRI_PXA270_ETH_IRQ 114
60 #define GPIO0_COLIBRI_PXA270_SD_DETECT 0
61 #define GPIO113_COLIBRI_PXA270_TS_IRQ 113
63 /* GPIO definitions for Colibri PXA300/310 */
64 #define GPIO13_COLIBRI_PXA300_SD_DETECT 13
66 /* GPIO definitions for Colibri PXA320 */
67 #define GPIO28_COLIBRI_PXA320_SD_DETECT 28
69 #endif /* _COLIBRI_H_ */