Part Number: AM3352
Tool/software: Linux
Hello.
- Board : custum board like AM335x EVM.
- Linux : Arago base(Linux am335x-evm 4.9.65-rt23-g7069a470d5 #20 PREEMPT RT Tue Nov 6 16:06:32 JST 2018 armv7l GNU/Linux)
- TI PROCESSOR SDK 04.03.00.05(RT)
I have a 2 ethernet PHYs and 1 USB-Ethernet bridge in my board. The ethernet PHYs have MII connection.
But I can find only eth0 in using CPSW as dual emac. And each one is not linking-up.
Kernel found 2 PHYs in mdio-bus in following log:
[ 1.109668] davinci_mdio 4a101000.mdio: phy[1]: device 4a101000.mdio:01, driver TI DP83822 10/100 Mbps PHY [ 1.119369] davinci_mdio 4a101000.mdio: phy[2]: device 4a101000.mdio:02, driver TI DP83822 10/100 Mbps PHY
I think 2 ethernet PHYs are detected as eth0 and eth1, but USB-ethernet bridge as eth1.
What should I do to detect 2nd ethernet PHY as eth1?
Then, I share my device tree and dmesg log.
Best regards.
Nish