This is an automated email from Gerrit.

"Jae Hyun Yoo <quic_jaeh...@quicinc.com>" just uploaded a new patch set to 
Gerrit, which you can find at https://review.openocd.org/c/openocd/+/7112

-- gerrit

commit 9860c09ef34889a833e271a7ba13b4843329be68
Author: Jae Hyun Yoo <quic_jaeh...@quicinc.com>
Date:   Thu Jan 20 12:07:58 2022 -0800

    tcl/interface: add linuxgpiod cfg for Aspeed AST2600
    
    Add linuxgpiod cfg for Aspeed AST2600 for a case if JTAG master needs
    to be implemented using linuxgpiod intead of hardware JTAG master mode.
    
    These AST2600 GPIOs will be mapped to JTAG/SWD signals.
    +-----------+-------------+-------------+
    | signal    | GPIO name   | gpio offset |
    +-----------+-------------+-------------+
    | TCK/SWCLK | GPIOI2      | 66          |
    | TMS/SWDIO | GPIOI3      | 67          |
    | TDI       | GPIOI1      | 65          |
    | TDO       | GPIOI4      | 68          |
    | nTRST     | GPIOI0      | 64          |
    +-----------+-------------+-------------+
    
    Signed-off-by: Jae Hyun Yoo <quic_jaeh...@quicinc.com>
    Change-Id: I19278402b0895be12d38c0ecea8fdbc56fd491b8

diff --git a/tcl/interface/ast2600-gpiod.cfg b/tcl/interface/ast2600-gpiod.cfg
new file mode 100644
index 0000000000..013cde21b7
--- /dev/null
+++ b/tcl/interface/ast2600-gpiod.cfg
@@ -0,0 +1,22 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+
+# Use AST2600 GPIO through linuxgpiod
+#
+# +-----------+-------------+-------------+
+# | signal    | GPIO name   | gpio offset |
+# +-----------+-------------+-------------+
+# | TCK/SWCLK | GPIOI2      | 66          |
+# | TMS/SWDIO | GPIOI3      | 67          |
+# | TDI       | GPIOI1      | 65          |
+# | TDO       | GPIOI4      | 68          |
+# | nTRST     | GPIOI0      | 64          |
+# +-----------+-------------+-------------+
+
+adapter driver linuxgpiod
+
+linuxgpiod gpiochip 0
+linuxgpiod jtag_nums 66 67 65 68
+linuxgpiod trst_num 64
+linuxgpiod swd_nums 66 67
+
+reset_config trst_only separate trst_push_pull

-- 

Reply via email to