Enable ENET1_REF_CLK_25M independant of fec driver

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Enable ENET1_REF_CLK_25M independant of fec driver

1,355 Views
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

Labels (2)
0 Kudos
Reply
1 Reply

1,258 Views
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 Kudos
Reply