Other Parts Discussed in Thread: 66AK2E05
On our custom board with a 66AK2E05 Soc, we have the following architecture:
- Port 0 to 3 are MAC to PHY: external connections
- Port 4 is MAC to MAC: this one is connected to a second identical 66AK2e05 Soc (SGMII4 to SGMII4)
Based on the configuration for eval board, we changed the k2e-net.dtsi to have port 2 and 3 with the right Interface. The 4 ports with MAC to PHY seem to work properly since the link is getting ready when I am connecting the Ethernet cable and we can ping them with a host Computer but the MAC to MAC (default setting) does not react at all.
What do we need to check and change to make this system work?
Here the change I made in k2e-net.dtsi:
mdio: mdio@24200f00 {
compatible = "ti,davinci_mdio";
#address-cells = <1>;
#size-cells = <0>;
reg = <0x24200f00 0x100>;
bus_freq = <2500000>;
clocks = <&clkcpgmac>;
clock-names = "fck";
phy0: phy@0 {
compatible = "marvell,88e1510";
reg = <0>;
};
phy1: phy@1 {
compatible = "marvell,88e1510";
reg = <1>;
};
phy2: phy@2 {
compatible = "marvell,88e1510";
reg = <2>;
};
phy3: phy@3 {
compatible = "marvell,88e1510";
reg = <3>;
};
};
and by netcp:
slaves {
slave0 {
label = "slave0";
link-interface = <1>;
phy-handle = <&phy0>;
};
slave1 {
label = "slave1";
link-interface = <1>;
phy-handle = <&phy1>;
};
slave2 {
label = "slave2";
link-interface = <1>;
phy-handle = <&phy2>;
};
slave3 {
label = "slave3";
link-interface = <1>;
phy-handle = <&phy3>;
};
slave4 {
label = "slave4";
link-interface = <2>;
};
slave5 {
label = "slave5";
link-interface = <2>;
};
slave6 {
label = "slave6";
link-interface = <2>;
};
slave7 {
label = "slave7";
link-interface = <2>;
};
};
I am using MCSDK 3.1.4 (03.01.04.07) and u-boot is the default code for evm for NAND boot.

