Network problem - support for a new device

Hi,
I have a problem with the network functionality of this device: https://github.com/wcyb/MT02
For the MT9341 version (the version this thread is about), WiFi works fine, but I can't connect through the network cable.
For the MT9533 version, both WiFi and connection through the network cable work fine.
The source files are in the repository linked above, but I paste the excerpts below for convenience:
DTS:

&eth0 {
	status = "okay";

	phy-handle = <&swphy0>;

	nvmem-cells = <&macaddr_art_0>;
	nvmem-cell-names = "mac-address";
};

&eth1 {
	status = "okay";

	nvmem-cells = <&macaddr_art_6>;
	nvmem-cell-names = "mac-address";
};

02_network:

generic,mt02_m300-mt9341)
		ucidef_set_interface_wan "eth1"
		ucidef_add_switch "switch0" \
			"0@eth0" "2:lan"
		;;

The Ethernet connector appears to be physically connected to port 2 of the SoC. What could be causing this problem?

Turns out that changing:

"0@eth0" "2:lan"

to:

"0@eth0" "3:lan"

solves the problem. Now the communication through the Ethernet port works properly.