tcl/interface: add SPDX tag
[fw/openocd] / tcl / interface / imx-native.cfg
1 # SPDX-License-Identifier: GPL-2.0-or-later
2
3 #
4 # Config for using NXP IMX CPU
5 #
6 # This is best used with a fast enough buffer but also
7 # is suitable for direct connection if the target voltage
8 # matches to host voltage and the cable is short enough.
9 #
10 #
11
12 adapter driver imx_gpio
13
14 # For most IMX processors 0x0209c000
15 imx_gpio_peripheral_base 0x0209c000
16
17 # Transition delay calculation: SPEED_COEFF/khz - SPEED_OFFSET
18 # These depend on system clock, calibrated for IMX6UL@528MHz
19 # imx_gpio_speed SPEED_COEFF SPEED_OFFSET
20 imx_gpio_speed_coeffs 50000 50
21
22 # Each of the JTAG lines need a gpio number set: tck tms tdi tdo.
23 # Example configuration:
24 # imx_gpio_jtag_nums 6 7 8 9
25
26 # SWD interface pins: swclk swdio
27 # Example configuration:
28 imx_gpio_swd_nums 1 6
29
30 # imx_gpio_trst_num 10
31 # reset_config trst_only
32
33 # imx_gpio_srst_num 11
34 # reset_config srst_only srst_push_pull
35
36 # or if you have both connected,
37 # reset_config trst_and_srst srst_push_pull