LS1046 Demo board the 10G Phy (Marvel AQR107) will be EOL. We need to change the AQR113C

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LS1046 Demo board the 10G Phy (Marvel AQR107) will be EOL. We need to change the AQR113C

1,982 Views
charleshuang
Senior Contributor II

Hi NXP 

LS1046 Demo board the 10G Phy (Marvel AQR107) will be EOL.

The Marvell suggest us to change the AQR113C.

Do you have to support AQR113C driver in LS1046 LSDK?

If answer is no, Could you help to porting this Linux driver of Marvell AQR113C?

Thanks 

Labels (2)
0 Kudos
Reply
3 Replies

1,971 Views
yipingwang
NXP TechSupport
NXP TechSupport

In u-boot of LSDK, AQR113C PHY driver is provided, please refer to the following link.

https://patchwork.ozlabs.org/project/uboot/patch/1599733419-5804-1-git-send-email-madalin.bucur@oss....

In Linux Kernel, you could use generic 10G PHY driver, please refer to ls1046ardb dts definition.

mdio@fd000 {
aqr106_phy: ethernet-phy@0 {
compatible = "ethernet-phy-ieee802.3-c45";
interrupts = <0 131 4>;
reg = <0x0>;
};

0 Kudos
Reply

1,417 Views
charleshuang
Senior Contributor II

Hi NXP,

Thanks for patch of u-boot.

And we use generic 10G PHY driver for AQR113C, but can't work.

We alway get fail link mode...

The modified contents of "drivers/net/phy/aquantia_main.c"  as below.

Could you give us some advice, thanks !

 

+{
+ PHY_ID_MATCH_MODEL(PHY_ID_AQR113C),
+ .name = "Aquantia AQR113C",
+ .probe = aqr107_probe,
+ .config_init = aqr107_config_init,
+ .config_aneg = aqr_config_aneg,
+ .config_intr = aqr_config_intr,
+ .handle_interrupt = aqr_handle_interrupt,
+ .read_status = aqr107_read_status,
+ .get_tunable = aqr107_get_tunable,
+ .set_tunable = aqr107_set_tunable,
+ .suspend = aqr107_suspend,
+ .resume = aqr107_resume,
+ .get_sset_count = aqr107_get_sset_count,
+ .get_strings = aqr107_get_strings,
+ .get_stats = aqr107_get_stats,
+ .link_change_notify = aqr107_link_change_notify,
+},
};

module_phy_driver(aqr_driver);
@@ -832,6 +978,7 @@ static struct mdio_device_id __maybe_unused aqr_tbl[] = {
{ PHY_ID_MATCH_MODEL(PHY_ID_AQR405) },
{ PHY_ID_MATCH_MODEL(PHY_ID_AQR112) },
{ PHY_ID_MATCH_MODEL(PHY_ID_AQR412) },
+ { PHY_ID_MATCH_MODEL(PHY_ID_AQR113C) },
{ }
};

 

 

0 Kudos
Reply

1,363 Views
charleshuang
Senior Contributor II

Hi NXP team

Any update ??

0 Kudos
Reply