2020-03-08 06:52:02

by Sean Wang

[permalink] [raw]
Subject: [PATCH] arm: dts: mt7623: add phy-mode property for gmac2

From: Sean Wang <[email protected]>

Add phy-mode property required by phylink on gmac2

Fixes: b8fc9f30821e ("net: ethernet: mediatek: Add basic PHYLINK support")
Signed-off-by: Sean Wang <[email protected]>
---
arch/arm/boot/dts/mt7623n-rfb-emmc.dts | 1 +
1 file changed, 1 insertion(+)

diff --git a/arch/arm/boot/dts/mt7623n-rfb-emmc.dts b/arch/arm/boot/dts/mt7623n-rfb-emmc.dts
index b7606130ade9..0447748f9fa0 100644
--- a/arch/arm/boot/dts/mt7623n-rfb-emmc.dts
+++ b/arch/arm/boot/dts/mt7623n-rfb-emmc.dts
@@ -138,6 +138,7 @@ fixed-link {
mac@1 {
compatible = "mediatek,eth-mac";
reg = <1>;
+ phy-mode = "rgmii";
phy-handle = <&phy5>;
};

--
2.25.1


2020-04-14 13:23:45

by Matthias Brugger

[permalink] [raw]
Subject: Re: [PATCH] arm: dts: mt7623: add phy-mode property for gmac2



On 3/8/20 7:34 AM, [email protected] wrote:
> From: Sean Wang <[email protected]>
>
> Add phy-mode property required by phylink on gmac2
>
> Fixes: b8fc9f30821e ("net: ethernet: mediatek: Add basic PHYLINK support")
> Signed-off-by: Sean Wang <[email protected]>

Applied to v5.7-next/arm32

Thanks!

> ---
> arch/arm/boot/dts/mt7623n-rfb-emmc.dts | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/arch/arm/boot/dts/mt7623n-rfb-emmc.dts b/arch/arm/boot/dts/mt7623n-rfb-emmc.dts
> index b7606130ade9..0447748f9fa0 100644
> --- a/arch/arm/boot/dts/mt7623n-rfb-emmc.dts
> +++ b/arch/arm/boot/dts/mt7623n-rfb-emmc.dts
> @@ -138,6 +138,7 @@ fixed-link {
> mac@1 {
> compatible = "mediatek,eth-mac";
> reg = <1>;
> + phy-mode = "rgmii";
> phy-handle = <&phy5>;
> };
>
>