mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Alexander Shiyan <shc@milas.spb.ru>
To: barebox@lists.infradead.org
Subject: Add WEIM registers for MX51
Date: Wed, 07 Sep 2011 10:57:52 +0400 (MSD)	[thread overview]
Message-ID: <1315378672.14337@milas.spb.ru> (raw)

[-- Attachment #1: Type: text/plain, Size: 817 bytes --]

--- barebox-v2011.09.0.orig/arch/arm/mach-imx/include/mach/imx51-regs.h	2011-08-26 18:23:46.000000000 +0400
+++ barebox-v2011.09.0/arch/arm/mach-imx/include/mach/imx51-regs.h	2011-09-06 10:32:08.000000000 +0400
@@ -12,6 +12,16 @@
 #define GPT_TCN		0x24
 #define GPT_TSTAT	0x08

+/* WEIM registers */
+#define WEIM_CSxGCR1(n)	(((n) * 0x18) + 0x00)
+#define WEIM_CSxGCR2(n)	(((n) * 0x18) + 0x04)
+#define WEIM_CSxRCR1(n)	(((n) * 0x18) + 0x08)
+#define WEIM_CSxRCR2(n)	(((n) * 0x18) + 0x0c)
+#define WEIM_CSxWCR1(n)	(((n) * 0x18) + 0x10)
+#define WEIM_WCR	0x90
+#define WEIM_WIAR	0x94
+#define WEIM_EAR	0x98
+
 /* Part 2: Bitfields */
 #define TCTL_SWR	(1<<15)	/* Software reset */
 #define TCTL_FRR	(1<<9)	/* Freerun / restart */
@@ -134,4 +144,3 @@
 #define MX51_CHIP_REV_3_2	0x32

 #endif /* __MACH_IMX51_REGS_H */
-

[-- Attachment #2: Type: text/plain, Size: 149 bytes --]

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

                 reply	other threads:[~2011-09-07 10:50 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=1315378672.14337@milas.spb.ru \
    --to=shc@milas.spb.ru \
    --cc=barebox@lists.infradead.org \
    /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