[RESEND PATCH] ARM: dts: socfpga: Add basic support for Terrasic's de10-nano

Andrew Lunn andrew at lunn.ch
Tue Jan 28 09:44:26 PST 2025


> +&gmac1 {
> +	/* Uses a KSZ9031RNX phy */
> +	status = "okay";
> +	phy-mode = "rgmii";
> +
> +	rxd0-skew-ps = <420>;
> +	rxd1-skew-ps = <420>;
> +	rxd2-skew-ps = <420>;
> +	rxd3-skew-ps = <420>;
> +	txen-skew-ps = <0>;
> +	txc-skew-ps = <1860>;
> +	rxdv-skew-ps = <420>;
> +	rxc-skew-ps = <1680>;
> +};

Hi Uwe

The convectional meaning of phy-mode 'rgmii' is that the PCB provides
the 2ns delay. Here you are abusing the

> +	txc-skew-ps = <1860>;
> +	rxc-skew-ps = <1680>;

To add these delays.

Please test without these two lines, and change phy-mode to
'rgmii-id'. 1680 is rather low, so it might not work. Look for CRC
errors for received packets.

	Andrew




More information about the linux-arm-kernel mailing list