]> www.infradead.org Git - linux.git/commitdiff
arm64: dts: amazon: alpine-v3: drop cache nodes unit addresses
authorKrzysztof Kozlowski <krzk@kernel.org>
Tue, 2 Apr 2024 20:07:43 +0000 (22:07 +0200)
committerKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Wed, 24 Apr 2024 07:23:55 +0000 (09:23 +0200)
Cache device nodes within cpus do not have "reg" property, so should not
have unit address, as reported by dtc W=1 warnings:

  alpine-v3.dtsi:247.24-254.5: Warning (unit_address_vs_reg): /cpus/cache@0: node has a unit name, but no reg or ranges property
  alpine-v3.dtsi:256.26-263.5: Warning (unit_address_vs_reg): /cpus/cache@100: node has a unit name, but no reg or ranges property
  alpine-v3.dtsi:265.26-272.5: Warning (unit_address_vs_reg): /cpus/cache@200: node has a unit name, but no reg or ranges property
  alpine-v3.dtsi:274.26-281.5: Warning (unit_address_vs_reg): /cpus/cache@300: node has a unit name, but no reg or ranges property

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Link: https://lore.kernel.org/r/20240402200744.79349-4-krzk@kernel.org
arch/arm64/boot/dts/amazon/alpine-v3.dtsi

index 0ab40741f697122f690181023a70789ff821a77c..3099fdfa9520a68a6b5fa88f81c80ba10f69ebba 100644 (file)
                        next-level-cache = <&cluster3_l2>;
                };
 
-               cluster0_l2: cache@0 {
+               cluster0_l2: cache-0 {
                        compatible = "cache";
                        cache-size = <0x200000>;
                        cache-line-size = <64>;
                        cache-unified;
                };
 
-               cluster1_l2: cache@100 {
+               cluster1_l2: cache-100 {
                        compatible = "cache";
                        cache-size = <0x200000>;
                        cache-line-size = <64>;
                        cache-unified;
                };
 
-               cluster2_l2: cache@200 {
+               cluster2_l2: cache-200 {
                        compatible = "cache";
                        cache-size = <0x200000>;
                        cache-line-size = <64>;
                        cache-unified;
                };
 
-               cluster3_l2: cache@300 {
+               cluster3_l2: cache-300 {
                        compatible = "cache";
                        cache-size = <0x200000>;
                        cache-line-size = <64>;