summaryrefslogtreecommitdiff
path: root/drivers/staging/mt7621-dts
diff options
context:
space:
mode:
authorArınç ÜNAL <arinc.unal@arinc9.com>2022-01-25 18:39:02 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-01-26 13:03:47 +0100
commitf4c1760f88a0b960288cc044ed6a21fef16500ef (patch)
tree5323a9df3fdf5fed19b06b15ab9d0bbd99cdb40e /drivers/staging/mt7621-dts
parentcb3677bb17a8912953b813fb61fc7109e2972e7e (diff)
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 <sergio.paracuellos@gmail.com> Signed-off-by: Arınç ÜNAL <arinc.unal@arinc9.com> Link: https://lore.kernel.org/r/20220125153903.1469-4-arinc.unal@arinc9.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/mt7621-dts')
-rw-r--r--drivers/staging/mt7621-dts/mt7621.dtsi3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/staging/mt7621-dts/mt7621.dtsi b/drivers/staging/mt7621-dts/mt7621.dtsi
index 35f19d6ae4bd..489754f6ed77 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;
};
};
};