[PATCH] ARM: dts: en7523: add missing cache properties

Krzysztof Kozlowski krzysztof.kozlowski at linaro.org
Sun Apr 23 08:08:24 PDT 2023


As all level 2 and level 3 caches are unified, add required
cache-unified and cache-level properties to fix warnings like:

  en7523-evb.dtb: l2-cache0: 'cache-level' is a required property
  en7523-evb.dtb: l2-cache0: 'cache-unified' is a required property

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski at linaro.org>
---
 arch/arm/boot/dts/en7523.dtsi | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm/boot/dts/en7523.dtsi b/arch/arm/boot/dts/en7523.dtsi
index 7f839331a777..b523a868c4ad 100644
--- a/arch/arm/boot/dts/en7523.dtsi
+++ b/arch/arm/boot/dts/en7523.dtsi
@@ -81,6 +81,8 @@ cpu1: cpu at 1 {
 
 		L2_0: l2-cache0 {
 			compatible = "cache";
+			cache-level = <2>;
+			cache-unified;
 		};
 	};
 
-- 
2.34.1




More information about the Linux-mediatek mailing list