Skip to content

Commit 2de0045

Browse files
grygoriyStmlind
authored andcommitted
ARM: dts: am437x: fix networking on boards with ksz9031 phy
Since commit bcf3440 ("net: phy: micrel: add phy-mode support for the KSZ9031 PHY") the networking is broken on boards: am437x-gp-evm am437x-sk-evm am437x-idk-evm All above boards have phy-mode = "rgmii" and this 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. After above commit, the KSZ9031 PHY starts handling phy mode properly and disables RX delay, as result networking is become broken. Fix it by switching to phy-mode = "rgmii-rxid" to reflect previous behavior. Cc: Oleksij Rempel <[email protected]> Cc: Andrew Lunn <[email protected]> Cc: Philippe Schenker <[email protected]> Fixes: bcf3440 ("net: phy: micrel: add phy-mode support for the KSZ9031 PHY") Reviewed-by: Philippe Schenker <[email protected]> Signed-off-by: Grygorii Strashko <[email protected]> Signed-off-by: Tony Lindgren <[email protected]>
1 parent 820f8a8 commit 2de0045

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

arch/arm/boot/dts/am437x-gp-evm.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -943,7 +943,7 @@
943943

944944
&cpsw_emac0 {
945945
phy-handle = <&ethphy0>;
946-
phy-mode = "rgmii";
946+
phy-mode = "rgmii-rxid";
947947
};
948948

949949
&elm {

arch/arm/boot/dts/am437x-idk-evm.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -504,7 +504,7 @@
504504

505505
&cpsw_emac0 {
506506
phy-handle = <&ethphy0>;
507-
phy-mode = "rgmii";
507+
phy-mode = "rgmii-rxid";
508508
};
509509

510510
&rtc {

arch/arm/boot/dts/am437x-sk-evm.dts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -833,13 +833,13 @@
833833

834834
&cpsw_emac0 {
835835
phy-handle = <&ethphy0>;
836-
phy-mode = "rgmii";
836+
phy-mode = "rgmii-rxid";
837837
dual_emac_res_vlan = <1>;
838838
};
839839

840840
&cpsw_emac1 {
841841
phy-handle = <&ethphy1>;
842-
phy-mode = "rgmii";
842+
phy-mode = "rgmii-rxid";
843843
dual_emac_res_vlan = <2>;
844844
};
845845

0 commit comments

Comments
 (0)