arm64: dts: renesas: r8a774c0: cat874: Sort nodes
authorYoshihiro Kaneko <ykaneko0929@gmail.com>
Mon, 19 Aug 2019 12:55:41 +0000 (21:55 +0900)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Wed, 21 Aug 2019 08:53:28 +0000 (10:53 +0200)
Sort nodes.

If node address is present
   * Sort by node address, grouping all nodes with the same compat string
     and sorting the group alphabetically.
Else
   * Sort alphabetically

This should not have any run-time effect.

Signed-off-by: Yoshihiro Kaneko <ykaneko0929@gmail.com>
Reviewed-by: Simon Horman <horms+renesas@verge.net.au>
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
arch/arm64/boot/dts/renesas/r8a774c0-cat874.dts

index 651383c..c99b1de 100644 (file)
                simple-audio-card,bitclock-master = <&sndcpu>;
                simple-audio-card,frame-master = <&sndcpu>;
 
-               sndcpu: simple-audio-card,cpu {
-                       sound-dai = <&rcar_sound>;
-               };
-
                sndcodec: simple-audio-card,codec {
                        sound-dai = <&tda19988>;
                };
+
+               sndcpu: simple-audio-card,cpu {
+                       sound-dai = <&rcar_sound>;
+               };
        };
 
        vcc_sdhi0: regulator-vcc-sdhi0 {
                function = "du";
        };
 
-       i2c1_pins: i2c1 {
-               groups = "i2c1_b";
-               function = "i2c1";
-       };
-
        hscif2_pins: hscif2 {
                groups = "hscif2_data_a", "hscif2_ctrl_a";
                function = "hscif2";
        };
 
+       i2c1_pins: i2c1 {
+               groups = "i2c1_b";
+               function = "i2c1";
+       };
+
        scif2_pins: scif2 {
                groups = "scif2_data_a";
                function = "scif2";
                power-source = <1800>;
        };
 
-       sound_pins: sound {
-               groups = "ssi01239_ctrl", "ssi0_data";
-               function = "ssi";
-       };
-
        sound_clk_pins: sound_clk {
                groups = "audio_clkout1_a";
                function = "audio_clk";
        };
 
+       sound_pins: sound {
+               groups = "ssi01239_ctrl", "ssi0_data";
+               function = "ssi";
+       };
+
        usb30_pins: usb30 {
                groups = "usb30", "usb30_id";
                function = "usb30";