devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/1] ARM: dts: imx6sx: select rgmii-id phy mode
@ 2019-04-09  3:39 Andy Duan
  2019-04-11  7:07 ` Shawn Guo
  0 siblings, 1 reply; 2+ messages in thread
From: Andy Duan @ 2019-04-09  3:39 UTC (permalink / raw)
  To: shawnguo@kernel.org, festevam@gmail.com
  Cc: Andy Duan, devicetree@vger.kernel.org

The PHY AR8031 must add both tx and rx delay. But PHY driver
disable tx/rx delay by default in Commit 6d4cd041f0af(net: phy:
at803x: disable delay only for RGMII mode), which brokes i.MX6SX
sdb board networking.

So enable rgmii-txid phy mode to enable the tx/rx delay.

Signed-off-by: Fugang Duan <fugang.duan@nxp.com>
---
 arch/arm/boot/dts/imx6sx-sdb.dtsi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/boot/dts/imx6sx-sdb.dtsi b/arch/arm/boot/dts/imx6sx-sdb.dtsi
index 08ede56..865528b 100644
--- a/arch/arm/boot/dts/imx6sx-sdb.dtsi
+++ b/arch/arm/boot/dts/imx6sx-sdb.dtsi
@@ -191,7 +191,7 @@
 	pinctrl-names = "default";
 	pinctrl-0 = <&pinctrl_enet1>;
 	phy-supply = <&reg_enet_3v3>;
-	phy-mode = "rgmii";
+	phy-mode = "rgmii-id";
 	phy-handle = <&ethphy1>;
 	phy-reset-gpios = <&gpio2 7 GPIO_ACTIVE_LOW>;
 	status = "okay";
@@ -213,7 +213,7 @@
 &fec2 {
 	pinctrl-names = "default";
 	pinctrl-0 = <&pinctrl_enet2>;
-	phy-mode = "rgmii";
+	phy-mode = "rgmii-id";
 	phy-handle = <&ethphy2>;
 	status = "okay";
 };
-- 
2.7.4


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-04-11  7:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-04-09  3:39 [PATCH 1/1] ARM: dts: imx6sx: select rgmii-id phy mode Andy Duan
2019-04-11  7:07 ` Shawn Guo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).