<?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>i.MX ProcessorsのトピックRe: Ethernet issue with KSZ9021</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Ethernet-issue-with-KSZ9021/m-p/1314876#M177607</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I have ever used ksz9031 for i.MX8MM, see attachment, please!&amp;nbsp; &lt;/P&gt;
&lt;P&gt;In addition, if you used 3.3V IO between CPU and ksz9021, you should disable pull-up/down feature of ENET pads. If pull-up/down resistors are needed, external pull should be used.&lt;/P&gt;
&lt;P&gt;for disabling ENET pin's pull up/down, re-configure these pins , please!&lt;/P&gt;
&lt;P&gt;---------------------------------&lt;/P&gt;
&lt;P&gt;MX8MM_IOMUXC_ENET_MDC_ENET1_MDC 0x3&lt;BR /&gt;MX8MM_IOMUXC_ENET_MDIO_ENET1_MDIO 0x3&lt;BR /&gt;MX8MM_IOMUXC_ENET_TD3_ENET1_RGMII_TD3 0x1f&lt;BR /&gt;MX8MM_IOMUXC_ENET_TD2_ENET1_RGMII_TD2 0x1f&lt;BR /&gt;MX8MM_IOMUXC_ENET_TD1_ENET1_RGMII_TD1 0x1f&lt;BR /&gt;MX8MM_IOMUXC_ENET_TD0_ENET1_RGMII_TD0 0x1f&lt;BR /&gt;MX8MM_IOMUXC_ENET_RD3_ENET1_RGMII_RD3 0x91&lt;BR /&gt;MX8MM_IOMUXC_ENET_RD2_ENET1_RGMII_RD2 0x91&lt;BR /&gt;MX8MM_IOMUXC_ENET_RD1_ENET1_RGMII_RD1 0x91&lt;BR /&gt;MX8MM_IOMUXC_ENET_RD0_ENET1_RGMII_RD0 0x91&lt;BR /&gt;MX8MM_IOMUXC_ENET_TXC_ENET1_RGMII_TXC 0x1f&lt;BR /&gt;MX8MM_IOMUXC_ENET_RXC_ENET1_RGMII_RXC 0x91&lt;BR /&gt;MX8MM_IOMUXC_ENET_RX_CTL_ENET1_RGMII_RX_CTL 0x91&lt;BR /&gt;MX8MM_IOMUXC_ENET_TX_CTL_ENET1_RGMII_TX_CTL 0x1f&lt;BR /&gt;MX8MM_IOMUXC_GPIO1_IO07_GPIO1_IO7 0x19&lt;/P&gt;
&lt;P&gt;-----------------------------------------------&lt;/P&gt;
&lt;P&gt;For 1.8V IO, default configurations are OK, don't need to re-configure them.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have a nice day!&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;weidong&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 28 Jul 2021 23:54:26 GMT</pubDate>
    <dc:creator>weidong_sun</dc:creator>
    <dc:date>2021-07-28T23:54:26Z</dc:date>
    <item>
      <title>Ethernet issue with KSZ9021</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Ethernet-issue-with-KSZ9021/m-p/1314506#M177585</link>
      <description>&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;Hello Team,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;We have designed a custom board with imx8m mini&amp;nbsp; in which we have selected KSZ9021 as PHY .&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;PHY configuration&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;phy addr : 0&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;LED Mode : Tricolour Dual LED&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;125MHZ CLK DISABLE&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;RGMII mode - Advertise all capabilities&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;(10/100/1000 speed half-/full-duplex)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Kernel device tree support :&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;CONFIG_MICREL_PHY=y&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;&amp;amp;fec1 {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;pinctrl-names = "default";&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;pinctrl-0 = &amp;lt;&amp;amp;pinctrl_fec1&amp;gt;;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;phy-mode = "rgmii-id";&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;phy-handle = &amp;lt;&amp;amp;ethphy0&amp;gt;;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;phy-reset-gpios = &amp;lt;&amp;amp;gpio3 16 GPIO_ACTIVE_LOW&amp;gt;;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;phy-reset-post-delay = &amp;lt;150&amp;gt;;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;phy-reset-duration = &amp;lt;10&amp;gt;;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;fsl,magic-packet;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;status = "okay";&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;mdio {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; #address-cells = &amp;lt;1&amp;gt;;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;#size-cells = &amp;lt;0&amp;gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;ethphy0: ethernet-phy@0 {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;compatible = "ethernet-phy-ieee802.3-c22";&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;reg = &amp;lt;0&amp;gt;;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;};&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; };&lt;BR /&gt;};&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;With this configuration PHY is detecting and i'm getting eth0 node in rootfilesystem.&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;Issue :&lt;/FONT&gt; When i try to assign an ip with dhclient, it unable to get an ip. Tried assigning ip manually but unable to ping dns or google.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ethtool output : Phy has been detected successfully&lt;/STRONG&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;root@imx8mmpds:~# ethtool eth0
Settings for eth0:
        Supported ports: [ TP MII ]
        Supported link modes:   10baseT/Half 10baseT/Full 
                                100baseT/Half 100baseT/Full 
                                1000baseT/Full 
        Supported pause frame use: Symmetric
        Supports auto-negotiation: Yes
        Supported FEC modes: Not reported
        Advertised link modes:  10baseT/Half 10baseT/Full 
                                100baseT/Half 100baseT/Full 
                                1000baseT/Full 
        Advertised pause frame use: Symmetric
        Advertised auto-negotiation: Yes
        Advertised FEC modes: Not reported
        Link partner advertised link modes:  10baseT/Half 10baseT/Full 
                                             100baseT/Half 100baseT/Full 
        Link partner advertised pause frame use: Symmetric
        Link partner advertised auto-negotiation: Yes
        Link partner advertised FEC modes: Not reported
        Speed: 100Mb/s
        Duplex: Full
        Port: MII
        PHYAD: 0
        Transceiver: internal
        Auto-negotiation: on
        Supports Wake-on: g
        Wake-on: d
        Link detected: yes&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;query's :&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;1) Is my device tree looks fine ?&lt;/P&gt;&lt;P&gt;2) Any driver modifications or fix ups required for KSZ9021 to work?&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;khaleel&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jul 2021 11:23:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Ethernet-issue-with-KSZ9021/m-p/1314506#M177585</guid>
      <dc:creator>khaleel</dc:creator>
      <dc:date>2021-07-28T11:23:12Z</dc:date>
    </item>
    <item>
      <title>Re: Ethernet issue with KSZ9021</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Ethernet-issue-with-KSZ9021/m-p/1314876#M177607</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I have ever used ksz9031 for i.MX8MM, see attachment, please!&amp;nbsp; &lt;/P&gt;
&lt;P&gt;In addition, if you used 3.3V IO between CPU and ksz9021, you should disable pull-up/down feature of ENET pads. If pull-up/down resistors are needed, external pull should be used.&lt;/P&gt;
&lt;P&gt;for disabling ENET pin's pull up/down, re-configure these pins , please!&lt;/P&gt;
&lt;P&gt;---------------------------------&lt;/P&gt;
&lt;P&gt;MX8MM_IOMUXC_ENET_MDC_ENET1_MDC 0x3&lt;BR /&gt;MX8MM_IOMUXC_ENET_MDIO_ENET1_MDIO 0x3&lt;BR /&gt;MX8MM_IOMUXC_ENET_TD3_ENET1_RGMII_TD3 0x1f&lt;BR /&gt;MX8MM_IOMUXC_ENET_TD2_ENET1_RGMII_TD2 0x1f&lt;BR /&gt;MX8MM_IOMUXC_ENET_TD1_ENET1_RGMII_TD1 0x1f&lt;BR /&gt;MX8MM_IOMUXC_ENET_TD0_ENET1_RGMII_TD0 0x1f&lt;BR /&gt;MX8MM_IOMUXC_ENET_RD3_ENET1_RGMII_RD3 0x91&lt;BR /&gt;MX8MM_IOMUXC_ENET_RD2_ENET1_RGMII_RD2 0x91&lt;BR /&gt;MX8MM_IOMUXC_ENET_RD1_ENET1_RGMII_RD1 0x91&lt;BR /&gt;MX8MM_IOMUXC_ENET_RD0_ENET1_RGMII_RD0 0x91&lt;BR /&gt;MX8MM_IOMUXC_ENET_TXC_ENET1_RGMII_TXC 0x1f&lt;BR /&gt;MX8MM_IOMUXC_ENET_RXC_ENET1_RGMII_RXC 0x91&lt;BR /&gt;MX8MM_IOMUXC_ENET_RX_CTL_ENET1_RGMII_RX_CTL 0x91&lt;BR /&gt;MX8MM_IOMUXC_ENET_TX_CTL_ENET1_RGMII_TX_CTL 0x1f&lt;BR /&gt;MX8MM_IOMUXC_GPIO1_IO07_GPIO1_IO7 0x19&lt;/P&gt;
&lt;P&gt;-----------------------------------------------&lt;/P&gt;
&lt;P&gt;For 1.8V IO, default configurations are OK, don't need to re-configure them.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have a nice day!&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;weidong&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jul 2021 23:54:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Ethernet-issue-with-KSZ9021/m-p/1314876#M177607</guid>
      <dc:creator>weidong_sun</dc:creator>
      <dc:date>2021-07-28T23:54:26Z</dc:date>
    </item>
    <item>
      <title>Re: Ethernet issue with KSZ9021</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Ethernet-issue-with-KSZ9021/m-p/1316580#M177743</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN&gt;weidong,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you for the reply.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;KSZ9021 supports only 3.3V/2.5V, In our custom board&amp;nbsp;we are using 2.5V as IO voltage.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Do i still need to reconfigure&amp;nbsp;ENET pads? &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Best regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;khaleel&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Aug 2021 09:02:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Ethernet-issue-with-KSZ9021/m-p/1316580#M177743</guid>
      <dc:creator>khaleel</dc:creator>
      <dc:date>2021-08-02T09:02:51Z</dc:date>
    </item>
  </channel>
</rss>

