[U-Boot] [PATCH 1/3][v2] mx31: add GPIO registers definitions

Ilya Yanok yanok at emcraft.com
Thu Feb 5 04:32:01 CET 2009


Added definitions for i.MX31 processor GPIO registers.

Signed-off-by: Ilya Yanok <yanok at emcraft.com>
---
 include/asm-arm/arch-mx31/mx31-regs.h |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/include/asm-arm/arch-mx31/mx31-regs.h b/include/asm-arm/arch-mx31/mx31-regs.h
index e736052..3cdaa02 100644
--- a/include/asm-arm/arch-mx31/mx31-regs.h
+++ b/include/asm-arm/arch-mx31/mx31-regs.h
@@ -87,6 +87,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)
  */
 
-- 
1.6.0.6



More information about the U-Boot mailing list