public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Ilya Yanok <yanok@emcraft.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 1/3][v2] mx31: add GPIO registers definitions
Date: Thu,  5 Feb 2009 06:32:01 +0300	[thread overview]
Message-ID: <1233804723-8066-2-git-send-email-yanok@emcraft.com> (raw)
In-Reply-To: <1233804723-8066-1-git-send-email-yanok@emcraft.com>

Added definitions for i.MX31 processor GPIO registers.

Signed-off-by: Ilya Yanok <yanok@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

  reply	other threads:[~2009-02-05  3:32 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-05  3:32 [U-Boot] [PATCH 0/3][v2] qong: support for Dave/DENX QongEVB-LITE Ilya Yanok
2009-02-05  3:32 ` Ilya Yanok [this message]
2009-02-05  3:32 ` [U-Boot] [PATCH 2/3][v2] dnet: driver for Dave DNET ethernet controller Ilya Yanok
2009-02-05 21:25   ` Jean-Christophe PLAGNIOL-VILLARD
2009-02-05  3:32 ` [U-Boot] [PATCH 3/3][v2] qong: support for Dave/DENX QongEVB-LITE board Ilya Yanok
2009-02-05 21:17   ` Jean-Christophe PLAGNIOL-VILLARD
2009-02-05 21:34   ` Wolfgang Denk

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1233804723-8066-2-git-send-email-yanok@emcraft.com \
    --to=yanok@emcraft.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox