summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLey Foon Tan <leyfoon.tan@starfivetech.com>2023-12-27 14:45:27 +0300
committerLey Foon Tan <leyfoon.tan@starfivetech.com>2024-01-08 10:49:13 +0300
commit3fc326fff6c1658017519a1076b486f7f8b147f8 (patch)
treec87e29eee78da930e849d55afeb045ffe0aea709
parent96d6321bc569d6cc6838ae5f0bbe92a1e44f5f4a (diff)
downloadlinux-3fc326fff6c1658017519a1076b486f7f8b147f8.tar.xz
riscv: dts: starfive: dubhe: Add cpu-map DT node
Add cpu-map DT node. Signed-off-by: Ley Foon Tan <leyfoon.tan@starfivetech.com>
-rwxr-xr-xarch/riscv/boot/dts/starfive/dubhe.dtsi12
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/riscv/boot/dts/starfive/dubhe.dtsi b/arch/riscv/boot/dts/starfive/dubhe.dtsi
index 0ca083287d3f..1735cc6f6f08 100755
--- a/arch/riscv/boot/dts/starfive/dubhe.dtsi
+++ b/arch/riscv/boot/dts/starfive/dubhe.dtsi
@@ -43,6 +43,18 @@
};
};
+ cpu-map {
+ cluster0 {
+ core0 {
+ cpu = <&cpu0>;
+ };
+
+ core1 {
+ cpu = <&cpu1>;
+ };
+ };
+ };
+
l2_cache: cache-controller {
compatible = "cache";
cache-block-size = <64>;