summaryrefslogtreecommitdiffstats
path: root/drivers/usb/serial/ftdi_sio.h
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2007-05-04 18:23:24 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2007-05-22 23:45:51 -0700
commitfa91d43b914b77637653d984416e17e182f7b807 (patch)
treec517a05ed00bbd492b322a445521a74705d091d1 /drivers/usb/serial/ftdi_sio.h
parent5b7da8f6ff1aaf5a500dc798f4d1c2d6e98420a5 (diff)
downloadop-kernel-dev-fa91d43b914b77637653d984416e17e182f7b807.zip
op-kernel-dev-fa91d43b914b77637653d984416e17e182f7b807.tar.gz
USB: Add support for Olimex arm-usb-ocd JTAG interface serial port
This patch adds support for the serial port on Olimex arm-usb-ocd JTAG interface. The device appears as two serial ports, but the first one is reserved for the JTAG interface. The JTAG interface can be used with OpenOCD from userspace. For more information, please see: http://openocd.berlios.de/web/ http://www.olimex.com/dev/arm-usb-ocd.html Signed-off-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/serial/ftdi_sio.h')
-rw-r--r--drivers/usb/serial/ftdi_sio.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/usb/serial/ftdi_sio.h b/drivers/usb/serial/ftdi_sio.h
index 0a56b89..33aee90 100644
--- a/drivers/usb/serial/ftdi_sio.h
+++ b/drivers/usb/serial/ftdi_sio.h
@@ -526,6 +526,10 @@
*/
#define FTDI_MAXSTREAM_PID 0xEE18 /* Xbee PKG-U Module */
+/* Olimex */
+#define OLIMEX_VID 0x15BA
+#define OLIMEX_ARM_USB_OCD_PID 0x0003
+
/* Commands */
#define FTDI_SIO_RESET 0 /* Reset the port */
#define FTDI_SIO_MODEM_CTRL 1 /* Set the modem control register */
OpenPOWER on IntegriCloud