diff mbox series

arm: dts: ls1043ardb: configure the RGMII ports with rgmii-id

Message ID 1aca8761303159bf4af631eb5b1c3a14a7acc7d8.1623849489.git.camelia.groza@nxp.com
State Accepted
Commit af956271f63eb11995d7de3ee71471c9ab81bcc4
Delegated to: Priyanka Jain
Headers show
Series arm: dts: ls1043ardb: configure the RGMII ports with rgmii-id | expand

Commit Message

Camelia Groza June 16, 2021, 1:22 p.m. UTC
From: Camelia Groza <camelia.groza@nxp.com>

The RGMII ports on LS1043ARDB platforms require both RX and TX internal
delays to be enabled. The device tree reports only the TX ID because the
RX ID used to be enabled by default.

With the addition of RX ID support for the Realtek 8211F PHY driver in
commit e32e4d0f58cb ("net: phy: realtek: add rx delay support for
RTL8211F"), the RX ID is disabled by the driver if not reported explicitly.
This causes the RX to no longer work.

Change the phy-connection-type for the RGMII ports to "rgmii-id" in order
to enable both RX and TX internal delays.

Fixes: be1d75896996 ("ARM: dts: add QorIQ DPAA 1 FMan v3 to LS1043ARDB")
Signed-off-by: Camelia Groza <camelia.groza@nxp.com>
 arch/arm/dts/fsl-ls1043a-rdb.dts | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
diff mbox series


diff --git a/arch/arm/dts/fsl-ls1043a-rdb.dts b/arch/arm/dts/fsl-ls1043a-rdb.dts
index 6e4ea5b40c78..9e7c79fd2b98 100644
--- a/arch/arm/dts/fsl-ls1043a-rdb.dts
+++ b/arch/arm/dts/fsl-ls1043a-rdb.dts
@@ -3,7 +3,7 @@ 
  * Device Tree Include file for Freescale Layerscape-1043A family SoC.
  * Copyright (C) 2015, Freescale Semiconductor
- * Copyright 2020 NXP
+ * Copyright 2020-2021 NXP
  * Mingkai Hu <Mingkai.hu@freescale.com>
@@ -117,13 +117,13 @@ 
 	ethernet@e4000 {
 		phy-handle = <&rgmii_phy1>;
-		phy-connection-type = "rgmii-txid";
+		phy-connection-type = "rgmii-id";
 		status = "okay";
 	ethernet@e6000 {
 		phy-handle = <&rgmii_phy2>;
-		phy-connection-type = "rgmii-txid";
+		phy-connection-type = "rgmii-id";
 		status = "okay";