<?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: Explicit device tree node of FEC MDIO</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Explicit-device-tree-node-of-FEC-MDIO/m-p/429494#M65274</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Wim,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please post the dsa node you used to get it working?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 30 Sep 2015 17:25:17 GMT</pubDate>
    <dc:creator>aznjaput</dc:creator>
    <dc:date>2015-09-30T17:25:17Z</dc:date>
    <item>
      <title>Explicit device tree node of FEC MDIO</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Explicit-device-tree-node-of-FEC-MDIO/m-p/429490#M65270</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to implement DSA for IMX6DL and the SMSC LAN9303 ethernet switch (i.e. exposing the switch ports as 'virtual' ethernet ports eth1 and eth2).&lt;/P&gt;&lt;P&gt;However, I'm stumped on how to refer to the IMX6DL FEC MDIO device node, which is required by dsa (&lt;A class="ls-blob txt" href="https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/Documentation/devicetree/bindings/net/dsa/dsa.txt?id=refs/tags/v4.0"&gt;dsa.txt&lt;/A&gt;). I can of course add an mdio node, like in &lt;A class="ls-blob dts" href="https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/arch/arm/boot/dts/imx6sx-sdb.dts?id=refs/tags/v4.0"&gt;imx6sx-sdb.dts&lt;/A&gt;, but I still don't understand how to refer to it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has anyone tried something similar? Is DSA the way to go, or would you suggest implementing a custom driver unrelated to DSA?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Apr 2015 15:32:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Explicit-device-tree-node-of-FEC-MDIO/m-p/429490#M65270</guid>
      <dc:creator>MagnusNilsson</dc:creator>
      <dc:date>2015-04-21T15:32:43Z</dc:date>
    </item>
    <item>
      <title>Re: Explicit device tree node of FEC MDIO</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Explicit-device-tree-node-of-FEC-MDIO/m-p/429491#M65271</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you mentioned we lack of an example for that. We have other threads similar to this topic like this one:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/334551"&gt;Unable to integrate a Marvell 88E6071 switch on imx28 board with MII/MDIO&lt;/A&gt;&lt;/P&gt;&lt;P&gt;You can use as start point the above thread. &lt;/P&gt;&lt;P&gt;I am not an expert on this topic but in the example found in that topic they use a different fec driver.&lt;/P&gt;&lt;P&gt;The connection is via RGMII, RMII or other kind to the switch, meaning that the FEC driver must remain the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/Alejandro&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Apr 2015 20:35:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Explicit-device-tree-node-of-FEC-MDIO/m-p/429491#M65271</guid>
      <dc:creator>alejandrolozan1</dc:creator>
      <dc:date>2015-04-28T20:35:16Z</dc:date>
    </item>
    <item>
      <title>Re: Explicit device tree node of FEC MDIO</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Explicit-device-tree-node-of-FEC-MDIO/m-p/429492#M65272</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I connected a micrel switch with dsa successfully:&lt;/P&gt;&lt;P&gt;snippet dtb:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;reference handles in dsa node:&lt;/P&gt;&lt;P&gt;dsa,ethernet = &amp;lt;&amp;amp;fec&amp;gt;;&lt;/P&gt;&lt;P&gt;dsa,mii-bus = &amp;lt;&amp;amp;mdio&amp;gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;amp;fec {&lt;/P&gt;&lt;P&gt;&amp;nbsp; pinctrl-names = "default";&lt;/P&gt;&lt;P&gt;&amp;nbsp; pinctrl-0 = &amp;lt;&amp;amp;enet_pins&amp;gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp; phy-mode = "rmii";&lt;/P&gt;&lt;P&gt;&amp;nbsp; phy-reset-gpios = &amp;lt;&amp;amp;gpio6 11 GPIO_ACTIVE_LOW&amp;gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp; status = "okay";&lt;/P&gt;&lt;P&gt;&amp;nbsp; label = "fec";&lt;/P&gt;&lt;P&gt;&amp;nbsp; fixed-link {&lt;/P&gt;&lt;P&gt;&amp;nbsp; speed = &amp;lt;100&amp;gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp; full-duplex;&lt;/P&gt;&lt;P&gt;&amp;nbsp; };&lt;/P&gt;&lt;P&gt;&amp;nbsp; mdio: mdio@0 {&lt;/P&gt;&lt;P&gt;&amp;nbsp; #address-cells = &amp;lt;1&amp;gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp; #size-cells = &amp;lt;0&amp;gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp; };&lt;/P&gt;&lt;P&gt;};&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Wim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jun 2015 10:22:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Explicit-device-tree-node-of-FEC-MDIO/m-p/429492#M65272</guid>
      <dc:creator>wimdewitte</dc:creator>
      <dc:date>2015-06-17T10:22:12Z</dc:date>
    </item>
    <item>
      <title>Re: Explicit device tree node of FEC MDIO</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Explicit-device-tree-node-of-FEC-MDIO/m-p/429493#M65273</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I ended up modifying the fec driver to handle LAN9303. We now have eth0 only for switch communication, and eth1/eth2 as separate ethernet ports.&lt;/P&gt;&lt;P&gt;Not a pretty solution, but hey it works..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd love to try Wim's DSA suggestion - but since we got it working that'll probably not happen. Sadly, since it would be a much cleaner solution.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Aug 2015 09:10:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Explicit-device-tree-node-of-FEC-MDIO/m-p/429493#M65273</guid>
      <dc:creator>MagnusNilsson</dc:creator>
      <dc:date>2015-08-20T09:10:06Z</dc:date>
    </item>
    <item>
      <title>Re: Explicit device tree node of FEC MDIO</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Explicit-device-tree-node-of-FEC-MDIO/m-p/429494#M65274</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Wim,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please post the dsa node you used to get it working?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Sep 2015 17:25:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Explicit-device-tree-node-of-FEC-MDIO/m-p/429494#M65274</guid>
      <dc:creator>aznjaput</dc:creator>
      <dc:date>2015-09-30T17:25:17Z</dc:date>
    </item>
  </channel>
</rss>

