tcl/interface: replace last deprecated commands
[fw/openocd] / tcl / board / sayma_amc.cfg
index 0b507ee0e13b69aa8b16150b013d475cd9c9fbd8..b7146092219a6de172f52965367dbcbb2656168f 100644 (file)
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+
 # Sayma AMC is an FPGA board for the µTCA AMC format
 # The board is open hardware (CERN OHL) and the gateware and software
 # running on it are open source (ARTIQ, LGPLv3+).
 # which features an Artix 7 FPGA.
 
 adapter driver ftdi
-ftdi_device_desc "Quad RS232-HS"
-ftdi_vid_pid 0x0403 0x6011
-ftdi_channel 0
+ftdi device_desc "Quad RS232-HS"
+ftdi vid_pid 0x0403 0x6011
+ftdi channel 0
 # Use this to distinguish multiple boards by topology
-#ftdi_location 5:1
+#adapter usb location 5:1
 # sampling on falling edge generally seems to work and accelerates things but
 # is not fully tested
-#ftdi_tdo_sample_edge falling
+#ftdi tdo_sample_edge falling
 # EN_USB_JTAG on ADBUS7: out, high
 # USB_nTRST on ADBUS4: out, high, but R46 is DNP
-ftdi_layout_init 0x0098 0x008b
-#ftdi_layout_signal EN_USB -data 0x0080
-#ftdi_layout_signal nTRST -data 0x0010
+ftdi layout_init 0x0098 0x008b
+#ftdi layout_signal EN_USB -data 0x0080
+#ftdi layout_signal nTRST -data 0x0010
 reset_config none
 
-adapter_khz 5000
+adapter speed 5000
 
 transport select jtag