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.

Configure Ethernet without external PHY in DM8148 at kernel level

Hi,

We have DM8148 custom board on which following lines of EMAC0 of DM8148 is connected to one port of Switch chip and second port of switch is connected to PHY.

ESW_DM_MRCLK, ESW_DM_MTXD[0:3], ESW_DM_MTXEN, ESW_DM_MRXD[0:3], ESW_DM_MRXDV  (No MDIO lines connection).

If we modify following part of uboot code Ethernet works fine.

1) select MII interface

2) comment PYH and MDIO init code

3) set EMAC as 100 Mbps full duplex insted of auto-negotiation.

But in Kernel we can not figure out what are changes need to be done and in which files ? We tried same as above but its not working.
Is it possible to use EMAC0 of DM8148 without any PHY at kernel level.

Let me know if you need more information.

Regards,

Jignesh