arm64: dts: apm: add missing cache properties
Commit Message
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
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
Please take the patch via sub-arch SoC tree.
---
arch/arm64/boot/dts/apm/apm-shadowcat.dtsi | 8 ++++++++
arch/arm64/boot/dts/apm/apm-storm.dtsi | 8 ++++++++
2 files changed, 16 insertions(+)
Comments
On Sat, 22 Apr 2023 00:31:39 +0200, Krzysztof Kozlowski wrote:
> 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
>
>
> [...]
Applied, thanks!
Please let me know if this should go through any other tree.
[1/1] arm64: dts: apm: add missing cache properties
https://git.kernel.org/krzk/linux-dt/c/0022cec7edecd5ea6796dfe0d75330c55dd07a67
Best regards,
@@ -97,15 +97,23 @@ cpu@301 {
};
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;
};
};
@@ -81,15 +81,23 @@ cpu@301 {
};
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;
};
};