mach-ux500: move MOP500 pins to separate file
[linux-2.6/btrfs-unstable.git] / arch / arm / mach-ux500 / board-mop500.h
blob48abca77335c15afbaaeec9db66e7c09d3a4e42a
1 /*
2 * Copyright (C) ST-Ericsson SA 2010
4 * License terms: GNU General Public License (GPL) version 2
5 */
7 #ifndef __BOARD_MOP500_H
8 #define __BOARD_MOP500_H
10 #define MOP500_EGPIO(x) (NOMADIK_NR_GPIO + (x))
12 /* GPIOs on the TC35892 expander */
13 #define GPIO_SDMMC_CD MOP500_EGPIO(3)
14 #define GPIO_PROX_SENSOR MOP500_EGPIO(7)
15 #define GPIO_BU21013_CS MOP500_EGPIO(13)
16 #define GPIO_SDMMC_EN MOP500_EGPIO(17)
17 #define GPIO_SDMMC_1V8_3V_SEL MOP500_EGPIO(18)
19 struct i2c_board_info;
21 extern void mop500_sdi_init(void);
22 extern void mop500_sdi_tc35892_init(void);
23 void __init mop500_u8500uib_init(void);
24 void __init mop500_stuib_init(void);
25 void __init mop500_pins_init(void);
27 void mop500_uib_i2c_add(int busnum, struct i2c_board_info *info,
28 unsigned n);
30 #endif