tcl/board: add SPDX tag
[fw/openocd] / tcl / board / 8devices-lima.cfg
1 # SPDX-License-Identifier: GPL-2.0-or-later
2
3 # Product page:
4 # https://www.8devices.com/products/lima
5 #
6 # Location of JTAG pins:
7 # J2 GPIO0      JTAG TCK
8 # J2 GPIO1      JTAG TDI
9 # J2 GPIO2      JTAG TDO
10 # J2 GPIO3      JTAG TMS
11 # J2 RST        directly connected to RESET_L of the SoC and can be used as
12 #               JTAG SRST. Note: this pin will also reset the debug engine.
13 # J1 +3,3V      Can be use as JTAG Vref
14 # J1 or J2 GND  Can be used for JTAG GND
15 #
16 # This board is powered from mini USB connecter which is also used
17 # as USB to UART converted based on FTDI FT230XQ chip
18
19 source [find target/qualcomm_qca4531.cfg]
20
21 proc board_init { } {
22         qca4531_ddr2_550_550_init
23 }
24
25 $_TARGETNAME configure -event reset-init {
26         board_init
27 }
28
29 set ram_boot_address 0xa0000000
30 $_TARGETNAME configure -work-area-phys 0xa1FFE000 -work-area-size 0x1000
31
32 flash bank flash0 ath79 0xbf000000 0 0 0 $_TARGETNAME cs0