aboutsummaryrefslogtreecommitdiff
path: root/tcl/interface/ftdi/imx8mp-evk.cfg
blob: 4e04e8cd7f5e9831149b6f900dc47f534ddcf410 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#
# Configuration file for NXP MC-IMX8MP-EVK on-board internal JTAG
#
# Using this interface requires enabling "remote mode" for the board using the
# NXP bcu tool (see https://github.com/NXPmicro/bcu)
#
#	bcu set_gpio remote_en 1 -board=imx8mpevk
#
# The REMOTE_EN gpio is accessible through the same FTDI adapter but it's
# behind an I2C GPIO expander.
#

adapter driver ftdi
ftdi_vid_pid 0x0403 0x6011
ftdi_channel 0

ftdi_layout_init 0x00f8 0x000b

ftdi_layout_signal RESET_B	-data 0x0010 -oe 0x0010
# Called SYS_nRST in schematics
ftdi_layout_signal nSRST	-data 0x0020 -oe 0x0020
ftdi_layout_signal IO_nRST	-data 0x0040 -oe 0x0040
ftdi_layout_signal ONOFF_B	-data 0x0080 -oe 0x0080

ftdi_layout_signal GPIO1	-data 0x0100 -oe 0x0100
ftdi_layout_signal GPIO2	-data 0x0200 -oe 0x0200
ftdi_layout_signal GPIO3	-data 0x0400 -oe 0x0400
ftdi_layout_signal GPIO4	-data 0x0800 -oe 0x0800