导航

    全志在线开发者论坛

    • 注册
    • 登录
    • 搜索
    • 版块
    • 话题
    • 在线文档
    • 社区主页
    1. 主页
    2. glorystar
    G
    • 资料
    • 关注 0
    • 粉丝 0
    • 我的积分 121
    • 主题 1
    • 帖子 2
    • 最佳 0
    • 群组 0

    glorystarLV 2

    @glorystar

    121
    积分
    0
    声望
    1
    资料浏览
    2
    帖子
    0
    粉丝
    0
    关注
    注册时间 最后登录

    glorystar 取消关注 关注

    glorystar 发布的最新帖子

    • 回复: A133 phy正常了,gmac无法识别phy,出现phyid了 这是啥情况

      你好,你的问题解决了吗?我遇到了和你一样的问题,报一样的错误,能指点下吗?

      发布在 其它全志芯片讨论区
      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";
      	};
      
      发布在 其它全志芯片讨论区
      G
      glorystar