ARM: dts: imx7d-zii-rmu2: fix rgmii phy-mode for ksz9031 phy
authorChris Healy <cphealy@gmail.com>
Sun, 23 Aug 2020 02:25:05 +0000 (19:25 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 17 Sep 2020 11:55:26 +0000 (13:55 +0200)
commit8edf8c890ee27b0a4973afdebf4a89f6791573cf
tree1e3f001822f9d81edd5644eb0edbfb29288d1c73
parent86047782e0f97e49b8051024a01274d8d39f16a5
ARM: dts: imx7d-zii-rmu2: fix rgmii phy-mode for ksz9031 phy

[ Upstream commit 5cbb80d5236b47b149da292b86d5fc99a680894b ]

Since commit bcf3440c6dd7 ("net: phy: micrel: add phy-mode support for the
KSZ9031 PHY") the networking is broken on the imx7d-zii-rmu2 board.

The end result is that network receive behaviour is marginal with lots of
RX CRC errors experienced and NFS frequently failing.

Quoting the explanation from Andrew Lunn in commit 0672d22a19244
("ARM: dts: imx: Fix the AR803X phy-mode"):

"The problem here is, all the DTs were broken since day 0. However,
because the PHY driver was also broken, nobody noticed and it
worked. Now that the PHY driver has been fixed, all the bugs in the
DTs now become an issue"

Fix it by switching to phy-mode = "rgmii-id".

Fixes: bcf3440c6dd7 ("net: phy: micrel: add phy-mode support for the KSZ9031 PHY")
Signed-off-by: Chris Healy <cphealy@gmail.com>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm/boot/dts/imx7d-zii-rmu2.dts