<?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 Issue with Device Tree Setting in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Issue-with-Device-Tree-Setting/m-p/789530#M122374</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin: 0px;"&gt;&lt;SPAN style="margin: 0px; color: #000000; font-size: medium; font-family: Calibri;"&gt;using i.mx6ul processor.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px;"&gt;&lt;SPAN style="margin: 0px; color: #000000; font-size: medium; font-family: Calibri;"&gt;I want to use ic2c4 for my project purpose.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px;"&gt;&lt;SPAN style="margin: 0px; color: #000000; font-size: medium; font-family: Calibri;"&gt;I modified the device tree to enable i2c4 in ALT mode 2, UART2_RXD, UART2_TXD as i2c data and clock respectively.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px;"&gt;&lt;SPAN style="margin: 0px; color: #000000; font-size: medium; font-family: Calibri;"&gt;Please review my device tree code and let me know any modifications need to do to use i2c4.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px;"&gt;&lt;SPAN style="margin: 0px; color: #000000; font-size: medium; font-family: Calibri;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P style="margin: 0px;"&gt;&lt;SPAN style="margin: 0px; color: #000000; font-size: medium; font-family: Calibri;"&gt;&amp;amp;i2c2 {&lt;BR /&gt; &amp;nbsp;clock_frequency = &amp;lt;100000&amp;gt;;&lt;BR /&gt; &amp;nbsp;pinctrl-names = "default";&lt;BR /&gt; &amp;nbsp;pinctrl-0 = &amp;lt;&amp;amp;pinctrl_i2c2&amp;gt;;&lt;BR /&gt; &amp;nbsp;status = "okay";&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px;"&gt;&lt;SPAN style="margin: 0px; color: #000000; font-size: medium; font-family: Calibri;"&gt;&amp;nbsp;codec: wm8960@1a {&lt;BR /&gt; &amp;nbsp;&amp;nbsp;#sound-dai-cells = &amp;lt;0&amp;gt;;&lt;BR /&gt; &amp;nbsp;&amp;nbsp;compatible = "wlf,wm8960";&lt;BR /&gt; &amp;nbsp;&amp;nbsp;reg = &amp;lt;0x1a&amp;gt;;&lt;BR /&gt; &amp;nbsp;&amp;nbsp;wlf,shared-lrclk;&lt;BR /&gt; &amp;nbsp;&amp;nbsp;clocks = &amp;lt;&amp;amp;clks IMX6UL_CLK_SAI2&amp;gt;;&lt;BR /&gt; &amp;nbsp;&amp;nbsp;clock-names = "mclk";&lt;BR /&gt; &amp;nbsp;};&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px;"&gt;&lt;SPAN style="margin: 0px; color: #000000; font-size: medium; font-family: Calibri;"&gt;&amp;nbsp;ov5640: ov5640@3c {&lt;BR /&gt; &amp;nbsp;&amp;nbsp;compatible = "ovti,ov5640";&lt;BR /&gt; &amp;nbsp;&amp;nbsp;reg = &amp;lt;0x3c&amp;gt;;&lt;BR /&gt; &amp;nbsp;&amp;nbsp;pinctrl-names = "default";&lt;BR /&gt; &amp;nbsp;&amp;nbsp;pinctrl-0 = &amp;lt;&amp;amp;pinctrl_csi1&amp;gt;;&lt;BR /&gt; &amp;nbsp;&amp;nbsp;clocks = &amp;lt;&amp;amp;clks IMX6UL_CLK_CSI&amp;gt;;&lt;BR /&gt; &amp;nbsp;&amp;nbsp;clock-names = "csi_mclk";&lt;BR /&gt; &amp;nbsp;&amp;nbsp;pwn-gpios = &amp;lt;&amp;amp;gpio_spi 6 1&amp;gt;;&lt;BR /&gt; &amp;nbsp;&amp;nbsp;rst-gpios = &amp;lt;&amp;amp;gpio_spi 5 0&amp;gt;;&lt;BR /&gt; &amp;nbsp;&amp;nbsp;csi_id = &amp;lt;0&amp;gt;;&lt;BR /&gt; &amp;nbsp;&amp;nbsp;mclk = &amp;lt;24000000&amp;gt;;&lt;BR /&gt; &amp;nbsp;&amp;nbsp;mclk_source = &amp;lt;0&amp;gt;;&lt;BR /&gt; &amp;nbsp;&amp;nbsp;status = "disabled";&lt;BR /&gt; &amp;nbsp;&amp;nbsp;port {&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;ov5640_ep: endpoint {&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;remote-endpoint = &amp;lt;&amp;amp;csi1_ep&amp;gt;;&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;};&lt;BR /&gt; &amp;nbsp;&amp;nbsp;};&lt;BR /&gt; &amp;nbsp;};&lt;BR /&gt; };&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px;"&gt;&lt;SPAN style="margin: 0px; color: #000000; font-size: medium; font-family: Calibri;"&gt;pinctrl_i2c2: i2c2grp {&lt;BR /&gt; &amp;nbsp;&amp;nbsp;fsl,pins = &amp;lt;&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;MX6UL_PAD_UART2_TX_DATA__I2C4_SCL 0x4001b8b0&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;MX6UL_PAD_UART2_RX_DATA__I2C4_SDA 0x4001b8b0&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;gt;;&lt;BR /&gt; &amp;nbsp;};&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P style="margin: 0px;"&gt;&lt;SPAN style="margin: 0px; color: #000000; font-size: medium; font-family: Calibri;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px;"&gt;&lt;SPAN style="margin: 0px; color: #000000; font-size: medium; font-family: Calibri;"&gt;Also what is this address?&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px;"&gt;&lt;SPAN lang="EN-IN" style="margin: 0px;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: medium;"&gt;MX6UL_PAD_UART2_TX_DATA__I2C4_SCL 0x4001b8b0&amp;nbsp; &lt;/SPAN&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: medium;"&gt; Where it is derived?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin: 0px;"&gt;&lt;/P&gt;&lt;P style="margin: 0px;"&gt;&lt;SPAN style="margin: 0px; color: #000000; font-size: medium; font-family: Calibri;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px;"&gt;&lt;SPAN style="margin: 0px; color: #000000; font-size: medium; font-family: Calibri;"&gt;Rineet&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 12 Oct 2018 15:30:00 GMT</pubDate>
    <dc:creator>rineet_kv</dc:creator>
    <dc:date>2018-10-12T15:30:00Z</dc:date>
    <item>
      <title>Issue with Device Tree Setting</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Issue-with-Device-Tree-Setting/m-p/789530#M122374</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin: 0px;"&gt;&lt;SPAN style="margin: 0px; color: #000000; font-size: medium; font-family: Calibri;"&gt;using i.mx6ul processor.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px;"&gt;&lt;SPAN style="margin: 0px; color: #000000; font-size: medium; font-family: Calibri;"&gt;I want to use ic2c4 for my project purpose.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px;"&gt;&lt;SPAN style="margin: 0px; color: #000000; font-size: medium; font-family: Calibri;"&gt;I modified the device tree to enable i2c4 in ALT mode 2, UART2_RXD, UART2_TXD as i2c data and clock respectively.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px;"&gt;&lt;SPAN style="margin: 0px; color: #000000; font-size: medium; font-family: Calibri;"&gt;Please review my device tree code and let me know any modifications need to do to use i2c4.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px;"&gt;&lt;SPAN style="margin: 0px; color: #000000; font-size: medium; font-family: Calibri;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P style="margin: 0px;"&gt;&lt;SPAN style="margin: 0px; color: #000000; font-size: medium; font-family: Calibri;"&gt;&amp;amp;i2c2 {&lt;BR /&gt; &amp;nbsp;clock_frequency = &amp;lt;100000&amp;gt;;&lt;BR /&gt; &amp;nbsp;pinctrl-names = "default";&lt;BR /&gt; &amp;nbsp;pinctrl-0 = &amp;lt;&amp;amp;pinctrl_i2c2&amp;gt;;&lt;BR /&gt; &amp;nbsp;status = "okay";&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px;"&gt;&lt;SPAN style="margin: 0px; color: #000000; font-size: medium; font-family: Calibri;"&gt;&amp;nbsp;codec: wm8960@1a {&lt;BR /&gt; &amp;nbsp;&amp;nbsp;#sound-dai-cells = &amp;lt;0&amp;gt;;&lt;BR /&gt; &amp;nbsp;&amp;nbsp;compatible = "wlf,wm8960";&lt;BR /&gt; &amp;nbsp;&amp;nbsp;reg = &amp;lt;0x1a&amp;gt;;&lt;BR /&gt; &amp;nbsp;&amp;nbsp;wlf,shared-lrclk;&lt;BR /&gt; &amp;nbsp;&amp;nbsp;clocks = &amp;lt;&amp;amp;clks IMX6UL_CLK_SAI2&amp;gt;;&lt;BR /&gt; &amp;nbsp;&amp;nbsp;clock-names = "mclk";&lt;BR /&gt; &amp;nbsp;};&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px;"&gt;&lt;SPAN style="margin: 0px; color: #000000; font-size: medium; font-family: Calibri;"&gt;&amp;nbsp;ov5640: ov5640@3c {&lt;BR /&gt; &amp;nbsp;&amp;nbsp;compatible = "ovti,ov5640";&lt;BR /&gt; &amp;nbsp;&amp;nbsp;reg = &amp;lt;0x3c&amp;gt;;&lt;BR /&gt; &amp;nbsp;&amp;nbsp;pinctrl-names = "default";&lt;BR /&gt; &amp;nbsp;&amp;nbsp;pinctrl-0 = &amp;lt;&amp;amp;pinctrl_csi1&amp;gt;;&lt;BR /&gt; &amp;nbsp;&amp;nbsp;clocks = &amp;lt;&amp;amp;clks IMX6UL_CLK_CSI&amp;gt;;&lt;BR /&gt; &amp;nbsp;&amp;nbsp;clock-names = "csi_mclk";&lt;BR /&gt; &amp;nbsp;&amp;nbsp;pwn-gpios = &amp;lt;&amp;amp;gpio_spi 6 1&amp;gt;;&lt;BR /&gt; &amp;nbsp;&amp;nbsp;rst-gpios = &amp;lt;&amp;amp;gpio_spi 5 0&amp;gt;;&lt;BR /&gt; &amp;nbsp;&amp;nbsp;csi_id = &amp;lt;0&amp;gt;;&lt;BR /&gt; &amp;nbsp;&amp;nbsp;mclk = &amp;lt;24000000&amp;gt;;&lt;BR /&gt; &amp;nbsp;&amp;nbsp;mclk_source = &amp;lt;0&amp;gt;;&lt;BR /&gt; &amp;nbsp;&amp;nbsp;status = "disabled";&lt;BR /&gt; &amp;nbsp;&amp;nbsp;port {&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;ov5640_ep: endpoint {&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;remote-endpoint = &amp;lt;&amp;amp;csi1_ep&amp;gt;;&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;};&lt;BR /&gt; &amp;nbsp;&amp;nbsp;};&lt;BR /&gt; &amp;nbsp;};&lt;BR /&gt; };&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px;"&gt;&lt;SPAN style="margin: 0px; color: #000000; font-size: medium; font-family: Calibri;"&gt;pinctrl_i2c2: i2c2grp {&lt;BR /&gt; &amp;nbsp;&amp;nbsp;fsl,pins = &amp;lt;&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;MX6UL_PAD_UART2_TX_DATA__I2C4_SCL 0x4001b8b0&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;MX6UL_PAD_UART2_RX_DATA__I2C4_SDA 0x4001b8b0&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;gt;;&lt;BR /&gt; &amp;nbsp;};&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P style="margin: 0px;"&gt;&lt;SPAN style="margin: 0px; color: #000000; font-size: medium; font-family: Calibri;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px;"&gt;&lt;SPAN style="margin: 0px; color: #000000; font-size: medium; font-family: Calibri;"&gt;Also what is this address?&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px;"&gt;&lt;SPAN lang="EN-IN" style="margin: 0px;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: medium;"&gt;MX6UL_PAD_UART2_TX_DATA__I2C4_SCL 0x4001b8b0&amp;nbsp; &lt;/SPAN&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: medium;"&gt; Where it is derived?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin: 0px;"&gt;&lt;/P&gt;&lt;P style="margin: 0px;"&gt;&lt;SPAN style="margin: 0px; color: #000000; font-size: medium; font-family: Calibri;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px;"&gt;&lt;SPAN style="margin: 0px; color: #000000; font-size: medium; font-family: Calibri;"&gt;Rineet&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Oct 2018 15:30:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Issue-with-Device-Tree-Setting/m-p/789530#M122374</guid>
      <dc:creator>rineet_kv</dc:creator>
      <dc:date>2018-10-12T15:30:00Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Device Tree Setting</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Issue-with-Device-Tree-Setting/m-p/789531#M122375</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rineet&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"&lt;SPAN style="color: #000000; font-family: Calibri; font-size: medium;"&gt;0x4001b8b0 &lt;/SPAN&gt;" is pad register value described in sect.30.5.196 SW_PAD_CTL_PAD_&lt;/P&gt;&lt;P&gt;UART2_TX_DATA SW PAD Control Register (IOMUXC_SW_PAD_CTL_PAD_UART2_TX_DATA)&lt;/P&gt;&lt;P&gt;i.MX6UL Reference Manual &lt;/P&gt;&lt;P&gt;&lt;A href="http://www.nxp.com/docs/en/reference-manual/IMX6ULRM.pdf"&gt;http://www.nxp.com/docs/en/reference-manual/IMX6ULRM.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Description and i2c4 example can be found in&lt;/P&gt;&lt;P&gt;linux/Documentation/devicetree/bindings/pinctrl&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://source.codeaurora.org/external/imx/linux-imx/tree/Documentation/devicetree/bindings/pinctrl/fsl,imx-pinctrl.txt?h=imx_4.1.15_2.0.0_ga" title="https://source.codeaurora.org/external/imx/linux-imx/tree/Documentation/devicetree/bindings/pinctrl/fsl,imx-pinctrl.txt?h=imx_4.1.15_2.0.0_ga"&gt;fsl,imx-pinctrl.txt\pinctrl\bindings\devicetree\Documentation - linux-imx - i.MX Linux kernel&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://source.codeaurora.org/external/imx/linux-imx/tree/arch/arm/boot/dts/imx6ul-14x14-ddr3-arm2.dts?h=imx_4.1.15_2.0.0_ga" title="https://source.codeaurora.org/external/imx/linux-imx/tree/arch/arm/boot/dts/imx6ul-14x14-ddr3-arm2.dts?h=imx_4.1.15_2.0.0_ga"&gt;imx6ul-14x14-ddr3-arm2.dts\dts\boot\arm\arch - linux-imx - i.MX Linux kernel&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://source.codeaurora.org/external/imx/linux-imx/tree/arch/arm/boot/dts/imx6ul.dtsi?h=imx_4.1.15_2.0.0_ga" title="https://source.codeaurora.org/external/imx/linux-imx/tree/arch/arm/boot/dts/imx6ul.dtsi?h=imx_4.1.15_2.0.0_ga"&gt;imx6ul.dtsi\dts\boot\arm\arch - linux-imx - i.MX Linux kernel&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 13 Oct 2018 03:15:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Issue-with-Device-Tree-Setting/m-p/789531#M122375</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2018-10-13T03:15:52Z</dc:date>
    </item>
  </channel>
</rss>

