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 20 #include <mach/gpio-tegra.h> 21 22 #define TRIMSLICE_GPIO_SD4_CD TEGRA_GPIO_PP1 /* mmc4 cd */ 23 #define TRIMSLICE_GPIO_SD4_WP TEGRA_GPIO_PP2 /* mmc4 wp */ 24 25 #define TRIMSLICE_GPIO_USB1_MODE TEGRA_GPIO_PV2 /* USB1 mode */ 26 #define TRIMSLICE_GPIO_USB2_RST TEGRA_GPIO_PV0 /* USB2 PHY reset */ 27 28 void trimslice_pinmux_init(void); 29 30 #endif 31