Direct MAC to MAC connection to switch without phy

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Direct MAC to MAC connection to switch without phy

989 次查看
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.

标签 (1)
0 项奖励
回复
1 回复

979 次查看
igorpadykov
NXP Employee
NXP Employee
0 项奖励
回复