2011-02-07 16:10:53 +08:00
|
|
|
/*
|
|
|
|
* arch/arm/mach-tegra/board-trimslice.h
|
|
|
|
*
|
|
|
|
* Copyright (C) 2011 CompuLab, Ltd.
|
|
|
|
*
|
|
|
|
* 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_TRIMSLICE_H
|
|
|
|
#define _MACH_TEGRA_BOARD_TRIMSLICE_H
|
|
|
|
|
2011-09-27 02:00:02 +08:00
|
|
|
#include <mach/gpio-tegra.h>
|
|
|
|
|
2011-03-07 22:29:24 +08:00
|
|
|
#define TRIMSLICE_GPIO_SD4_CD TEGRA_GPIO_PP1 /* mmc4 cd */
|
|
|
|
#define TRIMSLICE_GPIO_SD4_WP TEGRA_GPIO_PP2 /* mmc4 wp */
|
|
|
|
|
2011-04-17 16:59:32 +08:00
|
|
|
#define TRIMSLICE_GPIO_USB1_MODE TEGRA_GPIO_PV2 /* USB1 mode */
|
|
|
|
#define TRIMSLICE_GPIO_USB2_RST TEGRA_GPIO_PV0 /* USB2 PHY reset */
|
|
|
|
|
2011-02-07 16:10:53 +08:00
|
|
|
void trimslice_pinmux_init(void);
|
|
|
|
|
|
|
|
#endif
|