From 54dc517328709c204a9cbf7a253d9f8e6c4b26ec Mon Sep 17 00:00:00 2001 From: Ilya Yanok Date: Sun, 8 Feb 2009 00:59:43 +0300 Subject: [PATCH] mx31: add GPIO registers definitions Added definitions for i.MX31 processor GPIO registers. Signed-off-by: Ilya Yanok --- include/asm-arm/arch-mx31/mx31-regs.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/include/asm-arm/arch-mx31/mx31-regs.h b/include/asm-arm/arch-mx31/mx31-regs.h index e7360528b6..3cdaa02478 100644 --- a/include/asm-arm/arch-mx31/mx31-regs.h +++ b/include/asm-arm/arch-mx31/mx31-regs.h @@ -86,6 +86,16 @@ #define WDOG_BASE 0x53FDC000 +/* + * GPIO + */ +#define GPIO1_BASE 0x53FCC000 +#define GPIO2_BASE 0x53FD0000 +#define GPIO3_BASE 0x53FA4000 +#define GPIO_DR 0x00000000 /* data register */ +#define GPIO_GDIR 0x00000004 /* direction register */ +#define GPIO_PSR 0x00000008 /* pad status register */ + /* * Signal Multiplexing (IOMUX) */ -- 2.39.5