We’re using fsl-lx2160a-cex7.dts which has one nic defined:
&dpmac17 {
status = "okay";
phy-handle = <&rgmii_phy1>;
phy-connection-type = "rgmii-id";
};
&emdio1 {
status = "okay";
cortina_phy: ethernet-phy@0 {
reg = <0x0>;
};
rgmii_phy1: ethernet-phy@1 {
/* AR8035 PHY - "compatible" property not strictly needed */
compatible = "ethernet-phy-id004d.d072";
reg = <0x1>;
/* Poll mode - no "interrupts" property defined */
};
};
we need another nic (we are using serdes 14-2-2 in order to bring up a 100gb eth1), so are wondering how to add it to the uboot dts.
we see that in fsl-lx2160a-cex7-8-x-x.dts there are many more nics defined in addition to that dpmac17:
&dpmac3 {
status = "okay";
phy-connection-type = "xgmii";
};
&dpmac4 {
status = "okay";
phy-connection-type = "xgmii";
};
&dpmac5 {
status = "okay";
phy-connection-type = "xgmii";
};
&dpmac6 {
status = "okay";
phy-connection-type = "xgmii";
};
&dpmac7 {
status = "okay";
phy-connection-type = "xgmii";
};
&dpmac8 {
status = "okay";
phy-connection-type = "xgmii";
};
&dpmac9 {
status = "okay";
phy-connection-type = "xgmii";
};
&dpmac10 {
status = "okay";
phy-connection-type = "xgmii";
};
should we just add one of those? or all of them?
there are only two other small differences between fsl-lx2160a-cex7.dts and fsl-lx2160a-cex7-8-x-x.dts and that is the existence of the following block inside the &emdio1 node in fsl-lx2160a-cex7.dts (not sure what it is for):
cortina_phy: ethernet-phy@0 {
reg = <0x0>;
};
and the existence of the following node:
&i2c2 {
status = "okay";
u-boot,dm-pre-reloc;
};