]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/ftdi-la/api.c
ftdi-la: add TUMPA VID:PID and JTAG pin names
[libsigrok.git] / 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,