Skip to content

Commit 0c56228

Browse files
robherringsudeep-holla
authored andcommitted
arm64: dts: morello: Fix-up cache nodes
There's no need include the CPU number in the L2 cache node names as the names are local to the CPU nodes. The documented node name is also just "l2-cache". The L3 cache is not part of cpu@0/l2-cache as it is shared among all cores. Move it to /cpus node which is the typical place for shared caches. Signed-off-by: Rob Herring (Arm) <robh@kernel.org> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Message-Id: <20250403-dt-cpu-schema-v1-3-076be7171a85@kernel.org> Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
1 parent 0af2f6b commit 0c56228

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

arch/arm64/boot/dts/arm/morello.dtsi

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
next-level-cache = <&l2_0>;
4545
clocks = <&scmi_dvfs 0>;
4646

47-
l2_0: l2-cache-0 {
47+
l2_0: l2-cache {
4848
compatible = "cache";
4949
cache-level = <2>;
5050
/* 8 ways set associative */
@@ -53,13 +53,6 @@
5353
cache-sets = <2048>;
5454
cache-unified;
5555
next-level-cache = <&l3_0>;
56-
57-
l3_0: l3-cache {
58-
compatible = "cache";
59-
cache-level = <3>;
60-
cache-size = <0x100000>;
61-
cache-unified;
62-
};
6356
};
6457
};
6558

@@ -78,7 +71,7 @@
7871
next-level-cache = <&l2_1>;
7972
clocks = <&scmi_dvfs 0>;
8073

81-
l2_1: l2-cache-1 {
74+
l2_1: l2-cache {
8275
compatible = "cache";
8376
cache-level = <2>;
8477
/* 8 ways set associative */
@@ -105,7 +98,7 @@
10598
next-level-cache = <&l2_2>;
10699
clocks = <&scmi_dvfs 1>;
107100

108-
l2_2: l2-cache-2 {
101+
l2_2: l2-cache {
109102
compatible = "cache";
110103
cache-level = <2>;
111104
/* 8 ways set associative */
@@ -132,7 +125,7 @@
132125
next-level-cache = <&l2_3>;
133126
clocks = <&scmi_dvfs 1>;
134127

135-
l2_3: l2-cache-3 {
128+
l2_3: l2-cache {
136129
compatible = "cache";
137130
cache-level = <2>;
138131
/* 8 ways set associative */
@@ -143,6 +136,13 @@
143136
next-level-cache = <&l3_0>;
144137
};
145138
};
139+
140+
l3_0: l3-cache {
141+
compatible = "cache";
142+
cache-level = <3>;
143+
cache-size = <0x100000>;
144+
cache-unified;
145+
};
146146
};
147147

148148
firmware {

0 commit comments

Comments
 (0)