board-mop500.h 730 B

1234567891011121314151617181920212223242526272829
  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_PROX_SENSOR MOP500_EGPIO(7)
  12. #define GPIO_BU21013_CS MOP500_EGPIO(13)
  13. #define GPIO_SDMMC_EN MOP500_EGPIO(17)
  14. #define GPIO_SDMMC_1V8_3V_SEL MOP500_EGPIO(18)
  15. struct i2c_board_info;
  16. extern void mop500_sdi_init(void);
  17. extern void mop500_sdi_tc35892_init(void);
  18. void __init mop500_u8500uib_init(void);
  19. void __init mop500_stuib_init(void);
  20. void mop500_uib_i2c_add(int busnum, struct i2c_board_info *info,
  21. unsigned n);
  22. #endif