blob: 50f128d87779d2ef3888cca009883c036ea09015 [file] [log] [blame]
Mike Rapoportcca414b2011-02-07 10:10:53 +02001/*
2 * arch/arm/mach-tegra/board-trimslice.h
3 *
4 * Copyright (C) 2011 CompuLab, Ltd.
5 *
6 * This software is licensed under the terms of the GNU General Public
7 * License version 2, as published by the Free Software Foundation, and
8 * may be copied, distributed, and modified under those terms.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 */
16
17#ifndef _MACH_TEGRA_BOARD_TRIMSLICE_H
18#define _MACH_TEGRA_BOARD_TRIMSLICE_H
19
Stephen Warrenea5abbd2011-09-26 19:00:02 +010020#include <mach/gpio-tegra.h>
21
Mike Rapoportf02726a2011-03-07 16:29:24 +020022#define TRIMSLICE_GPIO_SD4_CD TEGRA_GPIO_PP1 /* mmc4 cd */
23#define TRIMSLICE_GPIO_SD4_WP TEGRA_GPIO_PP2 /* mmc4 wp */
24
Mike Rapoport4c755992011-04-17 11:59:32 +030025#define TRIMSLICE_GPIO_USB1_MODE TEGRA_GPIO_PV2 /* USB1 mode */
26#define TRIMSLICE_GPIO_USB2_RST TEGRA_GPIO_PV0 /* USB2 PHY reset */
27
Mike Rapoportcca414b2011-02-07 10:10:53 +020028void trimslice_pinmux_init(void);
29
30#endif