board-mop500.h 645 B

123456789101112131415161718192021222324252627
  1. /*
  2. * Copyright (C) ST-Ericsson SA 2010
  3. *
  4. * License terms: GNU General Public License (GPL) version 2
  5. */
  6. #ifndef __BOARD_MOP500_H
  7. #define __BOARD_MOP500_H
  8. #define MOP500_EGPIO(x) (NOMADIK_NR_GPIO + (x))
  9. /* GPIOs on the TC35892 expander */
  10. #define GPIO_SDMMC_CD MOP500_EGPIO(3)
  11. #define GPIO_SDMMC_EN MOP500_EGPIO(17)
  12. #define GPIO_SDMMC_1V8_3V_SEL MOP500_EGPIO(18)
  13. struct i2c_board_info;
  14. extern void mop500_sdi_init(void);
  15. extern void mop500_sdi_tc35892_init(void);
  16. void __init mop500_u8500uib_init(void);
  17. void __init mop500_stuib_init(void);
  18. void mop500_uib_i2c_add(int busnum, struct i2c_board_info *info,
  19. unsigned n);
  20. #endif