diff options
author | Eric Miao <eric.y.miao@gmail.com> | 2008-11-22 08:40:50 -0500 |
---|---|---|
committer | Eric Miao <eric.miao@marvell.com> | 2008-12-02 01:42:41 -0500 |
commit | 8cc78909816ed5529806ee94f19f3e02beae4e7e (patch) | |
tree | 2c6c4ff984fb78daa27415f75ee4fbd926189478 /arch/arm/mach-pxa | |
parent | 59c7bcd4d60812ca10ec691376f43d6a5fbfb4f8 (diff) |
[ARM] pxa: add missing GPIOs definitions
GPIO3/GPIO4 are a bit special on pxa27x, since it depends on PCFR/PI2C_EN
bit, add their definitions here with comments.
Signed-off-by: Eric Miao <eric.miao@marvell.com>
Acked-by: Stefan Schmidt <stefan@datenfreihafen.org>
Diffstat (limited to 'arch/arm/mach-pxa')
-rw-r--r-- | arch/arm/mach-pxa/include/mach/mfp-pxa27x.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-pxa/include/mach/mfp-pxa27x.h b/arch/arm/mach-pxa/include/mach/mfp-pxa27x.h index 122bdbd53182..da4f85a4f990 100644 --- a/arch/arm/mach-pxa/include/mach/mfp-pxa27x.h +++ b/arch/arm/mach-pxa/include/mach/mfp-pxa27x.h | |||
@@ -11,6 +11,12 @@ | |||
11 | #include <mach/mfp.h> | 11 | #include <mach/mfp.h> |
12 | #include <mach/mfp-pxa2xx.h> | 12 | #include <mach/mfp-pxa2xx.h> |
13 | 13 | ||
14 | /* Note: GPIO3/GPIO4 will be driven by Power I2C when PCFR/PI2C_EN | ||
15 | * bit is set, regardless of the GPIO configuration | ||
16 | */ | ||
17 | #define GPIO3_GPIO MFP_CFG_IN(GPIO3, AF0) | ||
18 | #define GPIO4_GPIO MFP_CFG_IN(GPIO4, AF0) | ||
19 | |||
14 | /* GPIO */ | 20 | /* GPIO */ |
15 | #define GPIO85_GPIO MFP_CFG_IN(GPIO85, AF0) | 21 | #define GPIO85_GPIO MFP_CFG_IN(GPIO85, AF0) |
16 | #define GPIO86_GPIO MFP_CFG_IN(GPIO86, AF0) | 22 | #define GPIO86_GPIO MFP_CFG_IN(GPIO86, AF0) |