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

[POWERPC] 83xx: MPC837xRDB's VSC7385 ethernet switch isn't on the MDIO bus

MDIO-less PHYs should use CONFIG_FIXED_PHY driver and appropriate
fixed-link property in the device tree.

If not, ethernet will not work:
  e0024520:03 not found
  eth1: Could not attach to PHY
  IP-Config: Failed to open eth1
Signed-off-by: default avatarAnton Vorontsov <avorontsov@ru.mvista.com>
Signed-off-by: default avatarKumar Gala <galak@kernel.crashing.org>
parent 70b3ec3e
...@@ -164,12 +164,6 @@ phy2: ethernet-phy@2 { ...@@ -164,12 +164,6 @@ phy2: ethernet-phy@2 {
reg = <0x2>; reg = <0x2>;
device_type = "ethernet-phy"; device_type = "ethernet-phy";
}; };
phy3: ethernet-phy@3 {
interrupt-parent = <&ipic>;
interrupts = <18 0x8>;
reg = <0x3>;
device_type = "ethernet-phy";
};
}; };
enet0: ethernet@24000 { enet0: ethernet@24000 {
...@@ -195,7 +189,7 @@ enet1: ethernet@25000 { ...@@ -195,7 +189,7 @@ enet1: ethernet@25000 {
interrupts = <35 0x8 36 0x8 37 0x8>; interrupts = <35 0x8 36 0x8 37 0x8>;
phy-connection-type = "mii"; phy-connection-type = "mii";
interrupt-parent = <&ipic>; interrupt-parent = <&ipic>;
phy-handle = <&phy3>; fixed-link = <1 1 1000 0 0>;
}; };
serial0: serial@4500 { serial0: serial@4500 {
......
...@@ -164,12 +164,6 @@ phy2: ethernet-phy@2 { ...@@ -164,12 +164,6 @@ phy2: ethernet-phy@2 {
reg = <0x2>; reg = <0x2>;
device_type = "ethernet-phy"; device_type = "ethernet-phy";
}; };
phy3: ethernet-phy@3 {
interrupt-parent = <&ipic>;
interrupts = <18 0x8>;
reg = <0x3>;
device_type = "ethernet-phy";
};
}; };
enet0: ethernet@24000 { enet0: ethernet@24000 {
...@@ -195,7 +189,7 @@ enet1: ethernet@25000 { ...@@ -195,7 +189,7 @@ enet1: ethernet@25000 {
interrupts = <35 0x8 36 0x8 37 0x8>; interrupts = <35 0x8 36 0x8 37 0x8>;
phy-connection-type = "mii"; phy-connection-type = "mii";
interrupt-parent = <&ipic>; interrupt-parent = <&ipic>;
phy-handle = <&phy3>; fixed-link = <1 1 1000 0 0>;
}; };
serial0: serial@4500 { serial0: serial@4500 {
......
...@@ -164,12 +164,6 @@ phy2: ethernet-phy@2 { ...@@ -164,12 +164,6 @@ phy2: ethernet-phy@2 {
reg = <0x2>; reg = <0x2>;
device_type = "ethernet-phy"; device_type = "ethernet-phy";
}; };
phy3: ethernet-phy@3 {
interrupt-parent = <&ipic>;
interrupts = <18 0x8>;
reg = <0x3>;
device_type = "ethernet-phy";
};
}; };
enet0: ethernet@24000 { enet0: ethernet@24000 {
...@@ -195,7 +189,7 @@ enet1: ethernet@25000 { ...@@ -195,7 +189,7 @@ enet1: ethernet@25000 {
interrupts = <35 0x8 36 0x8 37 0x8>; interrupts = <35 0x8 36 0x8 37 0x8>;
phy-connection-type = "mii"; phy-connection-type = "mii";
interrupt-parent = <&ipic>; interrupt-parent = <&ipic>;
phy-handle = <&phy3>; fixed-link = <1 1 1000 0 0>;
}; };
serial0: serial@4500 { serial0: serial@4500 {
......
# #
# Automatically generated make config: don't edit # Automatically generated make config: don't edit
# Linux kernel version: 2.6.26-rc5 # Linux kernel version: 2.6.26-rc5
# Mon Jun 9 08:52:29 2008 # Tue Jun 10 09:17:12 2008
# #
# CONFIG_PPC64 is not set # CONFIG_PPC64 is not set
...@@ -454,7 +454,7 @@ CONFIG_MARVELL_PHY=y ...@@ -454,7 +454,7 @@ CONFIG_MARVELL_PHY=y
# CONFIG_BROADCOM_PHY is not set # CONFIG_BROADCOM_PHY is not set
# CONFIG_ICPLUS_PHY is not set # CONFIG_ICPLUS_PHY is not set
# CONFIG_REALTEK_PHY is not set # CONFIG_REALTEK_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