Part Number: TDA4VM
Hello, we are developing a custom platform with a main TDA4 SoC.
Processor SDK version: 06_02_00 (we are planing to upgrade to latest 7_0x_xx in the next phase of development)
On our platform we have connected several Marvell 88E1512 Ethernet PHY to Ethernet switch CPSW0 on main domain.
Now, we are having problems to understand how it is intended to assign physical Ethernet devices to virtual MAC cpsw9g_virt_mac.
For example, on switch found in MCU domain we attached same PHY, added the MCU CPSW in device tree, and under that node we have the ports and mdio nodes, under which we have added for our platform the PHY we wanted:
mcu_cpsw: ethernet@046000000 {
...
ports {
#address-cells = <1>;
#size-cells = <0>;
host: host@0 {
reg = <0>;
ti,label = "host";
};
cpsw_port1: port@1 {
reg = <1>;
ti,mac-only;
ti,label = "port1";
ti,syscon-efuse = <&mcu_conf 0x200>;
};
};
davinci_mdio: mdio {
#address-cells = <1>;
#size-cells = <0>;
bus_freq = <1000000>;
};
...
&davinci_mdio {
reset-gpios = <&exp2 15 GPIO_ACTIVE_LOW>; // PHY reset is connected to GPIO pin 15 on GPIO expander 2
reset-delay-us = <10000>; // Minimum reset pulse width during normal operation is 10ms for Marvell 88E1512
phy0: ethernet-phy@0 {
device_type = "ethernet-phy";
reg = <0>;
};
};
&cpsw_port1 {
phy-mode = "rgmii-id";
phy-handle = <&phy0>;
};
We never before worked with virtual MAC in Linux kernel so we regarded the device tree documentation for virt_mac: 
Further we implemented the main_r5fss_cpsw9g_virt_mac0 node per documentation guide, and now we can't figure it out under which node we should attach physical Ethernet devices to the CPSW.
Can you provide quick guide, or any form of assistance?
Regards
Uros.