<?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: RMII, GPR1[21] and devicetree? in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/RMII-GPR1-21-and-devicetree/m-p/623731#M94603</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Wouter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;on nxp bsps described on below link seems there is no device tree GPR1[21] settings.&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://www.nxp.com/products/software-and-tools/software-development-tools/i.mx-software-and-tools/i.mx-6series-i.mx-7series-software-and-development-tool-resources:IMX_SW" title="http://www.nxp.com/products/software-and-tools/software-development-tools/i.mx-software-and-tools/i.mx-6series-i.mx-7series-software-and-development-tool-resources:IMX_SW"&gt;i.MX 6 / i.MX 7 Series Software and Development Tool|NXP&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Description of fec driver (drivers/net/ethernet/freescale/fec_main.c)&lt;/P&gt;&lt;P&gt;can be found in Chapter 43 Fast Ethernet Controller (FEC) Driver attached Linux Manual.&lt;/P&gt;&lt;P&gt;Documentation/devicetree/bindings/..fsl-fec.txt&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://git.freescale.com/git/cgit.cgi/imx/linux-imx.git/tree/Documentation/devicetree/bindings/net/fsl-fec.txt?h=imx_4.1.15_2.0.0_ga&amp;amp;id=rel_imx_4.1.15_2.0.0_ga" title="http://git.freescale.com/git/cgit.cgi/imx/linux-imx.git/tree/Documentation/devicetree/bindings/net/fsl-fec.txt?h=imx_4.1.15_2.0.0_ga&amp;amp;id=rel_imx_4.1.15_2.0.0_ga"&gt;linux-imx.git - 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>Tue, 07 Mar 2017 00:08:00 GMT</pubDate>
    <dc:creator>igorpadykov</dc:creator>
    <dc:date>2017-03-07T00:08:00Z</dc:date>
    <item>
      <title>RMII, GPR1[21] and devicetree?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/RMII-GPR1-21-and-devicetree/m-p/623730#M94602</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For our design, we use an external clock source for the RMII interface. So I have to configure GPR1[21] bit to zero to pick the external clock as a clock source. This works by changing mach-imx6q.c:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;* If enet_ref from ANATOP/CCM is the PTP clock source, we need to&lt;BR /&gt; * set bit IOMUXC_GPR1[21]. Or the PTP clock must be from pad&lt;BR /&gt; * (external OSC), and we need to clear the bit.&lt;BR /&gt; */&lt;BR /&gt; gpr = syscon_regmap_lookup_by_compatible("fsl,imx6q-iomuxc-gpr");&lt;BR /&gt; if (!IS_ERR(gpr))&lt;BR /&gt; regmap_update_bits(gpr, IOMUXC_GPR1,&lt;BR /&gt; IMX6Q_GPR1_ENET_CLK_SEL_MASK,&lt;BR /&gt; 0 /*IMX6Q_GPR1_ENET_CLK_SEL_ANATOP*/);&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;But if possible, I prefer not to patch the kernel itself by something like that...&lt;BR /&gt;Is there another possibility to do this via devicetree?&lt;/P&gt;&lt;P&gt;I already found patch&amp;nbsp;&lt;A class="link-titled" href="http://lists.infradead.org/pipermail/linux-arm-kernel/2014-February/231086.html" title="http://lists.infradead.org/pipermail/linux-arm-kernel/2014-February/231086.html"&gt;[PATCH] ARM: imx6q: support ptp and rmii clock from pad&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, that's already rather old, and already mostly in the kernel. (I wonder why not completely)&lt;/P&gt;&lt;P&gt;Anybody knows?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Mar 2017 08:35:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/RMII-GPR1-21-and-devicetree/m-p/623730#M94602</guid>
      <dc:creator>woutervh</dc:creator>
      <dc:date>2017-03-06T08:35:20Z</dc:date>
    </item>
    <item>
      <title>Re: RMII, GPR1[21] and devicetree?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/RMII-GPR1-21-and-devicetree/m-p/623731#M94603</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Wouter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;on nxp bsps described on below link seems there is no device tree GPR1[21] settings.&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://www.nxp.com/products/software-and-tools/software-development-tools/i.mx-software-and-tools/i.mx-6series-i.mx-7series-software-and-development-tool-resources:IMX_SW" title="http://www.nxp.com/products/software-and-tools/software-development-tools/i.mx-software-and-tools/i.mx-6series-i.mx-7series-software-and-development-tool-resources:IMX_SW"&gt;i.MX 6 / i.MX 7 Series Software and Development Tool|NXP&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Description of fec driver (drivers/net/ethernet/freescale/fec_main.c)&lt;/P&gt;&lt;P&gt;can be found in Chapter 43 Fast Ethernet Controller (FEC) Driver attached Linux Manual.&lt;/P&gt;&lt;P&gt;Documentation/devicetree/bindings/..fsl-fec.txt&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://git.freescale.com/git/cgit.cgi/imx/linux-imx.git/tree/Documentation/devicetree/bindings/net/fsl-fec.txt?h=imx_4.1.15_2.0.0_ga&amp;amp;id=rel_imx_4.1.15_2.0.0_ga" title="http://git.freescale.com/git/cgit.cgi/imx/linux-imx.git/tree/Documentation/devicetree/bindings/net/fsl-fec.txt?h=imx_4.1.15_2.0.0_ga&amp;amp;id=rel_imx_4.1.15_2.0.0_ga"&gt;linux-imx.git - 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>Tue, 07 Mar 2017 00:08:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/RMII-GPR1-21-and-devicetree/m-p/623731#M94603</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2017-03-07T00:08:00Z</dc:date>
    </item>
  </channel>
</rss>

