Skip to content

Commit 80dd27b

Browse files
rsalvaterrambgg
authored andcommitted
arm64: dts: mt7622: specify the L2 cache topology
On an MT7622 system, the kernel complains of not being able to detect the cache hierarchy of CPU 0. Specify the shared L2 cache node in the device tree, in order to fix this. Signed-off-by: Rui Salvaterra <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Matthias Brugger <[email protected]>
1 parent 7d029cc commit 80dd27b

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

arch/arm64/boot/dts/mediatek/mt7622.dtsi

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@
8080
enable-method = "psci";
8181
clock-frequency = <1300000000>;
8282
cci-control-port = <&cci_control2>;
83+
next-level-cache = <&L2>;
8384
};
8485

8586
cpu1: cpu@1 {
@@ -94,6 +95,12 @@
9495
enable-method = "psci";
9596
clock-frequency = <1300000000>;
9697
cci-control-port = <&cci_control2>;
98+
next-level-cache = <&L2>;
99+
};
100+
101+
L2: l2-cache {
102+
compatible = "cache";
103+
cache-level = <2>;
97104
};
98105
};
99106

0 commit comments

Comments
 (0)