From: DENX Support System Date: Mon, 30 Apr 2007 23:50:04 +0200 Subject: [U-Boot-Users] [DNX#2007043042000014] [PATCH] Add support for BCM5464 Quad Phy Message-ID: <1177969804.119313.87682884@castor.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hello list, inside the automatic U-Boot patch tracking system a new ticket [DNX#2007043042000014] was created: > Added support for Broadcom's BCM5464 Quad Phy > > Signed-off-by: Joe Hamman > --- > diff --git a/drivers/tsec.c b/drivers/tsec.c > index 3f11eb0..5c4219d 100644 > --- a/drivers/tsec.c > +++ b/drivers/tsec.c > @@ -853,6 +853,33 @@ struct phy_info phy_info_BCM5461S = { > }, > }; > > +struct phy_info phy_info_BCM5464S = { > + 0x02060b1, /* 5464 ID */ > + "Broadcom BCM5464S", > + 0, /* not clear to me what minor revisions we can shift away */ > + (struct phy_cmd[]) { /* config */ > + /* Reset and configure the PHY */ > + {MIIM_CONTROL, MIIM_CONTROL_RESET, NULL}, > + {MIIM_GBIT_CONTROL, MIIM_GBIT_CONTROL_INIT, NULL}, > + {MIIM_ANAR, MIIM_ANAR_INIT, NULL}, > + {MIIM_CONTROL, MIIM_CONTROL_RESET, NULL}, > + {MIIM_CONTROL, MIIM_CONTROL_INIT, &mii_cr_init}, > + {miim_end,} > + }, > + (struct phy_cmd[]) { /* startup */ > + /* Status is read once to clear old link state */ > + {MIIM_STATUS, miim_read, NULL}, > + /* Auto-negotiate */ > + {MIIM_STATUS, miim_read, &mii_parse_sr}, > + /* Read the status */ > + {MIIM_BCM54xx_AUXSTATUS, miim_read, &mii_parse_BCM54xx_sr}, > + {miim_end,} > + }, > + (struct phy_cmd[]) { /* shutdown */ > + {miim_end,} > + }, > +}; > + > struct phy_info phy_info_M88E1011S = { > 0x01410c6, > "Marvell 88E1011S", > @@ -1196,6 +1223,7 @@ struct phy_info *phy_info[] = { > &phy_info_cis8204, > &phy_info_cis8201, > &phy_info_BCM5461S, > + &phy_info_BCM5464S, > &phy_info_M88E1011S, > &phy_info_M88E1111S, > &phy_info_M88E1145, Your U-Boot support team