[openwrt/openwrt] uboot-mediatek: Sync phy-mode for Xiaomi Redmi Router AX6000

LEDE Commits lede-commits at lists.infradead.org
Sat Oct 28 14:29:20 PDT 2023


hauke pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/03987d2d11c4954e3e8afa3d44ba6213e774c742

commit 03987d2d11c4954e3e8afa3d44ba6213e774c742
Author: Furong Xu <xfr at outlook.com>
AuthorDate: Fri Oct 27 23:22:49 2023 +0800

    uboot-mediatek: Sync phy-mode for Xiaomi Redmi Router AX6000
    
    Commit 572ea6807053 ("uboot-mediatek: add patches for MT7988 and
    builds for RFB") renamed HSGMII to 2500basex, but forgot to update
    the dts of Redmi Router AX6000, makes the network unusable.
    This patch makes the network usable again.
    
    Fixes: #13724
    Fixes: 572ea6807053 ("uboot-mediatek: add patches for MT7988 and builds for RFB")
    Signed-off-by: Furong Xu <xfr at outlook.com>
---
 package/boot/uboot-mediatek/patches/431-add-xiaomi_redmi-ax6000.patch | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/package/boot/uboot-mediatek/patches/431-add-xiaomi_redmi-ax6000.patch b/package/boot/uboot-mediatek/patches/431-add-xiaomi_redmi-ax6000.patch
index 070456b2ee..88b2c63632 100644
--- a/package/boot/uboot-mediatek/patches/431-add-xiaomi_redmi-ax6000.patch
+++ b/package/boot/uboot-mediatek/patches/431-add-xiaomi_redmi-ax6000.patch
@@ -239,12 +239,12 @@
 +&eth {
 +	status = "okay";
 +	mediatek,gmac-id = <0>;
-+	phy-mode = "sgmii";
++	phy-mode = "2500base-x";
 +	mediatek,switch = "mt7531";
 +	reset-gpios = <&gpio 5 GPIO_ACTIVE_HIGH>;
 +
 +	fixed-link {
-+		speed = <1000>;
++		speed = <2500>;
 +		full-duplex;
 +	};
 +};




More information about the lede-commits mailing list