ramips: move aliases to the top in SoC DTSI files
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>
Mon, 22 Feb 2021 17:44:31 +0000 (18:44 +0100)
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>
Mon, 22 Feb 2021 17:49:57 +0000 (18:49 +0100)
The aliases node is expected as one of the first entries, and
having it there matches alphabetic sorting as well.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
target/linux/ramips/dts/mt7620a.dtsi
target/linux/ramips/dts/mt7620n.dtsi
target/linux/ramips/dts/mt7621.dtsi
target/linux/ramips/dts/mt7628an.dtsi
target/linux/ramips/dts/rt2880.dtsi
target/linux/ramips/dts/rt3050.dtsi
target/linux/ramips/dts/rt3352.dtsi
target/linux/ramips/dts/rt3883.dtsi
target/linux/ramips/dts/rt5350.dtsi

index ebcb659d3686092a4210343e77190930db951835..afd638a386226dec16a004905589cef71bcc2ab7 100644 (file)
@@ -5,6 +5,12 @@
        #size-cells = <1>;
        compatible = "ralink,mt7620a-soc";
 
+       aliases {
+               spi0 = &spi0;
+               spi1 = &spi1;
+               serial0 = &uartlite;
+       };
+
        cpus {
                #address-cells = <1>;
                #size-cells = <0>;
                compatible = "mti,cpu-interrupt-controller";
        };
 
-       aliases {
-               spi0 = &spi0;
-               spi1 = &spi1;
-               serial0 = &uartlite;
-       };
-
        palmbus: palmbus@10000000 {
                compatible = "palmbus";
                reg = <0x10000000 0x200000>;
index 2feb411dbc70cfb5331b8d77772f0ef174a65860..309608adb13911e2b2209603d7f167f0f31349f9 100644 (file)
@@ -5,6 +5,12 @@
        #size-cells = <1>;
        compatible = "ralink,mt7620n-soc";
 
+       aliases {
+               spi0 = &spi0;
+               spi1 = &spi1;
+               serial0 = &uartlite;
+       };
+
        cpus {
                #address-cells = <1>;
                #size-cells = <0>;
                compatible = "mti,cpu-interrupt-controller";
        };
 
-       aliases {
-               spi0 = &spi0;
-               spi1 = &spi1;
-               serial0 = &uartlite;
-       };
-
        palmbus: palmbus@10000000 {
                compatible = "palmbus";
                reg = <0x10000000 0x200000>;
index 7636f9d8000a55bd453de0dab1db685ef292fabf..53e13441e81ac4510ddced609e356e69ad104a77 100644 (file)
@@ -9,6 +9,10 @@
        #size-cells = <1>;
        compatible = "mediatek,mt7621-soc";
 
+       aliases {
+               serial0 = &uartlite;
+       };
+
        cpus {
                #address-cells = <1>;
                #size-cells = <0>;
                compatible = "mti,cpu-interrupt-controller";
        };
 
-       aliases {
-               serial0 = &uartlite;
-       };
-
        chosen {
                bootargs = "console=ttyS0,57600";
        };
index aa46de713412a2d0f2f6b28ef9834ca141127826..d622aa90776d8013b005e267163b25a29f7849c5 100644 (file)
@@ -5,6 +5,10 @@
        #size-cells = <1>;
        compatible = "mediatek,mt7628an-soc";
 
+       aliases {
+               serial0 = &uartlite;
+       };
+
        cpus {
                #address-cells = <1>;
                #size-cells = <0>;
                bootargs = "console=ttyS0,57600";
        };
 
-       aliases {
-               serial0 = &uartlite;
-       };
-
        cpuintc: cpuintc {
                #address-cells = <0>;
                #interrupt-cells = <1>;
index 092b37a0c2bdb6086a8866df388ef2f646d866d8..b02ef4f465f003bc561c65a0ae73619c80d758c9 100644 (file)
@@ -5,6 +5,10 @@
        #size-cells = <1>;
        compatible = "ralink,rt2880-soc";
 
+       aliases {
+               serial0 = &uartlite;
+       };
+
        cpus {
                #address-cells = <1>;
                #size-cells = <0>;
                bootargs = "console=ttyS0,57600";
        };
 
-       aliases {
-               serial0 = &uartlite;
-       };
-
        cpuintc: cpuintc {
                #address-cells = <0>;
                #interrupt-cells = <1>;
index 847c2169f08e3c747b5229f9e00aa246f7e38ea3..9ba8a4df3609d0b2dd0337941a0b4580eb6df300 100644 (file)
@@ -5,6 +5,11 @@
        #size-cells = <1>;
        compatible = "ralink,rt3050-soc", "ralink,rt3052-soc", "ralink,rt3350-soc";
 
+       aliases {
+               spi0 = &spi0;
+               serial0 = &uartlite;
+       };
+
        cpus {
                #address-cells = <1>;
                #size-cells = <0>;
                bootargs = "console=ttyS0,57600";
        };
 
-       aliases {
-               spi0 = &spi0;
-               serial0 = &uartlite;
-       };
-
        cpuintc: cpuintc {
                #address-cells = <0>;
                #interrupt-cells = <1>;
index 2a51b14de1ffd7fe883f320618c826f123a3d93f..054d2e8450507bc6dbd8a2ac2e000e5cae0e032b 100644 (file)
@@ -5,6 +5,12 @@
        #size-cells = <1>;
        compatible = "ralink,rt3352-soc";
 
+       aliases {
+               spi0 = &spi0;
+               spi1 = &spi1;
+               serial0 = &uartlite;
+       };
+
        cpus {
                #address-cells = <1>;
                #size-cells = <0>;
                compatible = "mti,cpu-interrupt-controller";
        };
 
-       aliases {
-               spi0 = &spi0;
-               spi1 = &spi1;
-               serial0 = &uartlite;
-       };
-
        palmbus: palmbus@10000000 {
                compatible = "palmbus";
                reg = <0x10000000 0x200000>;
index a605d60ca7935db1d0dbe447b5f0e3cd8be1ab30..081b52bfd873d123f9173fbff3be90d27b85d254 100644 (file)
@@ -5,6 +5,12 @@
        #size-cells = <1>;
        compatible = "ralink,rt3883-soc";
 
+       aliases {
+               spi0 = &spi0;
+               spi1 = &spi1;
+               serial0 = &uartlite;
+       };
+
        cpus {
                #address-cells = <1>;
                #size-cells = <0>;
                bootargs = "console=ttyS0,57600";
        };
 
-       aliases {
-               spi0 = &spi0;
-               spi1 = &spi1;
-               serial0 = &uartlite;
-       };
-
        cpuintc: cpuintc {
                #address-cells = <0>;
                #interrupt-cells = <1>;
index da282b55ec82a101e903c7d40099d59ad2b12071..579d41456bf267713db49924052596fcfa19709f 100644 (file)
@@ -5,6 +5,12 @@
        #size-cells = <1>;
        compatible = "ralink,rt5350-soc";
 
+       aliases {
+               spi0 = &spi0;
+               spi1 = &spi1;
+               serial0 = &uartlite;
+       };
+
        cpus {
                #address-cells = <1>;
                #size-cells = <0>;
                compatible = "mti,cpu-interrupt-controller";
        };
 
-       aliases {
-               spi0 = &spi0;
-               spi1 = &spi1;
-               serial0 = &uartlite;
-       };
-
        palmbus: palmbus@10000000 {
                compatible = "palmbus";
                reg = <0x10000000 0x200000>;