]> www.infradead.org Git - users/borneoa/openocd-next.git/commitdiff
tcl/target/ti_k3: Add support for AM261
authorShivasharan Nagalikar <shivasharan.nagalikar@ti.com>
Wed, 19 Feb 2025 08:28:43 +0000 (13:58 +0530)
committerAntonio Borneo <borneo.antonio@gmail.com>
Sat, 15 Mar 2025 10:15:46 +0000 (10:15 +0000)
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 <shivasharan.nagalikar@ti.com>
Reviewed-on: https://review.openocd.org/c/openocd/+/8792
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-by: Nishanth Menon <nm@ti.com>
Tested-by: jenkins
tcl/target/ti_k3.cfg

index 2feffb92e58b2ef648489613a10d649ad8c7250d..0dee74e5ee683f5ecbd277dee7b07fbd7ad0c1c0 100644 (file)
@@ -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