1 # SPDX-License-Identifier: GPL-2.0-or-later
5 # General-purpose Microprocessors with RISC-V CPU Core (Andes AX45MP Single) (1.0 GHz)
9 reset_config trst_and_srst srst_gates_jtag
11 adapter srst delay 500
13 if { [info exists CHIPNAME] } {
14 set _CHIPNAME $CHIPNAME
16 set _CHIPNAME r9A07g043u
19 jtag newtap $_CHIPNAME cpu -irlen 5 -expected-id 0x1000563d
21 set _TARGETNAME $_CHIPNAME.cpu
22 target create $_TARGETNAME riscv -chain-position $_TARGETNAME