[PATCH 0/2] stmac: add glue for NXP LPC18xx family

Joachim Eastwood manabian at gmail.com
Sat May 2 09:40:40 PDT 2015


This small patch set adds support for using the stmmac on the NXP
LPC18xx/43xx Cortex-M3/4 MCU family and add binding documentation.

Base support for the family can be found here:
http://marc.info/?l=linux-arm-kernel&m=143016894704253&w=2

DTS changes will be posted once base support, clk support and
reset are upstream. All this has been posted on the relevant
lists and my hope is that it will make it into Linux 4.1.

Below is the boot log from the stmmac driver:
[    2.831037] stmmac - user ID: 0x11, Synopsys ID: 0x36
[    2.837085]  Ring mode enabled
[    2.840559]  DMA HW capability register supported
[    2.845457]  Enhanced/Alternate descriptors
[    2.850866]  Enabled extended descriptors
[    2.855351]  RX Checksum Offload Engine supported (type 2)
[    2.861847]  TX Checksum insertion supported
[    2.867106]  Wake-Up On Lan supported
[    2.873938]  Enable RX Mitigation via HW Watchdog Timer
[    2.923122] libphy: stmmac: probed
[    2.927750] eth0: PHY ID 0007c0f1 at 1 IRQ POLL (stmmac-0:01) active
[   94.735120]  No MAC Management Counters available
[   97.767758] stmmaceth 40010000.ethernet eth0: Link is Up - 100Mbps/Full - flow control off

Joachim Eastwood (2):
  stmac: add dwmac glue for NXP 18xx/43xx family
  doc: dt: add documentation for nxp,lpc1850-dwmac

 .../devicetree/bindings/net/nxp,lpc1850-dwmac.txt  | 20 ++++++
 drivers/net/ethernet/stmicro/stmmac/Makefile       |  3 +-
 .../net/ethernet/stmicro/stmmac/dwmac-lpc18xx.c    | 76 ++++++++++++++++++++++
 .../net/ethernet/stmicro/stmmac/stmmac_platform.c  |  1 +
 .../net/ethernet/stmicro/stmmac/stmmac_platform.h  |  1 +
 5 files changed, 100 insertions(+), 1 deletion(-)
 create mode 100644 Documentation/devicetree/bindings/net/nxp,lpc1850-dwmac.txt
 create mode 100644 drivers/net/ethernet/stmicro/stmmac/dwmac-lpc18xx.c

-- 
1.8.0




More information about the linux-arm-kernel mailing list