Merge remote branch 'common/android-2.6.36' into android-tegra-2.6.36
[firefly-linux-kernel-4.4.55.git] / arch / arm / mach-tegra / wakeups-t2.h
1 /*
2  * arch/arm/mach-tegra/wakeups-t2.h
3  *
4  * Declarations of Tegra 2 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_T2_H
24 #define __MACH_TEGRA_WAKEUPS_T2_H
25
26 #define TEGRA_WAKE_GPIO_PO5     (1 << 0)
27 #define TEGRA_WAKE_GPIO_PV3     (1 << 1)
28 #define TEGRA_WAKE_GPIO_PL1     (1 << 2)
29 #define TEGRA_WAKE_GPIO_PB6     (1 << 3)
30 #define TEGRA_WAKE_GPIO_PN7     (1 << 4)
31 #define TEGRA_WAKE_GPIO_PA0     (1 << 5)
32 #define TEGRA_WAKE_GPIO_PU5     (1 << 6)
33 #define TEGRA_WAKE_GPIO_PU6     (1 << 7)
34 #define TEGRA_WAKE_GPIO_PC7     (1 << 8)
35 #define TEGRA_WAKE_GPIO_PS2     (1 << 9)
36 #define TEGRA_WAKE_GPIO_PAA1    (1 << 10)
37 #define TEGRA_WAKE_GPIO_PW3     (1 << 11)
38 #define TEGRA_WAKE_GPIO_PW2     (1 << 12)
39 #define TEGRA_WAKE_GPIO_PY6     (1 << 13)
40 #define TEGRA_WAKE_GPIO_PV6     (1 << 14)
41 #define TEGRA_WAKE_GPIO_PJ7     (1 << 15)
42 #define TEGRA_WAKE_RTC_ALARM    (1 << 16)
43 #define TEGRA_WAKE_KBC_EVENT    (1 << 17)
44 #define TEGRA_WAKE_PWR_INT      (1 << 18)
45 #define TEGRA_WAKE_USB1_VBUS    (1 << 19)
46 #define TEGRA_WAKE_USB3_VBUS    (1 << 20)
47 #define TEGRA_WAKE_USB1_ID      (1 << 21)
48 #define TEGRA_WAKE_USB3_ID      (1 << 22)
49 #define TEGRA_WAKE_GPIO_PI5     (1 << 23)
50 #define TEGRA_WAKE_GPIO_PV2     (1 << 24)
51 #define TEGRA_WAKE_GPIO_PS4     (1 << 25)
52 #define TEGRA_WAKE_GPIO_PS5     (1 << 26)
53 #define TEGRA_WAKE_GPIO_PS0     (1 << 27)
54 #define TEGRA_WAKE_GPIO_PQ6     (1 << 28)
55 #define TEGRA_WAKE_GPIO_PQ7     (1 << 29)
56 #define TEGRA_WAKE_GPIO_PN2     (1 << 30)
57
58 #endif