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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [rc203soc/] [sw/] [uClinux/] [include/] [asm-armnommu/] [arch-trio/] [serial.h] - Blame information for rev 1765

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
 
28
 
29
#endif

powered by: WebSVN 2.1.0

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