arm64: dts: nuvoton: add missing cache properties
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Fri, 21 Apr 2023 22:31:54 +0000 (00:31 +0200)
committerKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Thu, 13 Jul 2023 06:43:54 +0000 (08:43 +0200)
As all level 2 and level 3 caches are unified, add required
cache-unified and cache-level properties to fix warnings like:

  nuvoton-npcm845-evb.dtb: l2-cache: 'cache-level' is a required property
  nuvoton-npcm845-evb.dtb: l2-cache: 'cache-unified' is a required property

Reviewed-by: Tomer Maimon <tmaimon77@gmail.com>
Link: https://lore.kernel.org/r/20230421223154.115312-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
arch/arm64/boot/dts/nuvoton/nuvoton-npcm845.dtsi

index 12118b7..383938d 100644 (file)
@@ -49,6 +49,8 @@
 
                l2: l2-cache {
                        compatible = "cache";
+                       cache-level = <2>;
+                       cache-unified;
                };
        };