From: Shivasharan Nagalikar Date: Wed, 19 Feb 2025 08:28:43 +0000 (+0530) Subject: tcl/target/ti_k3: Add support for AM261 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=da7e369266b7b5e1fea4e2baa072dac8ce15217b;p=users%2Fborneoa%2Fopenocd-next.git tcl/target/ti_k3: Add support for AM261 AM261[1] is a optimized cutdown of AM263P SoC. The key difference is the reduced number of R5F cores which is now dropped down to 2, and the DIE ID is different from AM263p, but all other definitions are compatible, so reuse the definition. [1] https://www.ti.com/product/AM2612 Change-Id: Ib6ca0b59d0b8991df6e4ab349d371187438cb393 Signed-off-by: Shivasharan Nagalikar Reviewed-on: https://review.openocd.org/c/openocd/+/8792 Reviewed-by: Antonio Borneo Reviewed-by: Nishanth Menon Tested-by: jenkins --- diff --git a/tcl/target/ti_k3.cfg b/tcl/target/ti_k3.cfg index 2feffb92e..0dee74e5e 100644 --- a/tcl/target/ti_k3.cfg +++ b/tcl/target/ti_k3.cfg @@ -4,6 +4,8 @@ # Texas Instruments K3 devices: # * AM243: https://www.ti.com/lit/pdf/spruim2 # Has 4 R5 Cores, M4F and an M3 +# * AM261: https://www.ti.com/lit/pdf/sprujb6 +# Has 2 R5 Cores and an M4F # * AM263: https://www.ti.com/lit/pdf/spruj17 # Has 4 R5 Cores and an M3 # * AM263P: https://www.ti.com/lit/pdf/spruj55 @@ -89,6 +91,7 @@ set _powerap_sprec_reset 0xf0 # Set configuration overrides for each SOC switch $_soc { + am261 - am263p - am263 { set _K3_DAP_TAPID 0x2bb7d02f @@ -111,6 +114,10 @@ switch $_soc { if { "$_soc" == "am263p" } { set _K3_DAP_TAPID 0x1bb9502f } + if { "$_soc" == "am261" } { + set _K3_DAP_TAPID 0x1bba602f + set _r5_cores 2 + } } am273 { set _K3_DAP_TAPID 0x1bb6a02f