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) |
| 14 | #define GPIO_SDMMC_EN MOP500_EGPIO(17) |
| 15 | #define GPIO_SDMMC_1V8_3V_SEL MOP500_EGPIO(18) |
| 16 | |
Hanumath Prasad | 008f8a2 | 2010-08-19 12:06:32 +0100 | [diff] [blame] | 17 | extern void mop500_sdi_init(void); |
Rabin Vincent | b8410a1 | 2010-08-09 19:18:17 +0530 | [diff] [blame^] | 18 | extern void mop500_sdi_tc35892_init(void); |
Hanumath Prasad | 008f8a2 | 2010-08-19 12:06:32 +0100 | [diff] [blame] | 19 | |
| 20 | #endif |