diff options
Diffstat (limited to 'tcl/interface/sysfsgpio-raspberrypi.cfg')
-rw-r--r-- | tcl/interface/sysfsgpio-raspberrypi.cfg | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/tcl/interface/sysfsgpio-raspberrypi.cfg b/tcl/interface/sysfsgpio-raspberrypi.cfg new file mode 100644 index 00000000..105173c9 --- /dev/null +++ b/tcl/interface/sysfsgpio-raspberrypi.cfg @@ -0,0 +1,24 @@ +# +# Config for using RaspberryPi's expansion header +# +# This is best used with a fast enough buffer but also +# is suitable for direct connection if the target voltage +# matches RPi's 3.3V +# +# Do not forget the GND connection, pin 6 of the expansion header. +# + +interface sysfsgpio + +# This has no effect on the driver, but is required +adapter_khz 100 + +# Each of the JTAG lines need a gpio number set: tck tms tdi tdo +# Header pin numbers: 23 22 19 21 +sysfsgpio_jtag_nums 11 25 10 9 + +# At least one of srst or trst needs to be specified +# Header pin numbers: TRST - 26, SRST - 18 +sysfsgpio_trst_num 7 +# sysfsgpio_srst_num 24 + |