linux/arch/arm/mach-pxa/include/mach/colibri.h
<<
>>
Prefs
   1#ifndef _COLIBRI_H_
   2#define _COLIBRI_H_
   3
   4#include <net/ax88796.h>
   5
   6/*
   7 * common settings for all modules
   8 */
   9
  10#if defined(CONFIG_MMC_PXA) || defined(CONFIG_MMC_PXA_MODULE)
  11extern void colibri_pxa3xx_init_mmc(mfp_cfg_t *pins, int len, int detect_pin);
  12#else
  13static inline void colibri_pxa3xx_init_mmc(mfp_cfg_t *pins, int len, int detect_pin) {}
  14#endif
  15
  16#if defined(CONFIG_FB_PXA) || defined(CONFIG_FB_PXA_MODULE)
  17extern void colibri_pxa3xx_init_lcd(int bl_pin);
  18#else
  19static inline void colibri_pxa3xx_init_lcd(int bl_pin) {}
  20#endif
  21
  22#if defined(CONFIG_AX88796)
  23extern void colibri_pxa3xx_init_eth(struct ax_plat_data *plat_data);
  24#endif
  25
  26#if defined(CONFIG_MTD_NAND_PXA3xx) || defined(CONFIG_MTD_NAND_PXA3xx_MODULE)
  27extern void colibri_pxa3xx_init_nand(void);
  28#else
  29static inline void colibri_pxa3xx_init_nand(void) {}
  30#endif
  31
  32/* physical memory regions */
  33#define COLIBRI_SDRAM_BASE      0xa0000000      /* SDRAM region */
  34
  35/* definitions for Colibri PXA270 */
  36
  37#define COLIBRI_PXA270_FLASH_PHYS       (PXA_CS0_PHYS)  /* Flash region */
  38#define COLIBRI_PXA270_ETH_PHYS         (PXA_CS2_PHYS)  /* Ethernet */
  39#define COLIBRI_PXA270_ETH_IRQ_GPIO     114
  40#define COLIBRI_PXA270_ETH_IRQ          \
  41        gpio_to_irq(mfp_to_gpio(COLIBRI_PXA270_ETH_IRQ_GPIO))
  42
  43#endif /* _COLIBRI_H_ */
  44
  45