drivers/am335xgpio: Add AM335x driver for bitbang support on BeagleBones
[fw/openocd] / tcl / interface / beaglebone-jtag-native.cfg
1 # SPDX-License-Identifier: GPL-2.0-or-later
2 # BeagleBone native GPIO interface for JTAG
3 #
4 # This is best used with a fast buffer but it is also suitable for a direct
5 # connection if the target voltage matches the host's IO voltage (typically
6 # 3.3V) and the cable is short.
7 #
8 # DO NOT APPLY VOLTAGE TO THE GPIO PINS UNTIL SYS_RESETN IS HIGH.
9 #
10 # Do not forget the GND connection.
11
12 adapter driver am335xgpio
13
14 # Transition delay calculation: SPEED_COEFF/khz - SPEED_OFFSET
15 # These depend on the system clock, calibrated for stock 1 GHz BeagleBoneBlack
16 # am335xgpio speed SPEED_COEFF SPEED_OFFSET
17 am335xgpio speed_coeffs 600000 575
18
19 am335xgpio tdo_num 20
20 am335xgpio tdi_num 60
21 am335xgpio tms_num 4
22 am335xgpio tck_num 2
23
24 am335xgpio led_num 51
25 am335xgpio led_on_state on
26
27 am335xgpio srst_num 65
28 reset_config srst_only srst_push_pull