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 2229060..157136b 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 5269fd6..666ff49 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 3f02b7a..9d0f656 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 e018268..9aca842 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 92f581d..360466d 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 f7a5599..8db4f21 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 76cf0ca..ad60548 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 7b90332..5485a04 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 3c615e6..25444b1 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 3f901d3..5d7035b 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 89e2923..ca25ce6 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 a0adb16..50974fa 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 f4b50a3..9d5dddb 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";