]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: tegra: Fix ethernet phy-mode for Jetson Xavier
authorJon Hunter <jonathanh@nvidia.com>
Fri, 1 May 2020 07:27:56 +0000 (08:27 +0100)
committerThierry Reding <treding@nvidia.com>
Wed, 20 May 2020 13:26:09 +0000 (15:26 +0200)
commita5929f976f50915af9f0d15edf8843cdcb16cd41
treeef4f97a7d28ee0af0bf56c3759478d01e9f739a7
parente7970c03a1054dbc000c23f4b3268d9e5985b5d6
arm64: tegra: Fix ethernet phy-mode for Jetson Xavier

The 'phy-mode' property is currently defined as 'rgmii' for Jetson
Xavier. This indicates that the RGMII RX and TX delays are set by the
MAC and the internal delays set by the PHY are not used.

If the Marvell PHY driver is enabled, such that it is used and not the
generic PHY, ethernet failures are seen (DHCP is failing to obtain an
IP address) and this is caused because the Marvell PHY driver is
disabling the internal RX and TX delays. For Jetson Xavier the internal
PHY RX and TX delay should be used and so fix this by setting the
'phy-mode' to 'rgmii-id' and not 'rgmii'.

Fixes: 6bdd70875a11 ("arm64: tegra: Add ethernet controller on Tegra194")
Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
arch/arm64/boot/dts/nvidia/tegra194-p2888.dtsi