Commit 4022d808 authored by Madalin Bucur's avatar Madalin Bucur Committed by David S. Miller

arm64: dts: ls1043a-rdb: correct RGMII delay mode to rgmii-id

The correct setting for the RGMII ports on LS1043ARDB is to
enable delay on both Rx and Tx so the interface mode used must
be PHY_INTERFACE_MODE_RGMII_ID.

Since commit 1b3047b5 ("net: phy: realtek: add support for
configuring the RX delay on RTL8211F") the Realtek 8211F PHY driver
has control over the RGMII RX delay and it is disabling it for
RGMII_TXID. The LS1043ARDB uses two such PHYs in RGMII_ID mode but
in the device tree the mode was described as "rgmii_txid".
This issue was not apparent at the time as the PHY driver took the
same action for RGMII_TXID and RGMII_ID back then but it became
visible (RX no longer working) after the above patch.

Changing the phy-connection-type to "rgmii-id" to address the issue.

Fixes: bf02f2ff ("arm64: dts: add LS1043A DPAA FMan support")
Signed-off-by: default avatarMadalin Bucur <madalin.bucur@oss.nxp.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 0fe15680
...@@ -119,12 +119,12 @@ ethernet@e2000 { ...@@ -119,12 +119,12 @@ ethernet@e2000 {
ethernet@e4000 { ethernet@e4000 {
phy-handle = <&rgmii_phy1>; phy-handle = <&rgmii_phy1>;
phy-connection-type = "rgmii-txid"; phy-connection-type = "rgmii-id";
}; };
ethernet@e6000 { ethernet@e6000 {
phy-handle = <&rgmii_phy2>; phy-handle = <&rgmii_phy2>;
phy-connection-type = "rgmii-txid"; phy-connection-type = "rgmii-id";
}; };
ethernet@e8000 { ethernet@e8000 {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment