[PATCH v3 0/7] Fixes for the NXP LS1028A-QDS boards

Vladimir Oltean vladimir.oltean at nxp.com
Tue Jun 29 19:53:10 CEST 2021


This series fixes through patches 1, 2 and 6 networking issues seen on
the LS1028A-QDS boards:
- Traffic through the RGMII port enetc-1 does not work
- The switch ports are not probed
- RGMII fixed-link connections do not work

Patches 3 and 4 are dependencies for patch 6, as follows:
- Forcing the MAC speed to equal the RGMII PHY requires having a PHY
  unconditionally in the enetc driver
- Having a PHY unconditionally requires updating the device tree to
  declare fixed PHYs for the internal enetc ports

Finally, patches 5 and 7 are cleanup changes, which disables the DSA
master port enetc-2 on LS1028A-QDS boards where the switch is not
enabled, and propagate an error code.

Changes in v2:
Reword commit message of patch 6.

Changes in v3:
Update driver copyright as part of corporate requirements.
Add patch 7.

Vladimir Oltean (7):
  arm: dts: ls1028a: enable the switch CPU port for the LS1028A-QDS
  arm: dts: ls1028a: enable internal RGMII delays for the LS1028A-QDS
    AR8035 PHY
  arm: dts: ls1028a: declare the fixed-link speeds for the internal
    ENETC ports
  arm: dts: ls1028a: disable enetc-2 by default
  net: enetc: require a PHY device when probing
  net: enetc: force the RGMII MAC speed/duplex instead of using in-band
    signaling
  net: enetc: propagate the return code from phy_startup() to
    eth_ops::start

 .../dts/fsl-ls1028a-qds-7777-sch-30841.dtsi   |  9 +++
 .../dts/fsl-ls1028a-qds-7xx7-sch-30841R.dtsi  |  9 +++
 .../fsl-ls1028a-qds-9999-sch-24801-LBRW.dtsi  |  9 +++
 .../dts/fsl-ls1028a-qds-9999-sch-24801.dtsi   |  9 +++
 .../fsl-ls1028a-qds-x3xx-sch-30841-LBRW.dtsi  |  9 +++
 .../fsl-ls1028a-qds-x5xx-sch-28021-LBRW.dtsi  |  9 +++
 .../dts/fsl-ls1028a-qds-x7xx-sch-30842.dtsi   |  9 +++
 .../dts/fsl-ls1028a-qds-xx7x-sch-30842.dtsi   |  9 +++
 arch/arm/dts/fsl-ls1028a-qds.dtsi             |  2 +-
 arch/arm/dts/fsl-ls1028a.dtsi                 | 12 +++-
 drivers/net/fsl_enetc.c                       | 59 ++++++++++++-------
 drivers/net/fsl_enetc.h                       |  7 ++-
 12 files changed, 128 insertions(+), 24 deletions(-)

-- 
2.25.1



More information about the U-Boot mailing list