aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-pxa/include/mach
diff options
context:
space:
mode:
authorMarek Vasut <marek.vasut@gmail.com>2009-03-24 16:23:39 -0400
committerEric Miao <eric.miao@marvell.com>2009-04-03 22:26:33 -0400
commit8c8aa5fa3060abc17e8a07d15f575485f6a0c0b8 (patch)
tree258ac3006a157c48d91e05d12bc2ce1790766547 /arch/arm/mach-pxa/include/mach
parent54088bf50f31e5f20e005922dae8948f9f856b79 (diff)
[ARM] pxa: PalmTE2 support for battery, UDC, IrDA 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/mach')
-rw-r--r--arch/arm/mach-pxa/include/mach/palmte2.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/arch/arm/mach-pxa/include/mach/palmte2.h b/arch/arm/mach-pxa/include/mach/palmte2.h
index 808ee7faf5ba..12361341f9d8 100644
--- a/arch/arm/mach-pxa/include/mach/palmte2.h
+++ b/arch/arm/mach-pxa/include/mach/palmte2.h
@@ -16,10 +16,26 @@
16/** HERE ARE GPIOs **/ 16/** HERE ARE GPIOs **/
17 17
18/* GPIOs */ 18/* GPIOs */
19#define GPIO_NR_PALMTE2_POWER_DETECT 9
20#define GPIO_NR_PALMTE2_HOTSYNC_BUTTON_N 4
21#define GPIO_NR_PALMTE2_EARPHONE_DETECT 15
22
23/* SD/MMC */
19#define GPIO_NR_PALMTE2_SD_DETECT_N 10 24#define GPIO_NR_PALMTE2_SD_DETECT_N 10
20#define GPIO_NR_PALMTE2_SD_POWER 55 25#define GPIO_NR_PALMTE2_SD_POWER 55
21#define GPIO_NR_PALMTE2_SD_READONLY 51 26#define GPIO_NR_PALMTE2_SD_READONLY 51
22 27
28/* IRDA - disable GPIO connected to SD pin of tranceiver (TFBS4710?) ? */
29#define GPIO_NR_PALMTE2_IR_DISABLE 48
30
31/* USB */
32#define GPIO_NR_PALMTE2_USB_DETECT_N 35
33#define GPIO_NR_PALMTE2_USB_PULLUP 53
34
35/* LCD/BACKLIGHT */
36#define GPIO_NR_PALMTE2_BL_POWER 56
37#define GPIO_NR_PALMTE2_LCD_POWER 37
38
23/* KEYS */ 39/* KEYS */
24#define GPIO_NR_PALMTE2_KEY_NOTES 5 40#define GPIO_NR_PALMTE2_KEY_NOTES 5
25#define GPIO_NR_PALMTE2_KEY_TASKS 7 41#define GPIO_NR_PALMTE2_KEY_TASKS 7
@@ -40,4 +56,13 @@
40#define PALMTE2_PRESCALER 0x3F 56#define PALMTE2_PRESCALER 0x3F
41#define PALMTE2_PERIOD_NS 3500 57#define PALMTE2_PERIOD_NS 3500
42 58
59/* BATTERY */
60#define PALMTE2_BAT_MAX_VOLTAGE 4000 /* 4.00v current voltage */
61#define PALMTE2_BAT_MIN_VOLTAGE 3550 /* 3.55v critical voltage */
62#define PALMTE2_BAT_MAX_CURRENT 0 /* unknokn */
63#define PALMTE2_BAT_MIN_CURRENT 0 /* unknown */
64#define PALMTE2_BAT_MAX_CHARGE 1 /* unknown */
65#define PALMTE2_BAT_MIN_CHARGE 1 /* unknown */
66#define PALMTE2_MAX_LIFE_MINS 360 /* on-life in minutes */
67
43#endif 68#endif