mbox series

[v2,0/6] Fixes for the NXP LS1028A-QDS boards

Message ID 20210617222604.2563375-1-vladimir.oltean@nxp.com
Headers show
Series Fixes for the NXP LS1028A-QDS boards | expand

Message

Vladimir Oltean June 17, 2021, 10:25 p.m. UTC
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, patch 5 is a cleanup change, which disables the DSA master port
enetc-2 on LS1028A-QDS boards where the switch is not enabled.

Changes in v2:
Reword commit message of patch 6.

Vladimir Oltean (6):
  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
  drivers: net: fsl_enetc: require a PHY device when probing
  drivers: net: fsl_enetc: force the RGMII MAC speed/duplex instead of
    using in-band signaling

 .../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                       | 55 +++++++++++++------
 drivers/net/fsl_enetc.h                       |  5 ++
 12 files changed, 126 insertions(+), 20 deletions(-)