tcl/target/ti_k3: Add AM62P SoC
[openocd.git] / tcl / target / ti_k3.cfg
index beb98edca7e4d0e9137028727ccaa4cbb9372dbe..01e11c69f7051d92cd97af795200f91d01bec894 100644 (file)
@@ -18,6 +18,8 @@
 #  Has 4 ARMV8 Cores and 1 R5 Core and an M4F
 # * AM62a7: https://www.ti.com/lit/pdf/spruj16a
 #  Has 4 ARMV8 Cores and 2 R5 Cores
+# * AM62P: https://www.ti.com/lit/pdf/spruj83
+#  Has 4 ARMV8 Cores and 2 R5 Cores
 #
 
 source [find target/swj-dp.tcl]
@@ -130,16 +132,17 @@ switch $_soc {
                set _dmem_emu_base_address_map_to 0x1d500000
                set _dmem_emu_ap_list 1
        }
+       am62p -
        am62a7 {
                set _K3_DAP_TAPID 0x0bb8d02f
 
-               # AM62a7 has 1 clusters of 4 A53 cores.
+               # AM62a7/AM62P has 1 cluster of 4 A53 cores.
                set _armv8_cpu_name a53
                set _armv8_cores 4
                set ARMV8_DBGBASE {0x90010000 0x90110000 0x90210000 0x90310000}
                set ARMV8_CTIBASE {0x90020000 0x90120000 0x90220000 0x90320000}
 
-               # AM62a7 has 2 cluster of 1 R5s core.
+               # AM62a7/AM62P has 2 cluster of 1 R5 core.
                set _r5_cores 2
                set R5_NAMES {main0_r5.0 mcu0_r5.0}
                set R5_DBGBASE {0x9d410000 0x9d810000}
@@ -149,6 +152,12 @@ switch $_soc {
                set CM3_CTIBASE {0x20001000}
                # Sysctrl power-ap unlock offsets
                set _sysctrl_ap_unlock_offsets {0xf0 0x78}
+
+               # Overrides for am62p
+               if { "$_soc" == "am62p" } {
+                       set _K3_DAP_TAPID 0x0bb9d02f
+                       set R5_NAMES {wkup0_r5.0 mcu0_r5.0}
+               }
        }
        j721e {
                set _K3_DAP_TAPID 0x0bb6402f

Linking to existing account procedure

If you already have an account and want to add another login method you MUST first sign in with your existing account and then change URL to read https://review.openocd.org/login/?link to get to this page again but this time it'll work for linking. Thank you.

SSH host keys fingerprints

1024 SHA256:YKx8b7u5ZWdcbp7/4AeXNaqElP49m6QrwfXaqQGJAOk gerrit-code-review@openocd.zylin.com (DSA)
384 SHA256:jHIbSQa4REvwCFG4cq5LBlBLxmxSqelQPem/EXIrxjk gerrit-code-review@openocd.org (ECDSA)
521 SHA256:UAOPYkU9Fjtcao0Ul/Rrlnj/OsQvt+pgdYSZ4jOYdgs gerrit-code-review@openocd.org (ECDSA)
256 SHA256:A13M5QlnozFOvTllybRZH6vm7iSt0XLxbA48yfc2yfY gerrit-code-review@openocd.org (ECDSA)
256 SHA256:spYMBqEYoAOtK7yZBrcwE8ZpYt6b68Cfh9yEVetvbXg gerrit-code-review@openocd.org (ED25519)
+--[ED25519 256]--+
|=..              |
|+o..   .         |
|*.o   . .        |
|+B . . .         |
|Bo. = o S        |
|Oo.+ + =         |
|oB=.* = . o      |
| =+=.+   + E     |
|. .=o   . o      |
+----[SHA256]-----+
2048 SHA256:0Onrb7/PHjpo6iVZ7xQX2riKN83FJ3KGU0TvI0TaFG4 gerrit-code-review@openocd.zylin.com (RSA)