From: Codrin Ciubotariu <codrin.ciubotariu@freescale.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v3 00/11] Add driver for VSC9953 Ethernet Switch
Date: Mon, 12 Jan 2015 14:08:28 +0200 [thread overview]
Message-ID: <1421064519-6248-1-git-send-email-codrin.ciubotariu@freescale.com> (raw)
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
next reply other threads:[~2015-01-12 12:08 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-12 12:08 Codrin Ciubotariu [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1421064519-6248-1-git-send-email-codrin.ciubotariu@freescale.com \
--to=codrin.ciubotariu@freescale.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.