diff mbox series

[1016/1016] Fix Netgear D7800 eth0 WAN Port not working with 100Mbit

Message ID 1604431805-5235-1-git-send-email-peter@cardoe.co.uk
State Changes Requested
Headers show
Series None | expand

Commit Message

peter@cardoe.co.uk Nov. 3, 2020, 7:30 p.m. UTC
From: Peter Cardoe <peter@cardoe.co.uk>

Signed-off-by: Peter Cardoe <peter@cardoe.co.uk>
---
 .../ipq806x/files-4.14/arch/arm/boot/dts/qcom-ipq8064-d7800.dts     | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

Comments

Adrian Schmutzler Nov. 12, 2020, 11:24 a.m. UTC | #1
Hi,

> -----Original Message-----
> From: openwrt-devel [mailto:openwrt-devel-bounces@lists.openwrt.org]
> On Behalf Of peter@cardoe.co.uk
> Sent: Dienstag, 3. November 2020 20:30
> To: openwrt-devel@lists.openwrt.org
> Cc: Peter Cardoe <peter@cardoe.co.uk>
> Subject: [PATCH 1016/1016] Fix Netgear D7800 eth0 WAN Port not working
> with 100Mbit
> 
> From: Peter Cardoe <peter@cardoe.co.uk>
> 
> Signed-off-by: Peter Cardoe <peter@cardoe.co.uk>
> ---
>  .../ipq806x/files-4.14/arch/arm/boot/dts/qcom-ipq8064-d7800.dts     | 6


This is based on an outdated version of OpenWrt. Please send a patch based on recent master, add a proper description to the commit message, and update the commit title to correspond to our guidelines:

https://openwrt.org/submitting-patches

Thanks!

Adrian

> +++++-
>  1 file changed, 5 insertions(+), 1 deletion(-)
> 
> diff --git a/target/linux/ipq806x/files-4.14/arch/arm/boot/dts/qcom-ipq8064-
> d7800.dts b/target/linux/ipq806x/files-4.14/arch/arm/boot/dts/qcom-
> ipq8064-d7800.dts
> index 1760b19..d96f062 100644
> --- a/target/linux/ipq806x/files-4.14/arch/arm/boot/dts/qcom-ipq8064-
> d7800.dts
> +++ b/target/linux/ipq806x/files-4.14/arch/arm/boot/dts/qcom-ipq8064-
> d7800.dts
> @@ -303,13 +303,17 @@
>  		gmac1: ethernet@37200000 {
>  			status = "ok";
>  			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: ethernet@37400000 {
> --
> 1.9.1
> 
> 
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel@lists.openwrt.org
> https://lists.openwrt.org/mailman/listinfo/openwrt-devel
diff mbox series

Patch

diff --git a/target/linux/ipq806x/files-4.14/arch/arm/boot/dts/qcom-ipq8064-d7800.dts b/target/linux/ipq806x/files-4.14/arch/arm/boot/dts/qcom-ipq8064-d7800.dts
index 1760b19..d96f062 100644
--- a/target/linux/ipq806x/files-4.14/arch/arm/boot/dts/qcom-ipq8064-d7800.dts
+++ b/target/linux/ipq806x/files-4.14/arch/arm/boot/dts/qcom-ipq8064-d7800.dts
@@ -303,13 +303,17 @@ 
 		gmac1: ethernet@37200000 {
 			status = "ok";
 			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: ethernet@37400000 {