[PATCH 1/2] ARM: dts: imx6qdl-gw5904: add internal mdio nodes
Andrew Lunn
andrew at lunn.ch
Fri Dec 2 09:30:52 PST 2022
> > > > port at 5 {
> > > > reg = <5>;
> > > > label = "cpu";
> > > > ethernet = <&fec>;
> > > > + phy-mode = "rgmii-id";
> > > > +
> > > > + fixed-link {
> > > > + speed = <1000>;
> > > > + full-duplex;
> > > > + };
> > > > };
> >
> > This part is needed to make a warning go away. Does the SoC network interface
> > have phy-mode = "rgmii"; ?
>
> No, it looks like this:
>
> &fec {
> pinctrl-names = "default";
> pinctrl-0 = <&pinctrl_enet>;
> phy-mode = "rgmii-id";
> Is something here wrong?
It suggests both ends should insert RGMII delays. So you will end up
with double delays. Have one end say plain "rgmii" and the other
"rgmii-id". I would probably go with the FEC being "rgmii".
Andrew
More information about the linux-arm-kernel
mailing list