From: Maxim Kiselev <biguncle...@gmail.com>

[ Upstream commit 17846485dff91acce1ad47b508b633dffc32e838 ]

T1040RDB has two RTL8211E-VB phys which requires setting
of internal delays for correct work.

Changing the phy-connection-type property to `rgmii-id`
will fix this issue.

Signed-off-by: Maxim Kiselev <biguncle...@gmail.com>
Reviewed-by: Maxim Kochetkov <fido_...@inbox.ru>
Reviewed-by: Vladimir Oltean <vladimir.olt...@nxp.com>
Signed-off-by: Michael Ellerman <m...@ellerman.id.au>
Link: https://lore.kernel.org/r/20211230151123.1258321-1-biguncle...@gmail.com
Signed-off-by: Sasha Levin <sas...@kernel.org>
---
 arch/powerpc/boot/dts/fsl/t104xrdb.dtsi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/powerpc/boot/dts/fsl/t104xrdb.dtsi 
b/arch/powerpc/boot/dts/fsl/t104xrdb.dtsi
index 099a598c74c0..bfe1ed5be337 100644
--- a/arch/powerpc/boot/dts/fsl/t104xrdb.dtsi
+++ b/arch/powerpc/boot/dts/fsl/t104xrdb.dtsi
@@ -139,12 +139,12 @@ pca9546@77 {
                fman@400000 {
                        ethernet@e6000 {
                                phy-handle = <&phy_rgmii_0>;
-                               phy-connection-type = "rgmii";
+                               phy-connection-type = "rgmii-id";
                        };
 
                        ethernet@e8000 {
                                phy-handle = <&phy_rgmii_1>;
-                               phy-connection-type = "rgmii";
+                               phy-connection-type = "rgmii-id";
                        };
 
                        mdio0: mdio@fc000 {
-- 
2.34.1

Reply via email to