arm64: dts: Update cache properties for amlogic
authorPierre Gondois <pierre.gondois@arm.com>
Mon, 7 Nov 2022 15:56:56 +0000 (16:56 +0100)
committerNeil Armstrong <neil.armstrong@linaro.org>
Mon, 7 Nov 2022 17:22:34 +0000 (18:22 +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>
Reviewed-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Link: https://lore.kernel.org/r/20221107155825.1644604-4-pierre.gondois@arm.com
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
arch/arm64/boot/dts/amlogic/meson-a1.dtsi
arch/arm64/boot/dts/amlogic/meson-axg.dtsi
arch/arm64/boot/dts/amlogic/meson-g12a.dtsi
arch/arm64/boot/dts/amlogic/meson-g12b.dtsi
arch/arm64/boot/dts/amlogic/meson-gx.dtsi
arch/arm64/boot/dts/amlogic/meson-sm1.dtsi

index b4000cf65a9a0a69940f6a8bc28228636ea0965d..d2f7cb4e5375f0dec22a1305c2574607efcd8597 100644 (file)
@@ -36,6 +36,7 @@
 
                l2: l2-cache0 {
                        compatible = "cache";
+                       cache-level = <2>;
                };
        };
 
index 04f797b5a012c859cf4169adbdd48724c583e806..1648e67afbb6bc9308d58fcf2cc1b710be2c6d9c 100644 (file)
 
                l2: l2-cache0 {
                        compatible = "cache";
+                       cache-level = <2>;
                };
        };
 
index fb0ab27d1f642dbe5e7100f737ea64b7a69d5eb1..af23d7968181d087f09a048bc51f15cc1fccaba9 100644 (file)
@@ -50,6 +50,7 @@
 
                l2: l2-cache0 {
                        compatible = "cache";
+                       cache-level = <2>;
                };
        };
 
index ee8fcae9f9f00aa833f3e67288859bbe6b6ddcfb..9978e619acccda737a21e4a4fa6ee46b93d09520 100644 (file)
 
                l2: l2-cache0 {
                        compatible = "cache";
+                       cache-level = <2>;
                };
        };
 };
index 023a520054947eeb6971cdb47c13b93ec7187030..e3c12e0be99d746140d43c9ebef7bfdebb006b3c 100644 (file)
 
                l2: l2-cache0 {
                        compatible = "cache";
+                       cache-level = <2>;
                };
        };
 
index 80737731af3fe28f6d06641dfa75b48136f032bb..d845eb19d93dce5bcd29c4b973a8b38aa281674f 100644 (file)
@@ -88,6 +88,7 @@
 
                l2: l2-cache0 {
                        compatible = "cache";
+                       cache-level = <2>;
                };
        };