arm64: dts: mediatek: add missing cache properties
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Fri, 21 Apr 2023 22:31:57 +0000 (00:31 +0200)
committerMatthias Brugger <matthias.bgg@gmail.com>
Mon, 29 May 2023 15:42:19 +0000 (17:42 +0200)
As all level 2 and level 3 caches are unified, add required
cache-unified properties to fix warnings like:

  mt7622-rfb1.dtb: l2-cache: 'cache-unified' is a required property

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20230421223157.115367-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
arch/arm64/boot/dts/mediatek/mt7622.dtsi
arch/arm64/boot/dts/mediatek/mt8186.dtsi
arch/arm64/boot/dts/mediatek/mt8192.dtsi
arch/arm64/boot/dts/mediatek/mt8195.dtsi

index 006cd63..36ef2db 100644 (file)
                L2: l2-cache {
                        compatible = "cache";
                        cache-level = <2>;
+                       cache-unified;
                };
        };
 
index 29dddd8..8c02232 100644 (file)
                        cache-line-size = <64>;
                        cache-sets = <512>;
                        next-level-cache = <&l3_0>;
+                       cache-unified;
                };
 
                l2_1: l2-cache1 {
                        cache-line-size = <64>;
                        cache-sets = <512>;
                        next-level-cache = <&l3_0>;
+                       cache-unified;
                };
 
                l3_0: l3-cache {
index 5c30caf..faaff39 100644 (file)
                        cache-line-size = <64>;
                        cache-sets = <512>;
                        next-level-cache = <&l3_0>;
+                       cache-unified;
                };
 
                l2_1: l2-cache1 {
                        cache-line-size = <64>;
                        cache-sets = <512>;
                        next-level-cache = <&l3_0>;
+                       cache-unified;
                };
 
                l3_0: l3-cache {
index 2cef831..b53e959 100644 (file)
                        cache-line-size = <64>;
                        cache-sets = <512>;
                        next-level-cache = <&l3_0>;
+                       cache-unified;
                };
 
                l2_1: l2-cache1 {
                        cache-line-size = <64>;
                        cache-sets = <512>;
                        next-level-cache = <&l3_0>;
+                       cache-unified;
                };
 
                l3_0: l3-cache {