Commit dbb58d0f authored by Kefeng Wang's avatar Kefeng Wang Committed by Wei Xu

arm64: dts: hip05: Add L2 cache topology

The Hip05 SoC has four L2 cache for all 16 CPUs, every four cpus
share one L2 cache, add them to the dtsi file so that the cache
hierarchy can be probed.
Signed-off-by: default avatarKefeng Wang <wangkefeng.wang@huawei.com>
Signed-off-by: default avatarWei Xu <xuwei5@hisilicon.com>
parent 92e963f5
...@@ -90,6 +90,7 @@ cpu0: cpu@20000 { ...@@ -90,6 +90,7 @@ cpu0: cpu@20000 {
compatible = "arm,cortex-a57", "arm,armv8"; compatible = "arm,cortex-a57", "arm,armv8";
reg = <0x20000>; reg = <0x20000>;
enable-method = "psci"; enable-method = "psci";
next-level-cache = <&cluster0_l2>;
}; };
cpu1: cpu@20001 { cpu1: cpu@20001 {
...@@ -97,6 +98,7 @@ cpu1: cpu@20001 { ...@@ -97,6 +98,7 @@ cpu1: cpu@20001 {
compatible = "arm,cortex-a57", "arm,armv8"; compatible = "arm,cortex-a57", "arm,armv8";
reg = <0x20001>; reg = <0x20001>;
enable-method = "psci"; enable-method = "psci";
next-level-cache = <&cluster0_l2>;
}; };
cpu2: cpu@20002 { cpu2: cpu@20002 {
...@@ -104,6 +106,7 @@ cpu2: cpu@20002 { ...@@ -104,6 +106,7 @@ cpu2: cpu@20002 {
compatible = "arm,cortex-a57", "arm,armv8"; compatible = "arm,cortex-a57", "arm,armv8";
reg = <0x20002>; reg = <0x20002>;
enable-method = "psci"; enable-method = "psci";
next-level-cache = <&cluster0_l2>;
}; };
cpu3: cpu@20003 { cpu3: cpu@20003 {
...@@ -111,6 +114,7 @@ cpu3: cpu@20003 { ...@@ -111,6 +114,7 @@ cpu3: cpu@20003 {
compatible = "arm,cortex-a57", "arm,armv8"; compatible = "arm,cortex-a57", "arm,armv8";
reg = <0x20003>; reg = <0x20003>;
enable-method = "psci"; enable-method = "psci";
next-level-cache = <&cluster0_l2>;
}; };
cpu4: cpu@20100 { cpu4: cpu@20100 {
...@@ -118,6 +122,7 @@ cpu4: cpu@20100 { ...@@ -118,6 +122,7 @@ cpu4: cpu@20100 {
compatible = "arm,cortex-a57", "arm,armv8"; compatible = "arm,cortex-a57", "arm,armv8";
reg = <0x20100>; reg = <0x20100>;
enable-method = "psci"; enable-method = "psci";
next-level-cache = <&cluster1_l2>;
}; };
cpu5: cpu@20101 { cpu5: cpu@20101 {
...@@ -125,6 +130,7 @@ cpu5: cpu@20101 { ...@@ -125,6 +130,7 @@ cpu5: cpu@20101 {
compatible = "arm,cortex-a57", "arm,armv8"; compatible = "arm,cortex-a57", "arm,armv8";
reg = <0x20101>; reg = <0x20101>;
enable-method = "psci"; enable-method = "psci";
next-level-cache = <&cluster1_l2>;
}; };
cpu6: cpu@20102 { cpu6: cpu@20102 {
...@@ -132,6 +138,7 @@ cpu6: cpu@20102 { ...@@ -132,6 +138,7 @@ cpu6: cpu@20102 {
compatible = "arm,cortex-a57", "arm,armv8"; compatible = "arm,cortex-a57", "arm,armv8";
reg = <0x20102>; reg = <0x20102>;
enable-method = "psci"; enable-method = "psci";
next-level-cache = <&cluster1_l2>;
}; };
cpu7: cpu@20103 { cpu7: cpu@20103 {
...@@ -139,6 +146,7 @@ cpu7: cpu@20103 { ...@@ -139,6 +146,7 @@ cpu7: cpu@20103 {
compatible = "arm,cortex-a57", "arm,armv8"; compatible = "arm,cortex-a57", "arm,armv8";
reg = <0x20103>; reg = <0x20103>;
enable-method = "psci"; enable-method = "psci";
next-level-cache = <&cluster1_l2>;
}; };
cpu8: cpu@20200 { cpu8: cpu@20200 {
...@@ -146,6 +154,7 @@ cpu8: cpu@20200 { ...@@ -146,6 +154,7 @@ cpu8: cpu@20200 {
compatible = "arm,cortex-a57", "arm,armv8"; compatible = "arm,cortex-a57", "arm,armv8";
reg = <0x20200>; reg = <0x20200>;
enable-method = "psci"; enable-method = "psci";
next-level-cache = <&cluster2_l2>;
}; };
cpu9: cpu@20201 { cpu9: cpu@20201 {
...@@ -153,6 +162,7 @@ cpu9: cpu@20201 { ...@@ -153,6 +162,7 @@ cpu9: cpu@20201 {
compatible = "arm,cortex-a57", "arm,armv8"; compatible = "arm,cortex-a57", "arm,armv8";
reg = <0x20201>; reg = <0x20201>;
enable-method = "psci"; enable-method = "psci";
next-level-cache = <&cluster2_l2>;
}; };
cpu10: cpu@20202 { cpu10: cpu@20202 {
...@@ -160,6 +170,7 @@ cpu10: cpu@20202 { ...@@ -160,6 +170,7 @@ cpu10: cpu@20202 {
compatible = "arm,cortex-a57", "arm,armv8"; compatible = "arm,cortex-a57", "arm,armv8";
reg = <0x20202>; reg = <0x20202>;
enable-method = "psci"; enable-method = "psci";
next-level-cache = <&cluster2_l2>;
}; };
cpu11: cpu@20203 { cpu11: cpu@20203 {
...@@ -167,6 +178,7 @@ cpu11: cpu@20203 { ...@@ -167,6 +178,7 @@ cpu11: cpu@20203 {
compatible = "arm,cortex-a57", "arm,armv8"; compatible = "arm,cortex-a57", "arm,armv8";
reg = <0x20203>; reg = <0x20203>;
enable-method = "psci"; enable-method = "psci";
next-level-cache = <&cluster2_l2>;
}; };
cpu12: cpu@20300 { cpu12: cpu@20300 {
...@@ -174,6 +186,7 @@ cpu12: cpu@20300 { ...@@ -174,6 +186,7 @@ cpu12: cpu@20300 {
compatible = "arm,cortex-a57", "arm,armv8"; compatible = "arm,cortex-a57", "arm,armv8";
reg = <0x20300>; reg = <0x20300>;
enable-method = "psci"; enable-method = "psci";
next-level-cache = <&cluster3_l2>;
}; };
cpu13: cpu@20301 { cpu13: cpu@20301 {
...@@ -181,6 +194,7 @@ cpu13: cpu@20301 { ...@@ -181,6 +194,7 @@ cpu13: cpu@20301 {
compatible = "arm,cortex-a57", "arm,armv8"; compatible = "arm,cortex-a57", "arm,armv8";
reg = <0x20301>; reg = <0x20301>;
enable-method = "psci"; enable-method = "psci";
next-level-cache = <&cluster3_l2>;
}; };
cpu14: cpu@20302 { cpu14: cpu@20302 {
...@@ -188,6 +202,7 @@ cpu14: cpu@20302 { ...@@ -188,6 +202,7 @@ cpu14: cpu@20302 {
compatible = "arm,cortex-a57", "arm,armv8"; compatible = "arm,cortex-a57", "arm,armv8";
reg = <0x20302>; reg = <0x20302>;
enable-method = "psci"; enable-method = "psci";
next-level-cache = <&cluster3_l2>;
}; };
cpu15: cpu@20303 { cpu15: cpu@20303 {
...@@ -195,6 +210,23 @@ cpu15: cpu@20303 { ...@@ -195,6 +210,23 @@ cpu15: cpu@20303 {
compatible = "arm,cortex-a57", "arm,armv8"; compatible = "arm,cortex-a57", "arm,armv8";
reg = <0x20303>; reg = <0x20303>;
enable-method = "psci"; enable-method = "psci";
next-level-cache = <&cluster3_l2>;
};
cluster0_l2: l2-cache0 {
compatible = "cache";
};
cluster1_l2: l2-cache1 {
compatible = "cache";
};
cluster2_l2: l2-cache2 {
compatible = "cache";
};
cluster3_l2: l2-cache3 {
compatible = "cache";
}; };
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment