• Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/toolchains/hndtools-arm-linux-2.6.36-uclibc-4.5.3/arm-linux/sysroot/usr/include/linux/
1/*
2 *  linux/drivers/char/serial_core.h
3 *
4 *  Copyright (C) 2000 Deep Blue Solutions Ltd.
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
19 */
20#ifndef LINUX_SERIAL_CORE_H
21#define LINUX_SERIAL_CORE_H
22
23#include <linux/serial.h>
24
25/*
26 * The type definitions.  These are from Ted Ts'o's serial.h
27 */
28#define PORT_UNKNOWN	0
29#define PORT_8250	1
30#define PORT_16450	2
31#define PORT_16550	3
32#define PORT_16550A	4
33#define PORT_CIRRUS	5
34#define PORT_16650	6
35#define PORT_16650V2	7
36#define PORT_16750	8
37#define PORT_STARTECH	9
38#define PORT_16C950	10
39#define PORT_16654	11
40#define PORT_16850	12
41#define PORT_RSA	13
42#define PORT_NS16550A	14
43#define PORT_XSCALE	15
44#define PORT_RM9000	16	/* PMC-Sierra RM9xxx internal UART */
45#define PORT_OCTEON	17	/* Cavium OCTEON internal UART */
46#define PORT_AR7	18	/* Texas Instruments AR7 internal UART */
47#define PORT_U6_16550A	19	/* ST-Ericsson U6xxx internal UART */
48#define PORT_MAX_8250	19	/* max port ID */
49
50/*
51 * ARM specific type numbers.  These are not currently guaranteed
52 * to be implemented, and will change in the future.  These are
53 * separate so any additions to the old serial.c that occur before
54 * we are merged can be easily merged here.
55 */
56#define PORT_PXA	31
57#define PORT_AMBA	32
58#define PORT_CLPS711X	33
59#define PORT_SA1100	34
60#define PORT_UART00	35
61#define PORT_21285	37
62
63/* Sparc type numbers.  */
64#define PORT_SUNZILOG	38
65#define PORT_SUNSAB	39
66
67/* DEC */
68#define PORT_DZ		46
69#define PORT_ZS		47
70
71/* Parisc type numbers. */
72#define PORT_MUX	48
73
74/* Atmel AT91 / AT32 SoC */
75#define PORT_ATMEL	49
76
77/* Macintosh Zilog type numbers */
78#define PORT_MAC_ZILOG	50	/* m68k : not yet implemented */
79#define PORT_PMAC_ZILOG	51
80
81/* SH-SCI */
82#define PORT_SCI	52
83#define PORT_SCIF	53
84#define PORT_IRDA	54
85
86/* Samsung S3C2410 SoC and derivatives thereof */
87#define PORT_S3C2410    55
88
89/* SGI IP22 aka Indy / Challenge S / Indigo 2 */
90#define PORT_IP22ZILOG	56
91
92/* Sharp LH7a40x -- an ARM9 SoC series */
93#define PORT_LH7A40X	57
94
95/* PPC CPM type number */
96#define PORT_CPM        58
97
98/* MPC52xx type numbers */
99#define PORT_MPC52xx	59
100
101/* IBM icom */
102#define PORT_ICOM	60
103
104/* Samsung S3C2440 SoC */
105#define PORT_S3C2440	61
106
107/* Motorola i.MX SoC */
108#define PORT_IMX	62
109
110/* Marvell MPSC */
111#define PORT_MPSC	63
112
113/* TXX9 type number */
114#define PORT_TXX9	64
115
116/* NEC VR4100 series SIU/DSIU */
117#define PORT_VR41XX_SIU		65
118#define PORT_VR41XX_DSIU	66
119
120/* Samsung S3C2400 SoC */
121#define PORT_S3C2400	67
122
123/* M32R SIO */
124#define PORT_M32R_SIO	68
125
126/*Digi jsm */
127#define PORT_JSM        69
128
129#define PORT_PNX8XXX	70
130
131/* Hilscher netx */
132#define PORT_NETX	71
133
134/* SUN4V Hypervisor Console */
135#define PORT_SUNHV	72
136
137#define PORT_S3C2412	73
138
139/* Xilinx uartlite */
140#define PORT_UARTLITE	74
141
142/* Blackfin bf5xx */
143#define PORT_BFIN	75
144
145/* Micrel KS8695 */
146#define PORT_KS8695	76
147
148/* Broadcom SB1250, etc. SOC */
149#define PORT_SB1250_DUART	77
150
151/* Freescale ColdFire */
152#define PORT_MCF	78
153
154/* Blackfin SPORT */
155#define PORT_BFIN_SPORT		79
156
157/* MN10300 on-chip UART numbers */
158#define PORT_MN10300		80
159#define PORT_MN10300_CTS	81
160
161#define PORT_SC26XX	82
162
163/* SH-SCI */
164#define PORT_SCIFA	83
165
166#define PORT_S3C6400	84
167
168/* NWPSERIAL */
169#define PORT_NWPSERIAL	85
170
171/* MAX3100 */
172#define PORT_MAX3100    86
173
174/* Timberdale UART */
175#define PORT_TIMBUART	87
176
177/* Qualcomm MSM SoCs */
178#define PORT_MSM	88
179
180/* BCM63xx family SoCs */
181#define PORT_BCM63XX	89
182
183/* Aeroflex Gaisler GRLIB APBUART */
184#define PORT_APBUART    90
185
186/* Altera UARTs */
187#define PORT_ALTERA_JTAGUART	91
188#define PORT_ALTERA_UART	92
189
190/* SH-SCI */
191#define PORT_SCIFB	93
192
193/* MAX3107 */
194#define PORT_MAX3107	94
195
196/* High Speed UART for Medfield */
197#define PORT_MFD	95
198
199
200#endif /* LINUX_SERIAL_CORE_H */
201