tcl: add lattice ECP5 family support

Add support for ECP5 FPGA targets and board based on this chips:
Radiona ULX3S and Lambdaconcept ECPIX-5

Change-Id: I932fc6e2458cda7d63ac21579acddea5b53410bc
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Reviewed-on: https://review.openocd.org/c/openocd/+/6112
Tested-by: jenkins
Reviewed-by: Oleksij Rempel <linux@rempel-privat.de>
This commit is contained in:
Oleksij Rempel
2021-03-14 18:19:06 +01:00
committed by Oleksij Rempel
parent 3f1c15d2a7
commit 76ba25a8a5
6 changed files with 114 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
# SPDX-License-Identifier: GPL-2.0-or-later
#
# LambdaConcept ECPIX-5
# http://docs.lambdaconcept.com/ecpix-5/
# Currently there are following board variants:
# ECPIX-5 45F - LFE5UM5G-45F
# ECPIX-5 85F - LFE5UM5G-85F
#
# This boards have two JTAG interfaces:
# - CN4, micro USB port connected to FT2232HQ chip:
# ADBUS0 TCK
# ADBUS1 TDI
# ADBUS2 TDO
# ADBUS3 TMS
# BDBUS0 UART_TXD
# BDBUS1 UART_RXD
# This interface should be used with following config:
# interface/ftdi/lambdaconcept_ecpix-5.cfg
# - CN3, 6 pin connector
# See schematics for more details:
# http://docs.lambdaconcept.com/ecpix-5/_static/resources/SCH_ECPIX-5_R02.PDF
#
# No reset lines are implemented. So it is not possible to remote reset the FPGA
# by using any of this interfaces
source [find interface/ftdi/lambdaconcept_ecpix-5.cfg]
source [find fpga/lattice_ecp5.cfg]