Re: [OpenWrt-Devel] [PATCH, v2] lantiq: fix etop registers

2013-11-21 Thread Daniel Schwierzeck
2013/11/21 John Crispin : > On 21/11/13 10:56, Daniel Schwierzeck wrote: >> >> 2013/11/20 Matti Laakso: >>> >>> On 19.11.2013 21:10, John Crispin wrote: >>> >>> On 14/11/13 08:59, Matti Laakso wrote: At the moment the MII/RMII setting in the lantiq .dts-files has no effect, since wro

Re: [OpenWrt-Devel] [PATCH, v2] lantiq: fix etop registers

2013-11-21 Thread John Crispin
On 21/11/13 10:56, Daniel Schwierzeck wrote: 2013/11/20 Matti Laakso: On 19.11.2013 21:10, John Crispin wrote: On 14/11/13 08:59, Matti Laakso wrote: At the moment the MII/RMII setting in the lantiq .dts-files has no effect, since wrong registers are written. Once this patch is applied, it is

Re: [OpenWrt-Devel] [PATCH, v2] lantiq: fix etop registers

2013-11-21 Thread Daniel Schwierzeck
2013/11/20 Matti Laakso : > On 19.11.2013 21:10, John Crispin wrote: > > On 14/11/13 08:59, Matti Laakso wrote: >> At the moment the MII/RMII setting in the lantiq .dts-files has no >> effect, since wrong registers are written. Once this patch is applied, >> it is necessary to make sure that the MI

Re: [OpenWrt-Devel] [PATCH, v2] lantiq: fix etop registers

2013-11-20 Thread José Vázquez
2013/11/20, Matti Laakso : > > That's interesting. On the ARV752DPW there is RTL8306G, connected using > reverse MII. On ARV4518PW and ARV452CQW there is RTL8306SD, which > according to you seems to be connected using MII. This means that also > ARV4518PWR01.dts, ARV4518PWR01A.dts and ARV452CQW.dts

Re: [OpenWrt-Devel] [PATCH, v2] lantiq: fix etop registers

2013-11-20 Thread Matti Laakso
> > >/ Now I'm confused. Does the patch work for you after all? I've been using > />/ it with A803 (arv752dpw22, MII) and the Elisa boxes > />/ (arv4510pw/arv7510pw, RMII) and another OpenWrt user uses it with A802 > />/ (arv7

Re: [OpenWrt-Devel] [PATCH, v2] lantiq: fix etop registers

2013-11-20 Thread José Vázquez
> Now I'm confused. Does the patch work for you after all? I've been using > it with A803 (arv752dpw22, MII) and the Elisa boxes > (arv4510pw/arv7510pw, RMII) and another OpenWrt user uses it with A802 > (arv752dpw, RMII). Without the patch, network works if the boot loader > does the correct initi

Re: [OpenWrt-Devel] [PATCH, v2] lantiq: fix etop registers

2013-11-20 Thread John Crispin
On 20/11/13 12:16, Matti Laakso wrote: On 20.11.2013 11:28, John Crispin wrote: On 20/11/13 11:11, Matti Laakso wrote: / On 19.11.2013 21:10, John Crispin wrote: />>/ On 14/11/13 08:59, Matti Laakso wrote: />>/>/ At the moment the MII/RMII setting in the lantiq .dts-files has no />>/ />/ eff

Re: [OpenWrt-Devel] [PATCH, v2] lantiq: fix etop registers

2013-11-20 Thread Matti Laakso
On 20.11.2013 11:28, John Crispin wrote: > On 20/11/13 11:11, Matti Laakso wrote: > >/ On 19.11.2013 21:10, John Crispin wrote: > />>/ On 14/11/13 08:59, Matti Laakso wrote: > />>/ >/ At the moment the MII/RMII setting in the lantiq .dts-files has no > />>/ />/ effect, since wrong registers are w

Re: [OpenWrt-Devel] [PATCH, v2] lantiq: fix etop registers

2013-11-20 Thread John Crispin
On 20/11/13 11:11, Matti Laakso wrote: On 19.11.2013 21:10, John Crispin wrote: On 14/11/13 08:59, Matti Laakso wrote: >/ At the moment the MII/RMII setting in the lantiq .dts-files has no />/ effect, since wrong registers are written. Once this patch is applied, />/ it is necessary to make s

Re: [OpenWrt-Devel] [PATCH, v2] lantiq: fix etop registers

2013-11-20 Thread John Crispin
On 19/11/13 21:10, John Crispin wrote: On 14/11/13 08:59, Matti Laakso wrote: At the moment the MII/RMII setting in the lantiq .dts-files has no effect, since wrong registers are written. Once this patch is applied, it is necessary to make sure that the MII/RMII setting in the .dts-file is corre

Re: [OpenWrt-Devel] [PATCH, v2] lantiq: fix etop registers

2013-11-20 Thread Matti Laakso
On 19.11.2013 21:10, John Crispin wrote: > On 14/11/13 08:59, Matti Laakso wrote: > >/ At the moment the MII/RMII setting in the lantiq .dts-files has no > />/ effect, since wrong registers are written. Once this patch is applied, > />/ it is necessary to make sure that the MII/RMII setting in the

Re: [OpenWrt-Devel] [PATCH, v2] lantiq: fix etop registers

2013-11-19 Thread John Crispin
On 14/11/13 08:59, Matti Laakso wrote: At the moment the MII/RMII setting in the lantiq .dts-files has no effect, since wrong registers are written. Once this patch is applied, it is necessary to make sure that the MII/RMII setting in the .dts-file is correct. i have not merged this yet. i am w

[OpenWrt-Devel] [PATCH, v2] lantiq: fix etop registers

2013-11-14 Thread Matti Laakso
As first reported more than a year ago (https://lists.openwrt.org/pipermail/openwrt-devel/2012-August/016240.html and https://lists.openwrt.org/pipermail/openwrt-devel/2012-August/016241.html), some of the register definitions of the lantiq etop driver are incorrect. When OpenWrt is booted with a b