blob: cedf8ebaad95bc5d76c159e9bf69e384e45781e4 [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
Rabin Vincent705e0982011-01-21 10:56:16 +053017struct i2c_board_info;
18
Hanumath Prasad008f8a22010-08-19 12:06:32 +010019extern void mop500_sdi_init(void);
Rabin Vincentb8410a12010-08-09 19:18:17 +053020extern void mop500_sdi_tc35892_init(void);
Rabin Vincent705e0982011-01-21 10:56:16 +053021void __init mop500_u8500uib_init(void);
22void __init mop500_stuib_init(void);
23
24void mop500_uib_i2c_add(int busnum, struct i2c_board_info *info,
25 unsigned n);
Hanumath Prasad008f8a22010-08-19 12:06:32 +010026
27#endif