IMX28 ENET_CLK as a 50Mhz

cancel
Showing results for 
Search instead for 
Did you mean: 

IMX28 ENET_CLK as a 50Mhz

194 Views
shashikanthirem
Contributor III

Hi 

in IMX28 platform using kernel 2.6.35.3 version

i want to get a clock on ENET_CLK with 50Mhz

i tried

reg &= ~BM_CLKCTRL_ENET_SLEEP;
reg &= ~BM_CLKCTRL_ENET_CLK_OUT_EN;
printk("Turn on ENET clocks............%x\n", reg);

/* select clock for 1588 module */
reg |= BF_CLKCTRL_ENET_TIME_SEL(BV_CLKCTRL_ENET_TIME_SEL__PLL)
| BF_CLKCTRL_ENET_DIV_TIME(12);

/*Enable PLL2*/

still i am a seeing a ENET_CLK

could you please provide input

Labels (2)
0 Kudos
2 Replies

99 Views
shashikanthirem
Contributor III

That worked!!!

0 Kudos

99 Views
igorpadykov
NXP TechSupport
NXP TechSupport

Hi shashikant

one can test it with baremetal enet test included in

On-Board Diagnostic Suit for the i.MX28

folder ../enet

Enet clocks are described in sect.10.8.21 ENET Clock Control Register (HW_CLKCTRL_ENET)

i.MX28 Applications Processor Reference Manual

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