1 # SPDX-License-Identifier: GPL-2.0-or-later
4 # Config for using RaspberryPi's expansion header
6 # This is best used with a fast enough buffer but also
7 # is suitable for direct connection if the target voltage
10 # Do not forget the GND connection, pin 6 of the expansion header.
13 adapter driver sysfsgpio
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
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
23 # If you define trst or srst, use appropriate reset_config
24 # Header pin numbers: TRST - 26, SRST - 18
26 # sysfsgpio trst_num 7
27 # reset_config trst_only
29 # sysfsgpio srst_num 24
30 # reset_config srst_only srst_push_pull
32 # or if you have both connected,
33 # reset_config trst_and_srst srst_push_pull