tcl/interface: add SPDX tag
[fw/openocd] / tcl / interface / ftdi / hilscher_nxhx50_re.cfg
index 966dcd8126ab3b56302985d676d3394c6eabb126..f14be626b01ad940b067a612ef047af4d397577b 100644 (file)
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+
 #
 # Hilscher NXHX 50-RE
 #
@@ -9,10 +11,10 @@ echo "This file was not tested with real interface, it is based on code in ft223
 echo "Please report your experience with this file to openocd-devel mailing list,"
 echo "so it could be marked as working or fixed."
 
-interface ftdi
-ftdi_device_desc "NXHX50-RE"
-ftdi_vid_pid 0x0640 0x0028
+adapter driver ftdi
+ftdi device_desc "NXHX50-RE"
+ftdi vid_pid 0x0640 0x0028
 
-ftdi_layout_init 0x0308 0x030b
-ftdi_layout_signal nTRST -data 0x0100
-ftdi_layout_signal nSRST -data 0x0200
+ftdi layout_init 0x0308 0x030b
+ftdi layout_signal nTRST -data 0x0100
+ftdi layout_signal nSRST -data 0x0200