]> git.dujemihanovic.xyz Git - u-boot.git/commit
board: starfive: spl: Support jtag for VisionFive2 board
authorChanho Park <chanho61.park@samsung.com>
Tue, 31 Oct 2023 08:56:00 +0000 (17:56 +0900)
committerLeo Yu-Chi Liang <ycliang@andestech.com>
Thu, 2 Nov 2023 07:44:56 +0000 (15:44 +0800)
commitb8a902b81462a1fa6bd4fc8614cdc386fa7849d4
tree824611f9f9ebba35e11fa4a43ffccc6037588d59
parent37c2faf3252e8423be0577bed1358bd6f59b4c10
board: starfive: spl: Support jtag for VisionFive2 board

JTAG pins are mapped as below. To access the JTAG pins, we need to
control the GPIO pins from SPL which seems to be the earliest stage for
JTAG.

- JTAG nTRST: GPIO36 / Input
- JTAG TDI: GPIO61 / Input
- JTAG TMS: GPIO63 / Input
- JTAG TCK: GPIO60 / Input
- JTAG TDO: GPIO44 / Output

Signed-off-by: Chanho Park <chanho61.park@samsung.com>
Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
board/starfive/visionfive2/spl.c