arm64: dts: renesas: r8a779a0: Restore sort order
authorGeert Uytterhoeven <geert+renesas@glider.be>
Wed, 23 Jun 2021 14:59:25 +0000 (16:59 +0200)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Mon, 19 Jul 2021 08:51:35 +0000 (10:51 +0200)
The thermal node was inserted at the wrong place, breaking sort order
(sort by unit address, but group nodes of the same type).

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Link: https://lore.kernel.org/r/8d68a7ce449aaf90a88e69397dbe0e9c467d5726.1624460175.git.geert+renesas@glider.be
arch/arm64/boot/dts/renesas/r8a779a0.dtsi

index 78ca75f..631d520 100644 (file)
                        #power-domain-cells = <1>;
                };
 
+               tsc: thermal@e6190000 {
+                       compatible = "renesas,r8a779a0-thermal";
+                       reg = <0 0xe6190000 0 0x200>,
+                             <0 0xe6198000 0 0x200>,
+                             <0 0xe61a0000 0 0x200>,
+                             <0 0xe61a8000 0 0x200>,
+                             <0 0xe61b0000 0 0x200>;
+                       clocks = <&cpg CPG_MOD 919>;
+                       power-domains = <&sysc R8A779A0_PD_ALWAYS_ON>;
+                       resets = <&cpg 919>;
+                       #thermal-sensor-cells = <1>;
+               };
+
                tmu0: timer@e61e0000 {
                        compatible = "renesas,tmu-r8a779a0", "renesas,tmu";
                        reg = <0 0xe61e0000 0 0x30>;
                        status = "disabled";
                };
 
-               tsc: thermal@e6190000 {
-                       compatible = "renesas,r8a779a0-thermal";
-                       reg = <0 0xe6190000 0 0x200>,
-                             <0 0xe6198000 0 0x200>,
-                             <0 0xe61a0000 0 0x200>,
-                             <0 0xe61a8000 0 0x200>,
-                             <0 0xe61b0000 0 0x200>;
-                       clocks = <&cpg CPG_MOD 919>;
-                       power-domains = <&sysc R8A779A0_PD_ALWAYS_ON>;
-                       resets = <&cpg 919>;
-                       #thermal-sensor-cells = <1>;
-               };
-
                i2c0: i2c@e6500000 {
                        compatible = "renesas,i2c-r8a779a0",
                                     "renesas,rcar-gen3-i2c";