tcl/interface: add SPDX tag
[fw/openocd] / tcl / interface / ftdi / imx8mp-evk.cfg
1 # SPDX-License-Identifier: GPL-2.0-or-later
2
3 #
4 # Configuration file for NXP MC-IMX8MP-EVK on-board internal JTAG
5 #
6 # Using this interface requires enabling "remote mode" for the board using the
7 # NXP bcu tool (see https://github.com/NXPmicro/bcu)
8 #
9 #       bcu set_gpio remote_en 1 -board=imx8mpevk
10 #
11 # The REMOTE_EN gpio is accessible through the same FTDI adapter but it's
12 # behind an I2C GPIO expander.
13 #
14
15 adapter driver ftdi
16 ftdi vid_pid 0x0403 0x6011
17 ftdi channel 0
18
19 ftdi layout_init 0x00f8 0x000b
20
21 ftdi layout_signal RESET_B      -data 0x0010 -oe 0x0010
22 # Called SYS_nRST in schematics
23 ftdi layout_signal nSRST        -data 0x0020 -oe 0x0020
24 ftdi layout_signal IO_nRST      -data 0x0040 -oe 0x0040
25 ftdi layout_signal ONOFF_B      -data 0x0080 -oe 0x0080
26
27 ftdi layout_signal GPIO1        -data 0x0100 -oe 0x0100
28 ftdi layout_signal GPIO2        -data 0x0200 -oe 0x0200
29 ftdi layout_signal GPIO3        -data 0x0400 -oe 0x0400
30 ftdi layout_signal GPIO4        -data 0x0800 -oe 0x0800