Phy's reset pin was not found to be configured. Where did you configure it?

Which system do you use? Android, Ubuntu, OOWOW or others?

Android

Which version of system do you use? Khadas official images, self built images, or others?

self built images

Please describe your issue below:

Phy’s reset pin was not found to be configured. Where did you configure it?

No reset pin was found in the external phy configuration in DTS.

&ext_mdio {
	external_phy: ethernet-phy@0 {
		reg = <0>;
		max-speed = <1000>;
	};
};

&ethmac {
	pinctrl-0 = <&eth_pins>, <&eth_rgmii_pins>;
	pinctrl-names = "default";
	status = "okay";
	phy-mode = "rgmii";
	phy-handle = <&external_phy>;
	mc_val = <0x1621>;
	cali_val = <0xa0000>;
	amlogic,tx-delay-ns = <2>;
};

Please let me know.

Thank you.
@goenjoy

@Lexus This pin is not connected to the CPU, so it is not controlled through software, but through hardware, and is directly pulled up after power on.


This is the document description I am looking for.

But I didn’t find the call to reset the pin attribute in the code.

If I configure CPU GPIO control reset, where is it called in the code?

Hello @Lexus

For our board and source code, the ethernet phy is configured without problem. We can only provide support for our board, if you use other boards, we can’t provide support due to different hardware design.