]> nv-tegra.nvidia Code Review - linux-2.6.git/blob - arch/arm/mach-tegra/wakeups-t3.h
arm: tegra: E1506 Tristate, pull down LCD pins
[linux-2.6.git] / arch / arm / mach-tegra / wakeups-t3.h
1 /*
2  * arch/arm/mach-tegra/wakeups-t3.h
3  *
4  * Declarations of Tegra 3 LP0 wakeup sources
5  *
6  * Copyright (c) 2010, NVIDIA Corporation.
7  *
8  * This program is free software; you can redistribute it and/or modify
9  * it under the terms of the GNU General Public License as published by
10  * the Free Software Foundation; either version 2 of the License, or
11  * (at your option) any later version.
12  *
13  * This program is distributed in the hope that it will be useful, but WITHOUT
14  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
15  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
16  * more details.
17  *
18  * You should have received a copy of the GNU General Public License along
19  * with this program; if not, write to the Free Software Foundation, Inc.,
20  * 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
21  */
22
23 #ifndef __MACH_TEGRA_WAKEUPS_T3_H
24 #define __MACH_TEGRA_WAKEUPS_T3_H
25
26 #ifndef CONFIG_ARCH_TEGRA_3x_SOC
27 #error "Tegra 3 wakeup sources valid only for CONFIG_ARCH_TEGRA_3x_SOC"
28 #endif
29
30 #define TEGRA_WAKE_GPIO_PO5     0
31 #define TEGRA_WAKE_GPIO_PV1     1
32 #define TEGRA_WAKE_GPIO_PL1     2
33 #define TEGRA_WAKE_GPIO_PB6     3
34 #define TEGRA_WAKE_GPIO_PN7     4
35 #define TEGRA_WAKE_GPIO_PBB6    5
36 #define TEGRA_WAKE_GPIO_PU5     6
37 #define TEGRA_WAKE_GPIO_PU6     7
38 #define TEGRA_WAKE_GPIO_PC7     8
39 #define TEGRA_WAKE_GPIO_PS2     9
40 #define TEGRA_WAKE_GPIO_PAA1    10
41 #define TEGRA_WAKE_GPIO_PW3     11
42 #define TEGRA_WAKE_GPIO_PW2     12
43 #define TEGRA_WAKE_GPIO_PY6     13
44 #define TEGRA_WAKE_GPIO_PDD3    14
45 #define TEGRA_WAKE_GPIO_PJ2     15
46 #define TEGRA_WAKE_RTC_ALARM    16
47 #define TEGRA_WAKE_KBC_EVENT    17
48 #define TEGRA_WAKE_PWR_INT      18
49 #define TEGRA_WAKE_USB1_VBUS    19
50 #define TEGRA_WAKE_USB2_VBUS    20
51 #define TEGRA_WAKE_USB1_ID      21
52 #define TEGRA_WAKE_USB2_ID      22
53 #define TEGRA_WAKE_GPIO_PI5     23
54 #define TEGRA_WAKE_GPIO_PV0     24
55 #define TEGRA_WAKE_GPIO_PS4     25
56 #define TEGRA_WAKE_GPIO_PS5     26
57 #define TEGRA_WAKE_GPIO_PS0     27
58 #define TEGRA_WAKE_GPIO_PS6     28
59 #define TEGRA_WAKE_GPIO_PS7     29
60 #define TEGRA_WAKE_GPIO_PN2     30
61 /* bit 31 is unused */
62
63 #define TEGRA_WAKE_GPIO_PO4     32
64 #define TEGRA_WAKE_GPIO_PJ0     33
65 #define TEGRA_WAKE_GPIO_PK2     34
66 #define TEGRA_WAKE_GPIO_PI6     35
67 #define TEGRA_WAKE_GPIO_PBB1    36
68 #define TEGRA_WAKE_USB3_ID      37
69 #define TEGRA_WAKE_USB3_VBUS    38
70
71 #endif