99 lines
3.2 KiB
Diff
99 lines
3.2 KiB
Diff
From 49f65e2eaaf96de1282bb82039386c2d2d04ee53 Mon Sep 17 00:00:00 2001
|
|
From: Pierre Gondois <pierre.gondois@arm.com>
|
|
Date: Mon, 7 Nov 2022 16:56:56 +0100
|
|
Subject: [PATCH] arm64: dts: Update cache properties for amlogic
|
|
|
|
The DeviceTree Specification v0.3 specifies that the cache node
|
|
'compatible' and 'cache-level' properties are 'required'. Cf.
|
|
s3.8 Multi-level and Shared Cache Nodes
|
|
The 'cache-unified' property should be present if one of the
|
|
properties for unified cache is present ('cache-size', ...).
|
|
|
|
Update the Device Trees accordingly.
|
|
|
|
Signed-off-by: Pierre Gondois <pierre.gondois@arm.com>
|
|
Reviewed-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
|
|
Link: https://lore.kernel.org/r/20221107155825.1644604-4-pierre.gondois@arm.com
|
|
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
|
|
---
|
|
arch/arm64/boot/dts/amlogic/meson-a1.dtsi | 1 +
|
|
arch/arm64/boot/dts/amlogic/meson-axg.dtsi | 1 +
|
|
arch/arm64/boot/dts/amlogic/meson-g12a.dtsi | 1 +
|
|
arch/arm64/boot/dts/amlogic/meson-g12b.dtsi | 1 +
|
|
arch/arm64/boot/dts/amlogic/meson-gx.dtsi | 1 +
|
|
arch/arm64/boot/dts/amlogic/meson-sm1.dtsi | 1 +
|
|
6 files changed, 6 insertions(+)
|
|
|
|
diff --git a/arch/arm64/boot/dts/amlogic/meson-a1.dtsi b/arch/arm64/boot/dts/amlogic/meson-a1.dtsi
|
|
index b4000cf65a9a0a..d2f7cb4e5375f0 100644
|
|
--- a/arch/arm64/boot/dts/amlogic/meson-a1.dtsi
|
|
+++ b/arch/arm64/boot/dts/amlogic/meson-a1.dtsi
|
|
@@ -36,6 +36,7 @@
|
|
|
|
l2: l2-cache0 {
|
|
compatible = "cache";
|
|
+ cache-level = <2>;
|
|
};
|
|
};
|
|
|
|
diff --git a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi
|
|
index 04f797b5a012c8..1648e67afbb6bc 100644
|
|
--- a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi
|
|
+++ b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi
|
|
@@ -105,6 +105,7 @@
|
|
|
|
l2: l2-cache0 {
|
|
compatible = "cache";
|
|
+ cache-level = <2>;
|
|
};
|
|
};
|
|
|
|
diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi
|
|
index fb0ab27d1f642d..af23d7968181d0 100644
|
|
--- a/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi
|
|
+++ b/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi
|
|
@@ -50,6 +50,7 @@
|
|
|
|
l2: l2-cache0 {
|
|
compatible = "cache";
|
|
+ cache-level = <2>;
|
|
};
|
|
};
|
|
|
|
diff --git a/arch/arm64/boot/dts/amlogic/meson-g12b.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12b.dtsi
|
|
index ee8fcae9f9f00a..9978e619acccda 100644
|
|
--- a/arch/arm64/boot/dts/amlogic/meson-g12b.dtsi
|
|
+++ b/arch/arm64/boot/dts/amlogic/meson-g12b.dtsi
|
|
@@ -105,6 +105,7 @@
|
|
|
|
l2: l2-cache0 {
|
|
compatible = "cache";
|
|
+ cache-level = <2>;
|
|
};
|
|
};
|
|
};
|
|
diff --git a/arch/arm64/boot/dts/amlogic/meson-gx.dtsi b/arch/arm64/boot/dts/amlogic/meson-gx.dtsi
|
|
index 023a520054947e..e3c12e0be99d74 100644
|
|
--- a/arch/arm64/boot/dts/amlogic/meson-gx.dtsi
|
|
+++ b/arch/arm64/boot/dts/amlogic/meson-gx.dtsi
|
|
@@ -132,6 +132,7 @@
|
|
|
|
l2: l2-cache0 {
|
|
compatible = "cache";
|
|
+ cache-level = <2>;
|
|
};
|
|
};
|
|
|
|
diff --git a/arch/arm64/boot/dts/amlogic/meson-sm1.dtsi b/arch/arm64/boot/dts/amlogic/meson-sm1.dtsi
|
|
index 80737731af3fe2..d845eb19d93dce 100644
|
|
--- a/arch/arm64/boot/dts/amlogic/meson-sm1.dtsi
|
|
+++ b/arch/arm64/boot/dts/amlogic/meson-sm1.dtsi
|
|
@@ -88,6 +88,7 @@
|
|
|
|
l2: l2-cache0 {
|
|
compatible = "cache";
|
|
+ cache-level = <2>;
|
|
};
|
|
};
|
|
|
|
|