<?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: LS1028A RGMII DP83867 configure in Layerscape</title>
    <link>https://community.nxp.com/t5/Layerscape/LS1028A-RGMII-DP83867-configure/m-p/1223533#M7423</link>
    <description>&lt;P&gt;hi, any update? Could you tell me how to configure the GTX_CLK ports to pull-up or pull-down?&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/43353"&gt;@bpe&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 30 Jan 2021 05:14:19 GMT</pubDate>
    <dc:creator>bwp530</dc:creator>
    <dc:date>2021-01-30T05:14:19Z</dc:date>
    <item>
      <title>LS1028A RGMII DP83867 configure</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1028A-RGMII-DP83867-configure/m-p/1221197#M7393</link>
      <description>&lt;P&gt;we use RGMII to connect to DP83867 on our own board.&amp;nbsp;&lt;/P&gt;&lt;P&gt;How to conifg the RCW and DTS.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a try but it didn't work.&lt;/P&gt;&lt;P&gt;RCW:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;...
CLK_OUT_PMUX=2
EC1_SAI4_5_PMUX=0
EC1_SAI3_6_PMUX=0
USB3_CLK_FSEL=39
ENETC_RCW=0
...&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;DTS:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;amp;enetc_port1 {
	status = "okay";
	phy-handle = &amp;lt;&amp;amp;rgmii_phy0&amp;gt;;
	phy-connection-type = "rgmii-id";
	external-phy-connection-type = "rgmii-id";
	mdio {
		#address-cells = &amp;lt;1&amp;gt;;
		#size-cells = &amp;lt;0&amp;gt;;
		rgmii_phy0: ethernet-phy@0 {
			reg = &amp;lt;0x0&amp;gt;;
			ti,rx-internal-delay = &amp;lt;0x07&amp;gt;;
			ti,tx-internal-delay = &amp;lt;0x0d&amp;gt;;
			ti,fifo-depth = &amp;lt;0x01&amp;gt;;

		};
	};	

};&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;when system boot up, I use this command to get eno1:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;ifconfig eno1 up&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;after I set a static IP:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;eno1: flags=4163&amp;lt;UP,BROADCAST,RUNNING,MULTICAST&amp;gt;  mtu 1500
        inet 192.168.2.193  netmask 255.255.255.0  broadcast 192.168.2.255
        inet6 fe80::cccd:e7ff:fe91:cd48  prefixlen 64  scopeid 0x20&amp;lt;link&amp;gt;
        ether ce:cd:e7:91:cd:48  txqueuelen 1000  (Ethernet)
        RX packets 726  bytes 167614 (167.6 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It seems like that the eno1 can receive some packet but can't send packets.&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jan 2021 11:35:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1028A-RGMII-DP83867-configure/m-p/1221197#M7393</guid>
      <dc:creator>bwp530</dc:creator>
      <dc:date>2021-01-26T11:35:08Z</dc:date>
    </item>
    <item>
      <title>Re: LS1028A RGMII DP83867 configure</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1028A-RGMII-DP83867-configure/m-p/1221767#M7402</link>
      <description>&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;ENETC port 1 does not have it's own MDIO controller, so if your PHY management&lt;BR /&gt;interface is connected to LS1028A EMI1_MDC and EMI1_MDIO pins, it's devnode&lt;BR /&gt;should be a child of enetc_mdio_pf3. Besides that, according to LS1028A Datasheet,&lt;BR /&gt;Note 2 to Table 38, LS1028A RGMII interface does not have internal delays on&lt;BR /&gt;it's RGMII data lines, thus 'phy-connection-type = "rgmii-id" ' and &lt;BR /&gt;' external-phy-connection-type = "rgmii-id" ' are not valid. Must be "rgmii".&lt;BR /&gt;For the PHY node properties, consult at the PHY vendor. Also, I would suggest &lt;BR /&gt;following &lt;A href="https://www.nxp.com/docs/en/user-guide/LSDKUG_Rev20.12.pdf" target="_self"&gt;LSDK User Manual&lt;/A&gt; Section 8.6.2.3.1 to check that your port1 is properly&lt;BR /&gt;recognized and is visible at the expected name.&lt;/P&gt;
&lt;P&gt;Hope this helps,&lt;BR /&gt;Platon&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jan 2021 08:03:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1028A-RGMII-DP83867-configure/m-p/1221767#M7402</guid>
      <dc:creator>bpe</dc:creator>
      <dc:date>2021-01-27T08:03:05Z</dc:date>
    </item>
    <item>
      <title>Re: LS1028A RGMII DP83867 configure</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1028A-RGMII-DP83867-configure/m-p/1222348#M7407</link>
      <description>&lt;P&gt;hi bpe:&lt;/P&gt;&lt;P&gt;thanks a lot.&lt;/P&gt;&lt;P&gt;According to your information, I change the DTS:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;amp;enetc_port1 {
	status = "okay";
	phy-handle = &amp;lt;&amp;amp;rgmii_phy0&amp;gt;;
	phy-connection-type = "rgmii";
	external-phy-connection-type = "rgmii";	

};

&amp;amp;enetc_mdio_pf3 {
	status = "okay";
	rgmii_phy0: ethernet-phy@0 {
		reg = &amp;lt;0x0&amp;gt;;
		ti,rx-internal-delay = &amp;lt;0x07&amp;gt;;
		ti,tx-internal-delay = &amp;lt;0x07&amp;gt;;
		ti,fifo-depth = &amp;lt;0x01&amp;gt;;

	};
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And I check the LSDK 8.6.2.3.1:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[    3.162903] fsl_enetc 0000:00:00.0: Adding to iommu group 3
[    3.168530] fsl_enetc 0000:00:00.0: device is disabled, skipping
[    3.180264] fsl_enetc 0000:00:00.1: Adding to iommu group 4
[    3.291556] fsl_enetc 0000:00:00.1: enabling device (0400 -&amp;gt; 0402)
[    3.297807] fsl_enetc 0000:00:00.1: no MAC address specified for SI1, using ee:bb:30:62:cf:80
[    3.306366] fsl_enetc 0000:00:00.1: no MAC address specified for SI2, using 56:3f:8b:6d:9c:7b
[    3.315438] fsl_enetc 0000:00:00.1 eth0: ENETC PF driver v1.0
[    3.321296] fsl_enetc 0000:00:00.2: Adding to iommu group 5
[    3.326903] fsl_enetc 0000:00:00.2: device is disabled, skipping
[    3.332971] fsl_enetc 0000:00:00.6: Adding to iommu group 6
[    3.338574] fsl_enetc 0000:00:00.6: device is disabled, skipping
[    3.344682] fsl_enetc_mdio 0000:00:00.3: Adding to iommu group 7
[    3.455551] fsl_enetc_mdio 0000:00:00.3: enabling device (0400 -&amp;gt; 0402)
[    3.468277] fsl_enetc_ptp 0000:00:00.4: Adding to iommu group 8
[    3.474235] fsl_enetc_ptp 0000:00:00.4: enabling device (0404 -&amp;gt; 0406)
[    7.031344] fsl_enetc 0000:00:00.1 eno1: renamed from eth0&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It looks like that the eno1 is OK. Does this mean that the RGMII port i&lt;SPAN&gt;s configured correctly?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;when I bring up the eno1:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[  123.258916] TI DP83867 0000:00:00.3:00: attached PHY driver [TI DP83867] (mii_bus:phy_addr=0000:00:00.3:00, irq=POLL)
[  123.262391] 8021q: adding VLAN 0 to HW filter on device eno1
[  123.262578] fsl_enetc 0000:00:00.1 eno1: Link is Down
[  127.348254] fsl_enetc 0000:00:00.1 eno1: Link is Up - 1Gbps/Full - flow control off
[  127.348311] IPv6: ADDRCONF(NETDEV_CHANGE): eno1: link becomes ready&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;But&amp;nbsp; the eno1 can't still send data. And I can't test any signal on EC1_TXD or EC1_GTX_CLK.&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I have configure the EC1 port in RCW:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;...
CLK_OUT_PMUX=2
EC1_SAI4_5_PMUX=0
EC1_SAI3_6_PMUX=0
USB3_CLK_FSEL=39
ENETC_RCW=0
...&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;if I want to use RGMII,&amp;nbsp; does is need some PBI command?&lt;/P&gt;&lt;P&gt;Could you give me some ideas?&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/43353"&gt;@bpe&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jan 2021 02:40:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1028A-RGMII-DP83867-configure/m-p/1222348#M7407</guid>
      <dc:creator>bwp530</dc:creator>
      <dc:date>2021-01-29T02:40:44Z</dc:date>
    </item>
    <item>
      <title>Re: LS1028A RGMII DP83867 configure</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1028A-RGMII-DP83867-configure/m-p/1223533#M7423</link>
      <description>&lt;P&gt;hi, any update? Could you tell me how to configure the GTX_CLK ports to pull-up or pull-down?&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/43353"&gt;@bpe&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 30 Jan 2021 05:14:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1028A-RGMII-DP83867-configure/m-p/1223533#M7423</guid>
      <dc:creator>bwp530</dc:creator>
      <dc:date>2021-01-30T05:14:19Z</dc:date>
    </item>
    <item>
      <title>Re: LS1028A RGMII DP83867 configure</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1028A-RGMII-DP83867-configure/m-p/1223539#M7424</link>
      <description>&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;how to use the GTX_CLK_125 port, it must be connected to 125MHz clock? the mac can generate this signal internally?&lt;/P&gt;</description>
      <pubDate>Sat, 30 Jan 2021 09:55:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1028A-RGMII-DP83867-configure/m-p/1223539#M7424</guid>
      <dc:creator>bwp530</dc:creator>
      <dc:date>2021-01-30T09:55:37Z</dc:date>
    </item>
    <item>
      <title>Re: LS1028A RGMII DP83867 configure</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1028A-RGMII-DP83867-configure/m-p/1328945#M8760</link>
      <description>&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;I meet the same question,&amp;nbsp; can you have solved your problem?&lt;/P&gt;&lt;P&gt;my situation as follows:&lt;/P&gt;&lt;P&gt;the tx_clk=25MHz, and phy link ok&lt;/P&gt;&lt;P&gt;but the tx_en always low, meaning rgmii still cannot send data!!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Aug 2021 00:40:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1028A-RGMII-DP83867-configure/m-p/1328945#M8760</guid>
      <dc:creator>afterdream</dc:creator>
      <dc:date>2021-08-25T00:40:51Z</dc:date>
    </item>
    <item>
      <title>Re: LS1028A RGMII DP83867 configure</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1028A-RGMII-DP83867-configure/m-p/1329298#M8762</link>
      <description>&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; In my situation,&amp;nbsp;GTX_CLK_125 is not connected to a external CLK port. So tx port didnot work.&amp;nbsp;we redesigned the hardware board.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Aug 2021 08:47:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1028A-RGMII-DP83867-configure/m-p/1329298#M8762</guid>
      <dc:creator>bwp530</dc:creator>
      <dc:date>2021-08-25T08:47:50Z</dc:date>
    </item>
    <item>
      <title>Re: LS1028A RGMII DP83867 configure</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1028A-RGMII-DP83867-configure/m-p/1330034#M8771</link>
      <description>&lt;P&gt;tks, my question solved!&lt;/P&gt;&lt;P&gt;my hareware use port1-rgmii, not port0&lt;/P&gt;&lt;P&gt;so,I need to change the dts, enabling the port1 node&lt;/P&gt;</description>
      <pubDate>Thu, 26 Aug 2021 05:51:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1028A-RGMII-DP83867-configure/m-p/1330034#M8771</guid>
      <dc:creator>afterdream</dc:creator>
      <dc:date>2021-08-26T05:51:24Z</dc:date>
    </item>
  </channel>
</rss>

