From mboxrd@z Thu Jan 1 00:00:00 1970 From: Roger Quadros Date: Wed, 24 Aug 2016 15:35:48 +0300 Subject: [U-Boot] [PATCH v2 0/3] am335x-icev2: Ethernet support Message-ID: <1472042151-24844-1-git-send-email-rogerq@ti.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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