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

Subversion Repositories or1k_old

[/] [or1k_old/] [trunk/] [rc203soc/] [sw/] [uClinux/] [include/] [asm-armnommu/] [arch-a5k/] [serial.h] - Blame information for rev 1782

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1633 jcastillo
/*
2
 * linux/include/asm-arm/arch-a5k/serial.h
3
 *
4
 * Copyright (c) 1996 Russell King.
5
 *
6
 * Changelog:
7
 *  15-10-1996  RMK     Created
8
 */
9
#ifndef __ASM_ARCH_SERIAL_H
10
#define __ASM_ARCH_SERIAL_H
11
 
12
/*
13
 * This assumes you have a 1.8432 MHz clock for your UART.
14
 *
15
 * It'd be nice if someone built a serial card with a 24.576 MHz
16
 * clock, since the 16550A is capable of handling a top speed of 1.5
17
 * megabits/second; but this requires the faster clock.
18
 */
19
#define BASE_BAUD (1843200 / 16)
20
 
21
#define STD_COM_FLAGS (ASYNC_BOOT_AUTOCONF | ASYNC_SKIP_TEST)
22
 
23
     /* UART CLK        PORT  IRQ     FLAGS        */
24
#define RS_UARTS \
25
        { 0, BASE_BAUD, 0x3F8, 10, STD_COM_FLAGS },      /* ttyS0 */     \
26
        { 0, BASE_BAUD, 0x2F8, 10, STD_COM_FLAGS },      /* ttyS1 */     \
27
        { 0, BASE_BAUD, 0    ,  0, STD_COM_FLAGS },        /* ttyS2 */     \
28
        { 0, BASE_BAUD, 0    ,  0, STD_COM_FLAGS },        /* ttyS3 */     \
29
        { 0, BASE_BAUD, 0    ,  0, STD_COM_FLAGS },        /* ttyS4 */     \
30
        { 0, BASE_BAUD, 0    ,  0, STD_COM_FLAGS },        /* ttyS5 */     \
31
        { 0, BASE_BAUD, 0    ,  0, STD_COM_FLAGS },        /* ttyS6 */     \
32
        { 0, BASE_BAUD, 0    ,  0, STD_COM_FLAGS },        /* ttyS7 */     \
33
        { 0, BASE_BAUD, 0    ,  0, STD_COM_FLAGS },        /* ttyS8 */     \
34
        { 0, BASE_BAUD, 0    ,  0, STD_COM_FLAGS },        /* ttyS9 */     \
35
        { 0, BASE_BAUD, 0    ,  0, STD_COM_FLAGS },        /* ttyS10 */    \
36
        { 0, BASE_BAUD, 0    ,  0, STD_COM_FLAGS },        /* ttyS11 */    \
37
        { 0, BASE_BAUD, 0    ,  0, STD_COM_FLAGS },        /* ttyS12 */    \
38
        { 0, BASE_BAUD, 0    ,  0, STD_COM_FLAGS },        /* ttyS13 */
39
 
40
#endif

powered by: WebSVN 2.1.0

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