aboutsummaryrefslogtreecommitdiff
path: root/tcl
diff options
context:
space:
mode:
authorSean Cross <xobs@kosagi.com>2016-06-28 12:12:34 +0300
committerAndreas Fritiofson <andreas.fritiofson@gmail.com>2016-10-17 09:14:17 +0100
commit537c019ced7dd91ad1fd9ac58908d94f24650357 (patch)
tree29892fc5f2698d7461617c40414eed6e860ece34 /tcl
parentca6ccad439f64870543c7955190a28a311ec341f (diff)
downloadriscv-openocd-537c019ced7dd91ad1fd9ac58908d94f24650357.zip
riscv-openocd-537c019ced7dd91ad1fd9ac58908d94f24650357.tar.gz
riscv-openocd-537c019ced7dd91ad1fd9ac58908d94f24650357.tar.bz2
tcl/board: add configuration for Novena's integrated FPGA
Change-Id: Iecd57c0ef59cfde98de36464a73436f57b0835e2 Signed-off-by: Sean Cross <xobs@kosagi.com> Signed-off-by: Paul Fertser <fercerpav@gmail.com> Reviewed-on: http://openocd.zylin.com/3532 Tested-by: jenkins Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
Diffstat (limited to 'tcl')
-rw-r--r--tcl/board/novena-internal-fpga.cfg25
1 files changed, 25 insertions, 0 deletions
diff --git a/tcl/board/novena-internal-fpga.cfg b/tcl/board/novena-internal-fpga.cfg
new file mode 100644
index 0000000..87495e3
--- /dev/null
+++ b/tcl/board/novena-internal-fpga.cfg
@@ -0,0 +1,25 @@
+#
+# Novena open hardware and F/OSS-friendly computing platform
+#
+# Design documentation:
+# http://www.kosagi.com/w/index.php?title=Novena_PVT_Design_Source
+#
+# +-------------+--------------+------+-------+---------+
+# | Pad name | Schematic | GPIO | sysfs | JTAG |
+# +-------------+--------------+------+-------+---------+
+# | DISP0_DAT13 | FPGA_RESET_N | 5-07 | 135 | RESET_N |
+# | DISP0_DAT14 | FPGA_TCK | 5-08 | 136 | TCK |
+# | DISP0_DAT15 | FPGA_TDI | 5-09 | 137 | TDI |
+# | DISP0_DAT16 | FPGA_TDO | 5-10 | 138 | TDO |
+# | DISP0_DAT17 | FPGA_TMS | 5-11 | 139 | TMS |
+# +-------------+--------------+------+-------+---------+
+
+interface sysfsgpio
+
+transport select jtag
+
+# TCK TMS TDI TDO
+sysfsgpio_jtag_nums 136 139 137 138
+
+source [find cpld/xilinx-xc6s.cfg]
+