# SPDX-License-Identifier: GPL-2.0-or-later

#
# Gateworks GW16042 JTAG Dongle
#
# http://www.gateworks.com/
#
# Layout:  FTDI FT2232H
#   ADBUS0 TCK
#   ADBUS1 TDI
#   ADBUS2 TDO (input)
#   ADBUS3 TMS
#   ADBUS4 nTRST
#   ADBUS5 nSRST
#   ADBUS6 OE (active high) for TRST, TDI, TMS, TCK
#   ADBUS7 NC
#   ACBUS0-7 NC
#   BDBUS0 RXD
#   BDBUS1 TXD (input)
#

adapter driver ftdi
ftdi device_desc "USB-JTAG"
ftdi vid_pid 0x0403 0x6010

ftdi layout_init 0x0058 0x007b
ftdi layout_signal nTRST -data 0x0010
ftdi layout_signal nSRST -oe 0x0020
