OMAP3: SR: Reset voltage level on SR disable
[linux-ginger.git] / arch / arm / mach-w90x900 / include / mach / regs-serial.h
blobf08fa0d75e1136f615cb9210f99251ca906b1067
1 /*
2 * arch/arm/mach-w90x900/include/mach/regs-serial.h
4 * Copyright (c) 2008 Nuvoton technology corporation
5 * All rights reserved.
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)
33 #ifndef __ASSEMBLY__
35 struct w90x900_uart_clksrc {
36 const char *name;
37 unsigned int divisor;
38 unsigned int min_baud;
39 unsigned int max_baud;
42 struct w90x900_uartcfg {
43 unsigned char hwport;
44 unsigned char unused;
45 unsigned short flags;
46 unsigned long uart_flags;
48 unsigned long ucon;
49 unsigned long ulcon;
50 unsigned long ufcon;
52 struct w90x900_uart_clksrc *clocks;
53 unsigned int clocks_size;
56 #endif /* __ASSEMBLY__ */
58 #endif /* __ASM_ARM_REGS_SERIAL_H */