tcl/interface: add SPDX tag
[fw/openocd] / tcl / interface / ftdi / sheevaplug.cfg
index e3afab3251eb29d5e2dffff8fad59d59d473701b..29c8688091ebb57bff4c3b568a922da460b61c44 100644 (file)
@@ -1,19 +1,16 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+
 #
 # Marvel SheevaPlug Development Kit
 #
 # http://www.marvell.com/products/embedded_processors/developer/kirkwood/sheevaplug.jsp
 #
 
-echo "WARNING!"
-echo "This file was not tested with real interface, it is based on code in ft2232.c."
-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 "SheevaPlug JTAGKey FT2232D"
-ftdi_vid_pid 0x9e88 0x9e8f
-ftdi_channel 1
+adapter driver ftdi
+ftdi device_desc "SheevaPlug JTAGKey FT2232D B"
+ftdi vid_pid 0x9e88 0x9e8f
+ftdi channel 0
 
-ftdi_layout_init 0x0608 0x0f1b
-ftdi_layout_signal nTRST -data 0x0200
-ftdi_layout_signal nSRST -noe 0x0400
+ftdi layout_init 0x0608 0x0f1b
+ftdi layout_signal nTRST -data 0x0200 -noe 0x0100
+ftdi layout_signal nSRST -data 0x0800 -noe 0x0400