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: Joseph Lo <josephl@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
This commit is contained in:
Joseph Lo 2019-02-01 11:43:47 +08:00 committed by Thierry Reding
parent 3056c1ca29
commit 6c00cac1de

View File

@ -1372,6 +1372,7 @@
clock-names = "cpu_g", "pll_x", "pll_p", "dfll";
clock-latency = <300000>;
cpu-idle-states = <&CPU_SLEEP>;
next-level-cache = <&L2>;
};
cpu@1 {
@ -1379,6 +1380,7 @@
compatible = "arm,cortex-a57";
reg = <1>;
cpu-idle-states = <&CPU_SLEEP>;
next-level-cache = <&L2>;
};
cpu@2 {
@ -1386,6 +1388,7 @@
compatible = "arm,cortex-a57";
reg = <2>;
cpu-idle-states = <&CPU_SLEEP>;
next-level-cache = <&L2>;
};
cpu@3 {
@ -1393,6 +1396,7 @@
compatible = "arm,cortex-a57";
reg = <3>;
cpu-idle-states = <&CPU_SLEEP>;
next-level-cache = <&L2>;
};
idle-states {
@ -1409,6 +1413,10 @@
status = "disabled";
};
};
L2: l2-cache {
compatible = "cache";
};
};
timer {