Hanumath Prasad | 008f8a2 | 2010-08-19 12:06:32 +0100 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) ST-Ericsson SA 2010 |
| 3 | * |
| 4 | * License terms: GNU General Public License (GPL) version 2 |
| 5 | */ |
| 6 | |
| 7 | #ifndef __BOARD_MOP500_H |
| 8 | #define __BOARD_MOP500_H |
| 9 | |
Rabin Vincent | b8410a1 | 2010-08-09 19:18:17 +0530 | [diff] [blame] | 10 | #define MOP500_EGPIO(x) (NOMADIK_NR_GPIO + (x)) |
| 11 | |
| 12 | /* GPIOs on the TC35892 expander */ |
| 13 | #define GPIO_SDMMC_CD MOP500_EGPIO(3) |
Sundar Iyer | 0c24352 | 2011-01-21 10:56:17 +0530 | [diff] [blame^] | 14 | #define GPIO_BU21013_CS MOP500_EGPIO(13) |
Rabin Vincent | b8410a1 | 2010-08-09 19:18:17 +0530 | [diff] [blame] | 15 | #define GPIO_SDMMC_EN MOP500_EGPIO(17) |
| 16 | #define GPIO_SDMMC_1V8_3V_SEL MOP500_EGPIO(18) |
| 17 | |
Rabin Vincent | 705e098 | 2011-01-21 10:56:16 +0530 | [diff] [blame] | 18 | struct i2c_board_info; |
| 19 | |
Hanumath Prasad | 008f8a2 | 2010-08-19 12:06:32 +0100 | [diff] [blame] | 20 | extern void mop500_sdi_init(void); |
Rabin Vincent | b8410a1 | 2010-08-09 19:18:17 +0530 | [diff] [blame] | 21 | extern void mop500_sdi_tc35892_init(void); |
Rabin Vincent | 705e098 | 2011-01-21 10:56:16 +0530 | [diff] [blame] | 22 | void __init mop500_u8500uib_init(void); |
| 23 | void __init mop500_stuib_init(void); |
| 24 | |
| 25 | void mop500_uib_i2c_add(int busnum, struct i2c_board_info *info, |
| 26 | unsigned n); |
Hanumath Prasad | 008f8a2 | 2010-08-19 12:06:32 +0100 | [diff] [blame] | 27 | |
| 28 | #endif |