mirror of
https://github.com/Stichting-MINIX-Research-Foundation/u-boot.git
synced 2025-09-10 12:39:22 -04:00
tsec: add micrel ksz804 phy
Signed-off-by: Heiko Schocher <hs@denx.de> Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
This commit is contained in:
parent
54841ab50c
commit
26918b7994
@ -1631,6 +1631,27 @@ static struct phy_info phy_info_dm9161 = {
|
|||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/* micrel KSZ804 */
|
||||||
|
static struct phy_info phy_info_ksz804 = {
|
||||||
|
0x0022151,
|
||||||
|
"Micrel KSZ804 PHY",
|
||||||
|
4,
|
||||||
|
(struct phy_cmd[]) { /* config */
|
||||||
|
{PHY_BMCR, PHY_BMCR_RESET, NULL},
|
||||||
|
{PHY_BMCR, PHY_BMCR_AUTON|PHY_BMCR_RST_NEG, NULL},
|
||||||
|
{miim_end,}
|
||||||
|
},
|
||||||
|
(struct phy_cmd[]) { /* startup */
|
||||||
|
{PHY_BMSR, miim_read, NULL},
|
||||||
|
{PHY_BMSR, miim_read, &mii_parse_sr},
|
||||||
|
{PHY_BMSR, miim_read, &mii_parse_link},
|
||||||
|
{miim_end,}
|
||||||
|
},
|
||||||
|
(struct phy_cmd[]) { /* shutdown */
|
||||||
|
{miim_end,}
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
/* a generic flavor. */
|
/* a generic flavor. */
|
||||||
static struct phy_info phy_info_generic = {
|
static struct phy_info phy_info_generic = {
|
||||||
0,
|
0,
|
||||||
@ -1794,6 +1815,7 @@ static struct phy_info *phy_info[] = {
|
|||||||
&phy_info_M88E1145,
|
&phy_info_M88E1145,
|
||||||
&phy_info_M88E1149S,
|
&phy_info_M88E1149S,
|
||||||
&phy_info_dm9161,
|
&phy_info_dm9161,
|
||||||
|
&phy_info_ksz804,
|
||||||
&phy_info_lxt971,
|
&phy_info_lxt971,
|
||||||
&phy_info_VSC8211,
|
&phy_info_VSC8211,
|
||||||
&phy_info_VSC8244,
|
&phy_info_VSC8244,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user