2006056_en-US

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

2006056_en-US

2006056_en-US

IMX8MP : common MDC and MDIO pins for FEC and eQOS (two Ethernet PHY)

Hello,

We have a custom board based on IMX8M plus.

We are using two different Ethernet Phy (DP83867) ,  

1)eQOS

2)FEC

these both Phy are using common MDIO (AH29) and MDC(AH28) pins.

Is it possible to use common MDIO and MDC pins for FEC and eQOS ?

If yes, what changes are required ?

Please guide us for the same.


Thanks and Regards,
Ishan 

Re: IMX8MP : common MDC and MDIO pins for FEC and eQOS (two Ethernet PHY)

Hi,

Thank you for your interest in NXP Semiconductor products,

The change required would be to add another phy sub-node to the proper MDIO node, for example, if the i.MX 8M Plus FEC module is used, this would be the rework:

&eqos {
	pinctrl-names = "default";
	pinctrl-0 = <&pinctrl_eqos>;
	phy-mode = "rgmii-id";
	phy-handle = <&ethphy0>;
	snps,force_thresh_dma_mode;
	snps,mtl-tx-config = <&mtl_tx_setup>;
	snps,mtl-rx-config = <&mtl_rx_setup>;
	status = "okay";
};

&fec {
	pinctrl-names = "default";
	pinctrl-0 = <&pinctrl_fec>;
	phy-mode = "rgmii-id";
	phy-handle = <&ethphy1>;
	fsl,magic-packet;
	status = "okay";

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

		ethphy0: ethernet-phy@1 {
			compatible = "ethernet-phy-ieee802.3-c22";
			reg = <1>;
			reset-gpios = <&gpio4 22 GPIO_ACTIVE_LOW>;
			reset-assert-us = <10000>;
			reset-deassert-us = <80000>;
			realtek,clkout-disable;
		};

		ethphy1: ethernet-phy@1 {
			compatible = "ethernet-phy-ieee802.3-c22";
			reg = <1>;
			eee-broken-1000t;
			reset-gpios = <&gpio4 2 GPIO_ACTIVE_LOW>;
			reset-assert-us = <10000>;
			reset-deassert-us = <80000>;
			realtek,aldps-enable;
			realtek,clkout-disable;
		};
	};
};

Regards

标记 (1)
无评分
版本历史
最后更新:
‎11-21-2025 12:50 PM
更新人: