diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2009-10-06 10:16:27 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2009-12-06 11:52:24 -0500 |
commit | 6e21ee6aa76df6297e6dcea22d6583cafdb669f7 (patch) | |
tree | 52b7fbf09fed5b0e903cf61fd3c2111ce3a41118 /arch/arm/mach-sa1100/include | |
parent | 9c196f0f8db928ef9a2a935d86d75a218a7131b1 (diff) |
ARM: iPAQ: move serial port support functions
No point calling sa1100_register_uart_fns early - these aren't
used until late in the boot sequence. Also convert to gpiolib
support.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-sa1100/include')
-rw-r--r-- | arch/arm/mach-sa1100/include/mach/h3600_gpio.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/arm/mach-sa1100/include/mach/h3600_gpio.h b/arch/arm/mach-sa1100/include/mach/h3600_gpio.h index d4d0b22d0193..18de674af560 100644 --- a/arch/arm/mach-sa1100/include/mach/h3600_gpio.h +++ b/arch/arm/mach-sa1100/include/mach/h3600_gpio.h | |||
@@ -24,6 +24,20 @@ | |||
24 | #define _INCLUDE_H3600_GPIO_H_ | 24 | #define _INCLUDE_H3600_GPIO_H_ |
25 | 25 | ||
26 | /* | 26 | /* |
27 | * gpiolib numbers for all iPAQs | ||
28 | */ | ||
29 | #define H3XXX_GPIO_PWR_BUTTON 0 | ||
30 | #define H3XXX_GPIO_PCMCIA_CD1 10 | ||
31 | #define H3XXX_GPIO_PCMCIA_IRQ1 11 | ||
32 | #define H3XXX_GPIO_PCMCIA_CD0 17 | ||
33 | #define H3XXX_GPIO_SYS_CLK 19 | ||
34 | #define H3XXX_GPIO_PCMCIA_IRQ0 21 | ||
35 | #define H3XXX_GPIO_COM_DCD 23 | ||
36 | #define H3XXX_GPIO_OPTION 24 | ||
37 | #define H3XXX_GPIO_COM_CTS 25 | ||
38 | #define H3XXX_GPIO_COM_RTS 26 | ||
39 | |||
40 | /* | ||
27 | * GPIO lines that are common across ALL iPAQ models are in "h3600.h" | 41 | * GPIO lines that are common across ALL iPAQ models are in "h3600.h" |
28 | * This file contains machine-specific definitions | 42 | * This file contains machine-specific definitions |
29 | */ | 43 | */ |