summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/am57xx-beagle-x15-common.dtsi
diff options
context:
space:
mode:
authorGrygorii Strashko <grygorii.strashko@ti.com>2020-05-06 22:11:24 +0300
committerTony Lindgren <tony@atomide.com>2020-05-07 10:50:40 -0700
commit820f8a870f6575acda1bf7f1a03c701c43ed5d79 (patch)
tree2d4b6423333c2bbc227de6c3011db899a03a84e0 /arch/arm/boot/dts/am57xx-beagle-x15-common.dtsi
parent738b150ecefbffb6e55cfa8a3b66a844f777d8fb (diff)
downloadlinux-sh-820f8a870f6575acda1bf7f1a03c701c43ed5d79.tar.gz
ARM: dts: am57xx: fix networking on boards with ksz9031 phy
Since commit bcf3440c6dd7 ("net: phy: micrel: add phy-mode support for the KSZ9031 PHY") the networking is broken on boards: am571x-idk am572x-idk am574x-idk am57xx-beagle-x15 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 <o.rempel@pengutronix.de> Cc: Andrew Lunn <andrew@lunn.ch> Cc: Philippe Schenker <philippe.schenker@toradex.com> Fixes: bcf3440c6dd7 ("net: phy: micrel: add phy-mode support for the KSZ9031 PHY") Reviewed-by: Philippe Schenker <philippe.schenker@toradex.com> Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/boot/dts/am57xx-beagle-x15-common.dtsi')
-rw-r--r--arch/arm/boot/dts/am57xx-beagle-x15-common.dtsi4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/boot/dts/am57xx-beagle-x15-common.dtsi b/arch/arm/boot/dts/am57xx-beagle-x15-common.dtsi
index a813a0cf3ff3..565675354de4 100644
--- a/arch/arm/boot/dts/am57xx-beagle-x15-common.dtsi
+++ b/arch/arm/boot/dts/am57xx-beagle-x15-common.dtsi
@@ -433,13 +433,13 @@
&cpsw_emac0 {
phy-handle = <&phy0>;
- phy-mode = "rgmii";
+ phy-mode = "rgmii-rxid";
dual_emac_res_vlan = <1>;
};
&cpsw_emac1 {
phy-handle = <&phy1>;
- phy-mode = "rgmii";
+ phy-mode = "rgmii-rxid";
dual_emac_res_vlan = <2>;
};