aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-pxa/include
diff options
context:
space:
mode:
authorMarek Vasut <marek.vasut@gmail.com>2009-03-23 19:29:29 -0400
committerEric Miao <eric.miao@marvell.com>2009-04-03 22:26:33 -0400
commit54088bf50f31e5f20e005922dae8948f9f856b79 (patch)
tree3dbd716a51e170749f121dfc4fcde4dce77b6b50 /arch/arm/mach-pxa/include
parentc9be0e39618984b925ec758c1384853db4435ea8 (diff)
[ARM] pxa: Palm Tungsten E2 basic support
This contains support for keypad, MMC, AC97, LCD and backlight. Signed-off-by: Marek Vasut <marek.vasut@gmail.com> Signed-off-by: Eric Miao <eric.miao@marvell.com>
Diffstat (limited to 'arch/arm/mach-pxa/include')
-rw-r--r--arch/arm/mach-pxa/include/mach/palmte2.h43
1 files changed, 43 insertions, 0 deletions
diff --git a/arch/arm/mach-pxa/include/mach/palmte2.h b/arch/arm/mach-pxa/include/mach/palmte2.h
new file mode 100644
index 000000000000..808ee7faf5ba
--- /dev/null
+++ b/arch/arm/mach-pxa/include/mach/palmte2.h
@@ -0,0 +1,43 @@
1/*
2 * GPIOs and interrupts for Palm Tungsten|E2 Handheld Computer
3 *
4 * Author:
5 * Carlos Eduardo Medaglia Dyonisio <cadu@nerdfeliz.com>
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as
9 * published by the Free Software Foundation.
10 *
11 */
12
13#ifndef _INCLUDE_PALMTE2_H_
14#define _INCLUDE_PALMTE2_H_
15
16/** HERE ARE GPIOs **/
17
18/* GPIOs */
19#define GPIO_NR_PALMTE2_SD_DETECT_N 10
20#define GPIO_NR_PALMTE2_SD_POWER 55
21#define GPIO_NR_PALMTE2_SD_READONLY 51
22
23/* KEYS */
24#define GPIO_NR_PALMTE2_KEY_NOTES 5
25#define GPIO_NR_PALMTE2_KEY_TASKS 7
26#define GPIO_NR_PALMTE2_KEY_CALENDAR 11
27#define GPIO_NR_PALMTE2_KEY_CONTACTS 13
28#define GPIO_NR_PALMTE2_KEY_CENTER 14
29#define GPIO_NR_PALMTE2_KEY_LEFT 19
30#define GPIO_NR_PALMTE2_KEY_RIGHT 20
31#define GPIO_NR_PALMTE2_KEY_DOWN 21
32#define GPIO_NR_PALMTE2_KEY_UP 22
33
34/** HERE ARE INIT VALUES **/
35
36/* BACKLIGHT */
37#define PALMTE2_MAX_INTENSITY 0xFE
38#define PALMTE2_DEFAULT_INTENSITY 0x7E
39#define PALMTE2_LIMIT_MASK 0x7F
40#define PALMTE2_PRESCALER 0x3F
41#define PALMTE2_PERIOD_NS 3500
42
43#endif