Merge remote-tracking branch 'moduleh/module.h-split'
[linux-2.6/next.git] / arch / arm / mach-nuc93x / include / mach / regs-serial.h
blob767a047a8bc27f43f9e9c193fcb0c367202e21e2
1 /*
2 * arch/arm/mach-nuc93x/include/mach/regs-serial.h
4 * Copyright (c) 2008 Nuvoton technology corporation
5 * All rights reserved.
7 * Wan ZongShun <mcuos.com@gmail.com>
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License as published by
11 * the Free Software Foundation; either version 2 of the License, or
12 * (at your option) any later version.
16 #ifndef __ASM_ARM_REGS_SERIAL_H
17 #define __ASM_ARM_REGS_SERIAL_H
19 #define UART0_BA NUC93X_VA_UART
20 #define UART1_BA (NUC93X_VA_UART+0x100)
22 #define UART0_PA NUC93X_PA_UART
23 #define UART1_PA (NUC93X_PA_UART+0x100)
26 #ifndef __ASSEMBLY__
28 struct nuc93x_uart_clksrc {
29 const char *name;
30 unsigned int divisor;
31 unsigned int min_baud;
32 unsigned int max_baud;
35 struct nuc93x_uartcfg {
36 unsigned char hwport;
37 unsigned char unused;
38 unsigned short flags;
39 unsigned long uart_flags;
41 unsigned long ucon;
42 unsigned long ulcon;
43 unsigned long ufcon;
45 struct nuc93x_uart_clksrc *clocks;
46 unsigned int clocks_size;
49 #endif /* __ASSEMBLY__ */
51 #endif /* __ASM_ARM_REGS_SERIAL_H */