2 * arch/arm/mach-w90x900/include/mach/regs-serial.h
4 * Copyright (c) 2008 Nuvoton technology corporation
7 * Wan ZongShun <mcuos.com@gmail.com>
9 * Based on arch/arm/mach-s3c2410/include/mach/regs-serial.h
11 * This program is free software; you can redistribute it and/or modify
12 * it under the terms of the GNU General Public License as published by
13 * the Free Software Foundation; either version 2 of the License, or
14 * (at your option) any later version.
18 #ifndef __ASM_ARM_REGS_SERIAL_H
19 #define __ASM_ARM_REGS_SERIAL_H
21 #define UART0_BA W90X900_VA_UART
22 #define UART1_BA (W90X900_VA_UART+0x100)
23 #define UART2_BA (W90X900_VA_UART+0x200)
24 #define UART3_BA (W90X900_VA_UART+0x300)
25 #define UART4_BA (W90X900_VA_UART+0x400)
27 #define UART0_PA W90X900_PA_UART
28 #define UART1_PA (W90X900_PA_UART+0x100)
29 #define UART2_PA (W90X900_PA_UART+0x200)
30 #define UART3_PA (W90X900_PA_UART+0x300)
31 #define UART4_PA (W90X900_PA_UART+0x400)
35 struct w90x900_uart_clksrc
{
38 unsigned int min_baud
;
39 unsigned int max_baud
;
42 struct w90x900_uartcfg
{
46 unsigned long uart_flags
;
52 struct w90x900_uart_clksrc
*clocks
;
53 unsigned int clocks_size
;
56 #endif /* __ASSEMBLY__ */
58 #endif /* __ASM_ARM_REGS_SERIAL_H */