1607ca46eSDavid Howells /* 2607ca46eSDavid Howells * linux/drivers/char/serial_core.h 3607ca46eSDavid Howells * 4607ca46eSDavid Howells * Copyright (C) 2000 Deep Blue Solutions Ltd. 5607ca46eSDavid Howells * 6607ca46eSDavid Howells * This program is free software; you can redistribute it and/or modify 7607ca46eSDavid Howells * it under the terms of the GNU General Public License as published by 8607ca46eSDavid Howells * the Free Software Foundation; either version 2 of the License, or 9607ca46eSDavid Howells * (at your option) any later version. 10607ca46eSDavid Howells * 11607ca46eSDavid Howells * This program is distributed in the hope that it will be useful, 12607ca46eSDavid Howells * but WITHOUT ANY WARRANTY; without even the implied warranty of 13607ca46eSDavid Howells * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14607ca46eSDavid Howells * GNU General Public License for more details. 15607ca46eSDavid Howells * 16607ca46eSDavid Howells * You should have received a copy of the GNU General Public License 17607ca46eSDavid Howells * along with this program; if not, write to the Free Software 18607ca46eSDavid Howells * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19607ca46eSDavid Howells */ 20607ca46eSDavid Howells #ifndef _UAPILINUX_SERIAL_CORE_H 21607ca46eSDavid Howells #define _UAPILINUX_SERIAL_CORE_H 22607ca46eSDavid Howells 23607ca46eSDavid Howells #include <linux/serial.h> 24607ca46eSDavid Howells 25607ca46eSDavid Howells /* 26607ca46eSDavid Howells * The type definitions. These are from Ted Ts'o's serial.h 27607ca46eSDavid Howells */ 28607ca46eSDavid Howells #define PORT_UNKNOWN 0 29607ca46eSDavid Howells #define PORT_8250 1 30607ca46eSDavid Howells #define PORT_16450 2 31607ca46eSDavid Howells #define PORT_16550 3 32607ca46eSDavid Howells #define PORT_16550A 4 33607ca46eSDavid Howells #define PORT_CIRRUS 5 34607ca46eSDavid Howells #define PORT_16650 6 35607ca46eSDavid Howells #define PORT_16650V2 7 36607ca46eSDavid Howells #define PORT_16750 8 37607ca46eSDavid Howells #define PORT_STARTECH 9 38607ca46eSDavid Howells #define PORT_16C950 10 39607ca46eSDavid Howells #define PORT_16654 11 40607ca46eSDavid Howells #define PORT_16850 12 41607ca46eSDavid Howells #define PORT_RSA 13 42607ca46eSDavid Howells #define PORT_NS16550A 14 43607ca46eSDavid Howells #define PORT_XSCALE 15 44607ca46eSDavid Howells #define PORT_RM9000 16 /* PMC-Sierra RM9xxx internal UART */ 45607ca46eSDavid Howells #define PORT_OCTEON 17 /* Cavium OCTEON internal UART */ 46607ca46eSDavid Howells #define PORT_AR7 18 /* Texas Instruments AR7 internal UART */ 47607ca46eSDavid Howells #define PORT_U6_16550A 19 /* ST-Ericsson U6xxx internal UART */ 48607ca46eSDavid Howells #define PORT_TEGRA 20 /* NVIDIA Tegra internal UART */ 49607ca46eSDavid Howells #define PORT_XR17D15X 21 /* Exar XR17D15x UART */ 50607ca46eSDavid Howells #define PORT_LPC3220 22 /* NXP LPC32xx SoC "Standard" UART */ 51607ca46eSDavid Howells #define PORT_8250_CIR 23 /* CIR infrared port, has its own driver */ 52607ca46eSDavid Howells #define PORT_MAX_8250 23 /* max port ID */ 53607ca46eSDavid Howells 54607ca46eSDavid Howells /* 55607ca46eSDavid Howells * ARM specific type numbers. These are not currently guaranteed 56607ca46eSDavid Howells * to be implemented, and will change in the future. These are 57607ca46eSDavid Howells * separate so any additions to the old serial.c that occur before 58607ca46eSDavid Howells * we are merged can be easily merged here. 59607ca46eSDavid Howells */ 60607ca46eSDavid Howells #define PORT_PXA 31 61607ca46eSDavid Howells #define PORT_AMBA 32 62607ca46eSDavid Howells #define PORT_CLPS711X 33 63607ca46eSDavid Howells #define PORT_SA1100 34 64607ca46eSDavid Howells #define PORT_UART00 35 65607ca46eSDavid Howells #define PORT_21285 37 66607ca46eSDavid Howells 67607ca46eSDavid Howells /* Sparc type numbers. */ 68607ca46eSDavid Howells #define PORT_SUNZILOG 38 69607ca46eSDavid Howells #define PORT_SUNSAB 39 70607ca46eSDavid Howells 71607ca46eSDavid Howells /* DEC */ 72607ca46eSDavid Howells #define PORT_DZ 46 73607ca46eSDavid Howells #define PORT_ZS 47 74607ca46eSDavid Howells 75607ca46eSDavid Howells /* Parisc type numbers. */ 76607ca46eSDavid Howells #define PORT_MUX 48 77607ca46eSDavid Howells 78607ca46eSDavid Howells /* Atmel AT91 / AT32 SoC */ 79607ca46eSDavid Howells #define PORT_ATMEL 49 80607ca46eSDavid Howells 81607ca46eSDavid Howells /* Macintosh Zilog type numbers */ 82607ca46eSDavid Howells #define PORT_MAC_ZILOG 50 /* m68k : not yet implemented */ 83607ca46eSDavid Howells #define PORT_PMAC_ZILOG 51 84607ca46eSDavid Howells 85607ca46eSDavid Howells /* SH-SCI */ 86607ca46eSDavid Howells #define PORT_SCI 52 87607ca46eSDavid Howells #define PORT_SCIF 53 88607ca46eSDavid Howells #define PORT_IRDA 54 89607ca46eSDavid Howells 90607ca46eSDavid Howells /* Samsung S3C2410 SoC and derivatives thereof */ 91607ca46eSDavid Howells #define PORT_S3C2410 55 92607ca46eSDavid Howells 93607ca46eSDavid Howells /* SGI IP22 aka Indy / Challenge S / Indigo 2 */ 94607ca46eSDavid Howells #define PORT_IP22ZILOG 56 95607ca46eSDavid Howells 96607ca46eSDavid Howells /* Sharp LH7a40x -- an ARM9 SoC series */ 97607ca46eSDavid Howells #define PORT_LH7A40X 57 98607ca46eSDavid Howells 99607ca46eSDavid Howells /* PPC CPM type number */ 100607ca46eSDavid Howells #define PORT_CPM 58 101607ca46eSDavid Howells 102607ca46eSDavid Howells /* MPC52xx (and MPC512x) type numbers */ 103607ca46eSDavid Howells #define PORT_MPC52xx 59 104607ca46eSDavid Howells 105607ca46eSDavid Howells /* IBM icom */ 106607ca46eSDavid Howells #define PORT_ICOM 60 107607ca46eSDavid Howells 108607ca46eSDavid Howells /* Samsung S3C2440 SoC */ 109607ca46eSDavid Howells #define PORT_S3C2440 61 110607ca46eSDavid Howells 111607ca46eSDavid Howells /* Motorola i.MX SoC */ 112607ca46eSDavid Howells #define PORT_IMX 62 113607ca46eSDavid Howells 114607ca46eSDavid Howells /* Marvell MPSC */ 115607ca46eSDavid Howells #define PORT_MPSC 63 116607ca46eSDavid Howells 117607ca46eSDavid Howells /* TXX9 type number */ 118607ca46eSDavid Howells #define PORT_TXX9 64 119607ca46eSDavid Howells 120607ca46eSDavid Howells /* NEC VR4100 series SIU/DSIU */ 121607ca46eSDavid Howells #define PORT_VR41XX_SIU 65 122607ca46eSDavid Howells #define PORT_VR41XX_DSIU 66 123607ca46eSDavid Howells 124607ca46eSDavid Howells /* Samsung S3C2400 SoC */ 125607ca46eSDavid Howells #define PORT_S3C2400 67 126607ca46eSDavid Howells 127607ca46eSDavid Howells /* M32R SIO */ 128607ca46eSDavid Howells #define PORT_M32R_SIO 68 129607ca46eSDavid Howells 130607ca46eSDavid Howells /*Digi jsm */ 131607ca46eSDavid Howells #define PORT_JSM 69 132607ca46eSDavid Howells 133607ca46eSDavid Howells #define PORT_PNX8XXX 70 134607ca46eSDavid Howells 135607ca46eSDavid Howells /* Hilscher netx */ 136607ca46eSDavid Howells #define PORT_NETX 71 137607ca46eSDavid Howells 138607ca46eSDavid Howells /* SUN4V Hypervisor Console */ 139607ca46eSDavid Howells #define PORT_SUNHV 72 140607ca46eSDavid Howells 141607ca46eSDavid Howells #define PORT_S3C2412 73 142607ca46eSDavid Howells 143607ca46eSDavid Howells /* Xilinx uartlite */ 144607ca46eSDavid Howells #define PORT_UARTLITE 74 145607ca46eSDavid Howells 146607ca46eSDavid Howells /* Blackfin bf5xx */ 147607ca46eSDavid Howells #define PORT_BFIN 75 148607ca46eSDavid Howells 149607ca46eSDavid Howells /* Micrel KS8695 */ 150607ca46eSDavid Howells #define PORT_KS8695 76 151607ca46eSDavid Howells 152607ca46eSDavid Howells /* Broadcom SB1250, etc. SOC */ 153607ca46eSDavid Howells #define PORT_SB1250_DUART 77 154607ca46eSDavid Howells 155607ca46eSDavid Howells /* Freescale ColdFire */ 156607ca46eSDavid Howells #define PORT_MCF 78 157607ca46eSDavid Howells 158607ca46eSDavid Howells /* Blackfin SPORT */ 159607ca46eSDavid Howells #define PORT_BFIN_SPORT 79 160607ca46eSDavid Howells 161607ca46eSDavid Howells /* MN10300 on-chip UART numbers */ 162607ca46eSDavid Howells #define PORT_MN10300 80 163607ca46eSDavid Howells #define PORT_MN10300_CTS 81 164607ca46eSDavid Howells 165607ca46eSDavid Howells #define PORT_SC26XX 82 166607ca46eSDavid Howells 167607ca46eSDavid Howells /* SH-SCI */ 168607ca46eSDavid Howells #define PORT_SCIFA 83 169607ca46eSDavid Howells 170607ca46eSDavid Howells #define PORT_S3C6400 84 171607ca46eSDavid Howells 172607ca46eSDavid Howells /* NWPSERIAL */ 173607ca46eSDavid Howells #define PORT_NWPSERIAL 85 174607ca46eSDavid Howells 175607ca46eSDavid Howells /* MAX3100 */ 176607ca46eSDavid Howells #define PORT_MAX3100 86 177607ca46eSDavid Howells 178607ca46eSDavid Howells /* Timberdale UART */ 179607ca46eSDavid Howells #define PORT_TIMBUART 87 180607ca46eSDavid Howells 181607ca46eSDavid Howells /* Qualcomm MSM SoCs */ 182607ca46eSDavid Howells #define PORT_MSM 88 183607ca46eSDavid Howells 184607ca46eSDavid Howells /* BCM63xx family SoCs */ 185607ca46eSDavid Howells #define PORT_BCM63XX 89 186607ca46eSDavid Howells 187607ca46eSDavid Howells /* Aeroflex Gaisler GRLIB APBUART */ 188607ca46eSDavid Howells #define PORT_APBUART 90 189607ca46eSDavid Howells 190607ca46eSDavid Howells /* Altera UARTs */ 191607ca46eSDavid Howells #define PORT_ALTERA_JTAGUART 91 192607ca46eSDavid Howells #define PORT_ALTERA_UART 92 193607ca46eSDavid Howells 194607ca46eSDavid Howells /* SH-SCI */ 195607ca46eSDavid Howells #define PORT_SCIFB 93 196607ca46eSDavid Howells 197607ca46eSDavid Howells /* MAX310X */ 198607ca46eSDavid Howells #define PORT_MAX310X 94 199607ca46eSDavid Howells 200607ca46eSDavid Howells /* High Speed UART for Medfield */ 201607ca46eSDavid Howells #define PORT_MFD 95 202607ca46eSDavid Howells 203607ca46eSDavid Howells /* TI OMAP-UART */ 204607ca46eSDavid Howells #define PORT_OMAP 96 205607ca46eSDavid Howells 206607ca46eSDavid Howells /* VIA VT8500 SoC */ 207607ca46eSDavid Howells #define PORT_VT8500 97 208607ca46eSDavid Howells 209607ca46eSDavid Howells /* Xilinx PSS UART */ 210607ca46eSDavid Howells #define PORT_XUARTPS 98 211607ca46eSDavid Howells 212607ca46eSDavid Howells /* Atheros AR933X SoC */ 213607ca46eSDavid Howells #define PORT_AR933X 99 214607ca46eSDavid Howells 215607ca46eSDavid Howells /* Energy Micro efm32 SoC */ 216607ca46eSDavid Howells #define PORT_EFMUART 100 217607ca46eSDavid Howells 218*2ac4ad2aSVineet Gupta /* ARC (Synopsys) on-chip UART */ 219*2ac4ad2aSVineet Gupta #define PORT_ARC 101 220607ca46eSDavid Howells 221607ca46eSDavid Howells #endif /* _UAPILINUX_SERIAL_CORE_H */ 222