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
That worked!!!
Hi shashikant
one can test it with baremetal enet test included in
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!
-----------------------------------------------------------------------------------------------------------------------