1 # SPDX-License-Identifier: GPL-2.0-or-later
3 # Use AST2600 GPIO through linuxgpiod
5 # +-----------+-------------+-------------+
6 # | signal | GPIO name | gpio offset |
7 # +-----------+-------------+-------------+
8 # | TCK/SWCLK | GPIOI2 | 66 |
9 # | TMS/SWDIO | GPIOI3 | 67 |
10 # | TDI | GPIOI1 | 65 |
11 # | TDO | GPIOI4 | 68 |
12 # | nTRST | GPIOI0 | 64 |
13 # +-----------+-------------+-------------+
15 adapter driver linuxgpiod
17 adapter gpio trst 64 -chip 0
18 adapter gpio tdi 65 -chip 0
19 adapter gpio tck 66 -chip 0
20 adapter gpio swclk 66 -chip 0
21 adapter gpio tms 67 -chip 0
22 adapter gpio swdio 67 -chip 0
23 adapter gpio tdo 68 -chip 0
25 reset_config trst_only separate trst_push_pull