Commit 880932e6 authored by Pierre Gondois's avatar Pierre Gondois Committed by Vignesh Raghavendra

arm64: dts: Update cache properties for ti

The DeviceTree Specification v0.3 specifies that the cache node
'compatible' and 'cache-level' properties are 'required'. Cf.
s3.8 Multi-level and Shared Cache Nodes
The 'cache-unified' property should be present if one of the
properties for unified cache is present ('cache-size', ...).

Update the Device Trees accordingly.
Signed-off-by: default avatarPierre Gondois <pierre.gondois@arm.com>
Signed-off-by: default avatarVignesh Raghavendra <vigneshr@ti.com>
Link: https://lore.kernel.org/r/20221107155825.1644604-24-pierre.gondois@arm.com
parent c48ac0ef
...@@ -146,6 +146,7 @@ opp-1250000000 { ...@@ -146,6 +146,7 @@ opp-1250000000 {
L2_0: l2-cache0 { L2_0: l2-cache0 {
compatible = "cache"; compatible = "cache";
cache-unified;
cache-level = <2>; cache-level = <2>;
cache-size = <0x40000>; cache-size = <0x40000>;
cache-line-size = <64>; cache-line-size = <64>;
......
...@@ -95,6 +95,7 @@ cpu3: cpu@3 { ...@@ -95,6 +95,7 @@ cpu3: cpu@3 {
L2_0: l2-cache0 { L2_0: l2-cache0 {
compatible = "cache"; compatible = "cache";
cache-unified;
cache-level = <2>; cache-level = <2>;
cache-size = <0x40000>; cache-size = <0x40000>;
cache-line-size = <64>; cache-line-size = <64>;
......
...@@ -58,6 +58,7 @@ cpu1: cpu@1 { ...@@ -58,6 +58,7 @@ cpu1: cpu@1 {
L2_0: l2-cache0 { L2_0: l2-cache0 {
compatible = "cache"; compatible = "cache";
cache-level = <2>; cache-level = <2>;
cache-unified;
cache-size = <0x40000>; cache-size = <0x40000>;
cache-line-size = <64>; cache-line-size = <64>;
cache-sets = <256>; cache-sets = <256>;
......
...@@ -93,6 +93,7 @@ cpu3: cpu@101 { ...@@ -93,6 +93,7 @@ cpu3: cpu@101 {
L2_0: l2-cache0 { L2_0: l2-cache0 {
compatible = "cache"; compatible = "cache";
cache-level = <2>; cache-level = <2>;
cache-unified;
cache-size = <0x80000>; cache-size = <0x80000>;
cache-line-size = <64>; cache-line-size = <64>;
cache-sets = <512>; cache-sets = <512>;
...@@ -102,6 +103,7 @@ L2_0: l2-cache0 { ...@@ -102,6 +103,7 @@ L2_0: l2-cache0 {
L2_1: l2-cache1 { L2_1: l2-cache1 {
compatible = "cache"; compatible = "cache";
cache-level = <2>; cache-level = <2>;
cache-unified;
cache-size = <0x80000>; cache-size = <0x80000>;
cache-line-size = <64>; cache-line-size = <64>;
cache-sets = <512>; cache-sets = <512>;
......
...@@ -84,6 +84,7 @@ cpu1: cpu@1 { ...@@ -84,6 +84,7 @@ cpu1: cpu@1 {
L2_0: l2-cache0 { L2_0: l2-cache0 {
compatible = "cache"; compatible = "cache";
cache-level = <2>; cache-level = <2>;
cache-unified;
cache-size = <0x100000>; cache-size = <0x100000>;
cache-line-size = <64>; cache-line-size = <64>;
cache-sets = <1024>; cache-sets = <1024>;
......
...@@ -86,6 +86,7 @@ cpu1: cpu@1 { ...@@ -86,6 +86,7 @@ cpu1: cpu@1 {
L2_0: l2-cache0 { L2_0: l2-cache0 {
compatible = "cache"; compatible = "cache";
cache-level = <2>; cache-level = <2>;
cache-unified;
cache-size = <0x100000>; cache-size = <0x100000>;
cache-line-size = <64>; cache-line-size = <64>;
cache-sets = <1024>; cache-sets = <1024>;
......
...@@ -69,6 +69,7 @@ cpu1: cpu@1 { ...@@ -69,6 +69,7 @@ cpu1: cpu@1 {
L2_0: l2-cache0 { L2_0: l2-cache0 {
compatible = "cache"; compatible = "cache";
cache-unified;
cache-level = <2>; cache-level = <2>;
cache-size = <0x100000>; cache-size = <0x100000>;
cache-line-size = <64>; cache-line-size = <64>;
......
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