Hi everyone,

This patch series add support for GMAC on Cubieboard2 and
Cubietruck, using the designware driver already in u-boot.
The patch series should be applied over the current 'sunxi'
branch in linux-sunxi/u-boot-sunxi.

The work was started by Jens Kuske (jemk), which enabled
the GMAC on CubieTruck under 10/100 speeds. Then I added
gigabit, pin drive level and Cubieboard 2 support.
Ma Haijun picked out an incorrect mask in the pin setup
code.

There is one modification to the original driver, which
reduces the DMA burst length, to a value supported by the
GMAC. This should probably be upstreamed.
The remaining patches are all sunxi specific.

Adding GMAC support to other A20 boards shoule be as simple
as adding the proper defines to boards.cfg.

Cheers,

ChenYu


Changes from v1:

  * Moved gmac initialization code into glue layer under drivers/net
  * Added and switched to gmac clock macros instead of magic numbers
  * Added comment on ahb0 vs ahb1 for GMAC clock gate offset
  * Added explanatory message to Ma Haijun's commit


Chen-Yu Tsai (8):
  ARM: sunxi: Enable support for gigabit PHYs
  ARM: sunxi: Add functions to set pin drive levels
  ARM: sunxi: Set drive level for GMAC pins
  ARM: sunxi: GMAC driver phy interface based on config
  ARM: sunxi: Do not select unused GMAC pins under RGMII mode
  ARM: sunxi: Let cubieboard2 use the GMAC driver
  ARM: sunxi: Add gmac clock macros
  ARM: sunxi: Move GMAC init code into separate glue layer driver

Jens Kuske (4):
  net/designware: Reduce DMA burst length
  ARM: sunxi: Add GMAC base address and clocks
  ARM: sunxi: Add GMAC driver
  ARM: sunxi: Let cubietruck use the GMAC driver

Ma Haijun (1):
  ARM: sunxi: fix gpio drive mask

 arch/arm/cpu/armv7/sunxi/board.c        |  7 ++++-
 arch/arm/cpu/armv7/sunxi/pinmux.c       | 18 +++++++++++++
 arch/arm/include/asm/arch-sunxi/clock.h | 11 ++++++++
 arch/arm/include/asm/arch-sunxi/cpu.h   |  1 +
 arch/arm/include/asm/arch-sunxi/gpio.h  |  4 +++
 boards.cfg                              |  8 +++---
 drivers/net/Makefile                    |  1 +
 drivers/net/designware.c                |  2 +-
 drivers/net/sunxi_gmac.c                | 45 +++++++++++++++++++++++++++++++++
 include/configs/sunxi-common.h          | 10 ++++++++
 include/netdev.h                        |  1 +
 11 files changed, 102 insertions(+), 6 deletions(-)
 create mode 100644 drivers/net/sunxi_gmac.c

-- 
1.8.5.2

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to linux-sunxi+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to