你好,你的问题解决了吗?我遇到了和你一样的问题,报一样的错误,能指点下吗?
G
glorystar 发布的帖子
-
调试RTL8201F提示“sunxi-gmac 4500000.eth eth0: No PHY found!”
A133 android平台 kernel5.4 调试以太网,网卡芯片用的RTL8201F百兆,提示“sunxi-gmac 4500000.eth eth0: No PHY found!”,复位信号有了,晶振有也有起震,帮忙看下,多谢!下面是dts配置。
sun50iw10p1.dtsi gmac0: eth@4500000 { compatible = "allwinner,sunxi-gmac"; reg = <0x0 0x04500000 0x0 0x10000>, <0x0 0x03000030 0x0 0x4>; interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>; interrupt-names = "gmacirq"; clocks = <&ccu CLK_BUS_EMAC0>, <&ccu CLK_EMAC0_25M>; clock-names = "gmac", "ephy"; resets = <&ccu RST_BUS_EMAC0>; device_type = "gmac0"; pinctrl-0 = <&gmac_pins_a>; pinctrl-1 = <&gmac_pins_b>; pinctrl-names = "default","sleep"; phy-mode; use_ephy25m; tx-delay = <7>; rx-delay = <31>; phy-rst = <&pio PB 6 GPIO_ACTIVE_LOW>; gmac-power0; gmac-power1; gmac-power2; status = "disabled"; }; gmac_pins_a: gmac@0 { pins = "PH0", "PH1", "PH2", "PH3", "PH4", "PH5", "PH6", "PH7", "PH9", "PH10", "PH13", "PH14", "PH15", "PH16", "PH17", "PH18"; function = "gmac0"; drive-strength = <30>; }; gmac_pins_b: gmac@1 { pins = "PH0", "PH1", "PH2", "PH3", "PH4", "PH5", "PH6", "PH7", "PH9", "PH10", "PH13", "PH14", "PH15", "PH16", "PH17", "PH18"; function = "gpio_in"; }; board.dts &gmac0 { phy-mode = "rmii"; use_ephy25m = <1>; status = "okay"; };