This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

PROCESSOR-SDK-AM64X: UBOOT support DP83822 as generic phy

Part Number: PROCESSOR-SDK-AM64X
Other Parts Discussed in Thread: DP83822IF

I'm trying to enable the dp83822if driver under uboot based on SDK8.0 of AM64x.

I want to know how to config the dp83822if as a generic phy driver under uboot?

I added two files as below according to uboot 2020.10

drivers/net/phy/ti_phy_init.c
drivers/net/phy/ti_phy_init.h

I modified the .config as below
CONFIG_PHYLIB=y

CONFIG_PHY_TI=y
CONFIG_PHY_TI_GENERIC=y
CONFIG_PHY_FIXED=y
CONFIG_DM_ETH=y
CONFIG_NETDEVICES=y
CONFIG_TI_AM65_CPSW_NUSS=y

But the phy_connect() failed.