Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-2.6
[linux-2.6.git] / arch / blackfin / mach-bf533 / include / mach / blackfin.h
1 /*
2  * Copyright 2005-2009 Analog Devices Inc.
3  *
4  * Licensed under the GPL-2 or later
5  */
6
7 #ifndef _MACH_BLACKFIN_H_
8 #define _MACH_BLACKFIN_H_
9
10 #define BF533_FAMILY
11
12 #include "bf533.h"
13 #include "defBF532.h"
14 #include "anomaly.h"
15
16 #if !defined(__ASSEMBLY__)
17 #include "cdefBF532.h"
18 #endif
19
20 #define BFIN_UART_NR_PORTS      1
21
22 #define OFFSET_THR              0x00    /* Transmit Holding register            */
23 #define OFFSET_RBR              0x00    /* Receive Buffer register              */
24 #define OFFSET_DLL              0x00    /* Divisor Latch (Low-Byte)             */
25 #define OFFSET_IER              0x04    /* Interrupt Enable Register            */
26 #define OFFSET_DLH              0x04    /* Divisor Latch (High-Byte)            */
27 #define OFFSET_IIR              0x08    /* Interrupt Identification Register    */
28 #define OFFSET_LCR              0x0C    /* Line Control Register                */
29 #define OFFSET_MCR              0x10    /* Modem Control Register               */
30 #define OFFSET_LSR              0x14    /* Line Status Register                 */
31 #define OFFSET_MSR              0x18    /* Modem Status Register                */
32 #define OFFSET_SCR              0x1C    /* SCR Scratch Register                 */
33 #define OFFSET_GCTL             0x24    /* Global Control Register              */
34
35 #endif                          /* _MACH_BLACKFIN_H_ */