beaglebone-swd-native.cfg 922 B

123456789101112131415161718192021222324252627282930313233
  1. # SPDX-License-Identifier: GPL-2.0-or-later
  2. # BeagleBone native GPIO interface for SWD
  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. adapter driver am335xgpio
  12. # Transition delay calculation: SPEED_COEFF/khz - SPEED_OFFSET
  13. # These depend on the system clock, calibrated for stock 1 GHz BeagleBoneBlack
  14. # am335xgpio speed SPEED_COEFF SPEED_OFFSET
  15. am335xgpio speed_coeffs 600000 575
  16. # BeagleBone pin P9_22
  17. adapter gpio swclk 2 -chip 0
  18. # BeagleBone pin P9_18
  19. adapter gpio swdio 4 -chip 0
  20. # BeagleBone pin P9_12
  21. adapter gpio swdio_dir 28 -chip 1
  22. # USR0 LED
  23. adapter gpio led 21 -chip 1
  24. # BeagleBone pin P8_18
  25. adapter gpio srst 1 -chip 2
  26. reset_config srst_only srst_push_pull