AnsweredAssumed Answered

Device Tree with external oscillator imx6 custom board

Question asked by jaime pena on Jul 6, 2017
Latest reply on Jul 6, 2017 by igorpadykov



I have a custom board with imx6dp, I connected an external oscillator of 32MHz to RTC_XTALI pin . I know that when the imx6 detects this signal comming from the XTALI it uses automatically this external clock. I have three questions:


1-  how does this affect the device tree configuration?


I found in internet this config of the sabreauto board:


clocks {
codec_osc: anaclk2 {
compatible = "fixed-clock";
#clock-cells = <0>;
clock-frequency = <24576000>;


but it confuses me beacuse the oscillator for the board is of 28MHz not 24 as can be seen in the layout of the board.


2- When I use the clock from the ESAI interface, is it taking this frequency for the ESAI_TX_HF_CLK??



3-  In the imx6qdl-clock.h it gives different clock values, but what does it mean the number , what is the frequency for each one of the definitions?


I have read different documents, please dont refere me to read I will appreciate a clear answer




Thanks in advance

Kind regards.