Skip to content

Commit 2912215

Browse files
konradybcioandersson
authored andcommitted
arm64: dts: qcom: msm8992: Add a proper CPU map
This commit adds cpu nodes for all 6 cores present on this SoC and the cpu-map. Signed-off-by: Konrad Dybcio <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Bjorn Andersson <[email protected]>
1 parent d54df22 commit 2912215

File tree

1 file changed

+75
-7
lines changed

1 file changed

+75
-7
lines changed

arch/arm64/boot/dts/qcom/msm8992.dtsi

Lines changed: 75 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,24 +16,92 @@
1616
cpus {
1717
#address-cells = <2>;
1818
#size-cells = <0>;
19-
cpu-map {
20-
cluster0 {
21-
core0 {
22-
cpu = <&CPU0>;
23-
};
24-
};
25-
};
2619

2720
CPU0: cpu@0 {
2821
device_type = "cpu";
2922
compatible = "arm,cortex-a53";
3023
reg = <0x0 0x0>;
3124
next-level-cache = <&L2_0>;
25+
enable-method = "psci";
3226
L2_0: l2-cache {
3327
compatible = "cache";
3428
cache-level = <2>;
3529
};
3630
};
31+
32+
CPU1: cpu@1 {
33+
device_type = "cpu";
34+
compatible = "arm,cortex-a53";
35+
reg = <0x0 0x1>;
36+
next-level-cache = <&L2_0>;
37+
enable-method = "psci";
38+
};
39+
40+
CPU2: cpu@2 {
41+
device_type = "cpu";
42+
compatible = "arm,cortex-a53";
43+
reg = <0x0 0x2>;
44+
next-level-cache = <&L2_0>;
45+
enable-method = "psci";
46+
};
47+
48+
CPU3: cpu@3 {
49+
device_type = "cpu";
50+
compatible = "arm,cortex-a53";
51+
reg = <0x0 0x3>;
52+
next-level-cache = <&L2_0>;
53+
enable-method = "psci";
54+
};
55+
56+
CPU4: cpu@100 {
57+
device_type = "cpu";
58+
compatible = "arm,cortex-a57";
59+
reg = <0x0 0x100>;
60+
next-level-cache = <&L2_1>;
61+
enable-method = "psci";
62+
L2_1: l2-cache {
63+
compatible = "cache";
64+
cache-level = <2>;
65+
};
66+
};
67+
68+
CPU5: cpu@101 {
69+
device_type = "cpu";
70+
compatible = "arm,cortex-a57";
71+
reg = <0x0 0x101>;
72+
next-level-cache = <&L2_1>;
73+
enable-method = "psci";
74+
};
75+
76+
cpu-map {
77+
cluster0 {
78+
core0 {
79+
cpu = <&CPU0>;
80+
};
81+
82+
core1 {
83+
cpu = <&CPU1>;
84+
};
85+
86+
core2 {
87+
cpu = <&CPU2>;
88+
};
89+
90+
core3 {
91+
cpu = <&CPU3>;
92+
};
93+
};
94+
95+
cluster1 {
96+
core0 {
97+
cpu = <&CPU4>;
98+
};
99+
100+
core1 {
101+
cpu = <&CPU5>;
102+
};
103+
};
104+
};
37105
};
38106

39107
clocks {

0 commit comments

Comments
 (0)