[OpenWrt-Devel] What should I do if I want to use the RGMII interface on Ralink RT3052?

Mikko Hissa mikko.hissa at werzek.com
Thu Feb 19 02:24:29 EST 2015


Hi!

> On 19 Feb 2015, at 04:14, 郭传鈜 <gch981213 at gmail.com> wrote:
> 
> Hello,everyone!
> There is a kind of Huawei HG255D which has an RTL8211CL Gigabit PHY and We are trying to add support for it.
> But I can't find anything about the RGMII and mdio-bus in any dts file of rt305x-based devices:-(
> The only device I found which used the interface is WL-351 with an RTL8366 switch  but it doesn't use the MDIO interface to control it. I tried to copy the fpa2 and fct2 value from WL-351.dts but ,of course, it doesn't work.
> Then I tried to do the following:
> https://github.com/981213/openwrt/commit/47fa84df4dcc9b8bfe49ed2211d463ed014e2df2 <https://github.com/981213/openwrt/commit/47fa84df4dcc9b8bfe49ed2211d463ed014e2df2>

Yes, there's that and then you need to configure registers for gdma2 in the ethernet driver... Register a second netdev and map packets, to the corresponding netdev/gdma (in/out) interface, by dma descriptors.

OR

In the dst file under the esw, change the value of portmap to 3f.
XD


> but it doesn't work too.
> Could someone please tell me what should I do in the dts file and how can I reset the PHY?
> 
> 
> Sorry for my bad English:-)
> 
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel at lists.openwrt.org
> https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20150219/c69e3b38/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 842 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20150219/c69e3b38/attachment.sig>
-------------- next part --------------
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list