arm: dts: mt7623: add phy-mode property for gmac2
diff mbox series

Message ID 70e3eff31ecd500ed4862d9de28325a4dbd15105.1583648927.git.sean.wang@mediatek.com
State New
Headers show
Series
  • arm: dts: mt7623: add phy-mode property for gmac2
Related show

Commit Message

Sean Wang March 8, 2020, 6:34 a.m. UTC
From: Sean Wang <sean.wang@mediatek.com>

Add phy-mode property required by phylink on gmac2

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

Comments

Matthias Brugger April 13, 2020, 4:24 p.m. UTC | #1
On 3/8/20 7:34 AM, sean.wang@mediatek.com wrote:
> From: Sean Wang <sean.wang@mediatek.com>
> 
> Add phy-mode property required by phylink on gmac2
> 
> Fixes: b8fc9f30821e ("net: ethernet: mediatek: Add basic PHYLINK support")
> Signed-off-by: Sean Wang <sean.wang@mediatek.com>

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>;
>  	};
>  
>

Patch
diff mbox series

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>;
 	};