diff options
author | Anatolij Gustschin <agust@denx.de> | 2019-10-27 01:14:40 +0200 |
---|---|---|
committer | Joe Hershberger <joe.hershberger@ni.com> | 2019-12-09 09:47:42 -0600 |
commit | 5bcb4b8ff646f5c340c6d06c8f84b082963f5f8d (patch) | |
tree | 024761ac5c3f7b4616e7adb4c3fc4e1a488aad6b /drivers/net/phy | |
parent | 41820c4baa74f4c71d53e554ca2078763cdaa6e8 (diff) | |
download | u-boot-5bcb4b8ff646f5c340c6d06c8f84b082963f5f8d.zip u-boot-5bcb4b8ff646f5c340c6d06c8f84b082963f5f8d.tar.gz u-boot-5bcb4b8ff646f5c340c6d06c8f84b082963f5f8d.tar.bz2 |
net: phy: mv88e61xx: register phy_driver struct for 88E6071
Support probing and init for 88E6071 switch.
Signed-off-by: Anatolij Gustschin <agust@denx.de>
Reviewed-by: Chris Packham <judge.packham@gmail.com>
Tested-by: Chris Packham <judge.packham@gmail.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Diffstat (limited to 'drivers/net/phy')
-rw-r--r-- | drivers/net/phy/mv88e61xx.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/net/phy/mv88e61xx.c b/drivers/net/phy/mv88e61xx.c index 07d0896..5aff7ed 100644 --- a/drivers/net/phy/mv88e61xx.c +++ b/drivers/net/phy/mv88e61xx.c @@ -1154,10 +1154,22 @@ static struct phy_driver mv88e609x_driver = { .shutdown = &genphy_shutdown, }; +static struct phy_driver mv88e6071_driver = { + .name = "Marvell MV88E6071", + .uid = 0x1410db0, + .mask = 0xfffffff0, + .features = PHY_BASIC_FEATURES | SUPPORTED_MII, + .probe = mv88e61xx_probe, + .config = mv88e61xx_phy_config, + .startup = mv88e61xx_phy_startup, + .shutdown = &genphy_shutdown, +}; + int phy_mv88e61xx_init(void) { phy_register(&mv88e61xx_driver); phy_register(&mv88e609x_driver); + phy_register(&mv88e6071_driver); return 0; } |