diff options
author | Marek Vasut <marek.vasut@gmail.com> | 2010-03-09 22:16:28 -0500 |
---|---|---|
committer | Eric Miao <eric.y.miao@gmail.com> | 2010-05-11 11:25:02 -0400 |
commit | addff0faecfc5e73e8a742687255cef847e260db (patch) | |
tree | fbf59b85d60de1354c6edafc38b6874814c1b0da /arch/arm/mach-pxa | |
parent | 543cd84255f499a53d409014bc5ba71543474b05 (diff) |
[ARM] pxa: add support for Voipac PXA270 PCMCIA
PCMCIA support for Voipac PXA270
Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
Diffstat (limited to 'arch/arm/mach-pxa')
-rw-r--r-- | arch/arm/mach-pxa/include/mach/vpac270.h | 8 | ||||
-rw-r--r-- | arch/arm/mach-pxa/vpac270.c | 20 |
2 files changed, 28 insertions, 0 deletions
diff --git a/arch/arm/mach-pxa/include/mach/vpac270.h b/arch/arm/mach-pxa/include/mach/vpac270.h index 8f8eaed101dc..a77e310bcca8 100644 --- a/arch/arm/mach-pxa/include/mach/vpac270.h +++ b/arch/arm/mach-pxa/include/mach/vpac270.h | |||
@@ -23,4 +23,12 @@ | |||
23 | #define GPIO52_VPAC270_SD_READONLY 52 | 23 | #define GPIO52_VPAC270_SD_READONLY 52 |
24 | #define GPIO53_VPAC270_SD_DETECT_N 53 | 24 | #define GPIO53_VPAC270_SD_DETECT_N 53 |
25 | 25 | ||
26 | #define GPIO84_VPAC270_PCMCIA_CD 84 | ||
27 | #define GPIO35_VPAC270_PCMCIA_RDY 35 | ||
28 | #define GPIO107_VPAC270_PCMCIA_PPEN 107 | ||
29 | #define GPIO11_VPAC270_PCMCIA_RESET 11 | ||
30 | #define GPIO17_VPAC270_CF_CD 17 | ||
31 | #define GPIO12_VPAC270_CF_RDY 12 | ||
32 | #define GPIO16_VPAC270_CF_RESET 16 | ||
33 | |||
26 | #endif | 34 | #endif |
diff --git a/arch/arm/mach-pxa/vpac270.c b/arch/arm/mach-pxa/vpac270.c index 710a17c80a14..f1b073707f03 100644 --- a/arch/arm/mach-pxa/vpac270.c +++ b/arch/arm/mach-pxa/vpac270.c | |||
@@ -85,6 +85,26 @@ static unsigned long vpac270_pin_config[] __initdata = { | |||
85 | GPIO75_LCD_LCLK, | 85 | GPIO75_LCD_LCLK, |
86 | GPIO76_LCD_PCLK, | 86 | GPIO76_LCD_PCLK, |
87 | GPIO77_LCD_BIAS, | 87 | GPIO77_LCD_BIAS, |
88 | |||
89 | /* PCMCIA */ | ||
90 | GPIO48_nPOE, | ||
91 | GPIO49_nPWE, | ||
92 | GPIO50_nPIOR, | ||
93 | GPIO51_nPIOW, | ||
94 | GPIO85_nPCE_1, | ||
95 | GPIO54_nPCE_2, | ||
96 | GPIO55_nPREG, | ||
97 | GPIO57_nIOIS16, | ||
98 | GPIO56_nPWAIT, | ||
99 | GPIO104_PSKTSEL, | ||
100 | GPIO84_GPIO, /* PCMCIA CD */ | ||
101 | GPIO35_GPIO, /* PCMCIA RDY */ | ||
102 | GPIO107_GPIO, /* PCMCIA PPEN */ | ||
103 | GPIO11_GPIO, /* PCMCIA RESET */ | ||
104 | GPIO17_GPIO, /* CF CD */ | ||
105 | GPIO12_GPIO, /* CF RDY */ | ||
106 | GPIO16_GPIO, /* CF RESET */ | ||
107 | |||
88 | }; | 108 | }; |
89 | 109 | ||
90 | /****************************************************************************** | 110 | /****************************************************************************** |