summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/board-colibri_t20.h
blob: 54651c8ee15d86a34364c4c0bf5878144f6ee804 (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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
/*
 * arch/arm/mach-tegra/board-colibri_t20.h
 *
 * Copyright (C) 2011 Toradex, Inc.
 *
 * This software is licensed under the terms of the GNU General Public
 * License version 2, as published by the Free Software Foundation, and
 * may be copied, distributed, and modified under those terms.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 */

#ifndef _MACH_TEGRA_BOARD_COLIBRI_T20_H
#define _MACH_TEGRA_BOARD_COLIBRI_T20_H

/* TPS6586X gpios */
#define TPS6586X_GPIO_BASE	TEGRA_NR_GPIOS
#define AVDD_DSI_CSI_ENB_GPIO	(TPS6586X_GPIO_BASE + 1) /* gpio2 */

/* Interrupt numbers from external peripherals */
#define TPS6586X_INT_BASE	TEGRA_NR_IRQS
#define TPS6586X_INT_END	(TPS6586X_INT_BASE + 32)

/* Uncomment for camera interface support on Colibri Evaluation carrier board */
//#define CAMERA_INTERFACE

/* Uncomment for back light and USB hub support on MECS Tellurium carrier board */
//#define MECS_TELLURIUM

/* Uncomment for 8-bit SDHCI on HSMMC controller (requires custom carrier board) */
//#define SDHCI_8BIT

/* Run framebuffer in VGA mode */
#define TEGRA_FB_VGA

int colibri_t20_emc_init(void);
int colibri_t20_panel_init(void);
int colibri_t20_pinmux_init(void);
int colibri_t20_regulator_init(void);

#endif