arm64: dts: mt8183: Fix unit name warnings
authorEnric Balletbo i Serra <enric.balletbo@collabora.com>
Thu, 25 Jun 2020 10:17:54 +0000 (12:17 +0200)
committerMatthias Brugger <matthias.bgg@gmail.com>
Fri, 10 Jul 2020 13:35:01 +0000 (15:35 +0200)
Remove the unit address from the DT nodes that doesn't have a reg
property. This fixes the following unit name warnings:

  Warning (unit_address_vs_reg): /cpus/idle-states/cluster-sleep@0: node has a unit name, but no reg or ranges property
  Warning (unit_address_vs_reg): /cpus/idle-states/cluster-sleep@1: node has a unit name, but no reg or ranges property

Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Tested-by: Hsin-Yi Wang <hsinyi@chromium.org>
Link: https://lore.kernel.org/r/20200625101757.101775-5-enric.balletbo@collabora.com
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
arch/arm64/boot/dts/mediatek/mt8183.dtsi

index 00137ec61164d91a73845d0caebc4e6e28ddd665..6c00ffa275202c51f71b36fb7526d504597ec9af 100644 (file)
                                min-residency-us = <800>;
                        };
 
-                       CLUSTER_SLEEP0: cluster-sleep@0 {
+                       CLUSTER_SLEEP0: cluster-sleep-0 {
                                compatible = "arm,idle-state";
                                local-timer-stop;
                                arm,psci-suspend-param = <0x01010001>;
                                exit-latency-us = <400>;
                                min-residency-us = <1000>;
                        };
-                       CLUSTER_SLEEP1: cluster-sleep@1 {
+                       CLUSTER_SLEEP1: cluster-sleep-1 {
                                compatible = "arm,idle-state";
                                local-timer-stop;
                                arm,psci-suspend-param = <0x01010001>;