]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: dts: ls1046ardb: set RGMII interfaces to RGMII_ID mode
authorMadalin Bucur <madalin.bucur@oss.nxp.com>
Mon, 16 Mar 2020 12:05:58 +0000 (14:05 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 2 Apr 2020 13:11:03 +0000 (15:11 +0200)
commit025be52dd30bb6c8016acb8b8bb56a61c4d463ec
tree357b10e116b666b563a635b72a13abb063149d6d
parent594251e2e21e9f3f51d0e4d4d941c85794100cbe
arm64: dts: ls1046ardb: set RGMII interfaces to RGMII_ID mode

commit f4413eb8d3d37c08ac37e0b0acd37b1f90ad5ac4 upstream.

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

Since commit 4b865ea2125eb4 ("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 LS1046ARDB uses two such PHYs in RGMII_ID mode but
in the device tree the mode was described as "rgmii".

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

Fixes: 5340620afe65 ("arm64: dts: add LS1046A DPAA FMan nodes")
Signed-off-by: Madalin Bucur <madalin.bucur@oss.nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb.dts