On 8 April 2014 19:41, Claudio Leite <lei...@staticky.com> wrote:
> * Roman Yeryomin (leroi.li...@gmail.com) wrote:
>> On 8 April 2014 14:41, Claudio Leite <lei...@staticky.com> wrote:
>> > Really funny timing-nobody seemed to be interested in rt2880 for a long
>> > time, and then we both fix it at the same time!
>>
>> Actually a friend of mine has a whole network based on asus rt-n15 but
>> he uses some old versions (before DTs and pinmux were introduced).
>> And I just decided to check what is going on with it because I saw the
>> pinmux patches.
>
> Sorry to bombard you with e-mails, but I noticed in the RT-N15.dts
> patch, the mdio pins are set to "gpio." The old board file from Attitude
> Adjustment has ony i2c and uart0 pins set to gpio. I think this'll
> interfere with connecting the PHY even after my patches are applied.
>
> 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.
Maybe there are some other mistakes in pinmux driver I'm not aware of.
Anyway, I've tested your patches and they work fine.
Also I've sent another one to fix eeprom extraction which was broken
by Felix recently.

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