mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-11 11:58:06 +02:00
dc3d3f1c49
it's basically also provided by ingenic and nativly based on 2.6.27, adjusted to fit into the OpenWrt-environment
31 lines
793 B
C
31 lines
793 B
C
/*
|
|
* linux/include/asm-mips/mach-jz4750d/serial.h
|
|
*
|
|
* Ingenic's JZ4750D common include.
|
|
*
|
|
* Copyright (C) 2008 Ingenic Semiconductor Inc.
|
|
*
|
|
* Author: <cwjia@ingenic.cn>
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
* published by the Free Software Foundation.
|
|
*/
|
|
|
|
#ifndef __ASM_BOARD_SERIAL_H__
|
|
#define __ASM_BOARD_SERIAL_H__
|
|
|
|
#ifndef CONFIG_SERIAL_MANY_PORTS
|
|
#undef RS_TABLE_SIZE
|
|
#define RS_TABLE_SIZE 1
|
|
#endif
|
|
|
|
#define JZ_BASE_BAUD (12000000/16)
|
|
|
|
#define JZ_SERIAL_PORT_DEFNS \
|
|
{ .baud_base = JZ_BASE_BAUD, .irq = IRQ_UART0, \
|
|
.flags = STD_COM_FLAGS, .iomem_base = (u8 *)UART0_BASE, \
|
|
.iomem_reg_shift = 2, .io_type = SERIAL_IO_MEM },
|
|
|
|
#endif /* __ASM_BORAD_SERIAL_H__ */
|