2 * (C) Copyright 2015 Rockchip Electronics Co., Ltd
4 * SPDX-License-Identifier: GPL-2.0+
7 #ifndef __ASM_ARCH_UART_H
8 #define __ASM_ARCH_UART_H
10 unsigned int rbr; /* Receive buffer register. */
11 unsigned int ier; /* Interrupt enable register. */
12 unsigned int fcr; /* FIFO control register. */
13 unsigned int lcr; /* Line control register. */
14 unsigned int mcr; /* Modem control register. */
15 unsigned int lsr; /* Line status register. */
16 unsigned int msr; /* Modem status register. */
18 unsigned int reserved1[(0x30 - 0x20) / 4];
19 unsigned int srbr[(0x70 - 0x30) / 4];
35 unsigned int reserver2[(0xf4 - 0xac) / 4];
41 void rk_uart_init(void *base);
42 void print_hex(unsigned int n);