This is an automated email from Gerrit.

"Nishanth Menon <n...@ti.com>" just uploaded a new patch set to Gerrit, which 
you can find at https://review.openocd.org/c/openocd/+/8049

-- gerrit

commit dfcf95b285a7679de167d3e755152a33ce846df9
Author: Nishanth Menon <n...@ti.com>
Date:   Wed Nov 29 06:32:53 2023 -0600

    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 TBD
    
    Change-Id: I754e6be8df3a26212437ea955f6a791d7c99b0c8
    Signed-off-by: Nishanth Menon <n...@ti.com>

diff --git a/tcl/target/ti_k3.cfg b/tcl/target/ti_k3.cfg
index 23825b86b4..24f0565067 100644
--- a/tcl/target/ti_k3.cfg
+++ b/tcl/target/ti_k3.cfg
@@ -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: TBD
+#  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

-- 

Reply via email to