]>
git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blob - include/uapi/linux/serial_core.h
2 * linux/drivers/char/serial_core.h
4 * Copyright (C) 2000 Deep Blue Solutions Ltd.
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.
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.
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
20 #ifndef _UAPILINUX_SERIAL_CORE_H
21 #define _UAPILINUX_SERIAL_CORE_H
23 #include <linux/serial.h>
26 * The type definitions. These are from Ted Ts'o's serial.h
28 #define PORT_UNKNOWN 0
35 #define PORT_16650V2 7
37 #define PORT_STARTECH 9
38 #define PORT_16C950 10
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_TEGRA 20 /* NVIDIA Tegra internal UART */
49 #define PORT_XR17D15X 21 /* Exar XR17D15x UART */
50 #define PORT_LPC3220 22 /* NXP LPC32xx SoC "Standard" UART */
51 #define PORT_8250_CIR 23 /* CIR infrared port, has its own driver */
52 #define PORT_XR17V35X 24 /* Exar XR17V35x UARTs */
53 #define PORT_BRCM_TRUMANAGE 25
54 #define PORT_ALTR_16550_F32 26 /* Altera 16550 UART with 32 FIFOs */
55 #define PORT_ALTR_16550_F64 27 /* Altera 16550 UART with 64 FIFOs */
56 #define PORT_ALTR_16550_F128 28 /* Altera 16550 UART with 128 FIFOs */
57 #define PORT_RT2880 29 /* Ralink RT2880 internal UART */
58 #define PORT_MAX_8250 29 /* max port ID */
61 * ARM specific type numbers. These are not currently guaranteed
62 * to be implemented, and will change in the future. These are
63 * separate so any additions to the old serial.c that occur before
64 * we are merged can be easily merged here.
68 #define PORT_CLPS711X 33
69 #define PORT_SA1100 34
70 #define PORT_UART00 35
73 /* Sparc type numbers. */
74 #define PORT_SUNZILOG 38
75 #define PORT_SUNSAB 39
81 /* Parisc type numbers. */
84 /* Atmel AT91 / AT32 SoC */
87 /* Macintosh Zilog type numbers */
88 #define PORT_MAC_ZILOG 50 /* m68k : not yet implemented */
89 #define PORT_PMAC_ZILOG 51
96 /* Samsung S3C2410 SoC and derivatives thereof */
97 #define PORT_S3C2410 55
99 /* SGI IP22 aka Indy / Challenge S / Indigo 2 */
100 #define PORT_IP22ZILOG 56
102 /* Sharp LH7a40x -- an ARM9 SoC series */
103 #define PORT_LH7A40X 57
105 /* PPC CPM type number */
108 /* MPC52xx (and MPC512x) type numbers */
109 #define PORT_MPC52xx 59
114 /* Samsung S3C2440 SoC */
115 #define PORT_S3C2440 61
117 /* Motorola i.MX SoC */
123 /* TXX9 type number */
126 /* NEC VR4100 series SIU/DSIU */
127 #define PORT_VR41XX_SIU 65
128 #define PORT_VR41XX_DSIU 66
130 /* Samsung S3C2400 SoC */
131 #define PORT_S3C2400 67
134 #define PORT_M32R_SIO 68
139 #define PORT_PNX8XXX 70
144 /* SUN4V Hypervisor Console */
145 #define PORT_SUNHV 72
147 #define PORT_S3C2412 73
149 /* Xilinx uartlite */
150 #define PORT_UARTLITE 74
156 #define PORT_KS8695 76
158 /* Broadcom SB1250, etc. SOC */
159 #define PORT_SB1250_DUART 77
161 /* Freescale ColdFire */
165 #define PORT_BFIN_SPORT 79
167 /* MN10300 on-chip UART numbers */
168 #define PORT_MN10300 80
169 #define PORT_MN10300_CTS 81
171 #define PORT_SC26XX 82
174 #define PORT_SCIFA 83
176 #define PORT_S3C6400 84
179 #define PORT_NWPSERIAL 85
182 #define PORT_MAX3100 86
184 /* Timberdale UART */
185 #define PORT_TIMBUART 87
187 /* Qualcomm MSM SoCs */
190 /* BCM63xx family SoCs */
191 #define PORT_BCM63XX 89
193 /* Aeroflex Gaisler GRLIB APBUART */
194 #define PORT_APBUART 90
197 #define PORT_ALTERA_JTAGUART 91
198 #define PORT_ALTERA_UART 92
201 #define PORT_SCIFB 93
204 #define PORT_MAX310X 94
206 /* High Speed UART for Medfield */
213 #define PORT_VT8500 97
215 /* Cadence (Xilinx Zynq) UART */
216 #define PORT_XUARTPS 98
218 /* Atheros AR933X SoC */
219 #define PORT_AR933X 99
221 /* Energy Micro efm32 SoC */
222 #define PORT_EFMUART 100
224 /* ARC (Synopsys) on-chip UART */
227 /* Rocketport EXPRESS/INFINITY */
230 /* Freescale lpuart */
231 #define PORT_LPUART 103
234 #define PORT_HSCIF 104
236 /* ST ASC type numbers */
239 /* Tilera TILE-Gx UART */
240 #define PORT_TILEGX 106
242 /* MEN 16z135 UART */
243 #define PORT_MEN_Z135 107
246 #define PORT_SC16IS7XX 108
249 #define PORT_MESON 109
251 /* Conexant Digicolor */
252 #define PORT_DIGICOLOR 110
254 #endif /* _UAPILINUX_SERIAL_CORE_H */