diff options
author | Lennert Buytenhek <buytenh@wantstofly.org> | 2006-03-20 17:10:14 +0000 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2006-03-21 22:06:12 +0000 |
commit | a8e19667a42d752f3eca6eaa17aa5d6f93066dfe (patch) | |
tree | 7bf3b7eb8ac3fb6c18b3a8c33a88d6d2158f45e4 /include/asm-arm/arch-ep93xx/ep93xx-regs.h | |
parent | e7736d47a11a771ba87314be563b2cb6b8d11d14 (diff) |
[ARM] 3371/1: ep93xx: gpio support
Patch from Lennert Buytenhek
Add support for setting the direction of and getting/setting the
value of the 64 GPIO lines.
Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'include/asm-arm/arch-ep93xx/ep93xx-regs.h')
-rw-r--r-- | include/asm-arm/arch-ep93xx/ep93xx-regs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-arm/arch-ep93xx/ep93xx-regs.h b/include/asm-arm/arch-ep93xx/ep93xx-regs.h index 693f23886e8..c1efacc83b7 100644 --- a/include/asm-arm/arch-ep93xx/ep93xx-regs.h +++ b/include/asm-arm/arch-ep93xx/ep93xx-regs.h @@ -71,6 +71,7 @@ #define EP93XX_SECURITY_BASE (EP93XX_APB_VIRT_BASE + 0x00030000) #define EP93XX_GPIO_BASE (EP93XX_APB_VIRT_BASE + 0x00040000) +#define EP93XX_GPIO_REG(x) (EP93XX_GPIO_BASE + (x)) #define EP93XX_AAC_BASE (EP93XX_APB_VIRT_BASE + 0x00080000) |