Commit 2983e625 authored by Li Yang's avatar Li Yang Committed by Shawn Guo

arm64: dts: ls2080a: Add cache nodes for cacheinfo support

Adds the cache nodes and next-level-cache property for the
cacheinfo to work.
Signed-off-by: default avatarLi Yang <leoyang.li@nxp.com>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent ec049f33
...@@ -67,6 +67,7 @@ cpu@0 { ...@@ -67,6 +67,7 @@ cpu@0 {
compatible = "arm,cortex-a57"; compatible = "arm,cortex-a57";
reg = <0x0>; reg = <0x0>;
clocks = <&clockgen 1 0>; clocks = <&clockgen 1 0>;
next-level-cache = <&cluster0_l2>;
}; };
cpu@1 { cpu@1 {
...@@ -74,6 +75,7 @@ cpu@1 { ...@@ -74,6 +75,7 @@ cpu@1 {
compatible = "arm,cortex-a57"; compatible = "arm,cortex-a57";
reg = <0x1>; reg = <0x1>;
clocks = <&clockgen 1 0>; clocks = <&clockgen 1 0>;
next-level-cache = <&cluster0_l2>;
}; };
cpu@100 { cpu@100 {
...@@ -81,6 +83,7 @@ cpu@100 { ...@@ -81,6 +83,7 @@ cpu@100 {
compatible = "arm,cortex-a57"; compatible = "arm,cortex-a57";
reg = <0x100>; reg = <0x100>;
clocks = <&clockgen 1 1>; clocks = <&clockgen 1 1>;
next-level-cache = <&cluster1_l2>;
}; };
cpu@101 { cpu@101 {
...@@ -88,6 +91,7 @@ cpu@101 { ...@@ -88,6 +91,7 @@ cpu@101 {
compatible = "arm,cortex-a57"; compatible = "arm,cortex-a57";
reg = <0x101>; reg = <0x101>;
clocks = <&clockgen 1 1>; clocks = <&clockgen 1 1>;
next-level-cache = <&cluster1_l2>;
}; };
cpu@200 { cpu@200 {
...@@ -95,6 +99,7 @@ cpu@200 { ...@@ -95,6 +99,7 @@ cpu@200 {
compatible = "arm,cortex-a57"; compatible = "arm,cortex-a57";
reg = <0x200>; reg = <0x200>;
clocks = <&clockgen 1 2>; clocks = <&clockgen 1 2>;
next-level-cache = <&cluster2_l2>;
}; };
cpu@201 { cpu@201 {
...@@ -102,6 +107,7 @@ cpu@201 { ...@@ -102,6 +107,7 @@ cpu@201 {
compatible = "arm,cortex-a57"; compatible = "arm,cortex-a57";
reg = <0x201>; reg = <0x201>;
clocks = <&clockgen 1 2>; clocks = <&clockgen 1 2>;
next-level-cache = <&cluster2_l2>;
}; };
cpu@300 { cpu@300 {
...@@ -109,6 +115,7 @@ cpu@300 { ...@@ -109,6 +115,7 @@ cpu@300 {
compatible = "arm,cortex-a57"; compatible = "arm,cortex-a57";
reg = <0x300>; reg = <0x300>;
clocks = <&clockgen 1 3>; clocks = <&clockgen 1 3>;
next-level-cache = <&cluster3_l2>;
}; };
cpu@301 { cpu@301 {
...@@ -116,6 +123,23 @@ cpu@301 { ...@@ -116,6 +123,23 @@ cpu@301 {
compatible = "arm,cortex-a57"; compatible = "arm,cortex-a57";
reg = <0x301>; reg = <0x301>;
clocks = <&clockgen 1 3>; clocks = <&clockgen 1 3>;
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