[PATCH] arm64: dts: nuvoton: add missing cache properties

From: Krzysztof Kozlowski
Date: Fri Apr 21 2023 - 18:32:42 EST


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

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx>

---

Please take the patch via sub-arch SoC tree.
---
arch/arm64/boot/dts/nuvoton/nuvoton-npcm845.dtsi | 2 ++
1 file changed, 2 insertions(+)

diff --git a/arch/arm64/boot/dts/nuvoton/nuvoton-npcm845.dtsi b/arch/arm64/boot/dts/nuvoton/nuvoton-npcm845.dtsi
index 12118b75c0e6..383938dcd3ce 100644
--- a/arch/arm64/boot/dts/nuvoton/nuvoton-npcm845.dtsi
+++ b/arch/arm64/boot/dts/nuvoton/nuvoton-npcm845.dtsi
@@ -49,6 +49,8 @@ cpu3: cpu@3 {

l2: l2-cache {
compatible = "cache";
+ cache-level = <2>;
+ cache-unified;
};
};

--
2.34.1