aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/rt3050.dtsi
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/dts/rt3050.dtsi
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/dts/rt3050.dtsi')
-rw-r--r--target/linux/ramips/dts/rt3050.dtsi10
1 files changed, 5 insertions, 5 deletions
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>;