lantiq: fix etop registers
authorJohn Crispin <blogic@openwrt.org>
Wed, 20 Nov 2013 16:56:50 +0000 (16:56 +0000)
committerJohn Crispin <blogic@openwrt.org>
Wed, 20 Nov 2013 16:56:50 +0000 (16:56 +0000)
commitf72b27e2903860b70f2f00c90e1fd95e8561c787
treee0db2329b2c63e9ded9be3160d554553bb4e1899
parent50577494080e865ce4758c004d1e9249ab1343bd
lantiq: fix etop registers

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 bootloader which doesn't do
proper network initialization of its own (e.g. brnboot), ethernet won't
work. The patch below changes the register names and addresses to match
the lantiq etop driver included with the recent U-Boot.

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.

v2: fix mangled whitespaces

Signed-off-by: Matti Laakso <malaakso@elisanet.fi>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38880 3c298f89-4303-0410-b956-a3cf2f4a3e73
linux/lantiq/patches-3.10/0200-NET-fix-etop-registers.patch [new file with mode: 0644]