tcl/interface: add SPDX tag
[fw/openocd] / tcl / interface / ftdi / turtelizer2-revC.cfg
index 24f12671a2e8bf9f7c75928076262cb92ecf511e..94617a1dd1f296ec2c73c2f576e3ea503aaddfbf 100644 (file)
@@ -1,19 +1,16 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+
 #
 # egnite Turtelizer 2 revC (with TRST and SRST)
 #
 # http://www.ethernut.de/en/hardware/turtelizer/index.html
 #
 
-echo "WARNING!"
-echo "This file was not tested with real interface, it is based on schematics and code"
-echo "in ft2232.c. Please report your experience with this file to openocd-devel"
-echo "mailing list, so it could be marked as working or fixed."
-
-interface ftdi
-ftdi_device_desc "Turtelizer JTAG/RS232 Adapter"
-ftdi_vid_pid 0x0403 0xbdc8
+adapter driver ftdi
+ftdi device_desc "Turtelizer JTAG/RS232 Adapter"
+ftdi vid_pid 0x0403 0xbdc8
 
-ftdi_layout_init 0x0008 0x0c7b
-ftdi_layout_signal nTRST -oe 0x0020
-ftdi_layout_signal nSRST -oe 0x0040
-ftdi_layout_signal LED -ndata 0x0c00
+ftdi layout_init 0x0008 0x0c7b
+ftdi layout_signal nTRST -oe 0x0020
+ftdi layout_signal nSRST -oe 0x0040
+ftdi layout_signal LED -ndata 0x0c00