Direct MAC to MAC connection to switch without phy

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Direct MAC to MAC connection to switch without phy

803 Views
vittal1
Contributor I

Hi iMX community,

We have designed our custom board with iMX7D processor. We have connected  Ethernet1 (fec1) to marvell switch 88E6390.

Modified DTS file:

&fec1 {
pinctrl-names = "default","sleep";
pinctrl-0 = <&pinctrl_enet1>;
pinctrl-1 = <&pinctrl_enet1_sleep>;
phy-supply=<&vgen3_reg>;
assigned-clocks = <&clks IMX7D_ENET_PHY_REF_ROOT_SRC>,
<&clks IMX7D_ENET_AXI_ROOT_SRC>,
<&clks IMX7D_ENET1_TIME_ROOT_SRC>,
<&clks IMX7D_ENET1_TIME_ROOT_CLK>,
<&clks IMX7D_ENET_AXI_ROOT_CLK>;
assigned-clock-parents = <&clks IMX7D_PLL_ENET_MAIN_25M_CLK>,
<&clks IMX7D_PLL_ENET_MAIN_250M_CLK>,
<&clks IMX7D_PLL_ENET_MAIN_100M_CLK>;
assigned-clock-rates = <0>, <0>, <0>, <100000000>, <250000000>;
phy-mode = "rgmii-id";


status = "okay";
// emulated phy ID, duplex, speed, pause,asym pause
fixed-link = <4 1 1000 1 0>;
/* fixed-link{
speed=<100>;
full-duplex;
};*/

mdio {
#address-cells = <1>;
#size-cells = <0>;

ethphy0: ethernet-phy@14 {
compatible = "marvell,mv88e6390";
reg = <14>;
};

};
};

 

Please help us to work with 88E6390 switch.

Labels (1)
0 Kudos
Reply
1 Reply

793 Views
igorpadykov
NXP Employee
NXP Employee
0 Kudos
Reply