arm64: dts: exynos: Add unit address to soc node and move thermal zones on Exynos7
authorKrzysztof Kozlowski <krzk@kernel.org>
Mon, 29 Jun 2020 19:33:38 +0000 (21:33 +0200)
committerKrzysztof Kozlowski <krzk@kernel.org>
Tue, 7 Jul 2020 06:45:47 +0000 (08:45 +0200)
Add @0 unit address to 'soc' node match its 'reg' property and move the
thermal zones out of 'soc' to main root as it this is usually not a
property of a Soc.

This silences DTC warnings:

    Warning (unit_address_vs_reg): /soc: node has a reg or ranges property, but no unit name
    Warning (simple_bus_reg): /soc/thermal-zones: missing or empty reg/ranges property

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
arch/arm64/boot/dts/exynos/exynos7.dtsi

index 21da0d8..b9ed6a3 100644 (file)
@@ -83,7 +83,7 @@
                method = "smc";
        };
 
-       soc: soc {
+       soc: soc@0 {
                compatible = "simple-bus";
                #address-cells = <1>;
                #size-cells = <1>;
                        #thermal-sensor-cells = <0>;
                };
 
-               thermal-zones {
-                       atlas_thermal: cluster0-thermal {
-                               polling-delay-passive = <0>; /* milliseconds */
-                               polling-delay = <0>; /* milliseconds */
-                               thermal-sensors = <&tmuctrl_0>;
-                               #include "exynos7-trip-points.dtsi"
-                       };
-               };
-
                ufs: ufs@15570000 {
                        compatible = "samsung,exynos7-ufs";
                        reg = <0x15570000 0x100>,  /* 0: HCI standard */
                };
        };
 
+       thermal-zones {
+               atlas_thermal: cluster0-thermal {
+                       polling-delay-passive = <0>; /* milliseconds */
+                       polling-delay = <0>; /* milliseconds */
+                       thermal-sensors = <&tmuctrl_0>;
+                       #include "exynos7-trip-points.dtsi"
+               };
+       };
+
        timer {
                compatible = "arm,armv8-timer";
                interrupts = <GIC_PPI 13