tcl: move SPDX tag as first line
[fw/openocd] / tcl / interface / ftdi / pls_spc5.cfg
1 # SPDX-License-Identifier: GPL-2.0-or-later
2 #
3 # PLS SPC5-UDESTK
4 #
5 # https://www.st.com/en/development-tools/spc5-udestk.html
6 #
7 # Reference the SPC56D Discovery schematics.
8 #
9 # Layout:  FTDI FT2232
10 #   ADBUS0 TCK
11 #   ADBUS1 TDI
12 #   ADBUS2 TDO
13 #   ADBUS3 TMS
14 #   ADBUS4 TMS
15 #   ADBUS5 RTCK
16 #   ADBUS6
17 #   ADBUS7 LED1
18 #
19 #   ACBUS0 nTRST
20 #   ACBUS1 nSRST (external pull-down)
21 #   ACUBS2
22 #   ACBUS3
23 #   ACBUS4
24 #   ACBUS5 nSRST direction (input=L, output=H, external pull-down)
25 #   ACBUS6 TMS direction (input=L, output=H, external pull-up)
26 #   ACBUS7 LED2
27 #
28
29 adapter driver ftdi
30 ftdi device_desc "PLS USB/JTAG Adapter for SPC5xxx"
31 ftdi vid_pid 0x263d 0x4001
32
33 ftdi channel 0
34 ftdi layout_init 0x0008 0x000b
35 ftdi layout_signal nTRST -data 0x0100 -oe 0x0100
36 ftdi layout_signal nSRST -ndata 0x2000 -oe 0x2000