diff options
author | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2012-06-08 20:36:31 +0200 |
---|---|---|
committer | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2012-06-08 20:36:31 +0200 |
commit | 37440f3ed07a6f588b05b8f98d0b3025c1949371 (patch) | |
tree | 4908a32c084044a3725e6c3f4001cc1242c17904 /arch/arm/mach-tegra/board-colibri_t20.h | |
parent | e6d7d2f5e4028455655cbd7c35f086f71a4aba02 (diff) |
Initial Toradex Colibri T20 L4T R15 support.
Diffstat (limited to 'arch/arm/mach-tegra/board-colibri_t20.h')
-rw-r--r-- | arch/arm/mach-tegra/board-colibri_t20.h | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/board-colibri_t20.h b/arch/arm/mach-tegra/board-colibri_t20.h new file mode 100644 index 000000000000..900be9363702 --- /dev/null +++ b/arch/arm/mach-tegra/board-colibri_t20.h @@ -0,0 +1,49 @@ +/* + * 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 + +#define CONFIG_TEGRA_OSC_CRYSTAL_FREQ_13MHZ + +/* 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 to use OTG port as host only */ +//#define HOST_ONLY + +/* 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_panel_init(void); +int colibri_t20_pinmux_init(void); +int colibri_t20_regulator_init(void); + +#endif |