arm64: dts: Update cache properties for ti
authorPierre Gondois <pierre.gondois@arm.com>
Mon, 7 Nov 2022 15:57:16 +0000 (16:57 +0100)
committerVignesh Raghavendra <vigneshr@ti.com>
Mon, 16 Jan 2023 13:31:06 +0000 (19:01 +0530)
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>
Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
Link: https://lore.kernel.org/r/20221107155825.1644604-24-pierre.gondois@arm.com
arch/arm64/boot/dts/ti/k3-am625.dtsi
arch/arm64/boot/dts/ti/k3-am62a7.dtsi
arch/arm64/boot/dts/ti/k3-am642.dtsi
arch/arm64/boot/dts/ti/k3-am654.dtsi
arch/arm64/boot/dts/ti/k3-j7200.dtsi
arch/arm64/boot/dts/ti/k3-j721e.dtsi
arch/arm64/boot/dts/ti/k3-j721s2.dtsi

index cea2cc7..acc7f8a 100644 (file)
 
        L2_0: l2-cache0 {
                compatible = "cache";
+               cache-unified;
                cache-level = <2>;
                cache-size = <0x40000>;
                cache-line-size = <64>;
index 331d89f..9734549 100644 (file)
@@ -95,6 +95,7 @@
 
        L2_0: l2-cache0 {
                compatible = "cache";
+               cache-unified;
                cache-level = <2>;
                cache-size = <0x40000>;
                cache-line-size = <64>;
index 8a76f48..7a6eede 100644 (file)
@@ -58,6 +58,7 @@
        L2_0: l2-cache0 {
                compatible = "cache";
                cache-level = <2>;
+               cache-unified;
                cache-size = <0x40000>;
                cache-line-size = <64>;
                cache-sets = <256>;
index a892579..4cc329b 100644 (file)
@@ -93,6 +93,7 @@
        L2_0: l2-cache0 {
                compatible = "cache";
                cache-level = <2>;
+               cache-unified;
                cache-size = <0x80000>;
                cache-line-size = <64>;
                cache-sets = <512>;
        L2_1: l2-cache1 {
                compatible = "cache";
                cache-level = <2>;
+               cache-unified;
                cache-size = <0x80000>;
                cache-line-size = <64>;
                cache-sets = <512>;
index b6da045..d74f86b 100644 (file)
@@ -84,6 +84,7 @@
        L2_0: l2-cache0 {
                compatible = "cache";
                cache-level = <2>;
+               cache-unified;
                cache-size = <0x100000>;
                cache-line-size = <64>;
                cache-sets = <1024>;
index 0e23886..6975cae 100644 (file)
@@ -86,6 +86,7 @@
        L2_0: l2-cache0 {
                compatible = "cache";
                cache-level = <2>;
+               cache-unified;
                cache-size = <0x100000>;
                cache-line-size = <64>;
                cache-sets = <1024>;
index 7b930a8..78295ee 100644 (file)
@@ -69,6 +69,7 @@
 
        L2_0: l2-cache0 {
                compatible = "cache";
+               cache-unified;
                cache-level = <2>;
                cache-size = <0x100000>;
                cache-line-size = <64>;