Re: [PATCH v2 3/3] arm64: dts: add Protonic PRT8ML board

David Jander
2025-09-18T14:53:08Z

On Thu, 18 Sep 2025 16:14:28 +0200
Andrew Lunn <andrew@lunn.ch> wrote:

> > + port@4 {
> > + reg = <4>;
> > + ethernet = <&fec>;
> > + label = "cpu";
> > + phy-mode = "rgmii-id";
> > + rx-internal-delay-ps = <2000>;
> > + tx-internal-delay-ps = <2000>;
> > +
> > + fixed-link {
> > + full-duplex;
> > + speed = <100>;
> > + };
> > + };
> > + };
> > + };
> > +};
> > +
> > +&fec {
> > + pinctrl-names = "default";
> > + pinctrl-0 = <&pinctrl_fec>;
> > + phy-mode = "rgmii"; /* switch inserts delay */
> > + rx-internal-delay-ps = <0>;
> > + tx-internal-delay-ps = <0>;
> > + status = "okay";
> > +
> > + fixed-link {
> > + full-duplex;
> > + speed = <100>;
> > + };
>
> You have an RGMII interface, but you run it at 100Mbps? That might be
> worth a comment somewhere to explain why.

Yes, unfortunately the SJA1105Q does not support PAUSE frames, and the i.MX8MP
FEC isn't able to sustain 1000Mbps (only about 400ish) due to insufficient
internal bus bandwidth. It will generate PAUSE frames, but the SJA1105Q
ignores these, leading to packet loss, which is obviously worse than
restricting this link to 100Mbps. Ironically both chips are from the same
manufacturer, yet are incompatible in this regard.

Best regards,

--
David Jander