tcl/target/ti_k3: Add J722S SoC

Add support for the TI K3 family J722S SoC. This SoC is a variant of
AM62P chassis with a different JTAG ID, additional R5 added in (along
with C7x and few other peripheral changes). Reuse existing definition.

For further details, see https://www.ti.com/lit/zip/sprujb3

Change-Id: I754e6be8df3a26212437ea955f6a791d7c99b0c8
Signed-off-by: Nishanth Menon <nm@ti.com>
Reviewed-on: https://review.openocd.org/c/openocd/+/8049
Reviewed-by: Bryan Brattlof <hello@bryanbrattlof.com>
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
Tested-by: jenkins
This commit is contained in:
Nishanth Menon 2023-11-29 06:32:53 -06:00 committed by Antonio Borneo
parent 2e920a212f
commit 33749a7fbe
1 changed files with 11 additions and 0 deletions

View File

@ -24,6 +24,8 @@
# Has 2 ARMV8 Cores and 6 R5 Cores and an M3
# * J721S2: https://www.ti.com/lit/pdf/spruj28
# Has 2 ARMV8 Cores and 6 R5 Cores and an M4F
# * J722S: https://www.ti.com/lit/zip/sprujb3
# Has 4 ARMV8 Cores and 3 R5 Cores
# * J784S4/AM69: http://www.ti.com/lit/zip/spruj52
# Has 8 ARMV8 Cores and 8 R5 Cores
#
@ -185,6 +187,7 @@ switch $_soc {
set _dmem_emu_base_address_map_to 0x1d500000
set _dmem_emu_ap_list 1
}
j722s -
am62p -
am62a7 {
set _K3_DAP_TAPID 0x0bb8d02f
@ -211,6 +214,14 @@ switch $_soc {
set _K3_DAP_TAPID 0x0bb9d02f
set R5_NAMES {wkup0_r5.0 mcu0_r5.0}
}
# Overrides for j722s
if { "$_soc" == "j722s" } {
set _K3_DAP_TAPID 0x0bba002f
set _r5_cores 3
set R5_NAMES {wkup0_r5.0 main0_r5.0 mcu0_r5.0}
set R5_DBGBASE {0x9d410000 0x9d510000 0x9d810000}
set R5_CTIBASE {0x9d418000 0x9d518000 0x9d818000}
}
}
j721e {
set _K3_DAP_TAPID 0x0bb6402f