| From 48ea419e9beadfe587282eef31604986da0730ef Mon Sep 17 00:00:00 2001 |
| From: Sasha Levin <sashal@kernel.org> |
| Date: Thu, 30 Dec 2021 18:11:21 +0300 |
| Subject: powerpc: dts: t104xrdb: fix phy type for FMAN 4/5 |
| |
| From: Maxim Kiselev <bigunclemax@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 <bigunclemax@gmail.com> |
| Reviewed-by: Maxim Kochetkov <fido_max@inbox.ru> |
| Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com> |
| Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> |
| Link: https://lore.kernel.org/r/20211230151123.1258321-1-bigunclemax@gmail.com |
| Signed-off-by: Sasha Levin <sashal@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 @@ |
| 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.35.1 |
| |