<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Device Tree with external oscillator imx6 custom board in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Device-Tree-with-external-oscillator-imx6-custom-board/m-p/686996#M106328</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi jaime&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. 32MHz connected to&amp;nbsp; RTC_XTALI pin does not affect device tree configuration&lt;/P&gt;&lt;P&gt;2. yes, also please refer to sect.Table 25-1. ESAI External Signals i.MX6DQ Reference Manual&lt;BR /&gt;&lt;A href="http://cache.nxp.com/files/soft_dev_tools/doc/support_info/iMX6DQPRM.pdf"&gt;http://cache.nxp.com/files/soft_dev_tools/doc/support_info/iMX6DQPRM.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;3. clocks names are given in linux/include/dt-bindings/clock/imx6qdl-clock.h&lt;BR /&gt;frequencies are dfined in linux/arch/arm/mach-imx/clk-imx6q.c&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Jul 2017 23:17:07 GMT</pubDate>
    <dc:creator>igorpadykov</dc:creator>
    <dc:date>2017-07-06T23:17:07Z</dc:date>
    <item>
      <title>Device Tree with external oscillator imx6 custom board</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Device-Tree-with-external-oscillator-imx6-custom-board/m-p/686995#M106327</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1-&amp;nbsp;&amp;nbsp;how does this affect the device tree configuration?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I found in internet this config of the sabreauto board:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE data-tab-size="8" style="color: #24292e; background-color: #ffffff;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="" style="color: #24292e; padding: 0px 10px;"&gt;clocks {&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="" data-line-number="32" style="color: rgba(27, 31, 35, 0.3); padding: 0px 10px;"&gt;&lt;/TD&gt;&lt;TD class="" style="color: #24292e; padding: 0px 10px;"&gt;codec_osc: anaclk2 {&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="" data-line-number="33" style="color: rgba(27, 31, 35, 0.3); padding: 0px 10px;"&gt;&lt;/TD&gt;&lt;TD class="" style="color: #24292e; padding: 0px 10px;"&gt;compatible = "fixed-clock";&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="" data-line-number="34" style="color: rgba(27, 31, 35, 0.3); padding: 0px 10px;"&gt;&lt;/TD&gt;&lt;TD class="" style="color: #24292e; padding: 0px 10px;"&gt;#clock-cells = &amp;lt;0&amp;gt;;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="" data-line-number="35" style="color: rgba(27, 31, 35, 0.3); padding: 0px 10px;"&gt;&lt;/TD&gt;&lt;TD class="" style="color: #24292e; padding: 0px 10px;"&gt;clock-frequency = &amp;lt;24576000&amp;gt;;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="" data-line-number="36" style="color: rgba(27, 31, 35, 0.3); padding: 0px 10px;"&gt;&lt;/TD&gt;&lt;TD class="" style="color: #24292e; padding: 0px 10px;"&gt;};&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="" data-line-number="37" style="color: rgba(27, 31, 35, 0.3); padding: 0px 10px;"&gt;&lt;/TD&gt;&lt;TD class="" style="color: #24292e; padding: 0px 10px;"&gt;};&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2- When I use the clock from the ESAI interface, is it taking this frequency for the&amp;nbsp;ESAI_TX_HF_CLK??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3- &amp;nbsp;In the&amp;nbsp;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?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have read different documents, please dont refere me to read I will appreciate a clear answer :smileyhappy:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;Kind regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jul 2017 16:44:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Device-Tree-with-external-oscillator-imx6-custom-board/m-p/686995#M106327</guid>
      <dc:creator>jaimepena</dc:creator>
      <dc:date>2017-07-06T16:44:17Z</dc:date>
    </item>
    <item>
      <title>Re: Device Tree with external oscillator imx6 custom board</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Device-Tree-with-external-oscillator-imx6-custom-board/m-p/686996#M106328</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi jaime&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. 32MHz connected to&amp;nbsp; RTC_XTALI pin does not affect device tree configuration&lt;/P&gt;&lt;P&gt;2. yes, also please refer to sect.Table 25-1. ESAI External Signals i.MX6DQ Reference Manual&lt;BR /&gt;&lt;A href="http://cache.nxp.com/files/soft_dev_tools/doc/support_info/iMX6DQPRM.pdf"&gt;http://cache.nxp.com/files/soft_dev_tools/doc/support_info/iMX6DQPRM.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;3. clocks names are given in linux/include/dt-bindings/clock/imx6qdl-clock.h&lt;BR /&gt;frequencies are dfined in linux/arch/arm/mach-imx/clk-imx6q.c&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jul 2017 23:17:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Device-Tree-with-external-oscillator-imx6-custom-board/m-p/686996#M106328</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2017-07-06T23:17:07Z</dc:date>
    </item>
  </channel>
</rss>

