This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Strange clock behavior for am33xx

Folks,

I'm having an strange behavior on the clock used for TIMER1.

When I boot the kernel on BBB I have:

OMAP clocksource: timer1 at 24000000 Hz

And when I boot the same kernel and a dtb with few differences (mmc interface) on a custom am33xx board (based on BBB and the clock circuit is the same), I have:

OMAP clocksource: timer1 at 26000000 Hz

This is causing the system clock to drift a lot.

How kernel chooses the clock frequency giving the following dtsi and it's parameters?

http://lxr.free-electrons.com/source/arch/arm/boot/dts/am33xx-clocks.dtsi?v=3.14

http://lxr.free-electrons.com/source/arch/arm/boot/dts/am33xx-clocks.dtsi?v=3.14#L368

http://lxr.free-electrons.com/source/arch/arm/boot/dts/am33xx-clocks.dtsi?v=3.14#L14

I'm using Yocto Project and meta-ti on daisy branch and kernel 3.14.

I'm a lit bit lost on how to debug this. Any tips should be helpful.