5 * Copyright (c) 2004 Cucy Systems (http://www.cucy.com)
6 * Curt Brune <curt@cucy.com>
8 * See file CREDITS for list of people who contributed to this
11 * This program is free software; you can redistribute it and/or
12 * modify it under the terms of the GNU General Public License as
13 * published by the Free Software Foundation; either version 2 of
14 * the License, or (at your option) any later version.
16 * This program is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU General Public License for more details.
21 * You should have received a copy of the GNU General Public License
22 * along with this program; if not, write to the Free Software
23 * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
26 * Description: S3C4510B UART register layout
29 /* UART LINE CONTROL register */
30 typedef struct __BF_UART_LINE_CTRL {
39 typedef union _UART_LINE_CTRL {
44 /* UART CONTROL register */
45 typedef struct __BF_UART_CTRL {
55 typedef union _UART_CTRL {
60 /* UART STATUS register */
61 typedef struct __BF_UART_STAT {
73 typedef union _UART_STAT {
78 /* UART BAUD_DIV register */
79 typedef struct __BF_UART_BAUD_DIV {
85 typedef union _UART_BAUD_DIV {
90 /* UART register block */
91 typedef struct __UART {
92 volatile UART_LINE_CTRL m_lineCtrl;
93 volatile UART_CTRL m_ctrl;
94 volatile UART_STAT m_stat;
97 volatile UART_BAUD_DIV m_baudDiv;
98 volatile u32 m_baudCnt;
99 volatile u32 m_baudClk;