<?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>Processor Expert Software中的主题 Regarding device tree pin-mux calculation</title>
    <link>https://community.nxp.com/t5/Processor-Expert-Software/Regarding-device-tree-pin-mux-calculation/m-p/1285475#M4723</link>
    <description>&lt;P&gt;Hi NXP,&lt;/P&gt;&lt;P&gt;I was looking for pin-mux value to calculate from config tools for peripheral UART1 and SDIO.&lt;/P&gt;&lt;P&gt;I found some difference in value w.r.t to device tree and pin config tools for IMX8QM for cortex a-53 core0&lt;/P&gt;&lt;P&gt;In device tree for pin-AY48, AT44, AR43 and AV46 i.e for&lt;/P&gt;&lt;P&gt;AV46-SC_P_UART1_CTS_B_DMA_UART1_CTS_B 0x06000020&lt;BR /&gt;AR43-SC_P_UART1_RTS_B_DMA_UART1_RTS_B 0x06000020&lt;BR /&gt;AT44-SC_P_UART1_RX_DMA_UART1_RX 0x06000020&lt;BR /&gt;AY48-SC_P_UART1_TX_DMA_UART1_TX 0x06000020&lt;/P&gt;&lt;P&gt;device tree file entry&lt;/P&gt;&lt;P&gt;pinctrl_lpuart1: lpuart1grp {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; fsl,pins = &amp;lt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; IMX8QM_UART1_RX_DMA_UART1_RX 0x06000020&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; IMX8QM_UART1_TX_DMA_UART1_TX 0x06000020&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; IMX8QM_UART1_CTS_B_DMA_UART1_CTS_B 0x06000020&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; IMX8QM_UART1_RTS_B_DMA_UART1_RTS_B 0x06000020&lt;BR /&gt;&amp;nbsp; &amp;nbsp;&amp;gt;;&lt;BR /&gt;&amp;nbsp;};&lt;/P&gt;&lt;P&gt;and in pin-mux config tool i am getting value for above as&lt;/P&gt;&lt;P&gt;AY48-SC_P_UART1_TX_DMA_UART1_TX&amp;nbsp; 0x00000040&lt;/P&gt;&lt;P&gt;The value for AY48 is different in config tool and from device tree.&lt;/P&gt;&lt;P&gt;I am not able to understand the difference between this two and similar for all the pins like AT44, AR43 and AV46.&lt;/P&gt;&lt;P&gt;Device tree file is imx8qm-mek.dts and BSP yocto version-5.4.47_2.2.0 Release.&lt;/P&gt;&lt;P&gt;Please let me know how to calculate the pin-mux value manually and in the tool.&lt;/P&gt;&lt;P&gt;Thanks and Regards&lt;/P&gt;&lt;P&gt;Subramanya N M&lt;/P&gt;</description>
    <pubDate>Tue, 01 Jun 2021 14:28:43 GMT</pubDate>
    <dc:creator>rahulM</dc:creator>
    <dc:date>2021-06-01T14:28:43Z</dc:date>
    <item>
      <title>Regarding device tree pin-mux calculation</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/Regarding-device-tree-pin-mux-calculation/m-p/1285475#M4723</link>
      <description>&lt;P&gt;Hi NXP,&lt;/P&gt;&lt;P&gt;I was looking for pin-mux value to calculate from config tools for peripheral UART1 and SDIO.&lt;/P&gt;&lt;P&gt;I found some difference in value w.r.t to device tree and pin config tools for IMX8QM for cortex a-53 core0&lt;/P&gt;&lt;P&gt;In device tree for pin-AY48, AT44, AR43 and AV46 i.e for&lt;/P&gt;&lt;P&gt;AV46-SC_P_UART1_CTS_B_DMA_UART1_CTS_B 0x06000020&lt;BR /&gt;AR43-SC_P_UART1_RTS_B_DMA_UART1_RTS_B 0x06000020&lt;BR /&gt;AT44-SC_P_UART1_RX_DMA_UART1_RX 0x06000020&lt;BR /&gt;AY48-SC_P_UART1_TX_DMA_UART1_TX 0x06000020&lt;/P&gt;&lt;P&gt;device tree file entry&lt;/P&gt;&lt;P&gt;pinctrl_lpuart1: lpuart1grp {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; fsl,pins = &amp;lt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; IMX8QM_UART1_RX_DMA_UART1_RX 0x06000020&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; IMX8QM_UART1_TX_DMA_UART1_TX 0x06000020&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; IMX8QM_UART1_CTS_B_DMA_UART1_CTS_B 0x06000020&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; IMX8QM_UART1_RTS_B_DMA_UART1_RTS_B 0x06000020&lt;BR /&gt;&amp;nbsp; &amp;nbsp;&amp;gt;;&lt;BR /&gt;&amp;nbsp;};&lt;/P&gt;&lt;P&gt;and in pin-mux config tool i am getting value for above as&lt;/P&gt;&lt;P&gt;AY48-SC_P_UART1_TX_DMA_UART1_TX&amp;nbsp; 0x00000040&lt;/P&gt;&lt;P&gt;The value for AY48 is different in config tool and from device tree.&lt;/P&gt;&lt;P&gt;I am not able to understand the difference between this two and similar for all the pins like AT44, AR43 and AV46.&lt;/P&gt;&lt;P&gt;Device tree file is imx8qm-mek.dts and BSP yocto version-5.4.47_2.2.0 Release.&lt;/P&gt;&lt;P&gt;Please let me know how to calculate the pin-mux value manually and in the tool.&lt;/P&gt;&lt;P&gt;Thanks and Regards&lt;/P&gt;&lt;P&gt;Subramanya N M&lt;/P&gt;</description>
      <pubDate>Tue, 01 Jun 2021 14:28:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/Regarding-device-tree-pin-mux-calculation/m-p/1285475#M4723</guid>
      <dc:creator>rahulM</dc:creator>
      <dc:date>2021-06-01T14:28:43Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding device tree pin-mux calculation</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/Regarding-device-tree-pin-mux-calculation/m-p/1286969#M4725</link>
      <description>&lt;P&gt;The different positions it is because the Pins Balls for the UART&amp;nbsp; pins are in different locations, you need to review the IOMUXC registers in order to get options available in your package.&amp;nbsp; It is not an easy task to do it manually because you need to consider a matrix with all the balls of the package.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thats why we recommend to use the PINS TOOL to select the positions that you would like to use in the package that you are going to use.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Jun 2021 16:58:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/Regarding-device-tree-pin-mux-calculation/m-p/1286969#M4725</guid>
      <dc:creator>jamesbone</dc:creator>
      <dc:date>2021-06-03T16:58:00Z</dc:date>
    </item>
  </channel>
</rss>

