| Mike Rapoport | cca414b | 2011-02-07 10:10:53 +0200 | [diff] [blame] | 1 | /* | 
 | 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 Warren | ea5abbd | 2011-09-26 19:00:02 +0100 | [diff] [blame] | 20 | #include <mach/gpio-tegra.h> | 
 | 21 |  | 
| Mike Rapoport | f02726a | 2011-03-07 16:29:24 +0200 | [diff] [blame] | 22 | #define TRIMSLICE_GPIO_SD4_CD	TEGRA_GPIO_PP1	/* mmc4 cd */ | 
 | 23 | #define TRIMSLICE_GPIO_SD4_WP	TEGRA_GPIO_PP2	/* mmc4 wp */ | 
 | 24 |  | 
| Mike Rapoport | 4c75599 | 2011-04-17 11:59:32 +0300 | [diff] [blame] | 25 | #define TRIMSLICE_GPIO_USB1_MODE	TEGRA_GPIO_PV2 /* USB1 mode */ | 
 | 26 | #define TRIMSLICE_GPIO_USB2_RST		TEGRA_GPIO_PV0 /* USB2 PHY reset */ | 
 | 27 |  | 
| Mike Rapoport | cca414b | 2011-02-07 10:10:53 +0200 | [diff] [blame] | 28 | void trimslice_pinmux_init(void); | 
 | 29 |  | 
 | 30 | #endif |