[PATCH 0/3] armv8/ls104xardb: RGMII ports require internal delay

Madalin Bucur madalin.bucur at oss.nxp.com
Thu Mar 12 13:53:43 CET 2020


The correct setting for the RGMII ports on LS1043/6ARDB is to
enable delay on both Rx and Tx so the interface mode used must
be PHY_INTERFACE_MODE_RGMII_ID. There is a pull-up that turns
on Rx internal delay by default and the u-boot does not
override that (yet) so in u-boot the interface is functional.
In Linux the PHY driver is clearing the Rx delay for the
"rgmii-txid" mode and the reception does not work.
Changing the RGMII mode to internal delay here ensures that
device tree fix-ups for the PHY connection type turn on both
Tx and Rx internal delay in Linux.

The patch set also ensures all internal delay modes are supported
in the MEMAC code.

Tested on LS1043ARDB and LS1046ARDB.

Madalin Bucur (3):
  net: fman: add support for all RGMII delay modes
  armv8/ls1043ardb: RGMII ports require internal delay
  armv8/ls1046ardb: RGMII ports require internal delay

 drivers/net/fm/ls1043.c | 4 ++--
 drivers/net/fm/ls1046.c | 4 ++--
 drivers/net/fm/memac.c  | 4 ++++
 3 files changed, 8 insertions(+), 4 deletions(-)

-- 
2.1.0



More information about the U-Boot mailing list