1 # SPDX-License-Identifier: GPL-2.0-or-later
3 # Use DLN-2 GPIO through linuxgpiod
5 # +-----------+-------------+-------------+
6 # | signal | DLN-2 | gpio offset |
7 # +-----------+-------------+-------------+
8 # | nSRST | J3.1 (PA0) | 0 |
9 # | TDO | J3.2 (PA1) | 1 |
10 # | TCK/SWCLK | J3.3 (PA2) | 2 |
11 # | TMS/SWDIO | J3.4 (PA3) | 3 |
12 # | TDI | J3.5 (PA4) | 4 |
13 # | nTRST | J3.6 (PA5) | 5 |
14 # | GND | J3.12 (GND) | |
15 # +-----------+-------------+-------------+
17 adapter driver linuxgpiod
20 linuxgpiod_jtag_nums 2 3 4 1
22 linuxgpiod_swd_nums 2 3
25 reset_config trst_and_srst separate srst_push_pull