Skip to content

Commit da03138

Browse files
Mario Hrosmarcan
authored andcommitted
cpufreq: Add T6021 clusters
Signed-off-by: Mario Hros <[email protected]>
1 parent 69012c0 commit da03138

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

src/cpufreq.c

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,13 @@ static const struct cluster_t t6000_clusters[] = {
7070
{},
7171
};
7272

73+
static const struct cluster_t t6021_clusters[] = {
74+
{"ECPU0", 0x210e20000, false, 5},
75+
{"PCPU0", 0x211e20000, false, 6},
76+
{"PCPU1", 0x212e20000, false, 6},
77+
{},
78+
};
79+
7380
static const struct cluster_t t6002_clusters[] = {
7481
{"ECPU0", 0x0210e20000, false, 5},
7582
{"PCPU0", 0x0211e20000, false, 7},
@@ -103,6 +110,9 @@ int cpufreq_init(void)
103110
case T6002:
104111
cluster = t6002_clusters;
105112
break;
113+
case T6021:
114+
cluster = t6021_clusters;
115+
break;
106116
case T8112:
107117
cluster = t8112_clusters;
108118
break;

0 commit comments

Comments
 (0)