提交 6c00cac1 编写于 作者: J Joseph Lo 提交者: Thierry Reding

arm64: tegra: Add L2 cache topology to Tegra210

Add L2 cache and make it the next level of cache for each of the CPUs.
Signed-off-by: NJoseph Lo <josephl@nvidia.com>
Signed-off-by: NThierry Reding <treding@nvidia.com>
上级 3056c1ca
...@@ -1372,6 +1372,7 @@ ...@@ -1372,6 +1372,7 @@
clock-names = "cpu_g", "pll_x", "pll_p", "dfll"; clock-names = "cpu_g", "pll_x", "pll_p", "dfll";
clock-latency = <300000>; clock-latency = <300000>;
cpu-idle-states = <&CPU_SLEEP>; cpu-idle-states = <&CPU_SLEEP>;
next-level-cache = <&L2>;
}; };
cpu@1 { cpu@1 {
...@@ -1379,6 +1380,7 @@ ...@@ -1379,6 +1380,7 @@
compatible = "arm,cortex-a57"; compatible = "arm,cortex-a57";
reg = <1>; reg = <1>;
cpu-idle-states = <&CPU_SLEEP>; cpu-idle-states = <&CPU_SLEEP>;
next-level-cache = <&L2>;
}; };
cpu@2 { cpu@2 {
...@@ -1386,6 +1388,7 @@ ...@@ -1386,6 +1388,7 @@
compatible = "arm,cortex-a57"; compatible = "arm,cortex-a57";
reg = <2>; reg = <2>;
cpu-idle-states = <&CPU_SLEEP>; cpu-idle-states = <&CPU_SLEEP>;
next-level-cache = <&L2>;
}; };
cpu@3 { cpu@3 {
...@@ -1393,6 +1396,7 @@ ...@@ -1393,6 +1396,7 @@
compatible = "arm,cortex-a57"; compatible = "arm,cortex-a57";
reg = <3>; reg = <3>;
cpu-idle-states = <&CPU_SLEEP>; cpu-idle-states = <&CPU_SLEEP>;
next-level-cache = <&L2>;
}; };
idle-states { idle-states {
...@@ -1409,6 +1413,10 @@ ...@@ -1409,6 +1413,10 @@
status = "disabled"; status = "disabled";
}; };
}; };
L2: l2-cache {
compatible = "cache";
};
}; };
timer { timer {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册