[U-Boot] [PATCH v2 0/3] am335x-icev2: Ethernet support

Roger Quadros rogerq at ti.com
Wed Aug 24 14:35:48 CEST 2016


Hi,

am335x-icev2 has 2 Ethernet ports that can be used either as CPSW ethernet (RMII mode)
or PRUSS ethernet (MII mode) using jumpers placed next to the port on the board.

As a different PHY clock is required for RMII mode vs MII mode, we detect the jumper
setting and set the PHY clock frequency accordingly.

Tested with CPSW in RMII mode.

cheers,m
-roger

Changelog:
v2:
 - removed unnecessary patch 1.

Mugunthan V N (1):
  driver: net: cpsw: add support for RGMII id mode support and RMII
    clock source selection

Roger Quadros (2):
  board: am335x-icev2: add ethernet phy mode detection logic
  board: am335x: Always set eth/eth1addr environment variable

 board/ti/am335x/board.c | 154 +++++++++++++++++++++++++++++++++++++----------
 drivers/net/cpsw.c      | 157 +++++++++++++++++++++++++++++++++++++++++++-----
 include/cpsw.h          |   1 +
 3 files changed, 265 insertions(+), 47 deletions(-)

-- 
2.7.4



More information about the U-Boot mailing list