14#define UART_BASE (ULONG_PTR)0x101F1000
16#define UART_PL01x_DR (UART_BASE + 0x00)
17#define UART_PL01x_RSR (UART_BASE + 0x04)
18#define UART_PL01x_ECR (UART_BASE + 0x04)
19#define UART_PL01x_FR (UART_BASE + 0x18)
20#define UART_PL011_IBRD (UART_BASE + 0x24)
21#define UART_PL011_FBRD (UART_BASE + 0x28)
22#define UART_PL011_LCRH (UART_BASE + 0x2C)
23#define UART_PL011_CR (UART_BASE + 0x30)
24#define UART_PL011_IMSC (UART_BASE + 0x38)
34#define UART_PL011_LCRH_WLEN_8 0x60
35#define UART_PL011_LCRH_FEN 0x10
45#define UART_PL011_CR_UARTEN 0x01
46#define UART_PL011_CR_TXE 0x100
47#define UART_PL011_CR_RXE 0x200
57#define UART_PL01x_FR_RXFE 0x10
58#define UART_PL01x_FR_TXFF 0x20
union _PL011_FCR_REGISTER PL011_FCR_REGISTER
union _PL011_FCR_REGISTER * PPL011_FCR_REGISTER
union _PL011_LSR_REGISTER * PPL011_LSR_REGISTER
union _PL011_LCR_REGISTER * PPL011_LCR_REGISTER
union _PL011_LCR_REGISTER PL011_LCR_REGISTER
union _PL011_LSR_REGISTER PL011_LSR_REGISTER