Commit e85477f5 authored by Anton Vorontsov's avatar Anton Vorontsov Committed by Kumar Gala

powerpc/83xx: Fix TSEC0 workability on MPC8313E-RDB boards

TSEC0 is connected to Vitesse 7385 5-port switch. The switch
isn't connected to any mdio bus, the link to the switch is fixed
to Full-duplex 1000 Mb/s (no pause).

This patch fixes following failure during bootup:

mdio@24520:01 not found
eth0: Could not attach to PHY
IP-Config: Failed to open eth0
Signed-off-by: default avatarAnton Vorontsov <avorontsov@ru.mvista.com>
Signed-off-by: default avatarKumar Gala <galak@kernel.crashing.org>
parent 1f0d4d16
...@@ -191,7 +191,8 @@ enet0: ethernet@24000 { ...@@ -191,7 +191,8 @@ enet0: ethernet@24000 {
interrupts = <37 0x8 36 0x8 35 0x8>; interrupts = <37 0x8 36 0x8 35 0x8>;
interrupt-parent = <&ipic>; interrupt-parent = <&ipic>;
tbi-handle = < &tbi0 >; tbi-handle = < &tbi0 >;
phy-handle = < &phy1 >; /* Vitesse 7385 isn't on the MDIO bus */
fixed-link = <1 1 1000 0 0>;
fsl,magic-packet; fsl,magic-packet;
mdio@24520 { mdio@24520 {
...@@ -199,12 +200,6 @@ mdio@24520 { ...@@ -199,12 +200,6 @@ mdio@24520 {
#size-cells = <0>; #size-cells = <0>;
compatible = "fsl,gianfar-mdio"; compatible = "fsl,gianfar-mdio";
reg = <0x24520 0x20>; reg = <0x24520 0x20>;
phy1: ethernet-phy@1 {
interrupt-parent = <&ipic>;
interrupts = <19 0x8>;
reg = <0x1>;
device_type = "ethernet-phy";
};
phy4: ethernet-phy@4 { phy4: ethernet-phy@4 {
interrupt-parent = <&ipic>; interrupt-parent = <&ipic>;
interrupts = <20 0x8>; interrupts = <20 0x8>;
......
...@@ -651,7 +651,7 @@ CONFIG_CICADA_PHY=y ...@@ -651,7 +651,7 @@ CONFIG_CICADA_PHY=y
# CONFIG_NATIONAL_PHY is not set # CONFIG_NATIONAL_PHY is not set
# CONFIG_STE10XP is not set # CONFIG_STE10XP is not set
# CONFIG_LSI_ET1011C_PHY is not set # CONFIG_LSI_ET1011C_PHY is not set
# CONFIG_FIXED_PHY is not set CONFIG_FIXED_PHY=y
# CONFIG_MDIO_BITBANG is not set # CONFIG_MDIO_BITBANG is not set
CONFIG_NET_ETHERNET=y CONFIG_NET_ETHERNET=y
CONFIG_MII=y CONFIG_MII=y
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment