From: Roman Yeryomin <roman@advem.lv>
Date: Fri, 4 May 2018 14:43:46 +0000 (+0300)
Subject: ipq40xx: fix ethernet on ap-dk01.1
X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=1f42deec8edac3e99f83f7343cbd4fec29333345;p=openwrt%2Fstaging%2Fldir.git

ipq40xx: fix ethernet on ap-dk01.1

Not sure how it worked before but ethernet is disabled
by default in ipq4019 dtsi.

Signed-off-by: Roman Yeryomin <roman@advem.lv>
---

diff --git a/target/linux/ipq40xx/patches-4.14/864-09-dts-ipq4019-ap-dk01.1-enable-ethernet.patch b/target/linux/ipq40xx/patches-4.14/864-09-dts-ipq4019-ap-dk01.1-enable-ethernet.patch
new file mode 100644
index 0000000000..625c18dcc8
--- /dev/null
+++ b/target/linux/ipq40xx/patches-4.14/864-09-dts-ipq4019-ap-dk01.1-enable-ethernet.patch
@@ -0,0 +1,25 @@
+--- a/arch/arm/boot/dts/qcom-ipq4019-ap.dk01.1.dtsi
++++ b/arch/arm/boot/dts/qcom-ipq4019-ap.dk01.1.dtsi
+@@ -121,6 +121,22 @@
+ 			status = "ok";
+ 		};
+ 
++		mdio@90000 {
++			status = "okay";
++		};
++
++		ess-switch@c000000 {
++			status = "okay";
++		};
++
++		ess-psgmii@98000 {
++			status = "okay";
++		};
++
++		edma@c080000 {
++			status = "okay";
++		};
++
+ 		usb3_ss_phy: ssphy@9a000 {
+ 			status = "ok";
+ 		};