]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: dts: keystone-k2g-evm: fix rgmii phy-mode for ksz9031 phy
authorGrygorii Strashko <grygorii.strashko@ti.com>
Fri, 24 Jul 2020 21:42:21 +0000 (00:42 +0300)
committerArnd Bergmann <arnd@arndb.de>
Sat, 25 Jul 2020 07:38:14 +0000 (09:38 +0200)
commit838d2a82da1ada72392f6e7b7c968ec5a0f6e9ee
treeba35431e16f44827f8cd77320806b65322d98e9a
parentb8989aed874bcc0fe0cff04a0073029690970676
ARM: dts: keystone-k2g-evm: fix rgmii phy-mode for ksz9031 phy

Since commit 4570040da42c ("net: phy: micrel: add phy-mode support for the
KSZ9031 PHY") the networking is broken on keystone-k2g-evm board.

The above board have phy-mode = "rgmii-id" and it is worked before because
KSZ9031 PHY started with default RGMII internal delays configuration (TX
off, RX on 1.2 ns) and MAC provided TX delay by default.
After above commit, the KSZ9031 PHY starts handling phy mode properly and
enables both RX and TX delays, as result networking is become broken.

Fix it by switching to phy-mode = "rgmii-rxid" to reflect previous
behavior.

Fixes: 4570040da42c ("net: phy: micrel: add phy-mode support for the KSZ9031 PHY")
Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Cc: Oleksij Rempel <o.rempel@pengutronix.de>
Cc: Andrew Lunn <andrew@lunn.ch>
Cc: Philippe Schenker <philippe.schenker@toradex.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/arm/boot/dts/keystone-k2g-evm.dts