Re: [PATCH 2/2] arm64: dts: imx8dxl: Add SolidRun SoM and HummingBoard

From: Josua Mayer

Date: Thu Apr 09 2026 - 07:15:48 EST


Hi Andrew,

Am 08.04.26 um 22:12 schrieb Andrew Lunn:
>> +&eqos {
>> + phy-mode = "rgmii-id";
>> + pinctrl-0 = <&eqos_pins>;
>> + pinctrl-names = "default";
>> + status = "okay";
>> +
>> + fixed-link {
>> + full-duplex;
>> + speed = <1000>;
>> + };
>> +};
>> + ethernet-switch@0 {
>> + compatible = "nxp,sja1110a";
> ....
>
>> +
>> + /* to CPU */
>> + port@2 {
>> + reg = <0x2>;
>> + ethernet = <&eqos>;
>> + label = "cpu";
>> + phy-mode = "rgmii-id";
>> + rx-internal-delay-ps = <2000>;
>> + tx-internal-delay-ps = <2000>;
> The eqos is using rgmii-id, this port is using rmgii-id, and you set
> the delays to 2000ns. How is this not resulting in 4000ns delays?
It appears that dwmac-imx driver which binds to imx8dxl eqos does not
evaluate phy-mode, unlike several other dwmac-* drivers.

This likely means that either imx8dxl eqos mac can't add delays,
or they are fixed.

The ethernet switch driver however adds delays as specified.

So we ended up with 2ns each direction as intended, and the network
connection works well (tested).

Would it be correct to change phy-mode on the mac to "rgmii",
and leave switch port as is?


sincerely
Josua Mayer