From: Arınç ÜNAL Date: Tue, 25 Jan 2022 15:39:02 +0000 (+0300) Subject: staging: mt7621-dts: use trgmii on gmac0 and enable flow control on port@6 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=f4c1760f88a0b960288cc044ed6a21fef16500ef;p=linux.git staging: mt7621-dts: use trgmii on gmac0 and enable flow control on port@6 Change phy-mode of gmac0 to trgmii to match the other side, port@6. Flow control needs to be enabled on both sides to work. It is already enabled on gmac0, enable it on port@6 too. Reviewed-by: Sergio Paracuellos Signed-off-by: Arınç ÜNAL Link: https://lore.kernel.org/r/20220125153903.1469-4-arinc.unal@arinc9.com Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/mt7621-dts/mt7621.dtsi b/drivers/staging/mt7621-dts/mt7621.dtsi index 35f19d6ae4bd9..489754f6ed772 100644 --- a/drivers/staging/mt7621-dts/mt7621.dtsi +++ b/drivers/staging/mt7621-dts/mt7621.dtsi @@ -328,7 +328,7 @@ gmac0: mac@0 { compatible = "mediatek,eth-mac"; reg = <0>; - phy-mode = "rgmii"; + phy-mode = "trgmii"; fixed-link { speed = <1000>; @@ -412,6 +412,7 @@ fixed-link { speed = <1000>; full-duplex; + pause; }; }; };