OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [linux/] [linux-2.4/] [include/] [asm-arm/] [arch-sa1100/] [serial.h] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1276 phoenix
/*
2
 * include/asm-arm/arch-sa1100/serial.h
3
 * (C) 1999 Nicolas Pitre <nico@cam.org>
4
 *
5
 * All this is intended to be used with a 16550-like UART on the SA1100's
6
 * PCMCIA bus.  It has nothing to do with the SA1100's internal serial ports.
7
 * This is included by serial.c -- serial_sa1100.c makes no use of it.
8
 */
9
 
10
 
11
/*
12
 * This assumes you have a 1.8432 MHz clock for your UART.
13
 *
14
 * It'd be nice if someone built a serial card with a 24.576 MHz
15
 * clock, since the 16550A is capable of handling a top speed of 1.5
16
 * megabits/second; but this requires the faster clock.
17
 */
18
#define BASE_BAUD ( 1843200 / 16 )
19
 
20
/* Standard COM flags */
21
#define STD_COM_FLAGS (ASYNC_BOOT_AUTOCONF | ASYNC_SKIP_TEST)
22
 
23
#define RS_TABLE_SIZE 4
24
 
25
 
26
/*
27
 * Rather empty table...
28
 * Hardwired serial ports should be defined here.
29
 * PCMCIA will fill it dynamically.
30
 */
31
#define STD_SERIAL_PORT_DEFNS   \
32
       /* UART  CLK             PORT            IRQ     FLAGS           */ \
33
        { 0,     BASE_BAUD,      0,               0,       STD_COM_FLAGS },   \
34
        { 0,     BASE_BAUD,      0,               0,       STD_COM_FLAGS },   \
35
        { 0,     BASE_BAUD,      0,               0,       STD_COM_FLAGS },   \
36
        { 0,     BASE_BAUD,      0,               0,       STD_COM_FLAGS }
37
 
38
#define EXTRA_SERIAL_PORT_DEFNS
39
 

powered by: WebSVN 2.1.0

© copyright 1999-2025 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.