Unverified Commit 8d4f9145 authored by Pierre Gondois's avatar Pierre Gondois Committed by Arnd Bergmann
Browse files

arm64: dts: Update cache properties for socionext



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>
Reviewed-by: default avatarKunihiko Hayashi <hayashi.kunihiko@socionext.com>
Link: https://lore.kernel.org/r/20221107155825.1644604-21-pierre.gondois@arm.com


Signed-off-by: default avatarRob Herring <robh@kernel.org>
Reviewed-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20231020195022.4183862-2-robh@kernel.org


Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
parent 23b336e9
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -52,6 +52,7 @@ cpu1: cpu@1 {

		l2: l2-cache {
			compatible = "cache";
			cache-level = <2>;
		};
	};

+2 −0
Original line number Diff line number Diff line
@@ -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>;
		};
	};

+1 −0
Original line number Diff line number Diff line
@@ -83,6 +83,7 @@ cpu3: cpu@3 {

		l2: l2-cache {
			compatible = "cache";
			cache-level = <2>;
		};
	};