From 5300242a3edad9924ed75119320e0fccc5afd614 Mon Sep 17 00:00:00 2001 From: Nishanth Menon Date: Mon, 3 Mar 2025 06:47:28 -0600 Subject: [PATCH] tcl/target/ti_k3: Add AM62L SoC Add support for the TI K3 family AM62L SoC. For further details, see https://www.ti.com/lit/pdf/sprujb4 Change-Id: I31e4e89507a1cd70a8c8c3242dd0a9dd7d0f2a06 Co-developed-by: Bryan Brattlof Signed-off-by: Bryan Brattlof Signed-off-by: Nishanth Menon Reviewed-on: https://review.openocd.org/c/openocd/+/8798 Tested-by: jenkins Reviewed-by: Bryan Brattlof Reviewed-by: Antonio Borneo --- tcl/target/ti_k3.cfg | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/tcl/target/ti_k3.cfg b/tcl/target/ti_k3.cfg index 2ae0f75b8..b033ca978 100644 --- a/tcl/target/ti_k3.cfg +++ b/tcl/target/ti_k3.cfg @@ -14,6 +14,8 @@ # Has 4 ARMV8 Cores and 2 R5 Cores # * AM62P: https://www.ti.com/lit/pdf/spruj83 # Has 4 ARMV8 Cores and 2 R5 Cores +# * AM62L: https://www.ti.com/lit/pdf/sprujb4 +# Has 2 ARMv8 Cores only # * AM642: https://www.ti.com/lit/pdf/spruim2 # Has 2 ARMV8 Cores and 4 R5 Cores, M4F and an M3 # * AM654x: https://www.ti.com/lit/pdf/spruid7 @@ -233,6 +235,18 @@ switch $_soc { set R5_CTIBASE {0x9d418000 0x9d518000 0x9d818000} } } + am62l { + set _K3_DAP_TAPID 0x0bba702f + + # AM62Lx has 1 cluster of 2 A53 cores. + set _armv8_cpu_name a53 + set _armv8_cores 2 + set ARMV8_DBGBASE {0x90010000 0x90110000} + set ARMV8_CTIBASE {0x90020000 0x90120000} + + # Has no supporting microcontrollers + set _r5_cores 0 + } j721e { set _K3_DAP_TAPID 0x0bb6402f # J721E has 1 cluster of 2 A72 cores. -- 2.49.0