]> Pileus Git - ~andy/linux/commit
powerpc/85xx: MPC8572DS - Fix eTSEC is not available on core1 of AMP boot
authorJia Hongtao <B38951@freescale.com>
Tue, 10 Jul 2012 06:08:25 +0000 (14:08 +0800)
committerKumar Gala <galak@kernel.crashing.org>
Tue, 10 Jul 2012 12:07:49 +0000 (07:07 -0500)
commita2ec009b7544fdbf1c6b6d624ce0167556247370
treebd94a4576b58dac5d8fb1a80992c69c5b1caf0ad
parentbe0884ce23b8c4270b6342b7f410126a67b9c8ad
powerpc/85xx: MPC8572DS - Fix eTSEC is not available on core1 of AMP boot

The issue log on core1 is:
root@mpc8572ds:~# ifconfig eth0 10.192.208.244
net eth0: could not attach to PHY
SIOCSIFFLAGS: No such device

To attach PHY node mdio@24520 should not be disabled in dts of core1.
Because all PHYs are controlled through this node as follows:

mdio@24520 {
phy0: ethernet-phy@0 {
interrupts = <10 1 0 0>;
reg = <0x0>;
};
phy1: ethernet-phy@1 {
interrupts = <10 1 0 0>;
reg = <0x1>;
};
phy2: ethernet-phy@2 {
interrupts = <10 1 0 0>;
reg = <0x2>;
};
phy3: ethernet-phy@3 {
interrupts = <10 1 0 0>;
reg = <0x3>;
};

tbi0: tbi-phy@11 {
reg = <0x11>;
device_type = "tbi-phy";
};
};

Signed-off-by: Li Yang <leoli@freescale.com>
Signed-off-by: Jia Hongtao <B38951@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/boot/dts/mpc8572ds_camp_core1.dts