summaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/mt7628an_wavlink_wl-wn575a3.dts
diff options
context:
space:
mode:
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-09-25 22:20:56 +0200
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-09-25 23:26:40 +0200
commit621297e86736556f772a3a1e3907c4ad9223bd74 (patch)
tree9521d98ec9d25efe256b08579a3a66702c7c681f /target/linux/ramips/dts/mt7628an_wavlink_wl-wn575a3.dts
parent41cc7edc15010b41a9347988d42898b9001d7402 (diff)
downloadopenwrt-621297e86736556f772a3a1e3907c4ad9223bd74.tar.gz
openwrt-621297e86736556f772a3a1e3907c4ad9223bd74.tar.bz2
openwrt-621297e86736556f772a3a1e3907c4ad9223bd74.zip
ramips: move dts-v1 statement to top-level DTSI files
The "/dts-v1/;" identifier is supposed to be present once at the top of a device tree file after the includes have been processed. In ramips, we therefore requested to have in the DTS files so far, and omit it in the DTSI files. However, essentially the syntax of the parent mtxxxx/rtxxxx DTSI files already determines the DTS version, so putting it into the DTS files is just a useless repetition. Consequently, this patch puts the dts-v1 statement into the top-level SoC-based DTSI files, and removes all other occurences. Since the dts-v1 statement needs to be before any other definitions, this also moves the includes accordingly where necessary. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'target/linux/ramips/dts/mt7628an_wavlink_wl-wn575a3.dts')
-rw-r--r--target/linux/ramips/dts/mt7628an_wavlink_wl-wn575a3.dts5
1 files changed, 2 insertions, 3 deletions
diff --git a/target/linux/ramips/dts/mt7628an_wavlink_wl-wn575a3.dts b/target/linux/ramips/dts/mt7628an_wavlink_wl-wn575a3.dts
index 35ef3cbf1a..6316539f28 100644
--- a/target/linux/ramips/dts/mt7628an_wavlink_wl-wn575a3.dts
+++ b/target/linux/ramips/dts/mt7628an_wavlink_wl-wn575a3.dts
@@ -1,9 +1,8 @@
-/dts-v1/;
+#include "mt7628an.dtsi"
+
#include <dt-bindings/input/input.h>
#include <dt-bindings/gpio/gpio.h>
-#include "mt7628an.dtsi"
-
/ {
compatible = "wavlink,wl-wn575a3", "mediatek,mt7628an-soc";
model = "Wavlink WL-WN575A3";