Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

powerpc/5200: fix lite5200 ethernet phy address

According to my schematics, on Lite5200 board ethernet phy uses address
0 (all ADDR lines are pulled down). With this change I can talk to
onboard phy (LXT971) and correctly use autonegotiation.

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>

authored by

Dmitry Baryshkov and committed by
Grant Likely
2b07be24 f487537c

+2 -2
+2 -2
arch/powerpc/boot/dts/lite5200.dts
··· 234 234 reg = <0x3000 0x400>; // fec range, since we need to setup fec interrupts 235 235 interrupts = <2 5 0>; // these are for "mii command finished", not link changes & co. 236 236 237 - phy0: ethernet-phy@1 { 238 - reg = <1>; 237 + phy0: ethernet-phy@0 { 238 + reg = <0>; 239 239 }; 240 240 }; 241 241