Enable ENET1_REF_CLK_25M independant of fec driver

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Enable ENET1_REF_CLK_25M independant of fec driver

1,393 次查看
pietercardoen
Contributor II

Dear

I am trying to enable the 25MHz clock ENET1_REF_CLK_25M on pad MX6UL_PAD_GPIO1_IO02__ENET1_REF_CLK_25M.  I however want this clock to be available as soon as the kernel is booting and this clock must be continuously available. This clock must also be available if fec is disabled.

How can I configure this in the device tree?

Thanks

Pieter

标签 (2)
标记 (2)
0 项奖励
回复
1 回复

1,296 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Pieter

clock configuration can be made in uboot function setup_fec()

mx6ul_14x14_evk.c\mx6ul_14x14_evk\freescale\board - uboot-imx - i.MX U-Boot 

For enabling clock in linux one can pay attention to gating enet clock settings in

CCM CCM_CCGR3 register.

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复