Dual Ethernet KSZ9031

Forums Devices OSD335x-SM Dual Ethernet KSZ9031

Viewing 3 reply threads
  • Author
    Posts
    • #15406
      PoojaPooja
      Participant

        Hi,

        I have designed a board based of the Using Ethernet with OSD335x – AM335x System in Package guide.

        Are the design files available for the dual ethernet ksz9031 example?

        More specifically, I am looking for the device tree file required.

         

        Thanks

      • #15407
        PoojaPooja
        Participant

          Using the am335x-pocketbeagle.dts, I added the following modifications. Is this correct?

           

           

        • #15413
          PoojaPooja
          Participant

            Added some additional lines:

             

          • #15498
            Neeraj Dantu
            Moderator

              Pooja,

              Which kernel version are you using?

              I suggest looking at ethernet device tree for EVM-SK: https://github.com/RobertCNelson/dtb-rebuilder/blob/4.19-ti/src/arm/am335x-evmsk.dts corresponding to the kernel version you are using. Although the PHY is different, the device tree should not change much.

              A couple of things you might need to change :The phy-mode depending on whether TX/RX delays are required. See https://www.kernel.org/doc/Documentation/devicetree/bindings/net/ethernet-controller.yaml for bindings.  phy_id address based on hardware configured phy address: https://github.com/RobertCNelson/dtb-rebuilder/blob/4.19-ti/src/arm/am335x-evmsk.dts#L663. Please note that these examples are kernel version specific. You will need to match the entries with the kernel version you are running on the device.

              Best,

              Neeraj

              • This reply was modified 2 weeks, 5 days ago by Neeraj Dantu.
          Viewing 3 reply threads
          • You must be logged in to reply to this topic.