[U-Boot] [PATCH] TI: DaVinci: Adding GIO addresses to header file

s-paulraj at ti.com s-paulraj at ti.com
Sat Sep 12 21:27:35 CEST 2009


From: Sandeep Paulraj <s-paulraj at ti.com>

This patch adds GIO definitions to the hardware.h
header file

Signed-off-by: Sandeep Paulraj <s-paulraj at ti.com>
---
 include/asm-arm/arch-davinci/hardware.h |   23 +++++++++++++++++++++++
 1 files changed, 23 insertions(+), 0 deletions(-)

diff --git a/include/asm-arm/arch-davinci/hardware.h b/include/asm-arm/arch-davinci/hardware.h
index 313b3f3..3d31d24 100644
--- a/include/asm-arm/arch-davinci/hardware.h
+++ b/include/asm-arm/arch-davinci/hardware.h
@@ -181,6 +181,29 @@ void davinci_errata_workarounds(void);
 
 #define PSC_SILVER_BULLET		(0x01c41a20)
 
+/* GIO registers */
+#define GIO_BINTEN		0x01C67008
+#define GIO_DIR01		0x01C67010
+#define GIO_OUT_DATA01		0x01C67014
+#define GIO_SET_DATA01		0x01C67018
+#define GIO_CLR_DATA01		0x01C6701C
+#define GIO_SET_RIS_TRIG01	0x01C67024
+
+#define GIO_DIR23		0x01C67038
+#define GIO_OUT_DATA23		0x01C6703c
+#define GIO_SET_DATA23		0x01C67040
+#define GIO_CLR_DATA23		0x01C67044
+
+#define GIO_DIR45		0x01C67060
+#define GIO_OUT_DATA45		0x01C67064
+#define GIO_SET_DATA45		0x01C67068
+#define GIO_CLR_DATA45		0x01C6706C
+
+#define GIO_DIR06		0x01C67088
+#define GIO_OUT_DATA06		0x01C6708C
+#define GIO_SET_DATA06		0x01C67090
+#define GIO_CLR_DATA06		0x01C67094
+
 /* Miscellania... */
 #define VBPR				(0x20000020)
 
-- 
1.6.0.4



More information about the U-Boot mailing list