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

Weijie Gao (高惟杰) Weijie.Gao at mediatek.com
Fri Aug 4 04:37:28 CEST 2023


On Fri, 2023-08-04 at 03:34 +0100, Daniel Golle wrote:
> 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>

Frank has already sent one:

https://patchwork.ozlabs.org/project/uboot/patch/20230803165258.14744-1-linux@fw-web.de/

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