Path: blob/master/arch/arm/mach-nuc93x/include/mach/regs-serial.h
17723 views
/*1* arch/arm/mach-nuc93x/include/mach/regs-serial.h2*3* Copyright (c) 2008 Nuvoton technology corporation4* All rights reserved.5*6* Wan ZongShun <[email protected]>7*8* This program is free software; you can redistribute it and/or modify9* it under the terms of the GNU General Public License as published by10* the Free Software Foundation; either version 2 of the License, or11* (at your option) any later version.12*13*/1415#ifndef __ASM_ARM_REGS_SERIAL_H16#define __ASM_ARM_REGS_SERIAL_H1718#define UART0_BA NUC93X_VA_UART19#define UART1_BA (NUC93X_VA_UART+0x100)2021#define UART0_PA NUC93X_PA_UART22#define UART1_PA (NUC93X_PA_UART+0x100)232425#ifndef __ASSEMBLY__2627struct nuc93x_uart_clksrc {28const char *name;29unsigned int divisor;30unsigned int min_baud;31unsigned int max_baud;32};3334struct nuc93x_uartcfg {35unsigned char hwport;36unsigned char unused;37unsigned short flags;38unsigned long uart_flags;3940unsigned long ucon;41unsigned long ulcon;42unsigned long ufcon;4344struct nuc93x_uart_clksrc *clocks;45unsigned int clocks_size;46};4748#endif /* __ASSEMBLY__ */4950#endif /* __ASM_ARM_REGS_SERIAL_H */51525354