From 27e65ca2f727eefa1cbc7ca1cd1ed265b1585fdc Mon Sep 17 00:00:00 2001 From: Marcel Ziswiler Date: Tue, 19 Feb 2013 15:54:49 +0100 Subject: apalis_t30: add generic Apalis GPIO defines Add defines for the generic Apalis GPIOs 1 to 8 and the special use thereof on the Apalis Evaluation Board: FAN_EN on GPIO8: enable FAN supply on X35 PEX_PERST_N on GPIO7: reset PCIe switch for X43, X44 and X45 TOUCH_WIPER on GPIO6: optional touch wiper GPIO --- arch/arm/mach-tegra/board-apalis_t30.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'arch') diff --git a/arch/arm/mach-tegra/board-apalis_t30.h b/arch/arm/mach-tegra/board-apalis_t30.h index 38a86f67470c..639ed8c42a55 100644 --- a/arch/arm/mach-tegra/board-apalis_t30.h +++ b/arch/arm/mach-tegra/board-apalis_t30.h @@ -28,12 +28,23 @@ /* GPIO */ +#define APALIS_GPIO1 TEGRA_GPIO_PS2 +#define APALIS_GPIO2 TEGRA_GPIO_PS3 +#define APALIS_GPIO3 TEGRA_GPIO_PS4 +#define APALIS_GPIO4 TEGRA_GPIO_PS5 +#define APALIS_GPIO5 TEGRA_GPIO_PS6 +#define APALIS_GPIO6 TEGRA_GPIO_PQ0 +#define APALIS_GPIO7 TEGRA_GPIO_PS7 +#define APALIS_GPIO8 TEGRA_GPIO_PQ1 + #define BKL1_ON TEGRA_GPIO_PV2 #define BKL1_PWM_EN_N TEGRA_GPIO_PA1 #define CAN1_INT TEGRA_GPIO_PW2 #define CAN2_INT TEGRA_GPIO_PW3 +#define FAN_EN APALIS_GPIO8 + #define GPIO1 TEGRA_GPIO_PS2 #define GPIO2 TEGRA_GPIO_PS3 #define GPIO3 TEGRA_GPIO_PS4 @@ -67,6 +78,8 @@ #define MMC1_CD_N TEGRA_GPIO_PV3 +#define PEX_PERST_N APALIS_GPIO7 + #define PWR_I2C_SCL TEGRA_GPIO_PZ6 #define PWR_I2C_SDA TEGRA_GPIO_PZ7 @@ -79,6 +92,7 @@ #define THERMD_ALERT_N TEGRA_GPIO_PD2 #define TOUCH_PEN_INT TEGRA_GPIO_PV0 +#define TOUCH_WIPER APALIS_GPIO6 #define TS1 TEGRA_GPIO_PI1 #define TS2 TEGRA_GPIO_PQ7 -- cgit v1.2.3