summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libcpu/arm/at91rm9200/include/at91rm9200.h
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2009-11-21 15:45:32 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2009-11-21 15:45:32 +0000
commit4eee8434e151fd542232fcee346d8c7e13fe92c3 (patch)
tree6972c41d85c8a5a57530c79fd06288b21e4104ff /c/src/lib/libcpu/arm/at91rm9200/include/at91rm9200.h
parentnumerous changes (diff)
downloadrtems-4eee8434e151fd542232fcee346d8c7e13fe92c3.tar.bz2
2009-11-21 Fernando Nicodemos <fgnicodemos@terra.com.br>
* Makefile.am, preinstall.am, at91rm9200/include/at91rm9200.h: Add initial support for USART on at91rm9200. * at91rm9200/include/at91rm9200_usart.h, at91rm9200/usart/usart.c: New files.
Diffstat (limited to '')
-rw-r--r--c/src/lib/libcpu/arm/at91rm9200/include/at91rm9200.h24
1 files changed, 20 insertions, 4 deletions
diff --git a/c/src/lib/libcpu/arm/at91rm9200/include/at91rm9200.h b/c/src/lib/libcpu/arm/at91rm9200/include/at91rm9200.h
index ab80442631..99346dbaa0 100644
--- a/c/src/lib/libcpu/arm/at91rm9200/include/at91rm9200.h
+++ b/c/src/lib/libcpu/arm/at91rm9200/include/at91rm9200.h
@@ -1,16 +1,21 @@
/*
- * Atmel AT91RM9200 Register definitions
+ * Atmel AT91RM9200 Register definitions, used in KIT637_V6 (CSB637)
*
* Copyright (c) 2003 by Cogent Computer Systems
* Written by Mike Kelly <mike@cogcomp.com>
- *
+ *
+ * Modified by Fernando Nicodemos <fgnicodemos@terra.com.br>
+ * from NCB - Sistemas Embarcados Ltda. (Brazil)
+ *
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
*
* http://www.rtems.com/license/LICENSE.
*
* $Id$
- */
+*/
+
+
#ifndef __AT91RM9200_H__
#define __AT91RM9200_H__
@@ -103,7 +108,7 @@ typedef volatile unsigned long vulong;
#define AIC_SMR_SRC_EDGE_HI (3 << 5)
/**************************************************************************/
-/* Debug Unit */
+/* Debug Unit */
/**************************************************************************/
#define DBGU_BASE 0xFFFFF200
#define DBGU_REG(_x_) *(vulong *)(DBGU_BASE + _x_)
@@ -122,6 +127,17 @@ typedef volatile unsigned long vulong;
#define DBGU_C2R 0x44 /* Chip ID2 Register */
#define DBGU_FNTR 0x48 /* Force NTRST Register */
+/**************************************************************************/
+/* USART 0-3 */
+/**************************************************************************/
+#define USART0_BASE 0xFFFC0000
+#define USART1_BASE 0xFFFC4000
+#define USART2_BASE 0xFFFC8000
+#define USART3_BASE 0xFFFCC000
+/**** The USART3_BASE at the AT91RM9200 Manual is wrong ****/
+/**** Manual revision: Rev. 1768H-ATARM–16-Jun-09 ****/
+//#define USART3_BASE 0xFFECC000
+
/****************/
/* System Timer */
/****************/