aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-sa1100/include/mach/h3600_gpio.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-sa1100/include/mach/h3600_gpio.h')
-rw-r--r--arch/arm/mach-sa1100/include/mach/h3600_gpio.h31
1 files changed, 7 insertions, 24 deletions
diff --git a/arch/arm/mach-sa1100/include/mach/h3600_gpio.h b/arch/arm/mach-sa1100/include/mach/h3600_gpio.h
index 0c0bfa5464f..2537f35685c 100644
--- a/arch/arm/mach-sa1100/include/mach/h3600_gpio.h
+++ b/arch/arm/mach-sa1100/include/mach/h3600_gpio.h
@@ -30,6 +30,7 @@
30#define H3XXX_GPIO_PCMCIA_CD1 10 30#define H3XXX_GPIO_PCMCIA_CD1 10
31#define H3XXX_GPIO_PCMCIA_IRQ1 11 31#define H3XXX_GPIO_PCMCIA_IRQ1 11
32#define H3XXX_GPIO_PCMCIA_CD0 17 32#define H3XXX_GPIO_PCMCIA_CD0 17
33#define H3XXX_GPIO_ACTION_BUTTON 18
33#define H3XXX_GPIO_SYS_CLK 19 34#define H3XXX_GPIO_SYS_CLK 19
34#define H3XXX_GPIO_PCMCIA_IRQ0 21 35#define H3XXX_GPIO_PCMCIA_IRQ0 21
35#define H3XXX_GPIO_COM_DCD 23 36#define H3XXX_GPIO_COM_DCD 23
@@ -37,23 +38,8 @@
37#define H3XXX_GPIO_COM_CTS 25 38#define H3XXX_GPIO_COM_CTS 25
38#define H3XXX_GPIO_COM_RTS 26 39#define H3XXX_GPIO_COM_RTS 26
39 40
40/* 41/* machine-specific gpios */
41 * GPIO lines that are common across ALL iPAQ models are in "h3600.h"
42 * This file contains machine-specific definitions
43 */
44 42
45#define GPIO_H3600_SUSPEND GPIO_GPIO (0)
46/* GPIO[2:9] used by LCD on H3600/3800, used as GPIO on H3100 */
47#define GPIO_H3100_BT_ON GPIO_GPIO (2)
48#define GPIO_H3100_GPIO3 GPIO_GPIO (3)
49#define GPIO_H3100_QMUTE GPIO_GPIO (4)
50#define GPIO_H3100_LCD_3V_ON GPIO_GPIO (5)
51#define GPIO_H3100_AUD_ON GPIO_GPIO (6)
52#define GPIO_H3100_AUD_PWR_ON GPIO_GPIO (7)
53#define GPIO_H3100_IR_ON GPIO_GPIO (8)
54#define GPIO_H3100_IR_FSEL GPIO_GPIO (9)
55
56/* gpiolib versions of the above */
57#define H3100_GPIO_BT_ON 2 43#define H3100_GPIO_BT_ON 2
58#define H3100_GPIO_QMUTE 4 44#define H3100_GPIO_QMUTE 4
59#define H3100_GPIO_LCD_3V_ON 5 45#define H3100_GPIO_LCD_3V_ON 5
@@ -62,14 +48,11 @@
62#define H3100_GPIO_IR_ON 8 48#define H3100_GPIO_IR_ON 8
63#define H3100_GPIO_IR_FSEL 9 49#define H3100_GPIO_IR_FSEL 9
64 50
65/* for H3600, audio sample rate clock generator */ 51#define H3600_GPIO_CLK_SET0 12 /* audio sample rate clock generator */
66#define GPIO_H3600_CLK_SET0 GPIO_GPIO (12) 52#define H3600_GPIO_CLK_SET1 13
67#define GPIO_H3600_CLK_SET1 GPIO_GPIO (13) 53#define H3600_GPIO_SOFT_RESET 20 /* also known as BATT_FAULT */
68 54#define H3600_GPIO_OPT_LOCK 22
69#define GPIO_H3600_ACTION_BUTTON GPIO_GPIO (18) 55#define H3600_GPIO_OPT_DET 27
70#define GPIO_H3600_SOFT_RESET GPIO_GPIO (20) /* Also known as BATT_FAULT */
71#define GPIO_H3600_OPT_LOCK GPIO_GPIO (22)
72#define GPIO_H3600_OPT_DET GPIO_GPIO (27)
73 56
74 57
75/* H3100 / 3600 EGPIO pins */ 58/* H3100 / 3600 EGPIO pins */