aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips
diff options
context:
space:
mode:
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>2021-02-22 18:44:31 +0100
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2021-02-22 18:49:57 +0100
commitd4520d75a142db901d748c4f07e3ff72916bfa91 (patch)
tree34d947117686e808b9da3d789fd48341e1ecfb98 /target/linux/ramips
parent86a4d7802272707c19864ebb56518cc7aa64102f (diff)
downloadupstream-d4520d75a142db901d748c4f07e3ff72916bfa91.tar.gz
upstream-d4520d75a142db901d748c4f07e3ff72916bfa91.tar.bz2
upstream-d4520d75a142db901d748c4f07e3ff72916bfa91.zip
ramips: move aliases to the top in SoC DTSI files
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>
Diffstat (limited to 'target/linux/ramips')
-rw-r--r--target/linux/ramips/dts/mt7620a.dtsi12
-rw-r--r--target/linux/ramips/dts/mt7620n.dtsi12
-rw-r--r--target/linux/ramips/dts/mt7621.dtsi8
-rw-r--r--target/linux/ramips/dts/mt7628an.dtsi8
-rw-r--r--target/linux/ramips/dts/rt2880.dtsi8
-rw-r--r--target/linux/ramips/dts/rt3050.dtsi10
-rw-r--r--target/linux/ramips/dts/rt3352.dtsi12
-rw-r--r--target/linux/ramips/dts/rt3883.dtsi12
-rw-r--r--target/linux/ramips/dts/rt5350.dtsi12
9 files changed, 47 insertions, 47 deletions
diff --git a/target/linux/ramips/dts/mt7620a.dtsi b/target/linux/ramips/dts/mt7620a.dtsi
index ebcb659d36..afd638a386 100644
--- a/target/linux/ramips/dts/mt7620a.dtsi
+++ b/target/linux/ramips/dts/mt7620a.dtsi
@@ -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>;
@@ -26,12 +32,6 @@
compatible = "mti,cpu-interrupt-controller";
};
- aliases {
- spi0 = &spi0;
- spi1 = &spi1;
- serial0 = &uartlite;
- };
-
palmbus: palmbus@10000000 {
compatible = "palmbus";
reg = <0x10000000 0x200000>;
diff --git a/target/linux/ramips/dts/mt7620n.dtsi b/target/linux/ramips/dts/mt7620n.dtsi
index 2feb411dbc..309608adb1 100644
--- a/target/linux/ramips/dts/mt7620n.dtsi
+++ b/target/linux/ramips/dts/mt7620n.dtsi
@@ -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>;
@@ -26,12 +32,6 @@
compatible = "mti,cpu-interrupt-controller";
};
- aliases {
- spi0 = &spi0;
- spi1 = &spi1;
- serial0 = &uartlite;
- };
-
palmbus: palmbus@10000000 {
compatible = "palmbus";
reg = <0x10000000 0x200000>;
diff --git a/target/linux/ramips/dts/mt7621.dtsi b/target/linux/ramips/dts/mt7621.dtsi
index 7636f9d800..53e13441e8 100644
--- a/target/linux/ramips/dts/mt7621.dtsi
+++ b/target/linux/ramips/dts/mt7621.dtsi
@@ -9,6 +9,10 @@
#size-cells = <1>;
compatible = "mediatek,mt7621-soc";
+ aliases {
+ serial0 = &uartlite;
+ };
+
cpus {
#address-cells = <1>;
#size-cells = <0>;
@@ -33,10 +37,6 @@
compatible = "mti,cpu-interrupt-controller";
};
- aliases {
- serial0 = &uartlite;
- };
-
chosen {
bootargs = "console=ttyS0,57600";
};
diff --git a/target/linux/ramips/dts/mt7628an.dtsi b/target/linux/ramips/dts/mt7628an.dtsi
index aa46de7134..d622aa9077 100644
--- a/target/linux/ramips/dts/mt7628an.dtsi
+++ b/target/linux/ramips/dts/mt7628an.dtsi
@@ -5,6 +5,10 @@
#size-cells = <1>;
compatible = "mediatek,mt7628an-soc";
+ aliases {
+ serial0 = &uartlite;
+ };
+
cpus {
#address-cells = <1>;
#size-cells = <0>;
@@ -19,10 +23,6 @@
bootargs = "console=ttyS0,57600";
};
- aliases {
- serial0 = &uartlite;
- };
-
cpuintc: cpuintc {
#address-cells = <0>;
#interrupt-cells = <1>;
diff --git a/target/linux/ramips/dts/rt2880.dtsi b/target/linux/ramips/dts/rt2880.dtsi
index 092b37a0c2..b02ef4f465 100644
--- a/target/linux/ramips/dts/rt2880.dtsi
+++ b/target/linux/ramips/dts/rt2880.dtsi
@@ -5,6 +5,10 @@
#size-cells = <1>;
compatible = "ralink,rt2880-soc";
+ aliases {
+ serial0 = &uartlite;
+ };
+
cpus {
#address-cells = <1>;
#size-cells = <0>;
@@ -19,10 +23,6 @@
bootargs = "console=ttyS0,57600";
};
- aliases {
- serial0 = &uartlite;
- };
-
cpuintc: cpuintc {
#address-cells = <0>;
#interrupt-cells = <1>;
diff --git a/target/linux/ramips/dts/rt3050.dtsi b/target/linux/ramips/dts/rt3050.dtsi
index 847c2169f0..9ba8a4df36 100644
--- a/target/linux/ramips/dts/rt3050.dtsi
+++ b/target/linux/ramips/dts/rt3050.dtsi
@@ -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>;
@@ -19,11 +24,6 @@
bootargs = "console=ttyS0,57600";
};
- aliases {
- spi0 = &spi0;
- serial0 = &uartlite;
- };
-
cpuintc: cpuintc {
#address-cells = <0>;
#interrupt-cells = <1>;
diff --git a/target/linux/ramips/dts/rt3352.dtsi b/target/linux/ramips/dts/rt3352.dtsi
index 2a51b14de1..054d2e8450 100644
--- a/target/linux/ramips/dts/rt3352.dtsi
+++ b/target/linux/ramips/dts/rt3352.dtsi
@@ -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>;
@@ -26,12 +32,6 @@
compatible = "mti,cpu-interrupt-controller";
};
- aliases {
- spi0 = &spi0;
- spi1 = &spi1;
- serial0 = &uartlite;
- };
-
palmbus: palmbus@10000000 {
compatible = "palmbus";
reg = <0x10000000 0x200000>;
diff --git a/target/linux/ramips/dts/rt3883.dtsi b/target/linux/ramips/dts/rt3883.dtsi
index a605d60ca7..081b52bfd8 100644
--- a/target/linux/ramips/dts/rt3883.dtsi
+++ b/target/linux/ramips/dts/rt3883.dtsi
@@ -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>;
@@ -19,12 +25,6 @@
bootargs = "console=ttyS0,57600";
};
- aliases {
- spi0 = &spi0;
- spi1 = &spi1;
- serial0 = &uartlite;
- };
-
cpuintc: cpuintc {
#address-cells = <0>;
#interrupt-cells = <1>;
diff --git a/target/linux/ramips/dts/rt5350.dtsi b/target/linux/ramips/dts/rt5350.dtsi
index da282b55ec..579d41456b 100644
--- a/target/linux/ramips/dts/rt5350.dtsi
+++ b/target/linux/ramips/dts/rt5350.dtsi
@@ -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>;
@@ -26,12 +32,6 @@
compatible = "mti,cpu-interrupt-controller";
};
- aliases {
- spi0 = &spi0;
- spi1 = &spi1;
- serial0 = &uartlite;
- };
-
palmbus: palmbus@10000000 {
compatible = "palmbus";
reg = <0x10000000 0x200000>;