[openwrt/openwrt] ipq806x: Fix gmac1 (WAN) on Netgear D7800

LEDE Commits lede-commits at lists.infradead.org
Tue Dec 22 13:13:19 EST 2020


ynezz pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/b163bfbba59b62c05a404e3cc3c59103c93aff68

commit b163bfbba59b62c05a404e3cc3c59103c93aff68
Author: Peter Cardoe <peter at cardoe.co.uk>
AuthorDate: Fri Nov 27 16:37:11 2020 +0000

    ipq806x: Fix gmac1 (WAN) on Netgear D7800
    
    The WAN port on Netgear D7800 is unable to connect to an ISP when the
    link to the modem is running at less than 1GB.
    
    This patch fixes the issue by removing the phy-handle definition
    and replacing it with a fixed-link definition
    
    The WAN port is then able to connect to a modem via a link running at 100Mbs or 10Mbs
    
    Fixes: FS#3086
    Signed-off-by: Peter Cardoe <peter at cardoe.co.uk>
---
 target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-d7800.dts | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-d7800.dts b/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-d7800.dts
index 7fb871be78..229596b082 100644
--- a/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-d7800.dts
+++ b/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-d7800.dts
@@ -283,13 +283,17 @@
 &gmac1 {
 	status = "okay";
 	phy-mode = "rgmii";
-	phy-handle = <&phy4>;
 	qcom,id = <1>;
 
 	pinctrl-0 = <&rgmii2_pins>;
 	pinctrl-names = "default";
 
 	mtd-mac-address = <&art 6>;
+
+	fixed-link {
+		speed = <1000>;
+		full-duplex;
+	};
 };
 
 &gmac2 {



More information about the lede-commits mailing list