hi, I am using Colibri VF50 on a custom carrier board. On the carrier board, there is a Micrel KSZ8863 switch we would like to use. The switch is connected to two external Ethernet ports (port1 and port2). Right now, the Linux would determine the whether the Ethernet port is up/down base on the physical connection of port1 (and port1 only), and ignoring port2. However, I would like to modify it such that the Linux would think the Ethernet port is up when EITHER port1 OR port2 is physically connected.
In the device tree file, vf-colibri-dual-eth.dtsi, we have:
Ethernet0 = &fec0;
&fec0 {
phy-mode = "rmii";
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_fec0>;
status = "okay";
};
I can set Ethernet0 = &fec0; as suggested here, however, after doing that, Linux would think Ethernet would always be up even with any physical connections.
please help
thank you