summaryrefslogtreecommitdiff
path: root/arch/arm/mach-ux500/board-u5500.h
blob: 4a0dc94a1c3be453df9e3a3bee68fabd8b2da4c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/*
 * Copyright (C) ST-Ericsson SA 2010
 *
 * License terms: GNU General Public License (GPL) version 2
 */

#ifndef __BOARD_U5500_H
#define __BOARD_U5500_H

#define GPIO_SDMMC_CD          180
#define GPIO_MMC_CARD_CTRL     227
#define GPIO_MMC_CARD_VSEL     185

struct ab5500_regulator_platform_data;
extern struct ab5500_regulator_platform_data u5500_ab5500_regulator_data;

extern void u5500_pins_init(void);
extern void __init u5500_regulators_init(void);

#ifdef CONFIG_MFD_CG2900
extern void u5500_cg2900_init(void);
#else
static inline void u5500_cg2900_init(void)
{
	return;
};
#endif

#endif