[PATCH] arm: dts: medaitek: convert gmac link mode to 2500base-x for mt7986a-bpi-r3-sd

Daniel Golle daniel at makrotopia.org
Fri Aug 4 04:34:17 CEST 2023


On Fri, Aug 04, 2023 at 09:01:55AM +0800, Weijie Gao wrote:
> The mt7531 of bpi-r3 is connected to mt7986 with 2.5Gbps HSGMII, not the
> regular 1Gbps SGMII.
> 
> Signed-off-by: Weijie Gao <weijie.gao at mediatek.com>

Reviewed-by: Daniel Golle <daniel at makrotopia.org>

> ---
> This is a supplement to commit:
> aef54ea1 (arm: dts: medaitek: convert gmac link mode to 2500base-x)
> ---
>  arch/arm/dts/mt7986a-bpi-r3-sd.dts | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/arch/arm/dts/mt7986a-bpi-r3-sd.dts b/arch/arm/dts/mt7986a-bpi-r3-sd.dts
> index 15256302b8..c156a81363 100644
> --- a/arch/arm/dts/mt7986a-bpi-r3-sd.dts
> +++ b/arch/arm/dts/mt7986a-bpi-r3-sd.dts
> @@ -76,12 +76,12 @@
>  &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;
>  	};
>  };
> -- 
> 2.17.1
> 


More information about the U-Boot mailing list