VSC8575 on LS1043A

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

VSC8575 on LS1043A

491 Views
carljones
Contributor III

Hello NXP,

There was a change in mscc driver for VSC8575 PHYs from Kernel 5.4.143 to 5.10.152 and I'm having difficulty transferring the workaround for autoneg issue.

Reference https://community.nxp.com/t5/Layerscape/VSC8575-on-LS1043A-not-pinging-out/m-p/1043323#M5859

Old with fix (5.4.143)
/* NXP VSC8575 fix */
	ret = phy_write(phydev, MSCC_EXT_PAGE_ACCESS, MSCC_PHY_PAGE_EXTENDED_3);
	ret = phy_set_bits(phydev, MSCC_PHY_SERDES_CON, MSCC_PHY_SERDES_ANEG);
/* NXP VSC8575 fix */
	phy_write(phydev, MSCC_EXT_PAGE_ACCESS, MSCC_PHY_PAGE_STANDARD);

New (5.10.152)
	ret = vsc8584_macsec_init(phydev);
	ret = vsc8584_ptp_init(phydev);

 

I'm wondering if you already have a solution to share.

Kind regards,

Carlos

0 Kudos
3 Replies

444 Views
yipingwang
NXP TechSupport
NXP TechSupport

Please refer to the attached driver code from LSDK 21.08 release with LTS kernel 5.10.35 .

0 Kudos

393 Views
yipingwang
NXP TechSupport
NXP TechSupport
 
0 Kudos

429 Views
carljones
Contributor III
Hello @yipingwang
I've tried extracting the file but it comes out empty (mscc_main.c does not contain anything). I tried on a Windows and a Linux PC. Not sure what is wrong but would appreciate if you could re-upload perhaps. Thank you very much.
Kind regards.
0 Kudos