100M网口配置io_domin参考

请先 登录 后评论

1 个回答

Luffy

&gmac1_clkin {

 clock-frequency = <50000000>;

};


&gmac1 {  

 phy-mode = "rmii";

 clock_in_out = "input";

 snps,reset-gpio = <&gpio3 RK_PB0 GPIO_ACTIVE_LOW>;

 snps,reset-active-low;

 snps,reset-delays-us = <0 20000 100000>;

 assigned-clocks=<&cru SCLK_GMAC1_RX_TX>, <&cru SCLK_GMAC1>;

 assigned-clock-parents = <&cru SCLK_GMAC1_RMII_SPEED>, <&gmac1_clkin>;

 pinctrl-names="default";

 pinctrl-0 = <&gmac1m0_miim &gmac1m0_clkinout &gmac1m0_rx_bus2

     &gmac1m0_tx_bus2 &gmac1m0_rx_er>;

 phy-handle = <&rgmii_phy1>;

 status = "okay";

};

请先 登录 后评论
  • 1 关注
  • 0 收藏,494 浏览
  • Luffy 提出于 2021-12-31 18:32

相似问题