aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/mt7620n.dtsi
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/mt7620n.dtsi
parent41cc7edc15010b41a9347988d42898b9001d7402 (diff)
downloadupstream-621297e86736556f772a3a1e3907c4ad9223bd74.tar.gz
upstream-621297e86736556f772a3a1e3907c4ad9223bd74.tar.bz2
upstream-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/mt7620n.dtsi')
-rw-r--r--target/linux/ramips/dts/mt7620n.dtsi2
1 files changed, 2 insertions, 0 deletions
diff --git a/target/linux/ramips/dts/mt7620n.dtsi b/target/linux/ramips/dts/mt7620n.dtsi
index 4717f6c043..2feb411dbc 100644
--- a/target/linux/ramips/dts/mt7620n.dtsi
+++ b/target/linux/ramips/dts/mt7620n.dtsi
@@ -1,3 +1,5 @@
+/dts-v1/;
+
/ {
#address-cells = <1>;
#size-cells = <1>;