tcl/interface: add linuxgpiod cfg for Aspeed AST2600
[fw/openocd] / tcl / interface / dln-2-gpiod.cfg
index 5407a244e897989a00f262c199d76bb4dc94be7d..c9e33881f794f9526c0bafb3b4773f8de9c7a5e3 100644 (file)
 
 adapter driver linuxgpiod
 
-linuxgpiod_gpiochip 0
-linuxgpiod_jtag_nums 2 3 4 1
-linuxgpiod_trst_num 5
-linuxgpiod_swd_nums 2 3
-linuxgpiod_srst_num 0
-linuxgpiod_led_num 6
+adapter gpio srst 0 -chip 0
+adapter gpio tdo 1 -chip 0
+adapter gpio tck 2 -chip 0
+adapter gpio swclk 2 -chip 0
+adapter gpio tms 3 -chip 0
+adapter gpio swdio 3 -chip 0
+adapter gpio tdi 4 -chip 0
+adapter gpio trst 5 -chip 0
+adapter gpio led 6 -chip 0
 
 reset_config trst_and_srst separate srst_push_pull