From 9e5ffed7d6f045f86a35beab461018bab2c1da0c Mon Sep 17 00:00:00 2001 From: Shivasharan Nagalikar Date: Wed, 19 Feb 2025 13:57:35 +0530 Subject: [PATCH] tcl/target/ti_k3: Add support for AM263P AM263P[1] adds additional features to AM263 SoC. [2] provides a detailed list of differences, however, the key difference from processor usage perspective is the increased SRAM and Remote L2(RL2) Cache for improved performance of R5F. To differentiate the DIE ID is different, however rest of the processor description remain compatible to AM263, hence reuse the definition. [1] https://www.ti.com/product/AM263P4 [2] https://www.ti.com/lit/pdf/spradb3 Change-Id: If47935caf1f995d7e606547e0d6545c39544678a Signed-off-by: Shivasharan Nagalikar Reviewed-on: https://review.openocd.org/c/openocd/+/8770 Reviewed-by: Nishanth Menon Tested-by: jenkins Reviewed-by: Antonio Borneo --- tcl/target/ti_k3.cfg | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tcl/target/ti_k3.cfg b/tcl/target/ti_k3.cfg index dbf8962cb..2feffb92e 100644 --- a/tcl/target/ti_k3.cfg +++ b/tcl/target/ti_k3.cfg @@ -6,6 +6,8 @@ # Has 4 R5 Cores, M4F and an M3 # * AM263: https://www.ti.com/lit/pdf/spruj17 # Has 4 R5 Cores and an M3 +# * AM263P: https://www.ti.com/lit/pdf/spruj55 +# Has 4 R5 Cores and an M4F # * AM273: https://www.ti.com/lit/pdf/spruiu0 # Has 2 R5 Cores and an M3 # * AM625: https://www.ti.com/lit/pdf/spruiv7a @@ -87,6 +89,7 @@ set _powerap_sprec_reset 0xf0 # Set configuration overrides for each SOC switch $_soc { + am263p - am263 { set _K3_DAP_TAPID 0x2bb7d02f @@ -104,6 +107,10 @@ switch $_soc { set _r5_ap_num 5 set _power_ap_num 7 + + if { "$_soc" == "am263p" } { + set _K3_DAP_TAPID 0x1bb9502f + } } am273 { set _K3_DAP_TAPID 0x1bb6a02f