arm64: dts: rockchip: update cache properties for rk3308 and rk3328
authorPierre Gondois <pierre.gondois@arm.com>
Mon, 7 Nov 2022 15:57:12 +0000 (16:57 +0100)
committerHeiko Stuebner <heiko@sntech.de>
Tue, 22 Nov 2022 22:28:44 +0000 (23:28 +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/20221107155825.1644604-20-pierre.gondois@arm.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/rk3308.dtsi
arch/arm64/boot/dts/rockchip/rk3328.dtsi

index 2dfa67f..dd228a2 100644 (file)
@@ -96,6 +96,7 @@
 
                l2: l2-cache {
                        compatible = "cache";
+                       cache-level = <2>;
                };
        };
 
index 96a7a77..6d7a7bf 100644 (file)
 
                l2: l2-cache0 {
                        compatible = "cache";
+                       cache-level = <2>;
                };
        };