tcl: replace FSF boilerplate with SPDX tag
[fw/openocd] / tcl / interface / ftdi / c232hm.cfg
index 4f623e0f88a40515844f14f7908f05750ad82717..25fcae1b0bc8aac1b12055072cc5224bd8fd12c5 100644 (file)
 # http://www.ftdichip.com/Support/Documents/AppNotes/AN_135_MPSSE_Basics.pdf
 # http://www.ftdichip.com/Support/Documents/AppNotes/AN_129_FTDI_Hi_Speed_USB_To_JTAG_Example.pdf
 
-interface ftdi
-#ftdi_device_desc "C232HM-DDHSL-0"
-#ftdi_device_desc "C232HM-EDHSL-0"
+adapter driver ftdi
+#ftdi device_desc "C232HM-DDHSL-0"
+#ftdi device_desc "C232HM-EDHSL-0"
 
 # Common PID for FT232H
-ftdi_vid_pid 0x0403 0x6014
+ftdi vid_pid 0x0403 0x6014
 
 # Layout
 # High data byte 0x40 configures red LED on ACBUS6 initially high (unlit, since active-low)
 # Low data byte 0x08 configures TMS on ACBUS3 initially high (asserted); TCK, TDI low
 # High direction byte 0x40 configures red LED on ACBUS6 as high (output)
 # Low direction byte 0x0b configures TDO on ACBUS2 as low (input)
-ftdi_layout_init 0x4008 0x400b
+ftdi layout_init 0x4008 0x400b
 
 # ---A*BUS-------CCCCCCCC|DDDDDDDD
 # --------\______76543210|76543210
@@ -35,12 +35,12 @@ ftdi_layout_init 0x4008 0x400b
 #GPIOL2        0x0040 = 00000000|01000000 = ADBUS6
 #GPIOL3        0x0080 = 00000000|10000000 = ADBUS7
 # -ndata treats the LED as active-low for expected behavior (toggle when transferring)
-ftdi_layout_signal LED -ndata 0x4000
+ftdi layout_signal LED -ndata 0x4000
 # Available for aliasing as desired
-ftdi_layout_signal GPIOL0 -data 0x0010 -oe 0x0010
-ftdi_layout_signal GPIOL1 -data 0x0020 -oe 0x0020
-ftdi_layout_signal GPIOL2 -data 0x0040 -oe 0x0040
-ftdi_layout_signal GPIOL3 -data 0x0080 -oe 0x0080
+ftdi layout_signal GPIOL0 -data 0x0010 -oe 0x0010
+ftdi layout_signal GPIOL1 -data 0x0020 -oe 0x0020
+ftdi layout_signal GPIOL2 -data 0x0040 -oe 0x0040
+ftdi layout_signal GPIOL3 -data 0x0080 -oe 0x0080
 
 # C232HM               FT232H  JTAG/Other
 # Num  Color   Name    Func