RK3588以太网配置
时间: 2023-10-24 17:01:35 浏览: 165
RK以太网问题处理方法
RK3588以太网配置涉及到dts配置和调试步骤。在dts配置中,需要设置phy-mode为"rgmii-rxid",并配置相关的pin脚。此外,还需要设置tx_delay和phy-handle等参数。具体的配置步骤如下:
1. 在dts文件中进行配置,设置相关参数:
```
&gmac1 {
phy-mode = "rgmii-rxid";
pinctrl-names = "default";
pinctrl-0 = <&gmac1_miim &gmac1_tx_bus2 &gmac1_rx_bus2 &gmac1_rgmii_clk &gmac1_rgmii_bus &gmac1_clkinout>;
tx_delay = <0x43>;
phy-handle = <&rgmii_phy1>;
status = "okay";
};
&mdio1 {
rgmii_phy1: phy@1 {
compatible = "ethernet-phy-ieee802.3-c22";
reg = <0x1>;
};
};
```
2. 编译并烧写配置文件,进行调试。
总结起来,RK3588以太网配置需要在dts文件中设置相关参数,包括phy-mode、pinctrl和tx_delay等。然后进行编译和烧写,最后进行调试。 [2<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [RK3588-RJ45以太网调试笔记](https://blog.csdn.net/weixin_44710103/article/details/128901748)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
- *2* *3* [RK3588平台开发系列讲解(以太网篇)PHY状态机](https://blog.csdn.net/qq_33487044/article/details/104073283)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文