Skip to content

Commit

Permalink
ARM: dts: keystone-k2g-evm: fix rgmii phy-mode for ksz9031 phy
Browse files Browse the repository at this point in the history
Since commit bcf3440 ("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: bcf3440 ("net: phy: micrel: add phy-mode support for the KSZ9031 PHY")
Signed-off-by: Grygorii Strashko <[email protected]>
Cc: Oleksij Rempel <[email protected]>
Cc: Andrew Lunn <[email protected]>
Cc: Philippe Schenker <[email protected]>
Signed-off-by: Arnd Bergmann <[email protected]>
  • Loading branch information
grygoriyS authored and arndb committed Jul 25, 2020
1 parent b0fef5e commit fe1d899
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/keystone-k2g-evm.dts
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@

&gbe0 {
phy-handle = <&ethphy0>;
phy-mode = "rgmii-id";
phy-mode = "rgmii-rxid";
status = "okay";
};

Expand Down

0 comments on commit fe1d899

Please sign in to comment.