Commit | Line | Data |
---|---|---|
d9a51fe7 OJ |
1 | /* |
2 | * arch/arm/mach-tegra/board-seaboard.h | |
3 | * | |
4 | * Copyright (C) 2010 Google, Inc. | |
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_SEABOARD_H | |
18 | #define _MACH_TEGRA_BOARD_SEABOARD_H | |
19 | ||
ea5abbd2 SW |
20 | #include <mach/gpio-tegra.h> |
21 | ||
986afbe4 SW |
22 | #define TEGRA_GPIO_SD2_CD TEGRA_GPIO_PI5 |
23 | #define TEGRA_GPIO_SD2_WP TEGRA_GPIO_PH1 | |
24 | #define TEGRA_GPIO_SD2_POWER TEGRA_GPIO_PI6 | |
d9a51fe7 OJ |
25 | #define TEGRA_GPIO_LIDSWITCH TEGRA_GPIO_PC7 |
26 | #define TEGRA_GPIO_USB1 TEGRA_GPIO_PD0 | |
27 | #define TEGRA_GPIO_POWERKEY TEGRA_GPIO_PV2 | |
28 | #define TEGRA_GPIO_BACKLIGHT TEGRA_GPIO_PD4 | |
29 | #define TEGRA_GPIO_LVDS_SHUTDOWN TEGRA_GPIO_PB2 | |
30 | #define TEGRA_GPIO_BACKLIGHT_PWM TEGRA_GPIO_PU5 | |
31 | #define TEGRA_GPIO_BACKLIGHT_VDD TEGRA_GPIO_PW0 | |
32 | #define TEGRA_GPIO_EN_VDD_PNL TEGRA_GPIO_PC6 | |
33 | #define TEGRA_GPIO_MAGNETOMETER TEGRA_GPIO_PN5 | |
34 | #define TEGRA_GPIO_ISL29018_IRQ TEGRA_GPIO_PZ2 | |
35 | #define TEGRA_GPIO_AC_ONLINE TEGRA_GPIO_PV3 | |
36 | ||
37 | #define TPS_GPIO_BASE TEGRA_NR_GPIOS | |
38 | ||
39 | #define TPS_GPIO_WWAN_PWR (TPS_GPIO_BASE + 2) | |
40 | ||
41 | void seaboard_pinmux_init(void); | |
42 | ||
43 | #endif |