[openwrt/openwrt] lantiq: fritz7312: set maximum speed to 100 mbit on 5.4

LEDE Commits lede-commits at lists.infradead.org
Sun Jun 21 15:32:46 EDT 2020


adrian pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/340de1d1545f6da3f21b06a23bb8288da6d992be

commit 340de1d1545f6da3f21b06a23bb8288da6d992be
Author: Adrian Schmutzler <freifunk at adrianschmutzler.de>
AuthorDate: Thu Jun 18 11:48:58 2020 +0200

    lantiq: fritz7312: set maximum speed to 100 mbit on 5.4
    
    The fritz 7312 does not support 1000 gbit. Advertising it makes it
    worse. Some NIC will change to 1000 gibt and turn off and on again for
    ever.
    
    The previous patch in 36f628910b8b was only applied to the 4.19 file,
    so let's just make it consistent with this patch.
    
    Cc: Alexander Couzens <lynxis at fe80.eu>
    Signed-off-by: Adrian Schmutzler <freifunk at adrianschmutzler.de>
---
 .../lantiq/files-5.4/arch/mips/boot/dts/lantiq/ar9_avm_fritz7312.dts     | 1 +
 1 file changed, 1 insertion(+)

diff --git a/target/linux/lantiq/files-5.4/arch/mips/boot/dts/lantiq/ar9_avm_fritz7312.dts b/target/linux/lantiq/files-5.4/arch/mips/boot/dts/lantiq/ar9_avm_fritz7312.dts
index aa825abd9f..0f635127f8 100644
--- a/target/linux/lantiq/files-5.4/arch/mips/boot/dts/lantiq/ar9_avm_fritz7312.dts
+++ b/target/linux/lantiq/files-5.4/arch/mips/boot/dts/lantiq/ar9_avm_fritz7312.dts
@@ -108,6 +108,7 @@
 		phy0: ethernet-phy at 0 {
 			reg = <0>;
 			reset-gpios = <&gpio 34 GPIO_ACTIVE_LOW>;
+			max-speed = <100>;
 		};
 	};
 };



More information about the lede-commits mailing list