root/arch/arm/mach-pxa/colibri.h

/* [<][>][^][v][top][bottom][index][help] */

INCLUDED FROM


DEFINITIONS

This source file includes following definitions.
  1. colibri_evalboard_init
  2. colibri_pxa270_income_boardinit
  3. colibri_pxa3xx_init_mmc
  4. colibri_pxa3xx_init_lcd
  5. colibri_pxa3xx_init_nand

   1 /* SPDX-License-Identifier: GPL-2.0 */
   2 #ifndef _COLIBRI_H_
   3 #define _COLIBRI_H_
   4 
   5 #include <net/ax88796.h>
   6 #include <mach/mfp.h>
   7 
   8 /*
   9  * base board glue for PXA270 module
  10  */
  11 
  12 enum {
  13         COLIBRI_EVALBOARD = 0,
  14         COLIBRI_PXA270_INCOME,
  15 };
  16 
  17 #if defined(CONFIG_MACH_COLIBRI_EVALBOARD)
  18 extern void colibri_evalboard_init(void);
  19 #else
  20 static inline void colibri_evalboard_init(void) {}
  21 #endif
  22 
  23 #if defined(CONFIG_MACH_COLIBRI_PXA270_INCOME)
  24 extern void colibri_pxa270_income_boardinit(void);
  25 #else
  26 static inline void colibri_pxa270_income_boardinit(void) {}
  27 #endif
  28 
  29 /*
  30  * common settings for all modules
  31  */
  32 
  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);
  35 #else
  36 static inline void colibri_pxa3xx_init_mmc(mfp_cfg_t *pins, int len, int detect_pin) {}
  37 #endif
  38 
  39 #if defined(CONFIG_FB_PXA) || defined(CONFIG_FB_PXA_MODULE)
  40 extern void colibri_pxa3xx_init_lcd(int bl_pin);
  41 #else
  42 static inline void colibri_pxa3xx_init_lcd(int bl_pin) {}
  43 #endif
  44 
  45 #if defined(CONFIG_AX88796)
  46 extern void colibri_pxa3xx_init_eth(struct ax_plat_data *plat_data);
  47 #endif
  48 
  49 #if IS_ENABLED(CONFIG_MTD_NAND_MARVELL)
  50 extern void colibri_pxa3xx_init_nand(void);
  51 #else
  52 static inline void colibri_pxa3xx_init_nand(void) {}
  53 #endif
  54 
  55 /* physical memory regions */
  56 #define COLIBRI_SDRAM_BASE      0xa0000000      /* SDRAM region */
  57 
  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
  62 
  63 /* GPIO definitions for Colibri PXA300/310 */
  64 #define GPIO13_COLIBRI_PXA300_SD_DETECT 13
  65 
  66 /* GPIO definitions for Colibri PXA320 */
  67 #define GPIO28_COLIBRI_PXA320_SD_DETECT 28
  68 
  69 #endif /* _COLIBRI_H_ */
  70 

/* [<][>][^][v][top][bottom][index][help] */