14 Oct, 2016

5 commits

  • Both ethernet ports can be used as CPSW ethernet (RMII mode)
    or PRU ethernet (MII mode) by setting the jumper near the port.
    Read the jumper value and set the pinmux, external mux and
    PHY clock accordingly.

    As jumper line is overridden by PHY RX_DV pin immediately
    after bootstrap (power-up/reset), we have to use GPIO edge
    detection to capture the jumper line status.

    As u-boot doesn't provide any infrastructure for GPIO edge
    detection, we directly access the GPIO registers.

    Signed-off-by: Roger Quadros
    Reviewed-by: Tom Rini
    Reviewed-by: Tom Rini
    Acked-by: Joe Hershberger

    Roger Quadros
     
  • cpsw driver supports only selection of phy mode in control module
    but control module has more setting like RGMII ID mode selection,
    RMII clock source selection. So ported to cpsw-phy-sel driver
    from kernel to u-boot.

    Signed-off-by: Mugunthan V N
    Signed-off-by: Lokesh Vutla
    Acked-by: Joe Hershberger

    Mugunthan V N
     
  • In AM335x GP EVM, Atheros 8031 phy is used, enable the driver as
    AM335x SoC RGMII delay mode has to be enabled in phy as mentioned
    in the silicon errata Advisory 1.0.10

    Signed-off-by: Mugunthan V N
    Acked-by: Joe Hershberger

    Mugunthan V N
     
  • In the current driver implementation, config() callback is common
    for AR8035 and AR8031 phy. In config() callback, driver tries to
    configure MMD Access Control Register and MMD Access Address Data
    Register unconditionally for both phy versions which leads to
    auto negotiation failure in AM335x EVMsk second port which uses
    AR8031 Giga bit RGMII phy. Fixing this by adding separate config
    for AR8031 phy.

    Reviewed-by: Sekhar Nori
    Signed-off-by: Mugunthan V N
    Acked-by: Joe Hershberger

    Mugunthan V N
     
  • This adds support for internal delay on RX and TX on RGMII interface for the
    AR8035 phy.

    This is basically the same Linux driver do. Tested on a Zynq Zturn board (for
    which u-boot support in is my tree; first patch waiting ML approval)

    Signed-off-by: Andrea Merello
    Reviewed-by: Marek Vasut
    Acked-by: Marek Vasut
    Acked-by: Joe Hershberger

    Andrea Merello
     

13 Oct, 2016

1 commit


12 Oct, 2016

18 commits


11 Oct, 2016

16 commits