]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
uboot-mediatek: fix BT-R320 Ethernet mode 24372/head
authorBogdan K <zikwarface134@gmail.com>
Wed, 22 Jul 2026 13:04:42 +0000 (16:04 +0300)
committerJonas Jelonek <jelonek.jonas@gmail.com>
Sat, 25 Jul 2026 21:32:54 +0000 (23:32 +0200)
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 <zikwarface134@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/24372
Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>
package/boot/uboot-mediatek/patches/472-add-globitel-bt-r320.patch

index 9c83f1f05df70108136b1362a74dc573cd64a169..8fb6031e75c0e75decf0041b4afba930fd35e3a3 100644 (file)
 +&eth {
 +      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;
 +      };
 +};