aboutsummaryrefslogtreecommitdiff
path: root/tcl/board/radiona_ulx3s.cfg
diff options
context:
space:
mode:
authorOleksij Rempel <o.rempel@pengutronix.de>2021-03-14 18:19:06 +0100
committerOleksij Rempel <linux@rempel-privat.de>2021-08-25 03:47:50 +0000
commit76ba25a8a570d5e465e9ed3afdd36cf837fcb6a1 (patch)
tree978ba4e75b6ee3b9d7218ff0d1849a4b61a84239 /tcl/board/radiona_ulx3s.cfg
parent3f1c15d2a718c9d417c859172f2b1736a769d822 (diff)
downloadriscv-openocd-76ba25a8a570d5e465e9ed3afdd36cf837fcb6a1.zip
riscv-openocd-76ba25a8a570d5e465e9ed3afdd36cf837fcb6a1.tar.gz
riscv-openocd-76ba25a8a570d5e465e9ed3afdd36cf837fcb6a1.tar.bz2
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>
Diffstat (limited to 'tcl/board/radiona_ulx3s.cfg')
-rw-r--r--tcl/board/radiona_ulx3s.cfg27
1 files changed, 27 insertions, 0 deletions
diff --git a/tcl/board/radiona_ulx3s.cfg b/tcl/board/radiona_ulx3s.cfg
new file mode 100644
index 0000000..eb9b027
--- /dev/null
+++ b/tcl/board/radiona_ulx3s.cfg
@@ -0,0 +1,27 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+#
+# Radiona ULX3S
+# https://radiona.org/ulx3s/
+# Currently there are following board variants:
+# CS-ULX3S-01 - LFE5U 12F
+# CS-ULX3S-02 - LFE5U 45F
+# CS-ULX3S-03 - LFE5U 85F
+#
+# two JTAG interfaces:
+# - US1, micro USB port connected to FT231XQ
+# This interface should be used with following config:
+# interface/ft232r/radiona_ulx3s.cfg
+# - J4, 6 pin connector
+#
+# Both of this interfaces share the JTAG lines (TDI, TMS, TCK, TDO) between
+# Lattice ECP5 FPGA chip and ESP32 WiFi controller.
+# Note: TRST_N of the ESP32 is pulled up by default and can be pulled down over
+# J3 interface.
+# See schematics for more information:
+# https://github.com/emard/ulx3s/blob/master/doc/schematics_v308.pdf
+# https://github.com/emard/ulx3s/blob/master/doc/schematics_v314.pdf
+# https://github.com/emard/ulx3s/blob/master/doc/schematics_v315.pdf
+# https://github.com/emard/ulx3s/blob/master/doc/schematics_v316.pdf
+
+source [find interface/ft232r/radiona_ulx3s.cfg]
+source [find fpga/lattice_ecp5.cfg]