arm: dts: mediatek: convert gmac link mode to 2500base-x for r3

Ethernet on Bananapi-r3 is broken after

commit bd70f3cea3 ("net: mediatek: add support for SGMII 1Gbps auto-negotiation mode")

because changes from this commit were not applied to bpi-r3 devicetree too:

commit aef54ea16c ("arm: dts: medaitek: convert gmac link mode to 2500base-x")

Signed-off-by: Frank Wunderlich <frank-w@public-files.de>
Reviewed-by: Weijie Gao <weijie.gao@mediatek.com>
This commit is contained in:
Frank Wunderlich
2023-08-03 18:52:58 +02:00
committed by Tom Rini
parent d167062c48
commit d389efc448

View File

@@ -76,12 +76,12 @@
&eth { &eth {
status = "okay"; status = "okay";
mediatek,gmac-id = <0>; mediatek,gmac-id = <0>;
phy-mode = "sgmii"; phy-mode = "2500base-x";
mediatek,switch = "mt7531"; mediatek,switch = "mt7531";
reset-gpios = <&gpio 5 GPIO_ACTIVE_HIGH>; reset-gpios = <&gpio 5 GPIO_ACTIVE_HIGH>;
fixed-link { fixed-link {
speed = <1000>; speed = <2500>;
full-duplex; full-duplex;
}; };
}; };