OSDN Git Service

arm64: dts: fsd: Update cache properties
authorPierre Gondois <pierre.gondois@arm.com>
Wed, 23 Nov 2022 09:24:45 +0000 (10:24 +0100)
committerKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Mon, 26 Dec 2022 14:45:44 +0000 (15:45 +0100)
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: Pierre Gondois <pierre.gondois@arm.com>
Link: https://lore.kernel.org/r/20221123092449.88097-3-pierre.gondois@arm.com
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
arch/arm64/boot/dts/tesla/fsd.dtsi

index f35bc5a..d58d476 100644 (file)
 
                cpucl_l2: l2-cache0 {
                        compatible = "cache";
+                       cache-level = <2>;
+                       cache-unified;
                        cache-size = <0x400000>;
                        cache-line-size = <64>;
                        cache-sets = <4096>;