Skip to content
This repository was archived by the owner on Mar 7, 2026. It is now read-only.

Commit 963ae93

Browse files
committed
adi, cortex: Add Cortex-A53 identifiers from BCM2837
1 parent d21db00 commit 963ae93

3 files changed

Lines changed: 9 additions & 0 deletions

File tree

src/target/adi.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@ static const arm_coresight_component_s arm_component_lut[] = {
128128
{0x955, 0x00, 0, aa_nosupport, cidc_unknown,
129129
ARM_COMPONENT_STR("CoreSight Component", "(unidentified Cortex-A5 component)")},
130130
{0x956, 0x13, 0, aa_nosupport, cidc_unknown, ARM_COMPONENT_STR("Cortex-A7 ETM", "(Embedded Trace)")},
131+
{0x95d, 0x13, 0, aa_nosupport, cidc_unknown, ARM_COMPONENT_STR("Cortex-A53 ETM", "(Embedded Trace)")},
131132
{0x95f, 0x00, 0, aa_nosupport, cidc_unknown, ARM_COMPONENT_STR("Cortex-A15 PTM", "(Program Trace Macrocell)")},
132133
{0x961, 0x32, 0, aa_nosupport, cidc_unknown, ARM_COMPONENT_STR("CoreSight TMC", "(Trace Memory Controller)")},
133134
{0x961, 0x21, 0, aa_nosupport, cidc_unknown, ARM_COMPONENT_STR("CoreSight TMC", "(Trace Buffer)")},
@@ -140,14 +141,18 @@ static const arm_coresight_component_s arm_component_lut[] = {
140141
{0x9a9, 0x11, 0, aa_nosupport, cidc_unknown, ARM_COMPONENT_STR("Cortex-M7 TPIU", "(Trace Port Interface Unit)")},
141142
{0x9a5, 0x13, 0, aa_nosupport, cidc_unknown, ARM_COMPONENT_STR("Cortex-A5 ETM", "(Embedded Trace)")},
142143
{0x9a7, 0x16, 0, aa_nosupport, cidc_unknown, ARM_COMPONENT_STR("Cortex-A7 PMU", "(Performance Monitor Unit)")},
144+
{0x9a8, 0x14, 0x1a14, aa_nosupport, cidc_unknown, ARM_COMPONENT_STR("Cortex-A53 CTI", "(Cross Trigger)")},
143145
{0x9af, 0x16, 0, aa_nosupport, cidc_unknown, ARM_COMPONENT_STR("Cortex-A15 PMU", "(Performance Monitor Unit)")},
146+
{0x9d3, 0x16, 0x2a16, aa_nosupport, cidc_unknown,
147+
ARM_COMPONENT_STR("Cortex-A53 PMU", "(Performance Monitor Unit)")},
144148
{0xc05, 0x15, 0, aa_cortexa, cidc_dc, ARM_COMPONENT_STR("Cortex-A5", "(Debug Unit)")},
145149
{0xc07, 0x15, 0, aa_cortexa, cidc_dc, ARM_COMPONENT_STR("Cortex-A7", "(Debug Unit)")},
146150
{0xc08, 0x15, 0, aa_cortexa, cidc_dc, ARM_COMPONENT_STR("Cortex-A8", "(Debug Unit)")},
147151
{0xc09, 0x15, 0, aa_cortexa, cidc_dc, ARM_COMPONENT_STR("Cortex-A9", "(Debug Unit)")},
148152
{0xc0f, 0x15, 0, aa_cortexa, cidc_unknown, ARM_COMPONENT_STR("Cortex-A15", "(Debug Unit)")},
149153
{0xc14, 0x15, 0, aa_cortexr, cidc_unknown, ARM_COMPONENT_STR("Cortex-R4", "(Debug Unit)")},
150154
{0xcd0, 0x00, 0, aa_nosupport, cidc_unknown, ARM_COMPONENT_STR("Atmel DSU", "(Device Service Unit)")},
155+
{0xd03, 0x15, 0x6a15, aa_cortexa, cidc_dc, ARM_COMPONENT_STR("Cortex-A53", "(Debug Unit)")},
151156
{0xd05, 0x13, 0x4a13, aa_nosupport, cidc_dc, ARM_COMPONENT_STR("Cortex-A55 ETM", "(Embedded Trace)")},
152157
{0xd05, 0x14, 0x1a14, aa_nosupport, cidc_dc, ARM_COMPONENT_STR("Cortex-A55 CTI", "(Cross Trigger)")},
153158
{0xd05, 0x15, 0x8a15, aa_cortexa, cidc_dc, ARM_COMPONENT_STR("Cortex-A55", "(Debug Unit)")},

src/target/cortex.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,9 @@ void cortex_read_cpuid(target_s *const target)
103103
case CORTEX_A9:
104104
target->core = "A9";
105105
break;
106+
case CORTEX_A53:
107+
target->core = "A53";
108+
break;
106109
case CORTEX_A55:
107110
target->core = "A55";
108111
break;

src/target/cortex.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@
6262
#define CORTEX_A9 0xc090U
6363
#define CORTEX_A55 0xd050U
6464

65+
#define CORTEX_A53 0xd030U
6566
#define CORTEX_A55 0xd050U
6667

6768
/* Cortex general purpose register offsets */

0 commit comments

Comments
 (0)