Commit 6c00cac1 authored by Joseph Lo's avatar Joseph Lo Committed by 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: default avatarJoseph Lo <josephl@nvidia.com>
Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
parent 3056c1ca
......@@ -1372,6 +1372,7 @@ cpu@0 {
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 @@ cpu@1 {
compatible = "arm,cortex-a57";
reg = <1>;
cpu-idle-states = <&CPU_SLEEP>;
next-level-cache = <&L2>;
};
cpu@2 {
......@@ -1386,6 +1388,7 @@ cpu@2 {
compatible = "arm,cortex-a57";
reg = <2>;
cpu-idle-states = <&CPU_SLEEP>;
next-level-cache = <&L2>;
};
cpu@3 {
......@@ -1393,6 +1396,7 @@ cpu@3 {
compatible = "arm,cortex-a57";
reg = <3>;
cpu-idle-states = <&CPU_SLEEP>;
next-level-cache = <&L2>;
};
idle-states {
......@@ -1409,6 +1413,10 @@ CPU_SLEEP: cpu-sleep {
status = "disabled";
};
};
L2: l2-cache {
compatible = "cache";
};
};
timer {
......
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