Hello
I have a custom board based on am5728.
I ported u-boot, kernel and device trees from am5728-evm to my custom board.
Everything worked fine but sometimes I start notes that kernel loading go with error on davinci_mdio probe and ethernet phy not active.
In most cases loading going properly but sometimes i get this error.
Usual log:
[ 3.120277] mdio_bus fixed-0: GPIO lookup for consumer reset [ 3.126032] mdio_bus fixed-0: using lookup tables for GPIO lookup [ 3.132187] mdio_bus fixed-0: lookup for GPIO reset failed [ 3.137716] libphy: Fixed MDIO Bus: probed [ 3.144463] mdio_bus 48485000.mdio: GPIO lookup for consumer reset [ 3.150676] mdio_bus 48485000.mdio: using device tree for GPIO lookup [ 3.157186] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of node '/ocp/ethernet@48484000/mdio@48485000[0]' [ 3.168301] of_get_named_gpiod_flags: can't parse 'reset-gpio' property of node '/ocp/ethernet@48484000/mdio@48485000[0]' [ 3.179324] mdio_bus 48485000.mdio: using lookup tables for GPIO lookup [ 3.185983] mdio_bus 48485000.mdio: lookup for GPIO reset failed [ 3.250898] davinci_mdio 48485000.mdio: davinci mdio revision 1.6, bus freq 1000000 [ 3.258592] libphy: 48485000.mdio: probed [ 3.267344] davinci_mdio 48485000.mdio: phy[0]: device 48485000.mdio:00, driver Micrel KSZ9031 Gigabit PHY [ 3.277087] davinci_mdio 48485000.mdio: phy[2]: device 48485000.mdio:02, driver Micrel KSZ9031 Gigabit PHY [ 3.287356] cpsw 48484000.ethernet: Detected MACID = b0:7e:11:52:23:5f [ 3.293988] cpsw 48484000.ethernet: initialized cpsw ale version 1.4 [ 3.300371] cpsw 48484000.ethernet: ALE Table size 1024 [ 3.305671] cpsw 48484000.ethernet: device node lookup for pps timer failed [ 3.312718] cpsw 48484000.ethernet: cpts: overflow check period 500 (jiffies) [ 3.320612] cpsw 48484000.ethernet: cpsw: Detected MACID = b0:7e:11:52:23:5f
Log with error:
[ 3.119980] mdio_bus fixed-0: GPIO lookup for consumer reset [ 3.125736] mdio_bus fixed-0: using lookup tables for GPIO lookup [ 3.131889] mdio_bus fixed-0: lookup for GPIO reset failed [ 3.137417] libphy: Fixed MDIO Bus: probed [ 3.144162] mdio_bus 48485000.mdio: GPIO lookup for consumer reset [ 3.150371] mdio_bus 48485000.mdio: using device tree for GPIO lookup [ 3.156882] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of node '/ocp/ethernet@48484000/mdio@48485000[0]' [ 3.167996] of_get_named_gpiod_flags: can't parse 'reset-gpio' property of node '/ocp/ethernet@48484000/mdio@48485000[0]' [ 3.179020] mdio_bus 48485000.mdio: using lookup tables for GPIO lookup [ 3.185679] mdio_bus 48485000.mdio: lookup for GPIO reset failed [ 3.250673] davinci_mdio 48485000.mdio: davinci mdio revision 1.6, bus freq 1000000 [ 3.258368] libphy: 48485000.mdio: probed [ 3.263829] davinci_mdio: probe of 48485000.mdio failed with error -5 [ 3.270838] cpsw 48484000.ethernet: Detected MACID = b0:7e:11:52:23:5f [ 3.277449] cpsw 48484000.ethernet: initialized cpsw ale version 1.4 [ 3.283849] cpsw 48484000.ethernet: ALE Table size 1024 [ 3.289107] cpsw 48484000.ethernet: device node lookup for pps timer failed [ 3.296151] cpsw 48484000.ethernet: cpts: overflow check period 500 (jiffies) [ 3.304061] cpsw 48484000.ethernet: cpsw: Detected MACID = b0:7e:11:52:23:5f
What is the reason of this problem?
How can I fix it?