# Add nic to uboot fsl-lx2160a-cex7.dts

**URL:** <https://community.solid-run.com/t/add-nic-to-uboot-fsl-lx2160a-cex7-dts/851>\
**Category:** NXP LX2160\
**Created:** [June 26, 2024, 5:03pm UTC](https://community.solid-run.com/t/add-nic-to-uboot-fsl-lx2160a-cex7-dts/851 "2024-06-26T17:03:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![joema](https://avatars.discourse-cdn.com/v4/letter/j/a9adbd/32.png) [@joema](https://community.solid-run.com/u/joema)\
**Post date:** [June 26, 2024, 5:03pm UTC](https://community.solid-run.com/t/add-nic-to-uboot-fsl-lx2160a-cex7-dts/851/1 "2024-06-26T17:03:37Z")

</div>

We’re using fsl-lx2160a-cex7.dts which has one nic defined:

```auto
&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:

```auto
&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):

```auto
	cortina_phy: ethernet-phy@0 {
		reg = <0x0>;
	};

```

and the existence of the following node:

```auto
&i2c2 {
	status = "okay";
	u-boot,dm-pre-reloc;
};

```
