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 Chen-Yu Tsai (6): 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 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): sunxi: fix gpio drive mask arch/arm/cpu/armv7/sunxi/board.c | 37 ++++++++++++++++++++++++++++++++- arch/arm/cpu/armv7/sunxi/pinmux.c | 18 ++++++++++++++++ arch/arm/include/asm/arch-sunxi/clock.h | 3 +++ arch/arm/include/asm/arch-sunxi/cpu.h | 1 + arch/arm/include/asm/arch-sunxi/gpio.h | 4 ++++ boards.cfg | 8 +++---- drivers/net/designware.c | 2 +- include/configs/sunxi-common.h | 10 +++++++++ 8 files changed, 77 insertions(+), 6 deletions(-) -- 1.8.5.1 -- 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 [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
