From: Bogdan K Date: Wed, 22 Jul 2026 13:04:42 +0000 (+0300) Subject: uboot-mediatek: fix BT-R320 Ethernet mode X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4aaabd3a4ba6004fd47b5ae86912a47fc0b3a84c;p=thirdparty%2Fopenwrt.git uboot-mediatek: fix BT-R320 Ethernet mode The CPU port between the MT7981 and MT7531 runs at 2.5 Gbps, but the U-Boot device tree configures it as SGMII at 1 Gbps. This leaves Ethernet unable to exchange packets despite an active physical link. Use 2500base-x and a 2500 Mbps fixed link, matching the Linux device tree. Fixes: a3105d3f9573 ("mediatek: filogic: add support for Globitel BT-R320") Signed-off-by: Bogdan K Link: https://github.com/openwrt/openwrt/pull/24372 Signed-off-by: Jonas Jelonek --- diff --git a/package/boot/uboot-mediatek/patches/472-add-globitel-bt-r320.patch b/package/boot/uboot-mediatek/patches/472-add-globitel-bt-r320.patch index 9c83f1f05df..8fb6031e75c 100644 --- a/package/boot/uboot-mediatek/patches/472-add-globitel-bt-r320.patch +++ b/package/boot/uboot-mediatek/patches/472-add-globitel-bt-r320.patch @@ -63,12 +63,12 @@ +ð { + status = "okay"; + mediatek,gmac-id = <0>; -+ phy-mode = "sgmii"; ++ phy-mode = "2500base-x"; + mediatek,switch = "mt7531"; + reset-gpios = <&pio 39 GPIO_ACTIVE_HIGH>; + + fixed-link { -+ speed = <1000>; ++ speed = <2500>; + full-duplex; + }; +};