staging: rtl8192u: remove redundant assignment to pointer crypt
[linux/fpc-iii.git] / arch / arm / mach-w90x900 / include / mach / regs-serial.h
blob797c9727a15704cd6baad42e8290a057fd0abf23
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /*
3 * arch/arm/mach-w90x900/include/mach/regs-serial.h
5 * Copyright (c) 2008 Nuvoton technology corporation
6 * All rights reserved.
8 * Wan ZongShun <mcuos.com@gmail.com>
10 * Based on arch/arm/mach-s3c2410/include/mach/regs-serial.h
13 #ifndef __ASM_ARM_REGS_SERIAL_H
14 #define __ASM_ARM_REGS_SERIAL_H
16 #define UART0_BA W90X900_VA_UART
17 #define UART1_BA (W90X900_VA_UART+0x100)
18 #define UART2_BA (W90X900_VA_UART+0x200)
19 #define UART3_BA (W90X900_VA_UART+0x300)
20 #define UART4_BA (W90X900_VA_UART+0x400)
22 #define UART0_PA W90X900_PA_UART
23 #define UART1_PA (W90X900_PA_UART+0x100)
24 #define UART2_PA (W90X900_PA_UART+0x200)
25 #define UART3_PA (W90X900_PA_UART+0x300)
26 #define UART4_PA (W90X900_PA_UART+0x400)
28 #ifndef __ASSEMBLY__
30 struct w90x900_uart_clksrc {
31 const char *name;
32 unsigned int divisor;
33 unsigned int min_baud;
34 unsigned int max_baud;
37 struct w90x900_uartcfg {
38 unsigned char hwport;
39 unsigned char unused;
40 unsigned short flags;
41 unsigned long uart_flags;
43 unsigned long ucon;
44 unsigned long ulcon;
45 unsigned long ufcon;
47 struct w90x900_uart_clksrc *clocks;
48 unsigned int clocks_size;
51 #endif /* __ASSEMBLY__ */
53 #endif /* __ASM_ARM_REGS_SERIAL_H */