On 8 April 2014 23:00, Claudio Leite <lei...@staticky.com> wrote:
> * Roman Yeryomin (leroi.li...@gmail.com) wrote:
>> On 8 April 2014 19:41, Claudio Leite <lei...@staticky.com> wrote:
>> > * Roman Yeryomin (leroi.li...@gmail.com) wrote:
>> > I think by default it configures mdio as mdio--I had a mdio_pins group
>> > in my rt2880.dtsi, but when I submitted the patches I redid the
>> > ethernet port stuff against the one you submitted. It worked fine
>> > despite not linking or otherwise configuring the mdio pins. So, just
>> > removing that one entry should do the trick.
>>
>> Without mdio pins set the switch driver cannot identify it at all. I
>> know in older versions (pre DTs) the mdio pins were not touched. I'm
>> not sure about the actual reason but it seems strange to me also.
>
> I see, is that with mdio configured explicitly to be mdio, or gpio?

mdio pin group function set to gpio

> The rtl8366 is configured differently from the IP175E in my router so
> what works for me might not for you.
>
>> Also I've sent another one to fix eeprom extraction which was broken
>> by Felix recently.
>
> It's possible to do that from the dts as well:
>
>         wmac@480000 {
>                 status = "okay";
>                 ralink,mtd-eeprom = <&factory 0>;
>         };
>

Yes, I know, but then you would have to fix almost every dts.
But for the future I think it's better to use DT approach anyway.

Regards,
Roman
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to