All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kumar Gala <galak@kernel.crashing.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 3/5] powerpc/hydra: Add ethernet support on P5020/P3041 DS boards
Date: Tue, 30 Aug 2011 17:47:55 -0500	[thread overview]
Message-ID: <50DEF176-00D0-4823-87C2-11E7D7334979@kernel.crashing.org> (raw)
In-Reply-To: <1312179825-27917-3-git-send-email-galak@kernel.crashing.org>


On Aug 1, 2011, at 1:23 AM, Kumar Gala wrote:

> From: Timur Tabi <timur@freescale.com>
> 
> Add support for RGMII, SGMII, and XAUI (10Gb) Ethernet on P3041DS &
> P5020DS ("Hydra").
> 
> The lane_to_slot[] array is initialized dynamically, since board switches
> can be used to control the muxing of SERDES lanes to slots.
> 
> The BRDCFG1 PIXIS register is used to route the MII bus to the appropriate
> slot.  The SERDES configuration is queried to help determine the routing
> between MACs and slot/phy combination.
> 
> If a XAUI card is inserted, muxing for that card is enabled and never
> turned off.  The PHY address for the 10G XAUI card depends on the slot in
> which it's inserted.  If it's in slot 1, the address is 4.  If it's in
> slot 2, the address is 0.
> 
> Update the MDIO routing in the P3041DS and P5020DS device trees based on
> the board-level muxing.  The SERDES configuration determines which
> SGMII/XGMII boards are located in which slots, and so the MDIO bus needs
> to be muxed correctly whenever talking to a PHY connected to any Fman MAC.
> The Fman Ethernet nodes in the device tree also need to be routed to the
> correct PHYs.
> 
> Removed CONFIG_SYS_FMAN_FW as its not used anywhere.
> 
> Signed-off-by: Ioana Radulescu <ruxandra.radulescu@freescale.com>
> Signed-off-by: Timur Tabi <timur@freescale.com>
> Signed-off-by: Andy Fleming <afleming@freescale.com>
> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
> ---
> board/freescale/corenet_ds/Makefile    |    2 +
> board/freescale/corenet_ds/eth_hydra.c |  553 ++++++++++++++++++++++++++++++++
> 2 files changed, 555 insertions(+), 0 deletions(-)
> create mode 100644 board/freescale/corenet_ds/eth_hydra.c

applied to 85xx next

- k

  parent reply	other threads:[~2011-08-30 22:47 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-01  6:23 [U-Boot] [PATCH 1/5] powerpc/85xx: Add support for FMan ethernet in Independent mode Kumar Gala
2011-08-01  6:23 ` [U-Boot] [PATCH 2/5] powerpc/85xx: Add FMan ethernet support to P4080DS Kumar Gala
2011-08-01  6:23   ` [U-Boot] [PATCH 3/5] powerpc/hydra: Add ethernet support on P5020/P3041 DS boards Kumar Gala
2011-08-01  6:23     ` [U-Boot] [PATCH 4/5] powerpc/85xx: Add networking support to P1023RDS Kumar Gala
2011-08-01  6:23       ` [U-Boot] [PATCH 5/5] powerpc/p2041rdb: Add ethernet support on P2041RDB board Kumar Gala
2011-08-30 22:48         ` Kumar Gala
2011-08-30 22:48       ` [U-Boot] [PATCH 4/5] powerpc/85xx: Add networking support to P1023RDS Kumar Gala
2011-08-30 22:47     ` Kumar Gala [this message]
2011-08-01 10:19   ` [U-Boot] [PATCH 2/5] powerpc/85xx: Add FMan ethernet support to P4080DS Wolfgang Denk
2011-08-01 15:47     ` [U-Boot] [PATCH v2 " Kumar Gala
2011-08-30 22:47       ` Kumar Gala
2011-08-01 10:16 ` [U-Boot] [PATCH 1/5] powerpc/85xx: Add support for FMan ethernet in Independent mode Wolfgang Denk
2011-08-01 15:26   ` Kumar Gala
2011-08-01 17:59     ` Tabi Timur-B04825
2011-08-01 18:04       ` Kumar Gala
2011-08-01 18:10         ` Timur Tabi
2011-08-01 19:32     ` Wolfgang Denk
2011-08-01 20:10       ` Kumar Gala

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=50DEF176-00D0-4823-87C2-11E7D7334979@kernel.crashing.org \
    --to=galak@kernel.crashing.org \
    --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.