lantiq: fix etop registers
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 20 Nov 2013 16:56:50 +0000 (16:56 +0000)
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 20 Nov 2013 16:56:50 +0000 (16:56 +0000)
commit820117eb228a5eebf82d62f863ac655b62d8295a
treee0db2329b2c63e9ded9be3160d554553bb4e1899
parentf365f6b8129874a64a98f6cdffa92f09f16bea43
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]