]> sigrok.org Git - libsigrok.git/commitdiff
ftdi-la: add TUMPA VID:PID and JTAG pin names
authorTom Matthews <redacted>
Mon, 30 Mar 2020 17:32:12 +0000 (18:32 +0100)
committerUwe Hermann <redacted>
Mon, 6 Apr 2020 22:54:18 +0000 (00:54 +0200)
src/hardware/ftdi-la/api.c

index 432f566f84ed71a00f38b077e065a0c28b926de7..6eb51763853f96195e799169ef8cdf85a114a5dc 100644 (file)
@@ -57,6 +57,17 @@ static const struct ftdi_chip_desc ft2232h_desc = {
        }
 };
 
+static const struct ftdi_chip_desc ft2232h_tumpa_desc = {
+       .vendor = 0x0403,
+       .product = 0x8a98,
+       .samplerate_div = 20,
+       /* 20 pin JTAG header */
+       .channel_names = {
+               "TCK", "TDI", "TDO", "TMS", "RST", "nTRST", "DBGRQ", "RTCK",
+               NULL
+       }
+};
+
 static const struct ftdi_chip_desc ft232r_desc = {
        .vendor = 0x0403,
        .product = 0x6001,
@@ -79,6 +90,7 @@ static const struct ftdi_chip_desc ft232h_desc = {
 
 static const struct ftdi_chip_desc *chip_descs[] = {
        &ft2232h_desc,
+       &ft2232h_tumpa_desc,
        &ft232r_desc,
        &ft232h_desc,
        NULL,