Path: blob/master/arch/xtensa/platforms/xt2000/include/platform/serial.h
15172 views
/*1* platform/serial.h2*3* This file is subject to the terms and conditions of the GNU General Public4* License. See the file "COPYING" in the main directory of this archive5* for more details.6*7* Copyright (C) 2001 Tensilica Inc.8*/910#ifndef _XTENSA_XT2000_SERIAL_H11#define _XTENSA_XT2000_SERIAL_H1213#include <variant/core.h>14#include <asm/io.h>1516/* National-Semi PC16552D DUART: */1718#define DUART16552_1_INTNUM XCHAL_EXTINT4_NUM19#define DUART16552_2_INTNUM XCHAL_EXTINT5_NUM2021#define DUART16552_1_ADDR IOADDR(0x0d050020) /* channel 1 */22#define DUART16552_2_ADDR IOADDR(0x0d050000) /* channel 2 */2324#define DUART16552_XTAL_FREQ 18432000 /* crystal frequency in Hz */25#define BASE_BAUD ( DUART16552_XTAL_FREQ / 16 )2627#endif /* _XTENSA_XT2000_SERIAL_H */282930