ARM: dts: r7s72100: sort subnodes of root node
authorSimon Horman <horms+renesas@verge.net.au>
Mon, 12 Feb 2018 14:39:30 +0000 (15:39 +0100)
committerSimon Horman <horms+renesas@verge.net.au>
Mon, 16 Apr 2018 14:01:55 +0000 (16:01 +0200)
Sort the subnodes of the soc node to improve maintainability.
The sort has been done alphabetically with the node name as the key.

This patch should not introduce any functional change.

Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
arch/arm/boot/dts/r7s72100.dtsi

index d69d4810e597b6d2c98af7fded9c1f4617719cd1..ecf9516bcda840b022430521be46af2b444f0502 100644 (file)
                spi4 = &spi4;
        };
 
-       /* External clocks */
-       extal_clk: extal {
+       /* Fixed factor clocks */
+       b_clk: b {
                #clock-cells = <0>;
-               compatible = "fixed-clock";
-               /* If clk present, value must be set by board */
-               clock-frequency = <0>;
+               compatible = "fixed-factor-clock";
+               clocks = <&cpg_clocks R7S72100_CLK_PLL>;
+               clock-mult = <1>;
+               clock-div = <3>;
        };
 
-       usb_x1_clk: usb_x1 {
-               #clock-cells = <0>;
-               compatible = "fixed-clock";
-               /* If clk present, value must be set by board */
-               clock-frequency = <0>;
-       };
+       cpus {
+               #address-cells = <1>;
+               #size-cells = <0>;
 
-       rtc_x1_clk: rtc_x1 {
-               #clock-cells = <0>;
-               compatible = "fixed-clock";
-               /* If clk present, value must be set by board to 32678 */
-               clock-frequency = <0>;
+               cpu@0 {
+                       device_type = "cpu";
+                       compatible = "arm,cortex-a9";
+                       reg = <0>;
+                       clock-frequency = <400000000>;
+                       clocks = <&cpg_clocks R7S72100_CLK_I>;
+                       next-level-cache = <&L2>;
+               };
        };
 
-       rtc_x3_clk: rtc_x3 {
+       /* External clocks */
+       extal_clk: extal {
                #clock-cells = <0>;
                compatible = "fixed-clock";
-               /* If clk present, value must be set by board to 4000000 */
+               /* If clk present, value must be set by board */
                clock-frequency = <0>;
        };
 
-       /* Fixed factor clocks */
-       b_clk: b {
+       p0_clk: p0 {
                #clock-cells = <0>;
                compatible = "fixed-factor-clock";
                clocks = <&cpg_clocks R7S72100_CLK_PLL>;
                clock-mult = <1>;
-               clock-div = <3>;
+               clock-div = <12>;
        };
+
        p1_clk: p1 {
                #clock-cells = <0>;
                compatible = "fixed-factor-clock";
                clock-mult = <1>;
                clock-div = <6>;
        };
-       p0_clk: p0 {
+
+       rtc_x1_clk: rtc_x1 {
                #clock-cells = <0>;
-               compatible = "fixed-factor-clock";
-               clocks = <&cpg_clocks R7S72100_CLK_PLL>;
-               clock-mult = <1>;
-               clock-div = <12>;
+               compatible = "fixed-clock";
+               /* If clk present, value must be set by board to 32678 */
+               clock-frequency = <0>;
        };
 
-       cpus {
-               #address-cells = <1>;
-               #size-cells = <0>;
-
-               cpu@0 {
-                       device_type = "cpu";
-                       compatible = "arm,cortex-a9";
-                       reg = <0>;
-                       clock-frequency = <400000000>;
-                       clocks = <&cpg_clocks R7S72100_CLK_I>;
-                       next-level-cache = <&L2>;
-               };
+       rtc_x3_clk: rtc_x3 {
+               #clock-cells = <0>;
+               compatible = "fixed-clock";
+               /* If clk present, value must be set by board to 4000000 */
+               clock-frequency = <0>;
        };
 
        soc {
                        status = "disabled";
                };
        };
+
+       usb_x1_clk: usb_x1 {
+               #clock-cells = <0>;
+               compatible = "fixed-clock";
+               /* If clk present, value must be set by board */
+               clock-frequency = <0>;
+       };
 };