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 8343d0cedde3371ca16e08307ffce810b13f33c3..a57f35eb5ef6054599b7773a9f709f2bdae09871 100644 (file)
 
                A53_L2: l2-cache0 {
                        compatible = "cache";
+                       cache-level = <2>;
                };
 
                A73_L2: l2-cache1 {
                        compatible = "cache";
+                       cache-level = <2>;
                };
        };
 
index ae0a7cfeeb4715ba38f3206885a23b7953a1a6c0..f6d3202b0d1adb10c0d8822347ea8081565b7f61 100644 (file)
 
                CLUSTER0_L2: l2-cache0 {
                        compatible = "cache";
+                       cache-level = <2>;
                };
 
                CLUSTER1_L2: l2-cache1 {
                        compatible = "cache";
+                       cache-level = <2>;
                };
        };
 
index 7b2abd10d3d680ce8c336615508909dc843ac03d..5b2b1bfd0d2a12fea89e8d725822a53f29844d6a 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 2f8b03b0d36537caf82f5ca0ab53dc9c6fd22fa7..291c2ee3828823eb1c6278556919ce8f12dd8c85 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 1a16662f8867ba1e0212752e2313a10f22e08866..b8746fb959b5d7cf48893281696e096da7446881 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>;
                };
        };