<?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: What should the DEVICE_TYPE mode setting be for PCIe root complex? in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/What-should-the-DEVICE-TYPE-mode-setting-be-for-PCIe-root/m-p/459552#M72042</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Follow up question on a similar issue - the LVDS1_CLK_SEL field in the CCM_ANALOG_MISC1 register...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Linux sets this to be 0x8000040B ( so 0b01011 for that field) which is not present in the list:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;00000 ARM_PLL — Arm PLL&lt;/P&gt;&lt;P&gt;00001 SYS_PLL — System PLL&lt;/P&gt;&lt;P&gt;00010 PFD4 — ref_pfd4_clk == pll2_pfd0_clk&lt;/P&gt;&lt;P&gt;00011 PFD5 — ref_pfd5_clk == pll2_pfd1_clk&lt;/P&gt;&lt;P&gt;00100 PFD6 — ref_pfd6_clk == pll2_pfd2_clk&lt;/P&gt;&lt;P&gt;00101 PFD7 — ref_pfd7_clk == pll2_pfd3_clk&lt;/P&gt;&lt;P&gt;00110 AUDIO_PLL — Audio PLL&lt;/P&gt;&lt;P&gt;00111 VIDEO_PLL — Video PLL&lt;/P&gt;&lt;P&gt;01000 MLB_PLL — MLB PLL&lt;/P&gt;&lt;P&gt;01001 ETHERNET_REF — ethernet ref clock (ENET_PLL)&lt;/P&gt;&lt;P&gt;01010 PCIE_REF — PCIe ref clock (125M)&lt;/P&gt;&lt;P&gt;01100 USB1_PLL — USB1 PLL clock&lt;/P&gt;&lt;P&gt;01101 USB2_PLL — USB2 PLL clock&lt;/P&gt;&lt;P&gt;01110 PFD0 — ref_pfd0_clk == pll3_pfd0_clk&lt;/P&gt;&lt;P&gt;01111 PFD1 — ref_pfd1_clk == pll3_pfd1_clk&lt;/P&gt;&lt;P&gt;10000 PFD2 — ref_pfd2_clk == pll3_pfd2_clk&lt;/P&gt;&lt;P&gt;10001 PFD3 — ref_pfd3_clk == pll3_pfd3_clk&lt;/P&gt;&lt;P&gt;10010 XTAL — xtal (24M)&lt;/P&gt;&lt;P&gt;10011 LVDS1 — LVDS1 (loopback)&lt;/P&gt;&lt;P&gt;10100 LVDS2 — LVDS2 (not useful)&lt;/P&gt;&lt;P&gt;10101 to 11111 ref_pfd7_clk == pll2_pfd3_clk&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 22 Apr 2016 17:35:56 GMT</pubDate>
    <dc:creator>shefft</dc:creator>
    <dc:date>2016-04-22T17:35:56Z</dc:date>
    <item>
      <title>What should the DEVICE_TYPE mode setting be for PCIe root complex?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/What-should-the-DEVICE-TYPE-mode-setting-be-for-PCIe-root/m-p/459550#M72040</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For the iMX6SDL, the Linux PCIe driver sets the DEVICE_TYPE in GPR12 to 0x4 for RC mode: &lt;SPAN class="c1"&gt;&lt;/SPAN&gt;&lt;SPAN class="c1"&gt;// set device type to RC (PCI_EXP_TYPE_ROOT_PORT=4 is from pcie_regs.h)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;imx_pcie_clrset&lt;SPAN class="p"&gt;(&lt;/SPAN&gt;iomuxc_gpr12_device_type&lt;SPAN class="p"&gt;,&lt;/SPAN&gt; PCI_EXP_TYPE_ROOT_PORT &lt;SPAN class="o"&gt;&amp;lt;&amp;lt;&lt;/SPAN&gt; &lt;SPAN class="mi"&gt;12&lt;/SPAN&gt;&lt;SPAN class="p"&gt;,&lt;/SPAN&gt; IOMUXC_GPR12&lt;/P&gt;&lt;P&gt;&lt;SPAN class="p"&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This seems odd since the ref manual says that 0x2 is the proper value for RC mode:&lt;/P&gt;&lt;P&gt;0000 PCIE_EP — EP Mode&lt;/P&gt;&lt;P&gt;0010 PCIE_RC — RC Mode&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone explain why that it is?&amp;nbsp; And how it is that it works that way?&amp;nbsp; Wondering what setting I should use for an RTOS version of the driver I'm creating.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Apr 2016 16:20:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/What-should-the-DEVICE-TYPE-mode-setting-be-for-PCIe-root/m-p/459550#M72040</guid>
      <dc:creator>shefft</dc:creator>
      <dc:date>2016-04-19T16:20:54Z</dc:date>
    </item>
    <item>
      <title>Re: What should the DEVICE_TYPE mode setting be for PCIe root complex?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/What-should-the-DEVICE-TYPE-mode-setting-be-for-PCIe-root/m-p/459551#M72041</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #303030;"&gt;Tyler,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN" style="color: #0070c0;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN" style="color: #303030;"&gt;It is a typo mistake in RM doc, would be fixed in later version. The BSP code is right.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN" style="color: #0070c0;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: black;"&gt;i.MX 6Dual/6Quad Applications Processor Reference Manual&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;Document Number: IMX6DQRM - Rev. 3, 07/2015&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="mso-fareast-font-family: Calibri; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; color: black; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; font-size: 11pt; font-family: 'Calibri',sans-serif; mso-bidi-language: AR-SA;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_5.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/32809iED8BEA8330391ACC/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_5.png" alt="pastedImage_5.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;It has being corrected on some of our newer devices, documentation… This has being corrected on our imx6slx documentation as you can see below..&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: black;"&gt;i.MX 6SoloX Applications Processor Reference Manual&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;Document Number: IMX6SXRM, Rev 0, 2/2015&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_4.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/32755i0975671C973BC610/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_4.png" alt="pastedImage_4.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #606060;"&gt;Best Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #606060;"&gt;Norbel&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Apr 2016 17:42:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/What-should-the-DEVICE-TYPE-mode-setting-be-for-PCIe-root/m-p/459551#M72041</guid>
      <dc:creator>NNavarro</dc:creator>
      <dc:date>2016-04-19T17:42:44Z</dc:date>
    </item>
    <item>
      <title>Re: What should the DEVICE_TYPE mode setting be for PCIe root complex?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/What-should-the-DEVICE-TYPE-mode-setting-be-for-PCIe-root/m-p/459552#M72042</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Follow up question on a similar issue - the LVDS1_CLK_SEL field in the CCM_ANALOG_MISC1 register...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Linux sets this to be 0x8000040B ( so 0b01011 for that field) which is not present in the list:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;00000 ARM_PLL — Arm PLL&lt;/P&gt;&lt;P&gt;00001 SYS_PLL — System PLL&lt;/P&gt;&lt;P&gt;00010 PFD4 — ref_pfd4_clk == pll2_pfd0_clk&lt;/P&gt;&lt;P&gt;00011 PFD5 — ref_pfd5_clk == pll2_pfd1_clk&lt;/P&gt;&lt;P&gt;00100 PFD6 — ref_pfd6_clk == pll2_pfd2_clk&lt;/P&gt;&lt;P&gt;00101 PFD7 — ref_pfd7_clk == pll2_pfd3_clk&lt;/P&gt;&lt;P&gt;00110 AUDIO_PLL — Audio PLL&lt;/P&gt;&lt;P&gt;00111 VIDEO_PLL — Video PLL&lt;/P&gt;&lt;P&gt;01000 MLB_PLL — MLB PLL&lt;/P&gt;&lt;P&gt;01001 ETHERNET_REF — ethernet ref clock (ENET_PLL)&lt;/P&gt;&lt;P&gt;01010 PCIE_REF — PCIe ref clock (125M)&lt;/P&gt;&lt;P&gt;01100 USB1_PLL — USB1 PLL clock&lt;/P&gt;&lt;P&gt;01101 USB2_PLL — USB2 PLL clock&lt;/P&gt;&lt;P&gt;01110 PFD0 — ref_pfd0_clk == pll3_pfd0_clk&lt;/P&gt;&lt;P&gt;01111 PFD1 — ref_pfd1_clk == pll3_pfd1_clk&lt;/P&gt;&lt;P&gt;10000 PFD2 — ref_pfd2_clk == pll3_pfd2_clk&lt;/P&gt;&lt;P&gt;10001 PFD3 — ref_pfd3_clk == pll3_pfd3_clk&lt;/P&gt;&lt;P&gt;10010 XTAL — xtal (24M)&lt;/P&gt;&lt;P&gt;10011 LVDS1 — LVDS1 (loopback)&lt;/P&gt;&lt;P&gt;10100 LVDS2 — LVDS2 (not useful)&lt;/P&gt;&lt;P&gt;10101 to 11111 ref_pfd7_clk == pll2_pfd3_clk&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Apr 2016 17:35:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/What-should-the-DEVICE-TYPE-mode-setting-be-for-PCIe-root/m-p/459552#M72042</guid>
      <dc:creator>shefft</dc:creator>
      <dc:date>2016-04-22T17:35:56Z</dc:date>
    </item>
    <item>
      <title>Re: What should the DEVICE_TYPE mode setting be for PCIe root complex?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/What-should-the-DEVICE-TYPE-mode-setting-be-for-PCIe-root/m-p/459553#M72043</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN lang="EN" style="color: #0070c0;"&gt;Tyler,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0070c0;"&gt;Please take a look at latest RM, it shows 01011 as “SATA_REF – SATA ref clock(100M)”&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0070c0;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_0.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/35301iBEDDBC05BDC24B06/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_0.png" alt="pastedImage_0.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN" style="color: #0070c0;"&gt;Selection 01011 is associated with SATA on the 6DQ.&amp;nbsp;&amp;nbsp; But SATA doesn't exist on either the 6SDL or the 6SL.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN" style="color: #0070c0;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN" style="color: #0070c0;"&gt;As I understand it&lt;/SPAN&gt;&lt;SPAN style="color: #0070c0;"&gt; if you &lt;/SPAN&gt;&lt;SPAN lang="EN" style="color: #0070c0;"&gt;set the value 01011 it enables the 100Mhz differential clock, even if SATA module is not on device.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN" style="color: #0070c0;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Apr 2016 16:10:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/What-should-the-DEVICE-TYPE-mode-setting-be-for-PCIe-root/m-p/459553#M72043</guid>
      <dc:creator>NNavarro</dc:creator>
      <dc:date>2016-04-25T16:10:01Z</dc:date>
    </item>
  </channel>
</rss>

