diff options
author | Shengzhou Liu <Shengzhou.Liu@freescale.com> | 2014-11-10 18:32:29 +0800 |
---|---|---|
committer | York Sun <yorksun@freescale.com> | 2014-12-05 08:06:11 -0800 |
commit | 9b18e5199ec42f9dc62c0da7f4fe7554e199980d (patch) | |
tree | 4e008751897a988bf271b26814b5a2a8db775e8d /include/phy.h | |
parent | 84baed2a2bdde3b2bf876d36cc966bd41ac67a6d (diff) | |
download | u-boot-9b18e5199ec42f9dc62c0da7f4fe7554e199980d.tar.gz u-boot-9b18e5199ec42f9dc62c0da7f4fe7554e199980d.tar.bz2 u-boot-9b18e5199ec42f9dc62c0da7f4fe7554e199980d.zip |
net/phy: Add support for CS4315/CS4340 PHY
Add support for Cortina CS4315/CS4340 10G PHY.
- This driver loads CS43xx firmware from NOR/NAND/SPI/SD device
to initialize Cortina PHY.
- Cortina PHY has non-standard offset of PHY ID registers, thus
we define own get_phy_id() to override default get_phy_id().
- To define macro CONFIG_PHY_CORTINA will enable this driver.
Signed-off-by: Shengzhou Liu <Shengzhou.Liu@freescale.com>
Reviewed-by: York Sun <yorksun@freescale.com>
Diffstat (limited to 'include/phy.h')
-rw-r--r-- | include/phy.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/phy.h b/include/phy.h index d430ed0e32..1e282e2964 100644 --- a/include/phy.h +++ b/include/phy.h @@ -227,6 +227,7 @@ int gen10g_discover_mmds(struct phy_device *phydev); int phy_atheros_init(void); int phy_broadcom_init(void); +int phy_cortina_init(void); int phy_davicom_init(void); int phy_et1011c_init(void); int phy_lxt_init(void); @@ -241,6 +242,7 @@ int phy_vitesse_init(void); int board_phy_config(struct phy_device *phydev); /* PHY UIDs for various PHYs that are referenced in external code */ +#define PHY_UID_CS4340 0x13e51002 #define PHY_UID_TN2020 0x00a19410 #endif |