ast2600-gpiod.cfg 758 B

12345678910111213141516171819202122232425
  1. # SPDX-License-Identifier: GPL-2.0-or-later
  2. # Use AST2600 GPIO through linuxgpiod
  3. #
  4. # +-----------+-------------+-------------+
  5. # | signal | GPIO name | gpio offset |
  6. # +-----------+-------------+-------------+
  7. # | TCK/SWCLK | GPIOI2 | 66 |
  8. # | TMS/SWDIO | GPIOI3 | 67 |
  9. # | TDI | GPIOI1 | 65 |
  10. # | TDO | GPIOI4 | 68 |
  11. # | nTRST | GPIOI0 | 64 |
  12. # +-----------+-------------+-------------+
  13. adapter driver linuxgpiod
  14. adapter gpio trst 64 -chip 0
  15. adapter gpio tdi 65 -chip 0
  16. adapter gpio tck 66 -chip 0
  17. adapter gpio swclk 66 -chip 0
  18. adapter gpio tms 67 -chip 0
  19. adapter gpio swdio 67 -chip 0
  20. adapter gpio tdo 68 -chip 0
  21. reset_config trst_only separate trst_push_pull