]> git.sur5r.net Git - u-boot/commitdiff
mx31: add GPIO registers definitions
authorIlya Yanok <yanok@emcraft.com>
Sat, 7 Feb 2009 21:59:43 +0000 (00:59 +0300)
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Sat, 7 Feb 2009 22:29:41 +0000 (23:29 +0100)
Added definitions for i.MX31 processor GPIO registers.

Signed-off-by: Ilya Yanok <yanok@emcraft.com>
include/asm-arm/arch-mx31/mx31-regs.h

index e7360528b60ddf7fdf4e771dfb030fff3bbfd13f..3cdaa024787f6c74edfa855327a362ee0bde2fd4 100644 (file)
 
 #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)
  */