]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: dts: clearfog-gt-8k: set gigabit PHY reset deassert delay
authorRussell King <rmk+kernel@armlinux.org.uk>
Tue, 25 Feb 2020 11:45:12 +0000 (11:45 +0000)
committerGregory CLEMENT <gregory.clement@bootlin.com>
Fri, 13 Mar 2020 20:08:19 +0000 (21:08 +0100)
commit9b4b1c5ca2c17ae1c4f688e46d95a6f6101985a7
tree82dcde37687bb3e39ba033ea5c300200aca4d10a
parent900abd43b6d837ba70928a9ee9599ba3be1d2fb6
arm64: dts: clearfog-gt-8k: set gigabit PHY reset deassert delay

If the mv88e6xxx DSA driver is built as a module, it causes the
ethernet driver to re-probe when it's loaded. This in turn causes
the gigabit PHY to be momentarily reset and reprogrammed. However,
we attempt to reprogram the PHY immediately after deasserting reset,
and the PHY ignores the writes.

This results in the PHY operating in the wrong mode, and the copper
link states down.

Set a reset deassert delay of 10ms for the gigabit PHY to avoid this.

Fixes: a4b76a221bf4 ("arm64: dts: clearfog-gt-8k: 1G eth PHY reset signal")
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Acked-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
arch/arm64/boot/dts/marvell/armada-8040-clearfog-gt-8k.dts