ARM: dts: imx8mm-verdin: Set PHY mode to RGMII-ID
Subsystems (2)
PATCH 1/1 ARM: dts: imx8mm-verdin: Set PHY mode to RGMII-ID
Since c6df0e2ffdc ("net: phy: micrel: add support for DLL setup on ksz9131") the Micrel PHY driver correctly configures the delay register. The Verdin PHY is RGMII-ID, so reflect that in DT, otherwise the ethernet no longer works.
--- arch/arm/dts/imx8mm-verdin.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/dts/imx8mm-verdin.dts +1 -1
@@ -160,7 +160,7 @@ &fec1 { fsl,magic-packet; phy-handle = <ðphy0>; - phy-mode = "rgmii"; + phy-mode = "rgmii-id"; phy-supply = <®_ethphy>; pinctrl-names = "default", "sleep"; pinctrl-0 = <&pinctrl_fec1>;
Signature · 1 line
2.33.0
Hi Marek
Quoted 3 lines · Marek Vasut
Since
c6df0e2ffdc("net: phy: micrel: add support for DLL setup on ksz9131") the Micrel PHY driver correctly configures the delay register. The Verdin PHY is RGMII-ID, so reflect that in DT, otherwise the ethernet no longer works.
Yes, however, one should also get rid of the proprietary PHY setup in our board setup.
Remember, I already did send this as part of my target refresh series:
https://marc.info/?l=u-boot&m=162990456210415
Quoted 13 lines
Signed-off-by Marek Vasut <[email protected]>Cc Marcel Ziswiler <[email protected]>Cc Max Krummenacher <[email protected]>Cc Oleksandr Suvorov <[email protected]>---
arch/arm/dts/imx8mm-verdin.dts | 2 +-1 file changed, 1 insertion(+), 1 deletion(-)arch/arm/dts/imx8mm-verdin.dts +0
-0
arch/arm/dts/imx8mm-verdin.dts line 166
Quoted 8 lines
arch/arm/dts/imx8mm-verdin.dts +1
-1@@ -160,7 +160,7 @@ &fec1 { fsl,magic-packet; phy-handle = <ðphy0>; - phy-mode = "rgmii"; + phy-mode = "rgmii-id"; phy-supply = <®_ethphy>; pinctrl-names = "default", "sleep"; pinctrl-0 = <&pinctrl_fec1>;
Cheers
Marcel
Quoted 7 lines · Marcel Ziswiler
Hi Marek
Quoted 3 lines · Marek Vasut
Since
c6df0e2ffdc("net: phy: micrel: add support for DLL setup on ksz9131") the Micrel PHY driver correctly configures the delay register. The Verdin PHY is RGMII-ID, so reflect that in DT, otherwise the ethernet no longer works.
Quoted 5 lines
Yes, however, one should also get rid of the proprietary PHY setup in our board setup.
Remember, I already did send this as part of my target refresh series:
ACK, that patch of yours is a better patch too.
PATCH 1/1 ARM: dts: imx8mm-verdin: Set PHY mode to RGMII-ID
In reply to Marek VasutQuoted 7 lines
Since
c6df0e2ffdc("net: phy: micrel: add support for DLL setup on ksz9131") the Micrel PHY driver correctly configures the delay register. The Verdin PHY is RGMII-ID, so reflect that in DT, otherwise the ethernet no longer works.Signed-off-by Marek Vasut <[email protected]>Cc Marcel Ziswiler <[email protected]>Cc Max Krummenacher <[email protected]>Cc Oleksandr Suvorov <[email protected]>
Applied to u-boot-imx, master, thanks !
Best regards,
Stefano Babic
Signature · 5 lines
===================================================================== DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: [email protected] =====================================================================
Quoted 8 lines · On Thu, 2021-10-07 at 16:12 +0200, [email protected] wrote:
Quoted 7 lines
Since
c6df0e2ffdc("net: phy: micrel: add support for DLL setup on ksz9131") the Micrel PHY driver correctly configures the delay register. The Verdin PHY is RGMII-ID, so reflect that in DT, otherwise the ethernet no longer works.Signed-off-by Marek Vasut <[email protected]>Cc Marcel Ziswiler <[email protected]>Cc Max Krummenacher <[email protected]>Cc Oleksandr Suvorov <[email protected]>Applied to u-boot-imx, master, thanks !
No, remember, you should not have picked that one but rather my patch series instead!
Quoted 2 lines
Best regards,
Stefano Babic
Quoted 11 lines · Marcel Ziswiler
Quoted 8 lines · On Thu, 2021-10-07 at 16:12 +0200, [email protected] wrote:
Quoted 7 lines
Since
c6df0e2ffdc("net: phy: micrel: add support for DLL setup on ksz9131") the Micrel PHY driver correctly configures the delay register. The Verdin PHY is RGMII-ID, so reflect that in DT, otherwise the ethernet no longer works.Signed-off-by Marek Vasut <[email protected]>Cc Marcel Ziswiler <[email protected]>Cc Max Krummenacher <[email protected]>Cc Oleksandr Suvorov <[email protected]>Applied to u-boot-imx, master, thanks !
No, remember, you should not have picked that one but rather my patch series instead!
Okay, let me send a v5 of my patch series re-based on top of this now with another fixes tag (;-p).
Quoted 2 lines
Quoted 2 lines
Best regards,
Stefano Babic
Quoted 9 lines · Marcel Ziswiler
Quoted 8 lines · Marcel Ziswiler
Quoted 7 lines · On Thu, 2021-10-07 at 16:12 +0200, [email protected] wrote:
Quoted 7 lines
Since
c6df0e2ffdc("net: phy: micrel: add support for DLL setup on ksz9131") the Micrel PHY driver correctly configures the delay register. The Verdin PHY is RGMII-ID, so reflect that in DT, otherwise the ethernet no longer works.Signed-off-by Marek Vasut <[email protected]>Cc Marcel Ziswiler <[email protected]>Cc Max Krummenacher <[email protected]>Cc Oleksandr Suvorov <[email protected]>
Quoted 5 lines
Quoted 3 lines
Quoted 1 line
Applied to u-boot-imx, master, thanks !
No, remember, you should not have picked that one but rather my patch series instead!
Okay, let me send a v5 of my patch series re-based on top of this now with another fixes tag (;-p).
Ah sigh, thanks.