<?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>i.MX Processorsのトピックi.MX8M Mini Device Tree</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8M-Mini-Device-Tree/m-p/1227382#M169042</link>
    <description>&lt;P&gt;Hello Folks!&lt;/P&gt;&lt;P&gt;I am trying to understand the device tree file of imx8mmevk board because I intend to make a change in the imx8mm-evk.dts file. At the file "fsl,imx8mm-pinctrl.txt" I saw that "fsl,pins" field has the format &amp;lt;PIN_FUNC_ID CONFIG&amp;gt;. The PIN_FUNC_ID field, I found at imx8mm-pinfunc.h file and the CONFIG field I found at "i.MX8M Mini Applications Processor Reference Manual, Rev. 2, 08/2019" document.&lt;/P&gt;&lt;P&gt;From "i.MX8M Mini Applications Processor Reference Manual, Rev. 2, 08/2019" document the CONFIG value has 9 bits. Like the example below&lt;/P&gt;&lt;P&gt;pinctrl_csi_rst: csi_rst_grp {&lt;BR /&gt;fsl,pins = &amp;lt;&lt;BR /&gt;MX8MM_IOMUXC_GPIO1_IO06_GPIO1_IO6 0x19&lt;BR /&gt;MX8MM_IOMUXC_GPIO1_IO14_CCMSRCGPCMIX_CLKO1 0x59&lt;BR /&gt;&amp;gt;;&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;pinctrl_ir_recv: ir-recv {&lt;BR /&gt;fsl,pins = &amp;lt;&lt;BR /&gt;MX8MM_IOMUXC_GPIO1_IO13_GPIO1_IO13 0x4f&lt;BR /&gt;&amp;gt;;&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;I would like to understand why the I2C pins doesn't use the same syntax of the other pins. Look the example below&lt;/P&gt;&lt;P&gt;pinctrl_i2c1: i2c1grp {&lt;BR /&gt;fsl,pins = &amp;lt;&lt;BR /&gt;MX8MM_IOMUXC_I2C1_SCL_I2C1_SCL 0x400001c3&lt;BR /&gt;MX8MM_IOMUXC_I2C1_SDA_I2C1_SDA 0x400001c3&lt;BR /&gt;&amp;gt;;&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;pinctrl_i2c2: i2c2grp {&lt;BR /&gt;fsl,pins = &amp;lt;&lt;BR /&gt;MX8MM_IOMUXC_I2C2_SCL_I2C2_SCL 0x400001c3&lt;BR /&gt;MX8MM_IOMUXC_I2C2_SDA_I2C2_SDA 0x400001c3&lt;BR /&gt;&amp;gt;;&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;pinctrl_i2c3: i2c3grp {&lt;BR /&gt;fsl,pins = &amp;lt;&lt;BR /&gt;MX8MM_IOMUXC_I2C3_SCL_I2C3_SCL 0x400001c3&lt;BR /&gt;MX8MM_IOMUXC_I2C3_SDA_I2C3_SDA 0x400001c3&lt;BR /&gt;&amp;gt;;&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;Does anybody can explain why I2C pin doesn't use the same form of the other pins at the device tree file?&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 06 Feb 2021 01:36:22 GMT</pubDate>
    <dc:creator>oprata</dc:creator>
    <dc:date>2021-02-06T01:36:22Z</dc:date>
    <item>
      <title>i.MX8M Mini Device Tree</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8M-Mini-Device-Tree/m-p/1227382#M169042</link>
      <description>&lt;P&gt;Hello Folks!&lt;/P&gt;&lt;P&gt;I am trying to understand the device tree file of imx8mmevk board because I intend to make a change in the imx8mm-evk.dts file. At the file "fsl,imx8mm-pinctrl.txt" I saw that "fsl,pins" field has the format &amp;lt;PIN_FUNC_ID CONFIG&amp;gt;. The PIN_FUNC_ID field, I found at imx8mm-pinfunc.h file and the CONFIG field I found at "i.MX8M Mini Applications Processor Reference Manual, Rev. 2, 08/2019" document.&lt;/P&gt;&lt;P&gt;From "i.MX8M Mini Applications Processor Reference Manual, Rev. 2, 08/2019" document the CONFIG value has 9 bits. Like the example below&lt;/P&gt;&lt;P&gt;pinctrl_csi_rst: csi_rst_grp {&lt;BR /&gt;fsl,pins = &amp;lt;&lt;BR /&gt;MX8MM_IOMUXC_GPIO1_IO06_GPIO1_IO6 0x19&lt;BR /&gt;MX8MM_IOMUXC_GPIO1_IO14_CCMSRCGPCMIX_CLKO1 0x59&lt;BR /&gt;&amp;gt;;&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;pinctrl_ir_recv: ir-recv {&lt;BR /&gt;fsl,pins = &amp;lt;&lt;BR /&gt;MX8MM_IOMUXC_GPIO1_IO13_GPIO1_IO13 0x4f&lt;BR /&gt;&amp;gt;;&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;I would like to understand why the I2C pins doesn't use the same syntax of the other pins. Look the example below&lt;/P&gt;&lt;P&gt;pinctrl_i2c1: i2c1grp {&lt;BR /&gt;fsl,pins = &amp;lt;&lt;BR /&gt;MX8MM_IOMUXC_I2C1_SCL_I2C1_SCL 0x400001c3&lt;BR /&gt;MX8MM_IOMUXC_I2C1_SDA_I2C1_SDA 0x400001c3&lt;BR /&gt;&amp;gt;;&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;pinctrl_i2c2: i2c2grp {&lt;BR /&gt;fsl,pins = &amp;lt;&lt;BR /&gt;MX8MM_IOMUXC_I2C2_SCL_I2C2_SCL 0x400001c3&lt;BR /&gt;MX8MM_IOMUXC_I2C2_SDA_I2C2_SDA 0x400001c3&lt;BR /&gt;&amp;gt;;&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;pinctrl_i2c3: i2c3grp {&lt;BR /&gt;fsl,pins = &amp;lt;&lt;BR /&gt;MX8MM_IOMUXC_I2C3_SCL_I2C3_SCL 0x400001c3&lt;BR /&gt;MX8MM_IOMUXC_I2C3_SDA_I2C3_SDA 0x400001c3&lt;BR /&gt;&amp;gt;;&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;Does anybody can explain why I2C pin doesn't use the same form of the other pins at the device tree file?&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 06 Feb 2021 01:36:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX8M-Mini-Device-Tree/m-p/1227382#M169042</guid>
      <dc:creator>oprata</dc:creator>
      <dc:date>2021-02-06T01:36:22Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX8M Mini Device Tree</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8M-Mini-Device-Tree/m-p/1227391#M169045</link>
      <description>&lt;P&gt;Hi oprata&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;for i2c it is necessary to set SION bit, described in sect.8.2.3.3 SW Loopback through SION bit&lt;/P&gt;
&lt;P&gt;&lt;A id="relatedDocsClick_1" href="https://www.nxp.com/webapp/Download?colCode=IMX8MMRM" target="_blank" rel="noopener"&gt;&lt;STRONG&gt;i.MX 8M Mini Applications Processor Reference Manual &lt;/STRONG&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;In device tree : "SION(1 &amp;lt;&amp;lt; 30): Software Input On Field."&lt;/P&gt;
&lt;P&gt;&lt;A href="https://source.codeaurora.org/external/imx/linux-imx/tree/Documentation/devicetree/bindings/pinctrl/fsl,imx-pinctrl.txt?h=imx_5.4.70_2.3.0" target="_blank"&gt;https://source.codeaurora.org/external/imx/linux-imx/tree/Documentation/devicetree/bindings/pinctrl/fsl,imx-pinctrl.txt?h=imx_5.4.70_2.3.0&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;</description>
      <pubDate>Sat, 06 Feb 2021 04:26:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX8M-Mini-Device-Tree/m-p/1227391#M169045</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2021-02-06T04:26:42Z</dc:date>
    </item>
  </channel>
</rss>

