arm64: dts: apm: add missing cache properties
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Fri, 21 Apr 2023 22:31:39 +0000 (00:31 +0200)
committerKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Tue, 16 May 2023 16:26:52 +0000 (18:26 +0200)
As all level 2 and level 3 caches are unified, add required
cache-unified and cache-level properties to fix warnings like:

  apm-mustang.dtb: l2-cache-0: 'cache-level' is a required property
  apm-mustang.dtb: l2-cache-0: 'cache-unified' is a required property

Link: https://lore.kernel.org/r/20230421223139.115044-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
arch/arm64/boot/dts/apm/apm-shadowcat.dtsi
arch/arm64/boot/dts/apm/apm-storm.dtsi

index 70a10bcafcffc7f8bbe51a63c53cec289ea3e403..377660d705d1ae3eb75ee7aa2337f059789bc167 100644 (file)
                };
                xgene_L2_0: l2-cache-0 {
                        compatible = "cache";
+                       cache-level = <2>;
+                       cache-unified;
                };
                xgene_L2_1: l2-cache-1 {
                        compatible = "cache";
+                       cache-level = <2>;
+                       cache-unified;
                };
                xgene_L2_2: l2-cache-2 {
                        compatible = "cache";
+                       cache-level = <2>;
+                       cache-unified;
                };
                xgene_L2_3: l2-cache-3 {
                        compatible = "cache";
+                       cache-level = <2>;
+                       cache-unified;
                };
        };
 
index d73e809fe41a8616d731ce6a275a98b678d4e596..efa79209f4b2c0ddee7017d57e11674ab25530a6 100644 (file)
                };
                xgene_L2_0: l2-cache-0 {
                        compatible = "cache";
+                       cache-level = <2>;
+                       cache-unified;
                };
                xgene_L2_1: l2-cache-1 {
                        compatible = "cache";
+                       cache-level = <2>;
+                       cache-unified;
                };
                xgene_L2_2: l2-cache-2 {
                        compatible = "cache";
+                       cache-level = <2>;
+                       cache-unified;
                };
                xgene_L2_3: l2-cache-3 {
                        compatible = "cache";
+                       cache-level = <2>;
+                       cache-unified;
                };
        };