diff options
author | wanzongshun <mcuos.com@gmail.com> | 2008-12-02 21:55:38 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2008-12-03 16:57:16 -0500 |
commit | 7ec80ddf0455ff3854a5ca524952d91b5eb676b2 (patch) | |
tree | be9c2a70b771a9d94844b7f37e63471e7bbaff6a /arch/arm/mach-w90x900/include/mach/regs-serial.h | |
parent | c5b84b3bb0c055d70dc9f1b5e900378bc9d059ea (diff) |
[ARM] 5338/1: Add Nuvoton W90P910 Platform support
Add Nuvoton W90X900 ARM9 plat support to linux arm tree,
Now, this patch include only W90P910 EVB of W90P910 CPU,
Its driver is nothing.
Signed-off-by: Wan ZongShun <mcuos.com@gmail.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-w90x900/include/mach/regs-serial.h')
-rw-r--r-- | arch/arm/mach-w90x900/include/mach/regs-serial.h | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/arch/arm/mach-w90x900/include/mach/regs-serial.h b/arch/arm/mach-w90x900/include/mach/regs-serial.h new file mode 100644 index 000000000000..f08fa0d75e11 --- /dev/null +++ b/arch/arm/mach-w90x900/include/mach/regs-serial.h | |||
@@ -0,0 +1,59 @@ | |||
1 | /* | ||
2 | * arch/arm/mach-w90x900/include/mach/regs-serial.h | ||
3 | * | ||
4 | * Copyright (c) 2008 Nuvoton technology corporation | ||
5 | * All rights reserved. | ||
6 | * | ||
7 | * Wan ZongShun <mcuos.com@gmail.com> | ||
8 | * | ||
9 | * Based on arch/arm/mach-s3c2410/include/mach/regs-serial.h | ||
10 | * | ||
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. | ||
15 | * | ||
16 | */ | ||
17 | |||
18 | #ifndef __ASM_ARM_REGS_SERIAL_H | ||
19 | #define __ASM_ARM_REGS_SERIAL_H | ||
20 | |||
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) | ||
26 | |||
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) | ||
32 | |||
33 | #ifndef __ASSEMBLY__ | ||
34 | |||
35 | struct w90x900_uart_clksrc { | ||
36 | const char *name; | ||
37 | unsigned int divisor; | ||
38 | unsigned int min_baud; | ||
39 | unsigned int max_baud; | ||
40 | }; | ||
41 | |||
42 | struct w90x900_uartcfg { | ||
43 | unsigned char hwport; | ||
44 | unsigned char unused; | ||
45 | unsigned short flags; | ||
46 | unsigned long uart_flags; | ||
47 | |||
48 | unsigned long ucon; | ||
49 | unsigned long ulcon; | ||
50 | unsigned long ufcon; | ||
51 | |||
52 | struct w90x900_uart_clksrc *clocks; | ||
53 | unsigned int clocks_size; | ||
54 | }; | ||
55 | |||
56 | #endif /* __ASSEMBLY__ */ | ||
57 | |||
58 | #endif /* __ASM_ARM_REGS_SERIAL_H */ | ||
59 | |||