IMX6ULL & IMX6SOLO, use internal ENET clock (no oscillator)

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

IMX6ULL & IMX6SOLO, use internal ENET clock (no oscillator)

1,507件の閲覧回数
guillaume_costa
Contributor I

Hi everyone,

I have a custom hardware with i.MX6 Solo CPU and one with IMX6ULL CPU. I would like to use the internal ENET clock and connect it to a LAN8740 pin clock (50 Mhz) (without oscillator). I have already read that it was possible by using the general purpose register and setting the ENET1_CLK_SEL clock to 0. (In the IMX6ULRM.pdf reference manual). But technically I don't know how to set this configuration.

My question is : where this configuration need to be made in the device tree ? Can you give me an example of configuration (dtsi,dts) where the setting is made.

Any help would be appreciated.

Best Regards,

ラベル(2)
0 件の賞賛
返信
3 返答(返信)

1,502件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi guillaume_costa

 

one can look at enet clock configuration in uboot function setup_fec()

https://source.codeaurora.org/external/imx/uboot-imx/tree/board/freescale/mx6ullevk/mx6ullevk.c?h=im...

 

Best regards
igor

0 件の賞賛
返信

1,473件の閲覧回数
guillaume_costa
Contributor I

Hi,

Thank you, it's okay with the u-boot part, but i'm still figthing with the kernel part.

I still can't use ifconfig to set an IP address.

I have the following logs during the Kernel start :

" fec 2188000.ethernet eth0: no PHY, assuming direct connection to switch

 libphy: PHY fixed-0: 00 not found

 fec 2188000.ethernet eth0 : could not attach to PHY

SIOCSIFFLAGS: No such device"

 

Do you have any idea, device tree configuration ? Kernel option ? I already tried a lot of options...

Best regards
Guillaume

0 件の賞賛
返信

1,055件の閲覧回数
filip_kubicz
Contributor II

Hi! Were you able to find the solution for Linux kernel?

0 件の賞賛
返信