2 * Copyright 2005-2009 Analog Devices Inc.
4 * Licensed under the GPL-2 or later
7 #ifndef _MACH_BLACKFIN_H_
8 #define _MACH_BLACKFIN_H_
16 #if !defined(__ASSEMBLY__)
17 #include "cdefBF532.h"
20 #define BFIN_UART_NR_PORTS 1
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 */
35 #endif /* _MACH_BLACKFIN_H_ */