Skip to contentSkip to conversation

arm64: dts: Update cache properties for socionext

PATCH Superseded Rob Herring 1 participant 1 message Oct 20, 2023

Subsystems (2)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Rob Herring

author maintainer
#0 lore raw

PATCH 1/1 arm64: dts: Update cache properties for socionext

From: Pierre Gondois <[email protected]>

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.

---
 arch/arm64/boot/dts/socionext/uniphier-ld11.dtsi | 1 +
 arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi | 2 ++
 arch/arm64/boot/dts/socionext/uniphier-pxs3.dtsi | 1 +
 3 files changed, 4 insertions(+)
arch/arm64/boot/dts/socionext/uniphier-ld11.dtsi +1 -0
index 7bb36b071475..54e58d945fd7 100644
@@ -52,6 +52,7 @@ cpu1: cpu@1 {
 
 		l2: l2-cache {
 			compatible = "cache";
+			cache-level = <2>;
 		};
 	};
 
arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi +2 -0
index 4e2171630272..18390cba2eda 100644
@@ -86,10 +86,12 @@ cpu3: cpu@101 {
 
 		a72_l2: l2-cache0 {
 			compatible = "cache";
+			cache-level = <2>;
 		};
 
 		a53_l2: l2-cache1 {
 			compatible = "cache";
+			cache-level = <2>;
 		};
 	};
 
arch/arm64/boot/dts/socionext/uniphier-pxs3.dtsi +1 -0
index 38ccfb46ea42..56e037900818 100644
@@ -83,6 +83,7 @@ cpu3: cpu@3 {
 
 		l2: l2-cache {
 			compatible = "cache";
+			cache-level = <2>;
 		};
 	};
 
Signature · 1 line
2.42.0