Skip to content
Snippets Groups Projects
Commit 433a2c53 authored by Heiko Schocher's avatar Heiko Schocher Committed by Joe Hershberger
Browse files

phylib: add atheros ar803x phy


add atheros ar803x phy, used on the upcoming siemens boards.

Signed-off-by: default avatarHeiko Schocher <hs@denx.de>
Cc: Andy Fleming <afleming@freescale.com>
Cc: Joe Hershberger <joe.hershberger@gmail.com>
parent 96d0b9e1
No related branches found
No related tags found
No related merge requests found
...@@ -61,7 +61,17 @@ static struct phy_driver AR8021_driver = { ...@@ -61,7 +61,17 @@ static struct phy_driver AR8021_driver = {
.shutdown = genphy_shutdown, .shutdown = genphy_shutdown,
}; };
struct phy_driver AR8035_driver = { static struct phy_driver AR8031_driver = {
.name = "AR8031",
.uid = 0x4dd074,
.mask = 0xfffff0,
.features = PHY_GBIT_FEATURES,
.config = genphy_config,
.startup = genphy_startup,
.shutdown = genphy_shutdown,
};
static struct phy_driver AR8035_driver = {
.name = "AR8035", .name = "AR8035",
.uid = 0x4dd072, .uid = 0x4dd072,
.mask = 0x4fffff, .mask = 0x4fffff,
...@@ -74,6 +84,7 @@ struct phy_driver AR8035_driver = { ...@@ -74,6 +84,7 @@ struct phy_driver AR8035_driver = {
int phy_atheros_init(void) int phy_atheros_init(void)
{ {
phy_register(&AR8021_driver); phy_register(&AR8021_driver);
phy_register(&AR8031_driver);
phy_register(&AR8035_driver); phy_register(&AR8035_driver);
return 0; return 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment