summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/boot
diff options
context:
space:
mode:
authorAnton Vorontsov <cbouatmailru@gmail.com>2009-07-01 21:39:25 +0400
committerKumar Gala <galak@kernel.crashing.org>2009-07-29 23:16:39 -0500
commit8a0b177f367a8fd03dc5ba1f5a4494d1424471aa (patch)
treee66189c0e14362395a6537aec06da34a93e5528f /arch/powerpc/boot
parentc4673f9a32d7b02bcd2057763d3d368efe5809c3 (diff)
downloadop-kernel-dev-8a0b177f367a8fd03dc5ba1f5a4494d1424471aa.zip
op-kernel-dev-8a0b177f367a8fd03dc5ba1f5a4494d1424471aa.tar.gz
powerpc/85xx: Don't scan for TBI PHY addresses on MPC8569E-MDS boards
Sometimes (e.g. when there are no UEMs attached to a board) fsl_pq_mdio_find_free() fails to find a spare address for a TBI PHY, this is because get_phy_id() returns bogus 0x0000ffff values (0xffffffff is expected), and therefore mdio bus probing fails with the following message: fsl-pq_mdio: probe of e0082120.mdio failed with error -16 And obviously ethernet doesn't work after this. This patch solves the problem by adding tbi-phy node into mdio node, so that we won't scan for spare addresses, we'll just use a fixed one. Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/boot')
-rw-r--r--arch/powerpc/boot/dts/mpc8569mds.dts4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/powerpc/boot/dts/mpc8569mds.dts b/arch/powerpc/boot/dts/mpc8569mds.dts
index a680165..9e4ce99 100644
--- a/arch/powerpc/boot/dts/mpc8569mds.dts
+++ b/arch/powerpc/boot/dts/mpc8569mds.dts
@@ -501,6 +501,10 @@
reg = <0x6>;
device_type = "ethernet-phy";
};
+ tbi-phy@11 {
+ reg = <0x11>;
+ device_type = "tbi-phy";
+ };
};
mdio@3520 {
#address-cells = <1>;
OpenPOWER on IntegriCloud