<?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 Adding 2nd Ethernet interface in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Adding-2nd-Ethernet-interface/m-p/1521422#M195085</link>
    <description>&lt;P&gt;We are trying to add 2nd Ethernet MAC interface to Toradex Verdin iMX8MP. Our custom carrier board has only one External Ethernet port (ETH_1) , and we are trying to configure 2nd ethernet controller (ETH_2). Our device-tree for fec node:&lt;/P&gt;&lt;P&gt;here is fec node:&lt;BR /&gt;/* Verdin ETH_2_RGMII */&lt;BR /&gt;&amp;amp;fec {&lt;BR /&gt;fsl,magic-packet;&lt;BR /&gt;//phy-handle = &amp;lt;&amp;amp;ethphy1&amp;gt;;&lt;BR /&gt;phy-mode = "rgmii-id";&lt;BR /&gt;pinctrl-names = "default", "sleep";&lt;BR /&gt;pinctrl-0 = &amp;lt;&amp;amp;pinctrl_fec&amp;gt;;&lt;BR /&gt;pinctrl-1 = &amp;lt;&amp;amp;pinctrl_fec_sleep&amp;gt;;&lt;BR /&gt;phy-supply = &amp;lt;&amp;amp;reg_ext_rgmii&amp;gt;;&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;BR /&gt;ethphy1: ethernet-phy@Addr {&lt;BR /&gt;compatible = "ethernet-phy-ieee802.3-c22";&lt;BR /&gt;interrupt-parent = &amp;lt;&amp;amp;gpio4&amp;gt;;&lt;BR /&gt;interrupts = &amp;lt;18 IRQ_TYPE_LEVEL_LOW&amp;gt;;&lt;BR /&gt;phy-is-integrated;&lt;BR /&gt;micrel,led-mode = &amp;lt;0&amp;gt;;&lt;BR /&gt;reg = &amp;lt;Addr&amp;gt;;&lt;BR /&gt;};&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;we are getting following error:&lt;/P&gt;&lt;P&gt;[ 1.965324] 002: fec 30be0000.ethernet eth0: no PHY, assuming direct connection to switch mdio_bus_id = 303085963&lt;BR /&gt;[ 1.965345] 002: libphy: PHY fixed-0:00 not found&lt;BR /&gt;[ 1.965349] 002: fec 30be0000.ethernet eth0: could not attach to PHY&lt;/P&gt;&lt;P&gt;};&lt;/P&gt;&lt;P&gt;We are using linux BSP:&amp;nbsp;Linux version 5.4.129-rt61-5.4.0-devel+git.022cb949c6ec&amp;nbsp;&lt;/P&gt;&lt;P&gt;Has anyone seen this issue before? How have you resolved it?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Tue, 13 Sep 2022 19:37:04 GMT</pubDate>
    <dc:creator>Riba</dc:creator>
    <dc:date>2022-09-13T19:37:04Z</dc:date>
    <item>
      <title>Adding 2nd Ethernet interface</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Adding-2nd-Ethernet-interface/m-p/1521422#M195085</link>
      <description>&lt;P&gt;We are trying to add 2nd Ethernet MAC interface to Toradex Verdin iMX8MP. Our custom carrier board has only one External Ethernet port (ETH_1) , and we are trying to configure 2nd ethernet controller (ETH_2). Our device-tree for fec node:&lt;/P&gt;&lt;P&gt;here is fec node:&lt;BR /&gt;/* Verdin ETH_2_RGMII */&lt;BR /&gt;&amp;amp;fec {&lt;BR /&gt;fsl,magic-packet;&lt;BR /&gt;//phy-handle = &amp;lt;&amp;amp;ethphy1&amp;gt;;&lt;BR /&gt;phy-mode = "rgmii-id";&lt;BR /&gt;pinctrl-names = "default", "sleep";&lt;BR /&gt;pinctrl-0 = &amp;lt;&amp;amp;pinctrl_fec&amp;gt;;&lt;BR /&gt;pinctrl-1 = &amp;lt;&amp;amp;pinctrl_fec_sleep&amp;gt;;&lt;BR /&gt;phy-supply = &amp;lt;&amp;amp;reg_ext_rgmii&amp;gt;;&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;BR /&gt;ethphy1: ethernet-phy@Addr {&lt;BR /&gt;compatible = "ethernet-phy-ieee802.3-c22";&lt;BR /&gt;interrupt-parent = &amp;lt;&amp;amp;gpio4&amp;gt;;&lt;BR /&gt;interrupts = &amp;lt;18 IRQ_TYPE_LEVEL_LOW&amp;gt;;&lt;BR /&gt;phy-is-integrated;&lt;BR /&gt;micrel,led-mode = &amp;lt;0&amp;gt;;&lt;BR /&gt;reg = &amp;lt;Addr&amp;gt;;&lt;BR /&gt;};&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;we are getting following error:&lt;/P&gt;&lt;P&gt;[ 1.965324] 002: fec 30be0000.ethernet eth0: no PHY, assuming direct connection to switch mdio_bus_id = 303085963&lt;BR /&gt;[ 1.965345] 002: libphy: PHY fixed-0:00 not found&lt;BR /&gt;[ 1.965349] 002: fec 30be0000.ethernet eth0: could not attach to PHY&lt;/P&gt;&lt;P&gt;};&lt;/P&gt;&lt;P&gt;We are using linux BSP:&amp;nbsp;Linux version 5.4.129-rt61-5.4.0-devel+git.022cb949c6ec&amp;nbsp;&lt;/P&gt;&lt;P&gt;Has anyone seen this issue before? How have you resolved it?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 13 Sep 2022 19:37:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Adding-2nd-Ethernet-interface/m-p/1521422#M195085</guid>
      <dc:creator>Riba</dc:creator>
      <dc:date>2022-09-13T19:37:04Z</dc:date>
    </item>
    <item>
      <title>Re: Adding 2nd Ethernet interface</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Adding-2nd-Ethernet-interface/m-p/1522512#M195168</link>
      <description>&lt;P&gt;this is not nxp imx8mp board, I suggest that you can contact the third party company to support this, for nxp bsp, supports second ethernet port in the dts as default, maybe you can refer to that&lt;/P&gt;
&lt;P&gt;"&lt;A href="https://source.codeaurora.org/external/imx/linux-imx/tree/arch/arm64/boot/dts/freescale/imx8mp-evk.dts?h=lf-5.15.y&amp;quot;" target="_blank"&gt;https://source.codeaurora.org/external/imx/linux-imx/tree/arch/arm64/boot/dts/freescale/imx8mp-evk.dts?h=lf-5.15.y"&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;and in the dtsi file define as below&lt;/P&gt;
&lt;P&gt;ehernet0 = &amp;amp;fec;&lt;BR /&gt;ethernet1 = &amp;amp;eqos;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Sep 2022 04:18:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Adding-2nd-Ethernet-interface/m-p/1522512#M195168</guid>
      <dc:creator>joanxie</dc:creator>
      <dc:date>2022-09-15T04:18:38Z</dc:date>
    </item>
    <item>
      <title>Re: Adding 2nd Ethernet interface</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Adding-2nd-Ethernet-interface/m-p/1525253#M195388</link>
      <description>&lt;P&gt;Thanks JoanXie for your response. Could you kindly look at into following device-tree changes to configure 2nd Ethernet on imx8mp as a MAC to another MAC interface.&lt;/P&gt;&lt;P&gt;&amp;amp;fec {&lt;BR /&gt;fsl,magic-packet;&lt;BR /&gt;// phy-mode = "rgmii-id";&lt;BR /&gt;pinctrl-names = "default", "sleep";&lt;BR /&gt;pinctrl-0 = &amp;lt;&amp;amp;pinctrl_fec&amp;gt;;&lt;BR /&gt;pinctrl-1 = &amp;lt;&amp;amp;pinctrl_fec_sleep&amp;gt;;&lt;/P&gt;&lt;P&gt;fixed-link {&lt;BR /&gt;speed = &amp;lt;1000&amp;gt;;&lt;BR /&gt;full-duplex;&lt;BR /&gt;pause;&lt;BR /&gt;};&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;BR /&gt;};&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;Any input greatly appreciated.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Sep 2022 19:57:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Adding-2nd-Ethernet-interface/m-p/1525253#M195388</guid>
      <dc:creator>Riba</dc:creator>
      <dc:date>2022-09-20T19:57:51Z</dc:date>
    </item>
    <item>
      <title>Re: Adding 2nd Ethernet interface</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Adding-2nd-Ethernet-interface/m-p/1526230#M195463</link>
      <description>&lt;P&gt;Thanks for your reply. Yes, we resolved this issue, no longer help needed.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Sep 2022 22:40:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Adding-2nd-Ethernet-interface/m-p/1526230#M195463</guid>
      <dc:creator>Riba</dc:creator>
      <dc:date>2022-09-21T22:40:50Z</dc:date>
    </item>
    <item>
      <title>Re: Adding 2nd Ethernet interface</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Adding-2nd-Ethernet-interface/m-p/1586063#M200449</link>
      <description>&lt;P&gt;Hello Riba,&lt;/P&gt;&lt;P&gt;We are facing a similar issue, can you please share the changes in the device tree, that was required to configure the second ethernet interface.&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Samhitha&lt;/P&gt;</description>
      <pubDate>Fri, 20 Jan 2023 14:14:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Adding-2nd-Ethernet-interface/m-p/1586063#M200449</guid>
      <dc:creator>Samhitha_Kashyap</dc:creator>
      <dc:date>2023-01-20T14:14:48Z</dc:date>
    </item>
    <item>
      <title>Re: Adding 2nd Ethernet interface</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Adding-2nd-Ethernet-interface/m-p/1586277#M200470</link>
      <description>&lt;P&gt;Hi &lt;SPAN&gt;Samhitha&lt;/SPAN&gt;:&lt;/P&gt;&lt;P&gt;We modified device-tree per below, we are successfully communicating with 2nd Ethernet configured as MAC interface:&lt;/P&gt;&lt;P&gt;/* Verdin ETH_2_RGMII */&lt;BR /&gt;&amp;amp;fec {&lt;BR /&gt;fsl,magic-packet;&lt;BR /&gt;phy-mode = "rgmii-id";&lt;BR /&gt;pinctrl-names = "default", "sleep";&lt;BR /&gt;pinctrl-0 = &amp;lt;&amp;amp;pinctrl_fec&amp;gt;;&lt;BR /&gt;pinctrl-1 = &amp;lt;&amp;amp;pinctrl_fec_sleep&amp;gt;;&lt;BR /&gt;//phy-supply = &amp;lt;&amp;amp;reg_module_eth2phy&amp;gt;;&lt;BR /&gt;status = "okay";&lt;/P&gt;&lt;P&gt;fixed-link {&lt;BR /&gt;speed = &amp;lt;1000&amp;gt;;&lt;BR /&gt;full-duplex;&lt;BR /&gt;pause;&lt;BR /&gt;};&lt;BR /&gt;mdio {&lt;BR /&gt;#address-cells = &amp;lt;1&amp;gt;;&lt;BR /&gt;#size-cells = &amp;lt;0&amp;gt;;&lt;BR /&gt;};&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;Best of luck.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Jan 2023 22:00:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Adding-2nd-Ethernet-interface/m-p/1586277#M200470</guid>
      <dc:creator>Riba</dc:creator>
      <dc:date>2023-01-20T22:00:15Z</dc:date>
    </item>
    <item>
      <title>Re: Adding 2nd Ethernet interface</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Adding-2nd-Ethernet-interface/m-p/1586625#M200519</link>
      <description>&lt;P&gt;Hi Riba,&lt;/P&gt;&lt;P&gt;Thanks for the response and sharing the device tree changes.&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Samhitha Kashyap&lt;/P&gt;</description>
      <pubDate>Mon, 23 Jan 2023 13:16:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Adding-2nd-Ethernet-interface/m-p/1586625#M200519</guid>
      <dc:creator>Samhitha_Kashyap</dc:creator>
      <dc:date>2023-01-23T13:16:44Z</dc:date>
    </item>
  </channel>
</rss>

