arm64: dts: Update cache properties for hisilicon
authorPierre Gondois <pierre.gondois@arm.com>
Mon, 7 Nov 2022 15:57:02 +0000 (16:57 +0100)
committerWei Xu <xuwei5@hisilicon.com>
Tue, 15 Nov 2022 03:39:03 +0000 (03:39 +0000)
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: Wei Xu <xuwei5@hisilicon.com>
arch/arm64/boot/dts/hisilicon/hi3660.dtsi
arch/arm64/boot/dts/hisilicon/hi6220.dtsi
arch/arm64/boot/dts/hisilicon/hip05.dtsi
arch/arm64/boot/dts/hisilicon/hip06.dtsi
arch/arm64/boot/dts/hisilicon/hip07.dtsi

index 8343d0c..a57f35e 100644 (file)
 
                A53_L2: l2-cache0 {
                        compatible = "cache";
+                       cache-level = <2>;
                };
 
                A73_L2: l2-cache1 {
                        compatible = "cache";
+                       cache-level = <2>;
                };
        };
 
index ae0a7cf..f6d3202 100644 (file)
 
                CLUSTER0_L2: l2-cache0 {
                        compatible = "cache";
+                       cache-level = <2>;
                };
 
                CLUSTER1_L2: l2-cache1 {
                        compatible = "cache";
+                       cache-level = <2>;
                };
        };
 
index 7b2abd1..5b2b1bf 100644 (file)
 
                cluster0_l2: l2-cache0 {
                        compatible = "cache";
+                       cache-level = <2>;
                };
 
                cluster1_l2: l2-cache1 {
                        compatible = "cache";
+                       cache-level = <2>;
                };
 
                cluster2_l2: l2-cache2 {
                        compatible = "cache";
+                       cache-level = <2>;
                };
 
                cluster3_l2: l2-cache3 {
                        compatible = "cache";
+                       cache-level = <2>;
                };
        };
 
index 2f8b03b..291c2ee 100644 (file)
 
                cluster0_l2: l2-cache0 {
                        compatible = "cache";
+                       cache-level = <2>;
                };
 
                cluster1_l2: l2-cache1 {
                        compatible = "cache";
+                       cache-level = <2>;
                };
 
                cluster2_l2: l2-cache2 {
                        compatible = "cache";
+                       cache-level = <2>;
                };
 
                cluster3_l2: l2-cache3 {
                        compatible = "cache";
+                       cache-level = <2>;
                };
        };
 
index 1a16662..b8746fb 100644 (file)
 
                cluster0_l2: l2-cache0 {
                        compatible = "cache";
+                       cache-level = <2>;
                };
 
                cluster1_l2: l2-cache1 {
                        compatible = "cache";
+                       cache-level = <2>;
                };
 
                cluster2_l2: l2-cache2 {
                        compatible = "cache";
+                       cache-level = <2>;
                };
 
                cluster3_l2: l2-cache3 {
                        compatible = "cache";
+                       cache-level = <2>;
                };
 
                cluster4_l2: l2-cache4 {
                        compatible = "cache";
+                       cache-level = <2>;
                };
 
                cluster5_l2: l2-cache5 {
                        compatible = "cache";
+                       cache-level = <2>;
                };
 
                cluster6_l2: l2-cache6 {
                        compatible = "cache";
+                       cache-level = <2>;
                };
 
                cluster7_l2: l2-cache7 {
                        compatible = "cache";
+                       cache-level = <2>;
                };
 
                cluster8_l2: l2-cache8 {
                        compatible = "cache";
+                       cache-level = <2>;
                };
 
                cluster9_l2: l2-cache9 {
                        compatible = "cache";
+                       cache-level = <2>;
                };
 
                cluster10_l2: l2-cache10 {
                        compatible = "cache";
+                       cache-level = <2>;
                };
 
                cluster11_l2: l2-cache11 {
                        compatible = "cache";
+                       cache-level = <2>;
                };
 
                cluster12_l2: l2-cache12 {
                        compatible = "cache";
+                       cache-level = <2>;
                };
 
                cluster13_l2: l2-cache13 {
                        compatible = "cache";
+                       cache-level = <2>;
                };
 
                cluster14_l2: l2-cache14 {
                        compatible = "cache";
+                       cache-level = <2>;
                };
 
                cluster15_l2: l2-cache15 {
                        compatible = "cache";
+                       cache-level = <2>;
                };
        };