<?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 Peripheral address difference Linux DTS vs NXP UG .. cannot understand it in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Peripheral-address-difference-Linux-DTS-vs-NXP-UG-cannot/m-p/1521564#M195096</link>
    <description>&lt;P&gt;Could some explain this please.. .I'm looking at DTS for my NXP SoC and a COM/board, trying to locate some peripherals and checking addresses.&lt;/P&gt;&lt;P&gt;What I cannot understand is what I see in DTS/Linux addresses vs what they are in SoC User guide, i.e. physical devices per NXP guide.&amp;nbsp;&lt;/P&gt;&lt;P&gt;So e.g.:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dry_0-1663122559244.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/193517i2EC512E47144A65C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="dry_0-1663122559244.png" alt="dry_0-1663122559244.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I thought / expected to see is something like , for serial 0 as UART1 address i.e :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dry_1-1663122747956.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/193518i9D21DD458AB08CA8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="dry_1-1663122747956.png" alt="dry_1-1663122747956.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;As for example in device tree here :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dry_2-1663122804627.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/193519i4BC70F5B72A0E38B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="dry_2-1663122804627.png" alt="dry_2-1663122804627.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is from this link :&lt;A href="https://www.emcraft.com/som/imx-8m/using-imx-8m-uart-ports-in-linux" target="_blank" rel="noopener"&gt;https://www.emcraft.com/som/imx-8m/using-imx-8m-uart-ports-in-linux&lt;/A&gt;&lt;/P&gt;&lt;P&gt;In the above tree I can directly map that UART3 address to the address in the UG, i.e&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dry_3-1663122876357.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/193520iB9E5AF9DEEF50302/image-size/medium?v=v2&amp;amp;px=400" role="button" title="dry_3-1663122876357.png" alt="dry_3-1663122876357.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So.. why do I have my serials starting at 0x5a......... ?&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;I have similar issue understanding what Linux's shows me for my GPIO ports:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dry_4-1663122968719.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/193522iA7D72F630FBB885E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="dry_4-1663122968719.png" alt="dry_4-1663122968719.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Again, not addresses per my UG... Where does this come from, how to map to physical addresses to get actual physical peripheral ..?&lt;/P&gt;&lt;P&gt;If this is some standard device tree method to remap these, could you provide a link explaining how this works..?&lt;/P&gt;</description>
    <pubDate>Wed, 14 Sep 2022 02:38:02 GMT</pubDate>
    <dc:creator>dry</dc:creator>
    <dc:date>2022-09-14T02:38:02Z</dc:date>
    <item>
      <title>Peripheral address difference Linux DTS vs NXP UG .. cannot understand it</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Peripheral-address-difference-Linux-DTS-vs-NXP-UG-cannot/m-p/1521564#M195096</link>
      <description>&lt;P&gt;Could some explain this please.. .I'm looking at DTS for my NXP SoC and a COM/board, trying to locate some peripherals and checking addresses.&lt;/P&gt;&lt;P&gt;What I cannot understand is what I see in DTS/Linux addresses vs what they are in SoC User guide, i.e. physical devices per NXP guide.&amp;nbsp;&lt;/P&gt;&lt;P&gt;So e.g.:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dry_0-1663122559244.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/193517i2EC512E47144A65C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="dry_0-1663122559244.png" alt="dry_0-1663122559244.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I thought / expected to see is something like , for serial 0 as UART1 address i.e :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dry_1-1663122747956.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/193518i9D21DD458AB08CA8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="dry_1-1663122747956.png" alt="dry_1-1663122747956.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;As for example in device tree here :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dry_2-1663122804627.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/193519i4BC70F5B72A0E38B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="dry_2-1663122804627.png" alt="dry_2-1663122804627.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is from this link :&lt;A href="https://www.emcraft.com/som/imx-8m/using-imx-8m-uart-ports-in-linux" target="_blank" rel="noopener"&gt;https://www.emcraft.com/som/imx-8m/using-imx-8m-uart-ports-in-linux&lt;/A&gt;&lt;/P&gt;&lt;P&gt;In the above tree I can directly map that UART3 address to the address in the UG, i.e&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dry_3-1663122876357.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/193520iB9E5AF9DEEF50302/image-size/medium?v=v2&amp;amp;px=400" role="button" title="dry_3-1663122876357.png" alt="dry_3-1663122876357.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So.. why do I have my serials starting at 0x5a......... ?&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;I have similar issue understanding what Linux's shows me for my GPIO ports:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dry_4-1663122968719.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/193522iA7D72F630FBB885E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="dry_4-1663122968719.png" alt="dry_4-1663122968719.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Again, not addresses per my UG... Where does this come from, how to map to physical addresses to get actual physical peripheral ..?&lt;/P&gt;&lt;P&gt;If this is some standard device tree method to remap these, could you provide a link explaining how this works..?&lt;/P&gt;</description>
      <pubDate>Wed, 14 Sep 2022 02:38:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Peripheral-address-difference-Linux-DTS-vs-NXP-UG-cannot/m-p/1521564#M195096</guid>
      <dc:creator>dry</dc:creator>
      <dc:date>2022-09-14T02:38:02Z</dc:date>
    </item>
    <item>
      <title>Re: Peripheral address difference Linux DTS vs NXP UG .. cannot understand it</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Peripheral-address-difference-Linux-DTS-vs-NXP-UG-cannot/m-p/1522188#M195149</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;You have used an incorrect reference both for the reference manual and the example you have found.&lt;BR /&gt;&lt;BR /&gt;From the first image you have shared it is from i.MX8QM and the reference you have used is the i.MX8MQ which is a different processor.&lt;BR /&gt;&lt;BR /&gt;Following the first example, for the i.MX8QM LPUART is part of the DMA subsystem, from the i.MX8QM reference manual chapter 17.8.5.1.1 LPUART memory map:&lt;BR /&gt;&lt;BR /&gt;DMA.lpuart0 base address: 5A06_0000h&lt;BR /&gt;DMA.lpuart1 base address: 5A07_0000h&lt;BR /&gt;&lt;BR /&gt;As it is displayed in the device tree.&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Aldo.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Sep 2022 18:54:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Peripheral-address-difference-Linux-DTS-vs-NXP-UG-cannot/m-p/1522188#M195149</guid>
      <dc:creator>AldoG</dc:creator>
      <dc:date>2022-09-14T18:54:47Z</dc:date>
    </item>
    <item>
      <title>Re: Peripheral address difference Linux DTS vs NXP UG .. cannot understand it</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Peripheral-address-difference-Linux-DTS-vs-NXP-UG-cannot/m-p/1522335#M195156</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/171173"&gt;@AldoG&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm still lost on it, if you don't mind sending NXP's link to the document / User Guide you referring to?&amp;nbsp;&lt;/P&gt;&lt;P&gt;The first image is from the actual running system. Yes, it traces as having LPUART.&lt;/P&gt;&lt;P&gt;But the chip you have referred to&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;i.MX8QM, if I check overview at NXP's site:&amp;nbsp;&lt;A href="https://www.nxp.com/products/processors-and-microcontrollers/arm-processors/i-mx-applications-processors/i-mx-8-processors/i-mx-8m-family-armcortex-a53-cortex-m4-audio-voice-video:i.MX8M" target="_blank"&gt;https://www.nxp.com/products/processors-and-microcontrollers/arm-processors/i-mx-applications-processors/i-mx-8-processors/i-mx-8m-family-armcortex-a53-cortex-m4-audio-voice-video:i.MX8M&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;This has only one 4 core A53 complex, but my booted chip has 6 cores total managed by Linux, so I cannot find one QM variant with 6 cores - presumably A53 + A72 .. ?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dry_0-1663196083868.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/193690i173722FA314CBB07/image-size/medium?v=v2&amp;amp;px=400" role="button" title="dry_0-1663196083868.png" alt="dry_0-1663196083868.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dry_1-1663196479753.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/193691iB2A52A0B4649781D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="dry_1-1663196479753.png" alt="dry_1-1663196479753.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Which iMX8 M then has 6 cores ?&lt;/P&gt;</description>
      <pubDate>Wed, 14 Sep 2022 23:02:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Peripheral-address-difference-Linux-DTS-vs-NXP-UG-cannot/m-p/1522335#M195156</guid>
      <dc:creator>dry</dc:creator>
      <dc:date>2022-09-14T23:02:19Z</dc:date>
    </item>
    <item>
      <title>Re: Peripheral address difference Linux DTS vs NXP UG .. cannot understand it</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Peripheral-address-difference-Linux-DTS-vs-NXP-UG-cannot/m-p/1522347#M195157</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;This is actually the problem since you're not using an i.MX8M it is an i.MX8(QM), which is a different processor, sometimes the name causes confusion since it is really similar.&lt;BR /&gt;&lt;BR /&gt;i.MX8(QM) processor webpage&lt;BR /&gt;&lt;A href="https://www.nxp.com/products/processors-and-microcontrollers/arm-processors/i-mx-applications-processors/i-mx-8-processors/i-mx-8-family-arm-cortex-a53-cortex-a72-virtualization-vision-3d-graphics-4k-video:i.MX8" target="_blank"&gt;https://www.nxp.com/products/processors-and-microcontrollers/arm-processors/i-mx-applications-processors/i-mx-8-processors/i-mx-8-family-arm-cortex-a53-cortex-a72-virtualization-vision-3d-graphics-4k-video:i.MX8&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;i.MX8(QM) Reference manual&lt;BR /&gt;&lt;A href="https://www.nxp.com/webapp/Download?colCode=IMX8QMRM" target="_blank"&gt;https://www.nxp.com/webapp/Download?colCode=IMX8QMRM&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Aldo.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Sep 2022 23:22:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Peripheral-address-difference-Linux-DTS-vs-NXP-UG-cannot/m-p/1522347#M195157</guid>
      <dc:creator>AldoG</dc:creator>
      <dc:date>2022-09-14T23:22:03Z</dc:date>
    </item>
    <item>
      <title>Re: Peripheral address difference Linux DTS vs NXP UG .. cannot understand it</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Peripheral-address-difference-Linux-DTS-vs-NXP-UG-cannot/m-p/1522377#M195158</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/171173"&gt;@AldoG&lt;/a&gt; Thank you, now its starting to look much better.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dry_0-1663199829618.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/193695iD178BEAB6443FA96/image-size/medium?v=v2&amp;amp;px=400" role="button" title="dry_0-1663199829618.png" alt="dry_0-1663199829618.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Is there similar one for the GPIO ones ..? I think I'm looking into Low Speed I/O sub-system but I cannot find a similar memory map for that sub-section for my I/O ...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Sep 2022 23:58:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Peripheral-address-difference-Linux-DTS-vs-NXP-UG-cannot/m-p/1522377#M195158</guid>
      <dc:creator>dry</dc:creator>
      <dc:date>2022-09-14T23:58:24Z</dc:date>
    </item>
    <item>
      <title>Re: Peripheral address difference Linux DTS vs NXP UG .. cannot understand it</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Peripheral-address-difference-Linux-DTS-vs-NXP-UG-cannot/m-p/1522380#M195159</link>
      <description>&lt;P&gt;.. and answering my own question ...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dry_0-1663200122438.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/193696i077D462DF441CB06/image-size/medium?v=v2&amp;amp;px=400" role="button" title="dry_0-1663200122438.png" alt="dry_0-1663200122438.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ta daaam &lt;LI-EMOJI id="lia_slightly-smiling-face" title=":slightly_smiling_face:"&gt;&lt;/LI-EMOJI&gt;&lt;LI-EMOJI id="lia_slightly-smiling-face" title=":slightly_smiling_face:"&gt;&lt;/LI-EMOJI&gt;&lt;/P&gt;&lt;P&gt;Thank you things starting to look more sensible now!&lt;/P&gt;</description>
      <pubDate>Thu, 15 Sep 2022 00:04:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Peripheral-address-difference-Linux-DTS-vs-NXP-UG-cannot/m-p/1522380#M195159</guid>
      <dc:creator>dry</dc:creator>
      <dc:date>2022-09-15T00:04:53Z</dc:date>
    </item>
  </channel>
</rss>

