]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: dts: mediatek: convert gmac link mode to 2500base-x for r3
authorFrank Wunderlich <frank-w@public-files.de>
Thu, 3 Aug 2023 16:52:58 +0000 (18:52 +0200)
committerTom Rini <trini@konsulko.com>
Mon, 28 Aug 2023 19:59:22 +0000 (15:59 -0400)
Ethernet on Bananapi-r3 is broken after

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

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

commit aef54ea16cac ("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>
arch/arm/dts/mt7986a-bpi-r3-sd.dts

index 15256302b86b2b6c72ea405a909ae5ca3a2d4037..c156a8136343d6c5614bd67de30eb3c2babfb1be 100644 (file)
 &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;
        };
 };