ramips: move includes to DTSI for mt7628an_tplink_8m*
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>
Sat, 22 Feb 2020 18:33:41 +0000 (19:33 +0100)
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>
Sat, 22 Feb 2020 18:33:41 +0000 (19:33 +0100)
All devices inherited from mt7628an_tplink_8m.dtsi and
mt7628an_tplink_8m-split-uboot.dtsi contain the same additional
includes in the DTS files.

Move them to the DTSI files instead.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
13 files changed:
target/linux/ramips/dts/mt7628an_tplink_8m-split-uboot.dtsi
target/linux/ramips/dts/mt7628an_tplink_8m.dtsi
target/linux/ramips/dts/mt7628an_tplink_archer-c20-v4.dts
target/linux/ramips/dts/mt7628an_tplink_archer-c20-v5.dts
target/linux/ramips/dts/mt7628an_tplink_archer-c50-v3.dts
target/linux/ramips/dts/mt7628an_tplink_archer-c50-v4.dts
target/linux/ramips/dts/mt7628an_tplink_tl-mr3420-v5.dts
target/linux/ramips/dts/mt7628an_tplink_tl-wa801nd-v5.dts
target/linux/ramips/dts/mt7628an_tplink_tl-wr802n-v4.dts
target/linux/ramips/dts/mt7628an_tplink_tl-wr840n-v4.dts
target/linux/ramips/dts/mt7628an_tplink_tl-wr841n-v13.dts
target/linux/ramips/dts/mt7628an_tplink_tl-wr842n-v5.dts
target/linux/ramips/dts/mt7628an_tplink_tl-wr902ac-v3.dts

index 22290603478b7d02b1763bcc73ac4aad9bc1aa4b..157136bd09c34122bd01ee256435c7dfafb5bbda 100644 (file)
@@ -1,6 +1,9 @@
 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
 #include "mt7628an.dtsi"
 
+#include <dt-bindings/gpio/gpio.h>
+#include <dt-bindings/input/input.h>
+
 / {
        chosen {
                bootargs = "console=ttyS0,115200";
index 5269fd668b998586147b1602d6bc1434e8355def..666ff49a90d7c2f994a205e4e393685536266953 100644 (file)
@@ -1,5 +1,8 @@
 #include "mt7628an.dtsi"
 
+#include <dt-bindings/input/input.h>
+#include <dt-bindings/gpio/gpio.h>
+
 / {
        chosen {
                bootargs = "console=ttyS0,115200";
index 3f02b7af3c8c8aa7545cb854a55ee4ba03b31d33..9d0f6563c31d7aefb258b511334a9094988148c8 100644 (file)
@@ -2,9 +2,6 @@
 
 #include "mt7628an_tplink_8m.dtsi"
 
-#include <dt-bindings/input/input.h>
-#include <dt-bindings/gpio/gpio.h>
-
 / {
        compatible = "tplink,archer-c20-v4", "mediatek,mt7628an-soc";
        model = "TP-Link Archer C20 v4";
index e01826841d872a916b13805cbfa7ec43da35c39d..9aca8429b41619cf35ae4748e2d88c4ab19b33d4 100644 (file)
@@ -3,9 +3,6 @@
 
 #include "mt7628an_tplink_8m-split-uboot.dtsi"
 
-#include <dt-bindings/gpio/gpio.h>
-#include <dt-bindings/input/input.h>
-
 / {
        compatible = "tplink,archer-c20-v5", "mediatek,mt7628an-soc";
        model = "TP-Link Archer C20 v5";
index 92f581d1ef8bd92cc2a6eb7ff8985c4819fdef71..360466d56f287c88ab8f99a9c5f4263b50659cca 100644 (file)
@@ -2,9 +2,6 @@
 
 #include "mt7628an_tplink_8m.dtsi"
 
-#include <dt-bindings/gpio/gpio.h>
-#include <dt-bindings/input/input.h>
-
 / {
        compatible = "tplink,archer-c50-v3", "mediatek,mt7628an-soc";
        model = "TP-Link Archer C50 v3";
index f7a559918c373af51f4734c65626494a0665fdbe..8db4f219877ef0b3886a26ce747ddaec57c8553c 100644 (file)
@@ -3,9 +3,6 @@
 
 #include "mt7628an_tplink_8m-split-uboot.dtsi"
 
-#include <dt-bindings/gpio/gpio.h>
-#include <dt-bindings/input/input.h>
-
 / {
        compatible = "tplink,archer-c50-v4", "mediatek,mt7628an-soc";
        model = "TP-Link Archer C50 v4";
index 76cf0ca2495e25d58a3eda1c8cd5c236baabe095..ad60548678bd1af3cf14e12ab6598d39879459de 100644 (file)
@@ -2,9 +2,6 @@
 
 #include "mt7628an_tplink_8m.dtsi"
 
-#include <dt-bindings/gpio/gpio.h>
-#include <dt-bindings/input/input.h>
-
 / {
        compatible = "tplink,tl-mr3420-v5", "mediatek,mt7628an-soc";
        model = "TP-Link TL-MR3420 v5";
index 7b9033202c7ac2b7dfd67cb27222f7aeb1ade1f1..5485a04119f096f6e882d099919d6d2b71bd6012 100644 (file)
@@ -2,9 +2,6 @@
 
 #include "mt7628an_tplink_8m.dtsi"
 
-#include <dt-bindings/gpio/gpio.h>
-#include <dt-bindings/input/input.h>
-
 / {
        compatible = "tplink,tl-wa801nd-v5", "mediatek,mt7628an-soc";
        model = "TP-Link TL-WA801ND v5";
index 3c615e60611d3b586706891e6a07ad5307f5cdb0..25444b1d3de5376207b4c3d8075c2f4d182cf6a2 100644 (file)
@@ -3,9 +3,6 @@
 
 #include "mt7628an_tplink_8m.dtsi"
 
-#include <dt-bindings/gpio/gpio.h>
-#include <dt-bindings/input/input.h>
-
 / {
        compatible = "tplink,tl-wr802n-v4", "mediatek,mt7628an-soc";
        model = "TP-Link TL-WR802N v4";
index 3f901d3a7c85a801622f0f662a6f47d37ad496bb..5d7035bba40fac64c777083e395883e3d14149a2 100644 (file)
@@ -2,9 +2,6 @@
 
 #include "mt7628an_tplink_8m.dtsi"
 
-#include <dt-bindings/gpio/gpio.h>
-#include <dt-bindings/input/input.h>
-
 / {
        compatible = "tplink,tl-wr840n-v4", "mediatek,mt7628an-soc";
        model = "TP-Link TL-WR840N v4";
index 89e2923c9c3f872e9b837916d20df47bc6b9444e..ca25ce643de628b4f74f89a1fbfa6b0e06b8ba53 100644 (file)
@@ -2,9 +2,6 @@
 
 #include "mt7628an_tplink_8m.dtsi"
 
-#include <dt-bindings/gpio/gpio.h>
-#include <dt-bindings/input/input.h>
-
 / {
        compatible = "tplink,tl-wr841n-v13", "mediatek,mt7628an-soc";
        model = "TP-Link TL-WR841N v13";
index a0adb160d3a3228c649861ba594d078e88eb860c..50974fafe7fa3d1eda3a2d32a235794bafda4452 100644 (file)
@@ -2,9 +2,6 @@
 
 #include "mt7628an_tplink_8m.dtsi"
 
-#include <dt-bindings/gpio/gpio.h>
-#include <dt-bindings/input/input.h>
-
 / {
        compatible = "tplink,tl-wr842n-v5", "mediatek,mt7628an-soc";
        model = "TP-Link TL-WR842N v5";
index f4b50a37ff9d5c3c74f902fd56bcb8768b45ba28..9d5dddbe4b8ef1dfb36ff2ea18cfc13c4e6d5f87 100644 (file)
@@ -2,9 +2,6 @@
 
 #include "mt7628an_tplink_8m.dtsi"
 
-#include <dt-bindings/gpio/gpio.h>
-#include <dt-bindings/input/input.h>
-
 / {
        compatible = "tplink,tl-wr902ac-v3", "mediatek,mt7628an-soc";
        model = "TP-Link TL-WR902AC v3";