]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
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 2dfa67f1cd676a9294e5b5b35aaae174fdca6923..dd228a256a32a80230955f7ccc356b6755bc8140 100644 (file)
@@ -96,6 +96,7 @@
 
                l2: l2-cache {
                        compatible = "cache";
+                       cache-level = <2>;
                };
        };
 
index 96a7a777bae8e03daaecf304a60258e7a5f8f338..6d7a7bf72ac7eeb8992b823a22688a9fdde369c1 100644 (file)
 
                l2: l2-cache0 {
                        compatible = "cache";
+                       cache-level = <2>;
                };
        };