完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
我想保留网口1,去掉网口二,但是fec2disabled后第一个网口也不能用了,请问该怎么配置? 295 &fec1 { 296 pinctrl-names = "default";
297 pinctrl-0 = <&pinctrl_enet1>; 298 phy-mode = "rmii"; 299 phy-handle = <ðphy0>; 300 status = "okay"; 301 }; 302 303 &fec2 { 304 pinctrl-names = "default"; 305 pinctrl-0 = <&pinctrl_enet2>; 306 phy-mode = "rmii"; 307 phy-handle = <ðphy1>; 308 status = "disabled"; 309 310 mdio { 311 #address-cells = <1>; 312 #size-cells = <0>; 313 314 ethphy0: ethernet-phy@2 { 315 compatible = "ethernet-phy-ieee802.3-c22"; 316 reg = <2>; 317 }; 318 319 ethphy1: ethernet-phy@1 { 320 compatible = "ethernet-phy-ieee802.3-c22"; 321 reg = <1>; 322 }; 323 }; 324 }; 848 pinctrl_enet1: enet1grp { 849 fsl,pins = < 850 MX6UL_PAD_ENET1_RX_EN__ENET1_RX_EN 0x1b0b0 851 MX6UL_PAD_ENET1_RX_ER__ENET1_RX_ER 0x1b0b0 852 MX6UL_PAD_ENET1_RX_DATA0__ENET1_RDATA00 0x1b0b0 853 MX6UL_PAD_ENET1_RX_DATA1__ENET1_RDATA01 0x1b0b0 854 MX6UL_PAD_ENET1_TX_EN__ENET1_TX_EN 0x1b0b0 855 MX6UL_PAD_ENET1_TX_DATA0__ENET1_TDATA00 0x1b0b0 856 MX6UL_PAD_ENET1_TX_DATA1__ENET1_TDATA01 0x1b0b0 857 MX6UL_PAD_ENET1_TX_CLK__ENET1_REF_CLK1 0x4001b031 858 >; 859 }; 875 pinctrl_enet2: enet2grp { 876 fsl,pins = < 877 MX6UL_PAD_GPIO1_IO07__ENET2_MDC 0x1b0b0 878 MX6UL_PAD_GPIO1_IO06__ENET2_MDIO 0x1b0b0 879 MX6UL_PAD_ENET2_RX_EN__ENET2_RX_EN 0x1b0b0 880 MX6UL_PAD_ENET2_RX_ER__ENET2_RX_ER 0x1b0b0 881 MX6UL_PAD_ENET2_RX_DATA0__ENET2_RDATA00 0x1b0b0 882 MX6UL_PAD_ENET2_RX_DATA1__ENET2_RDATA01 0x1b0b0 883 MX6UL_PAD_ENET2_TX_EN__ENET2_TX_EN 0x1b0b0 884 MX6UL_PAD_ENET2_TX_DATA0__ENET2_TDATA00 0x1b0b0 885 MX6UL_PAD_ENET2_TX_DATA1__ENET2_TDATA01 0x1b0b0 886 MX6UL_PAD_ENET2_TX_CLK__ENET2_REF_CLK2 0x4001b031 887 MX6UL_PAD_SNVS_TAMPER0__GPIO5_IO00 0x80000000 888 >; 889 }; |
|
相关推荐
4个回答
|
|
两个网口共用mdio,mdio在&fec2里,关掉就不能用了,需要改一下
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
你正在撰写答案
如果你是对答案或其他答案精选点评或询问,请使用“评论”功能。
基于米尔瑞芯微RK3576核心板/开发板的人脸疲劳检测应用方案
533 浏览 0 评论
803 浏览 1 评论
700 浏览 1 评论
1926 浏览 1 评论
3171 浏览 1 评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-22 16:13 , Processed in 0.726655 second(s), Total 76, Slave 60 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号