This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

66AK2H14: We can't enable the four Gigabit Ethernet NetCP interfaces

Part Number: 66AK2H14
On our custom board embedding a TI KeyStone II 66AK2H14, we would like to enable the last two NetCP Ethernet interfaces (netcp2 and 3).
We found some interesting settings in your Linux SDK documentation (please search netrx2 on software-dl.ti.com/.../NetCP.html) but hopelessly for the K2E devices.
Would you have a Linux device tree example for 66AK2H14 enabling the four Gigabit Ethernet NetCP interfaces?
Thank you in advance
  • Hi Alessandro,

    Following are device tree bindings for K2H,

    The mode of operation can be decided through the device tree bindings. An example is shown below for K2HK SoC
    
    gbe@90000 { /* ETHSS */
         interfaces {
             gbe0: interface-0 {
                 phys = <&serdes_lane0>;
                 slave-port = <0>;
                 link-interface = <1>;
                 phy-handle = <&ethphy0>;
             };
             gbe1: interface-1 {
                 phys = <&serdes_lane1>;
                 slave-port = <1>;
                 link-interface = <1>;
                 phy-handle = <&ethphy1>;
             };
         };
            };
    
    AS we can see in the above, the link-interface attribute must be appropriately changed to decide the mode of operation. The link-interface may appear under secondary-slave-ports which are ports on EVM going to edge connectors such as AMC
    
    gbe@90000 { /* ETHSS */
              secondary-slave-ports {
                      port-2 {
                           phys = <&serdes_lane2>;
                           slave-port = <2>;
                           link-interface   = <2>;
                      };
                      port-3 {
                            phys = <&serdes_lane3>;
                            slave-port = <3>;
                            link-interface  = <2>;
                      };
              };
    };

    which needs to added in "keystone-k2kh-evm.dts". K2E has 8 SGMII ports and K2H has 4 sgmii ports. We can use the bindings in their respective DTS files.

    Thanks,

    Rajarajan U