[LEDE-DEV] [PATCH 6/8] ipq806x: ipq4019: dts: move ap-dk01 networking entries to dtsi

Roman Yeryomin roman at advem.lv
Sun Oct 29 16:19:02 PDT 2017


That is mdio/ethernet and wifi are present on all ap-dk01 boards.

Signed-off-by: Roman Yeryomin <roman at advem.lv>
---
 .../arch/arm/boot/dts/qcom-ipq4019-fritz4040.dts   | 20 --------------
 .../arch/arm/boot/dts/qcom-ipq4019-nbg6617.dts     | 24 ----------------
 .../arch/arm/boot/dts/qcom-ipq4019-rt-ac58u.dts    | 26 ------------------
 ...ipq4019-ap-dk01-add-network-nodes-to-dtsi.patch | 32 ++++++++++++++++++++++
 4 files changed, 32 insertions(+), 70 deletions(-)
 create mode 100644 target/linux/ipq806x/patches-4.9/864-04-dts-ipq4019-ap-dk01-add-network-nodes-to-dtsi.patch

diff --git a/target/linux/ipq806x/files-4.9/arch/arm/boot/dts/qcom-ipq4019-fritz4040.dts b/target/linux/ipq806x/files-4.9/arch/arm/boot/dts/qcom-ipq4019-fritz4040.dts
index 0a6480bf53..a5bfa7e5ae 100644
--- a/target/linux/ipq806x/files-4.9/arch/arm/boot/dts/qcom-ipq4019-fritz4040.dts
+++ b/target/linux/ipq806x/files-4.9/arch/arm/boot/dts/qcom-ipq4019-fritz4040.dts
@@ -59,10 +59,6 @@
 */
 
 	soc {
-		mdio at 90000 {
-			status = "okay";
-		};
-
 		qca8075: ess-switch at c000000 {
 			status = "okay";
 
@@ -76,22 +72,6 @@
 				output-high;
 			};
 		};
-
-		ess-psgmii at 98000 {
-			status = "okay";
-		};
-
-		edma at c080000 {
-			status = "okay";
-		};
-
-		wifi at a000000 {
-			status = "okay";
-		};
-
-		wifi at a800000 {
-			status = "okay";
-		};
 	};
 
 	gpio-keys {
diff --git a/target/linux/ipq806x/files-4.9/arch/arm/boot/dts/qcom-ipq4019-nbg6617.dts b/target/linux/ipq806x/files-4.9/arch/arm/boot/dts/qcom-ipq4019-nbg6617.dts
index a885daa831..ef468506ab 100644
--- a/target/linux/ipq806x/files-4.9/arch/arm/boot/dts/qcom-ipq4019-nbg6617.dts
+++ b/target/linux/ipq806x/files-4.9/arch/arm/boot/dts/qcom-ipq4019-nbg6617.dts
@@ -67,30 +67,6 @@
 				};
 			};
 		};
-
-		mdio at 90000 {
-			status = "okay";
-		};
-
-		ess-switch at c000000 {
-			status = "okay";
-		};
-
-		ess-psgmii at 98000 {
-			status = "okay";
-		};
-
-		edma at c080000 {
-			status = "okay";
-		};
-
-		wifi at a000000 {
-			status = "okay";
-		};
-
-		wifi at a800000 {
-			status = "okay";
-		};
 	};
 
 	gpio-keys {
diff --git a/target/linux/ipq806x/files-4.9/arch/arm/boot/dts/qcom-ipq4019-rt-ac58u.dts b/target/linux/ipq806x/files-4.9/arch/arm/boot/dts/qcom-ipq4019-rt-ac58u.dts
index fa78d48150..3318a003c9 100644
--- a/target/linux/ipq806x/files-4.9/arch/arm/boot/dts/qcom-ipq4019-rt-ac58u.dts
+++ b/target/linux/ipq806x/files-4.9/arch/arm/boot/dts/qcom-ipq4019-rt-ac58u.dts
@@ -46,32 +46,6 @@
 		};
 	};
 
-	soc {
-		mdio at 90000 {
-			status = "okay";
-		};
-
-		ess-switch at c000000 {
-			status = "okay";
-		};
-
-		ess-psgmii at 98000 {
-			status = "okay";
-		};
-
-		edma at c080000 {
-			status = "okay";
-		};
-
-		wifi at a000000 {
-			status = "okay";
-		};
-
-		wifi at a800000 {
-			status = "okay";
-		};
-	};
-
 	gpio-keys {
 		compatible = "gpio-keys";
 
diff --git a/target/linux/ipq806x/patches-4.9/864-04-dts-ipq4019-ap-dk01-add-network-nodes-to-dtsi.patch b/target/linux/ipq806x/patches-4.9/864-04-dts-ipq4019-ap-dk01-add-network-nodes-to-dtsi.patch
new file mode 100644
index 0000000000..02a102e37f
--- /dev/null
+++ b/target/linux/ipq806x/patches-4.9/864-04-dts-ipq4019-ap-dk01-add-network-nodes-to-dtsi.patch
@@ -0,0 +1,32 @@
+--- a/arch/arm/boot/dts/qcom-ipq4019-ap.dk01.1.dtsi
++++ b/arch/arm/boot/dts/qcom-ipq4019-ap.dk01.1.dtsi
+@@ -136,5 +136,29 @@
+ 		usb2: usb2 at 60f8800 {
+ 			status = "ok";
+ 		};
++
++		mdio at 90000 {
++			status = "okay";
++		};
++
++		ess-switch at c000000 {
++			status = "okay";
++		};
++
++		ess-psgmii at 98000 {
++			status = "okay";
++		};
++
++		edma at c080000 {
++			status = "okay";
++		};
++
++		wifi at a000000 {
++			status = "okay";
++		};
++
++		wifi at a800000 {
++			status = "okay";
++		};
+ 	};
+ };
-- 
2.11.0




More information about the Lede-dev mailing list