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-trio/] [serial.h] - Diff between revs 1765 and 1782

Only display areas with differences | Details | Blame | View Log

Rev 1765 Rev 1782
/*
/*
 * linux/include/asm-arm/arch-a5k/serial.h
 * linux/include/asm-arm/arch-a5k/serial.h
 *
 *
 * Copyright (c) 1996 Russell King.
 * Copyright (c) 1996 Russell King.
 *
 *
 * Changelog:
 * Changelog:
 *  15-10-1996  RMK     Created
 *  15-10-1996  RMK     Created
 */
 */
#ifndef __ASM_ARCH_SERIAL_H
#ifndef __ASM_ARCH_SERIAL_H
#define __ASM_ARCH_SERIAL_H
#define __ASM_ARCH_SERIAL_H
 
 
/*
/*
 * This assumes you have a 1.8432 MHz clock for your UART.
 * This assumes you have a 1.8432 MHz clock for your UART.
 *
 *
 * It'd be nice if someone built a serial card with a 24.576 MHz
 * It'd be nice if someone built a serial card with a 24.576 MHz
 * clock, since the 16550A is capable of handling a top speed of 1.5
 * clock, since the 16550A is capable of handling a top speed of 1.5
 * megabits/second; but this requires the faster clock.
 * megabits/second; but this requires the faster clock.
 */
 */
#define BASE_BAUD (1843200 / 16)
#define BASE_BAUD (1843200 / 16)
 
 
#define STD_COM_FLAGS (ASYNC_BOOT_AUTOCONF | ASYNC_SKIP_TEST)
#define STD_COM_FLAGS (ASYNC_BOOT_AUTOCONF | ASYNC_SKIP_TEST)
 
 
     /* UART CLK        PORT  IRQ     FLAGS        */
     /* UART CLK        PORT  IRQ     FLAGS        */
#define RS_UARTS \
#define RS_UARTS \
        { 0, BASE_BAUD, 0x3F8, 10, STD_COM_FLAGS },      /* ttyS0 */     \
        { 0, BASE_BAUD, 0x3F8, 10, STD_COM_FLAGS },      /* ttyS0 */     \
        { 0, BASE_BAUD, 0x2F8, 10, STD_COM_FLAGS }       /* ttyS1 */
        { 0, BASE_BAUD, 0x2F8, 10, STD_COM_FLAGS }       /* ttyS1 */
 
 
 
 
#endif
#endif
 
 

powered by: WebSVN 2.1.0

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