summaryrefslogtreecommitdiff
path: root/include/asm-arm/arch-mx31
diff options
context:
space:
mode:
authorIlya Yanok <yanok@emcraft.com>2009-02-08 00:59:43 +0300
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2009-02-07 23:29:41 +0100
commit54dc517328709c204a9cbf7a253d9f8e6c4b26ec (patch)
tree77d7e26e839e9373a1308c5e91e5fc6f5ad4ff92 /include/asm-arm/arch-mx31
parente7deec1bf6fa3b3a21cd8d14fe2a909a42efc9d8 (diff)
downloadu-boot-imx-54dc517328709c204a9cbf7a253d9f8e6c4b26ec.zip
u-boot-imx-54dc517328709c204a9cbf7a253d9f8e6c4b26ec.tar.gz
u-boot-imx-54dc517328709c204a9cbf7a253d9f8e6c4b26ec.tar.bz2
mx31: add GPIO registers definitions
Added definitions for i.MX31 processor GPIO registers. Signed-off-by: Ilya Yanok <yanok@emcraft.com>
Diffstat (limited to 'include/asm-arm/arch-mx31')
-rw-r--r--include/asm-arm/arch-mx31/mx31-regs.h10
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)
*/