All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH v3 00/11] Add driver for VSC9953 Ethernet Switch
@ 2015-01-12 12:08 Codrin Ciubotariu
  2015-01-12 12:08 ` [U-Boot] [PATCH v3 01/11] net/fm: Fix error when FMAN MAC has no PHY Codrin Ciubotariu
                   ` (10 more replies)
  0 siblings, 11 replies; 24+ messages in thread
From: Codrin Ciubotariu @ 2015-01-12 12:08 UTC (permalink / raw)
  To: u-boot

This patches add support for VSC9953, a Vitesse L2 Switch IP which is integrated in the T1040/T1020 Freescale SoCs.

About Device:
=============
The Seville Gigabit Ethernet switch core contains eight 10/100/1000 Mbps Ethernet ports and two 10/100/1000/2500 Mbps ports. It provides a rich set of Ethernet switching features such as advanced TCAM-based VLAN and QoS processing as well as security processing using a TCAM.

Switch interfaces:
	-	8 Gigabit switch ports (ports 0 to 7) are external and
		are connected to external PHYs
	-	2 switch ports (ports 8 and 9) of 2.5 G are connected
		(fixed links) to FMan ports (FM1 at DTSEC1 and FM1 at DTSEC2)

Commands Overview:
=============
Commands supported
	- enable/disable a port
	- check a port's link speed, duplexity and status.

Commands syntax
	ethsw port <port_nr> enable|disable
		- enable/disable an l2 switch port
	ethsw port <port_nr> show
		- show an l2 switch port's configuration

	port_nr=0..9; use "all" for all ports

=> ethsw port all show
    Port   Status     Link    Speed   Duplex
       0  enabled     down       10     half
       1  enabled     down       10     half
       2  enabled     down       10     half
       3  enabled       up     1000     full
       4 disabled     down        -     half
       5 disabled     down        -     half
       6 disabled     down        -     half
       7 disabled     down        -     half
       8  enabled       up     2500     full
       9  enabled       up     2500     full
=>

Changes for v2:
	- split the bug fix from the implementation of
		SerDes protocols of L2 Switch ports patch;
	- added debug messages if MDIO reads or writes timeout;
	- added debug messages when reset of VSC9953 switch fails;
	- replaced Copyright and license to the generic one;
	- added patch descriptions;

Changes for v3:
	- replaced the arrays type from 'int' to 'u8' int the
		 fix for mapping of Freescale SerDes protocols;
	- removed "Change-id" lines from almost all the patches;


Codrin Ciubotariu (11):
  net/fm: Fix error when FMAN MAC has no PHY
  arch/powerpc: Fix mapping of Freescale SerDes protocols
  arch/powerpc: Add SGMII support for the L2 Switch ports
  net/fm: Enable FMAN ports if l2switch ports are connected over SGMII
  net/vsc9953: Add driver for Vitesse VSC9953 L2 Switch IP
  arch/powerpc: Enable VSC9953 driver on T1040 and T1020
  board/T1040qds: Fix lane-to-slot mapping for SerDes protocol 0x89
  board/T1040qds: T1040 FMAN ports FM1 at DTSEC1 and FM1 at DTSEC2 have no
    PHYs
  board/T104xrdb: T1040 FMAN ports FM1 at DTSEC1 and FM1 at DTSEC2 have no
    PHYs
  board/T1040qds: Add VSC9953 support for T1040qds board
  board/T1040rdb: Add VSC9953 support for T1040rdb board

 arch/powerpc/cpu/mpc85xx/fsl_corenet2_serdes.c |  73 ++--
 arch/powerpc/cpu/mpc85xx/t1040_serdes.c        |   8 +-
 arch/powerpc/cpu/mpc8xxx/cpu.c                 |   5 +
 arch/powerpc/include/asm/config_mpc85xx.h      |   3 +
 arch/powerpc/include/asm/fsl_serdes.h          |   7 +
 board/freescale/t1040qds/eth.c                 |  93 +++++
 board/freescale/t104xrdb/eth.c                 |  59 ++-
 doc/README.t1040-l2switch                      |  49 +++
 drivers/net/Makefile                           |   1 +
 drivers/net/fm/eth.c                           |  30 +-
 drivers/net/fm/t1040.c                         |   3 +-
 drivers/net/vsc9953.c                          | 497 +++++++++++++++++++++++++
 include/configs/T1040QDS.h                     |   4 +
 include/configs/T104xRDB.h                     |   6 +
 include/vsc9953.h                              | 402 ++++++++++++++++++++
 15 files changed, 1191 insertions(+), 49 deletions(-)
 create mode 100644 doc/README.t1040-l2switch
 create mode 100644 drivers/net/vsc9953.c
 create mode 100644 include/vsc9953.h

-- 
1.7.11.7

^ permalink raw reply	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2015-01-23  0:43 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-12 12:08 [U-Boot] [PATCH v3 00/11] Add driver for VSC9953 Ethernet Switch Codrin Ciubotariu
2015-01-12 12:08 ` [U-Boot] [PATCH v3 01/11] net/fm: Fix error when FMAN MAC has no PHY Codrin Ciubotariu
2015-01-23  0:37   ` York Sun
2015-01-12 12:08 ` [U-Boot] [PATCH v3 02/11] arch/powerpc: Fix mapping of Freescale SerDes protocols Codrin Ciubotariu
2015-01-23  0:38   ` York Sun
2015-01-12 12:08 ` [U-Boot] [PATCH v3 03/11] arch/powerpc: Add SGMII support for the L2 Switch ports Codrin Ciubotariu
2015-01-23  0:39   ` York Sun
2015-01-12 12:08 ` [U-Boot] [PATCH v3 04/11] net/fm: Enable FMAN ports if l2switch ports are connected over SGMII Codrin Ciubotariu
2015-01-23  0:39   ` York Sun
2015-01-12 12:08 ` [U-Boot] [PATCH v3 05/11] net/vsc9953: Add driver for Vitesse VSC9953 L2 Switch IP Codrin Ciubotariu
2015-01-15 20:59   ` York Sun
2015-01-15 21:02   ` York Sun
2015-01-15 21:42   ` Joe Hershberger
2015-01-23  0:40   ` York Sun
2015-01-12 12:08 ` [U-Boot] [PATCH v3 06/11] arch/powerpc: Enable VSC9953 driver on T1040 and T1020 Codrin Ciubotariu
2015-01-15 21:26   ` York Sun
2015-01-12 12:08 ` [U-Boot] [PATCH v3 07/11] board/T1040qds: Fix lane-to-slot mapping for SerDes protocol 0x89 Codrin Ciubotariu
2015-01-23  0:42   ` York Sun
2015-01-12 12:08 ` [U-Boot] [PATCH v3 08/11] board/T1040qds: T1040 FMAN ports FM1@DTSEC1 and FM1@DTSEC2 have no PHYs Codrin Ciubotariu
2015-01-23  0:42   ` York Sun
2015-01-12 12:08 ` [U-Boot] [PATCH v3 09/11] board/T104xrdb: " Codrin Ciubotariu
2015-01-23  0:43   ` York Sun
2015-01-12 12:08 ` [U-Boot] [PATCH v3 10/11] board/T1040qds: Add VSC9953 support for T1040qds board Codrin Ciubotariu
2015-01-12 12:08 ` [U-Boot] [PATCH v3 11/11] board/T1040rdb: Add VSC9953 support for T1040rdb board Codrin Ciubotariu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.