<?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: IMX8MN RMII interface bringup in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/IMX8MN-RMII-interface-bringup/m-p/1382622#M184072</link>
    <description>&lt;P&gt;Problem was resolved at your end ?&lt;/P&gt;</description>
    <pubDate>Tue, 07 Dec 2021 11:20:10 GMT</pubDate>
    <dc:creator>dipak290485</dc:creator>
    <dc:date>2021-12-07T11:20:10Z</dc:date>
    <item>
      <title>IMX8MN RMII interface bringup</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX8MN-RMII-interface-bringup/m-p/1218540#M168126</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;In our custom board based on IMX8MN, we are facing issue in RMII Ethernet interface.&lt;/P&gt;&lt;P&gt;Below is the device tree configuration.&amp;nbsp;&lt;/P&gt;&lt;P&gt;pinctrl_fec1: fec1grp {&lt;BR /&gt;fsl,pins = &amp;lt;&lt;BR /&gt;MX8MN_IOMUXC_ENET_MDC_ENET1_MDC 0x3&lt;BR /&gt;MX8MN_IOMUXC_ENET_MDIO_ENET1_MDIO 0x23&lt;BR /&gt;MX8MN_IOMUXC_ENET_TXC_ENET1_RGMII_TXC 0x4000001f&lt;BR /&gt;MX8MN_IOMUXC_ENET_TD1_ENET1_RGMII_TD1 0x56&lt;BR /&gt;MX8MN_IOMUXC_ENET_TD0_ENET1_RGMII_TD0 0x56&lt;BR /&gt;MX8MN_IOMUXC_ENET_RD1_ENET1_RGMII_RD1 0x56&lt;BR /&gt;MX8MN_IOMUXC_ENET_RD0_ENET1_RGMII_RD0 0x56&lt;BR /&gt;MX8MN_IOMUXC_ENET_RXC_ENET1_RX_ER 0x56&lt;BR /&gt;MX8MN_IOMUXC_ENET_RX_CTL_ENET1_RGMII_RX_CTL 0x56&lt;BR /&gt;MX8MN_IOMUXC_ENET_TX_CTL_ENET1_RGMII_TX_CTL 0x56&lt;BR /&gt;MX8MN_IOMUXC_ENET_RD2_GPIO1_IO28 0x19&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;/* Interrupt */&lt;BR /&gt;MX8MN_IOMUXC_GPIO1_IO00_GPIO1_IO0 0x116&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;/* Reset */&lt;BR /&gt;&amp;gt;;&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;amp;fec1 {&lt;BR /&gt;pinctrl-names = "default";&lt;BR /&gt;pinctrl-0 = &amp;lt;&amp;amp;pinctrl_fec1&amp;gt;;&lt;BR /&gt;phy-mode = "rmii";&lt;BR /&gt;phy-handle = &amp;lt;&amp;amp;ethphy0&amp;gt;;&lt;BR /&gt;phy-reset-gpios = &amp;lt;&amp;amp;gpio1 0 GPIO_ACTIVE_LOW&amp;gt;;&lt;BR /&gt;fsl,magic-packet;&lt;BR /&gt;status = "okay";&lt;/P&gt;&lt;P&gt;mdio {&lt;BR /&gt;#address-cells = &amp;lt;1&amp;gt;;&lt;BR /&gt;#size-cells = &amp;lt;0&amp;gt;;&lt;/P&gt;&lt;P&gt;ethphy0: ethernet-phy@0 {&lt;BR /&gt;compatible = "ethernet-phy-ieee802.3-c22";&lt;BR /&gt;reg = &amp;lt;0&amp;gt;;&lt;BR /&gt;interrupt-parent = &amp;lt;&amp;amp;gpio1&amp;gt;;&lt;BR /&gt;interrupts = &amp;lt;28 IRQ_TYPE_EDGE_FALLING&amp;gt;;&lt;BR /&gt;};&lt;BR /&gt;};&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;After booting, we are able to see Ethernet driver log&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;[ 6.069688] Micrel KSZ8081 or KSZ8091 30be0000.ethernet-1:00: attached PHY driver [Micrel KSZ8081 or KSZ8091] (mii_bus:phy_addr=30be0000.ethernet-1:00, irq=77)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;But when we connect Ethernet cable to the board, the link is not getting detected. I found one reference dts &lt;STRONG&gt;imx8mq-ddr3l-val.dts, &lt;/STRONG&gt;where a RMII interface has been configured.&amp;nbsp;&lt;/P&gt;&lt;P&gt;pinctrl_fec1: fec1grp {&lt;BR /&gt;fsl,pins = &amp;lt;&lt;BR /&gt;MX8MQ_IOMUXC_ENET_MDC_ENET1_MDC 0x3&lt;BR /&gt;MX8MQ_IOMUXC_ENET_MDIO_ENET1_MDIO 0x23&lt;BR /&gt;&lt;STRONG&gt;MX8MQ_IOMUXC_ENET_TD2_ENET1_TX_CLK&lt;/STRONG&gt; 0x4000001f&lt;BR /&gt;MX8MQ_IOMUXC_ENET_TD1_ENET1_RGMII_TD1 0x56&lt;BR /&gt;MX8MQ_IOMUXC_ENET_TD0_ENET1_RGMII_TD0 0x56&lt;BR /&gt;MX8MQ_IOMUXC_ENET_RD1_ENET1_RGMII_RD1 0x56&lt;BR /&gt;MX8MQ_IOMUXC_ENET_RD0_ENET1_RGMII_RD0 0x56&lt;BR /&gt;MX8MQ_IOMUXC_ENET_RXC_ENET1_RX_ER 0x56&lt;BR /&gt;MX8MQ_IOMUXC_ENET_RX_CTL_ENET1_RGMII_RX_CTL 0x56&lt;BR /&gt;MX8MQ_IOMUXC_ENET_TX_CTL_ENET1_RGMII_TX_CTL 0x56&lt;BR /&gt;&amp;gt;;&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;In the above pin mux configuration it uses&amp;nbsp;MX8MQ_IOMUXC_ENET_TD2&lt;STRONG&gt;_ENET1_TX_CLK, &lt;/STRONG&gt;but we are using&amp;nbsp;MX8MN_IOMUXC_ENET_TXC&lt;STRONG&gt;_ENET1_RGMII_TXC.&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;Whether&amp;nbsp;ENET1_TX_CLK and&amp;nbsp;ENET1_RGMII_TXC are same..?&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT color="#FF0000"&gt;&amp;nbsp;&lt;STRONG&gt;Will it cause a problem in link detection&lt;/STRONG&gt;.&amp;nbsp;&lt;/FONT&gt;&lt;BR /&gt;Below is our custom board RMII ethernet connection schematic.&amp;nbsp;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ethernet RMII schematic" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/135390i515782BABBD5C022/image-size/large?v=v2&amp;amp;px=999" role="button" title="Ethernet.png" alt="Ethernet RMII schematic" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Ethernet RMII schematic&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jan 2021 06:22:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX8MN-RMII-interface-bringup/m-p/1218540#M168126</guid>
      <dc:creator>love1ymano</dc:creator>
      <dc:date>2021-01-21T06:22:44Z</dc:date>
    </item>
    <item>
      <title>Re: IMX8MN RMII interface bringup</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX8MN-RMII-interface-bringup/m-p/1218599#M168138</link>
      <description>&lt;P&gt;Hi love1ymano&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;rmii clocks are described in Table 11-78. ENET External Signals&lt;/P&gt;
&lt;P&gt;&lt;A id="relatedDocsClick_1" href="https://www.nxp.com/webapp/Download?colCode=IMX8MNRM" target="_blank" rel="noopener"&gt;&lt;STRONG&gt;i.MX 8M Nano Applications Processor Reference Manual&lt;/STRONG&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;ENET1_TX_CLK - Used as RMII clock - pad ENET_TD2 (ALT1)&lt;/P&gt;
&lt;P&gt;sect.8.2.5.22 Pad Mux Register (IOMUXC_SW_MUX_CTL_PAD_ENET_TD2)&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>Thu, 21 Jan 2021 07:47:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX8MN-RMII-interface-bringup/m-p/1218599#M168138</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2021-01-21T07:47:13Z</dc:date>
    </item>
    <item>
      <title>Re: IMX8MN RMII interface bringup</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX8MN-RMII-interface-bringup/m-p/1382622#M184072</link>
      <description>&lt;P&gt;Problem was resolved at your end ?&lt;/P&gt;</description>
      <pubDate>Tue, 07 Dec 2021 11:20:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX8MN-RMII-interface-bringup/m-p/1382622#M184072</guid>
      <dc:creator>dipak290485</dc:creator>
      <dc:date>2021-12-07T11:20:10Z</dc:date>
    </item>
  </channel>
</rss>

