[U-Boot] [PATCH v3 0/6] ls1028a: networking support

Alex Marginean alexandru.marginean at nxp.com
Thu Jun 20 14:48:22 UTC 2019

This patch set introduces ENETC ethernet and MDIO drivers, integrated in LS1028A
NXP device and enables networking on the two existing boards.
The SGMII interface labeled MAC0 is now functional on the reference design board
(RDB).  The RDB also features four switch ports, not enabled yet.
On the development system (QDS) the RGMII port is now functional.  Add-on cards
are not yet enabled.

Depends on:
    - DM MDIO: https://patchwork.ozlabs.org/patch/1109368/
    - PCI EA and FLR: https://patchwork.ozlabs.org/patch/1111608/

Changes in v3:
    - Added cover letter
    - Added serdes (SoC internal PHYs) configuration code
    - Use a single config option for ethernet and MDIO drivers as they are
    cross dependent
    - Use net_rx_packets for Rx and set SYS_RX_ETH_BUFFER to 8, minimum BD ring
    size supported by ENETC
    - MDIO driver now resides in its own file, read/write functions are
    reused by ethernet driver to access serdes
    - PCI IDs for our functions are no longer defined in pci_ids.h
    - several cosmetic updates, static functions, comments

Alex Marginean (6):
  include: configs: ls1028a: set SYS_RX_ETH_BUFFER to 8
  drivers: net: add NXP ENETC ethernet driver
  drivers: net: add NXP ENETC MDIO driver
  drivers: net: apply serdes configuration for ENETC Ethernet interfaces
  arm: dts: ls1028a updates for network interfaces
  configs: ls1028a: enable networking options in rds, qds defconfig

 arch/arm/dts/fsl-ls1028a-qds.dts |  13 +
 arch/arm/dts/fsl-ls1028a-rdb.dts |  13 +
 arch/arm/dts/fsl-ls1028a.dtsi    |  24 ++
 configs/ls1028aqds_tfa_defconfig |   5 +-
 configs/ls1028ardb_tfa_defconfig |   2 +
 drivers/net/Kconfig              |   7 +
 drivers/net/Makefile             |   1 +
 drivers/net/fsl_enetc.c          | 583 +++++++++++++++++++++++++++++++
 drivers/net/fsl_enetc.h          | 227 ++++++++++++
 drivers/net/fsl_enetc_mdio.c     | 149 ++++++++
 include/configs/ls1028a_common.h |   4 +
 11 files changed, 1027 insertions(+), 1 deletion(-)
 create mode 100644 drivers/net/fsl_enetc.c
 create mode 100644 drivers/net/fsl_enetc.h
 create mode 100644 drivers/net/fsl_enetc_mdio.c


More information about the U-Boot mailing list