From e4c6e10f672aa92ece4ee413c22a8a5fac4b781e Mon Sep 17 00:00:00 2001
From: chao zeng <chao.zeng@siemens.com>
Date: Fri, 22 Oct 2021 13:37:22 +0800
Subject: [PATCH] arm64: dts: ti: add the support for the half-duplex

origin from TI and add the dts property to support the half-duplex for ethernet port

Signed-off-by: chao zeng <chao.zeng@siemens.com>
---
 arch/arm64/boot/dts/ti/k3-am65-iot2050-common.dtsi | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm64/boot/dts/ti/k3-am65-iot2050-common.dtsi b/arch/arm64/boot/dts/ti/k3-am65-iot2050-common.dtsi
index fcf877d3d504..ea8ff74c681c 100644
--- a/arch/arm64/boot/dts/ti/k3-am65-iot2050-common.dtsi
+++ b/arch/arm64/boot/dts/ti/k3-am65-iot2050-common.dtsi
@@ -159,6 +159,7 @@ icssg0_emac0: ethernet-mii0 {
 			phy-handle = <&icssg0_eth0_phy>;
 			phy-mode = "rgmii-rxid";
 			syscon-rgmii-delay = <&scm_conf 0x4100>;
+			ti,half-duplex-capable;
 			/* Filled in by bootloader */
 			local-mac-address = [00 00 00 00 00 00];
 		};
@@ -167,6 +168,7 @@ icssg0_emac1: ethernet-mii1 {
 			phy-handle = <&icssg0_eth1_phy>;
 			phy-mode = "rgmii-rxid";
 			syscon-rgmii-delay = <&scm_conf 0x4104>;
+			ti,half-duplex-capable;
 			/* Filled in by bootloader */
 			local-mac-address = [00 00 00 00 00 00];
 		};
