blob: 3a338e6850a49b462a111d49f89cf604b0ae551d [file] [log] [blame]
Hanumath Prasad008f8a22010-08-19 12:06:32 +01001/*
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 Vincentb8410a12010-08-09 19:18:17 +053010#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 Prasad008f8a22010-08-19 12:06:32 +010017extern void mop500_sdi_init(void);
Rabin Vincentb8410a12010-08-09 19:18:17 +053018extern void mop500_sdi_tc35892_init(void);
Hanumath Prasad008f8a22010-08-19 12:06:32 +010019
20#endif