tcl/interface: add SPDX tag
[fw/openocd] / tcl / interface / sysfsgpio-raspberrypi.cfg
1 # SPDX-License-Identifier: GPL-2.0-or-later
2
3 #
4 # Config for using RaspberryPi's expansion header
5 #
6 # This is best used with a fast enough buffer but also
7 # is suitable for direct connection if the target voltage
8 # matches RPi's 3.3V
9 #
10 # Do not forget the GND connection, pin 6 of the expansion header.
11 #
12
13 adapter driver sysfsgpio
14
15 # Each of the JTAG lines need a gpio number set: tck tms tdi tdo
16 # Header pin numbers: 23 22 19 21
17 sysfsgpio jtag_nums 11 25 10 9
18
19 # Each of the SWD lines need a gpio number set: swclk swdio
20 # Header pin numbers: 23 22
21 sysfsgpio swd_nums 11 25
22
23 # If you define trst or srst, use appropriate reset_config
24 # Header pin numbers: TRST - 26, SRST - 18
25
26 # sysfsgpio trst_num 7
27 # reset_config trst_only
28
29 # sysfsgpio srst_num 24
30 # reset_config srst_only srst_push_pull
31
32 # or if you have both connected,
33 # reset_config trst_and_srst srst_push_pull