diff options
author | Nishanth Menon <nm@ti.com> | 2023-10-17 16:07:41 -0500 |
---|---|---|
committer | Antonio Borneo <borneo.antonio@gmail.com> | 2023-11-11 18:46:30 +0000 |
commit | cb60f75a56ba54b5a52da00add5312f94bb67c86 (patch) | |
tree | 3c12a86a64d60b808e8a3ea85202c21e53dfb99c /tcl/target | |
parent | 17f34355e550900c6563431c35517c8e082cd5e2 (diff) | |
download | riscv-openocd-cb60f75a56ba54b5a52da00add5312f94bb67c86.zip riscv-openocd-cb60f75a56ba54b5a52da00add5312f94bb67c86.tar.gz riscv-openocd-cb60f75a56ba54b5a52da00add5312f94bb67c86.tar.bz2 |
tcl/target/ti_k3: Add AM273 SoC
Add support for the TI K3 family AM273 SoC.
For further details, see https://www.ti.com/lit/pdf/spruiu0
Change-Id: Ifa21d0760831f4f525ecd976fb8d086ffdbc9e9f
Signed-off-by: Nishanth Menon <nm@ti.com>
Reviewed-on: https://review.openocd.org/c/openocd/+/7950
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
Tested-by: jenkins
Diffstat (limited to 'tcl/target')
-rw-r--r-- | tcl/target/ti_k3.cfg | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/tcl/target/ti_k3.cfg b/tcl/target/ti_k3.cfg index 24b3fae..23825b8 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 +# * AM273: https://www.ti.com/lit/pdf/spruiu0 +# Has 2 R5 Cores and an M3 # * AM625: https://www.ti.com/lit/pdf/spruiv7a # Has 4 ARMV8 Cores and 1 R5 Core and an M4F # * AM62A7: https://www.ti.com/lit/pdf/spruj16a @@ -91,6 +93,25 @@ switch $_soc { set R5_CTIBASE {0x90038000 0x90039000 0x90058000 0x90059000} set _r5_ap_num 5 } + am273 { + set _K3_DAP_TAPID 0x1bb6a02f + + # Mem-ap port + set _mem_ap_num 6 + + # system controller is on AP0 + set _sysctrl_ap_num 0 + + # AM273 has 0 ARMV8 CPUs + set _armv8_cores 0 + + # AM273 has 1 cluster of 2 R5s cores. + set _r5_cores 2 + set R5_NAMES {main0_r5.0 main0_r5.1} + set R5_DBGBASE {0x90030000 0x90032000} + set R5_CTIBASE {0x90038000 0x90039000} + set _r5_ap_num 5 + } am654 { set _K3_DAP_TAPID 0x0bb5a02f |