Commit ea67a551 authored by Valentin Longchamp's avatar Valentin Longchamp Committed by Scott Wood

powerpc/kmcent2: update the ethernet devices' phy properties

Change all phy-connection-type properties to phy-mode that are better
supported by the fman driver.

Use the more readable fixed-link node for the 2 sgmii links.

Change the RGMII link to rgmii-id as the clock delays are added by the
phy.
Signed-off-by: default avatarValentin Longchamp <valentin@longchamp.me>
Acked-by: default avatarMadalin Bucur <madalin.bucur@nxp.com>
Signed-off-by: default avatarScott Wood <oss@buserror.net>
parent 565f9bc0
...@@ -210,13 +210,19 @@ sata@221000 { ...@@ -210,13 +210,19 @@ sata@221000 {
fman@400000 { fman@400000 {
ethernet@e0000 { ethernet@e0000 {
fixed-link = <0 1 1000 0 0>; phy-mode = "sgmii";
phy-connection-type = "sgmii"; fixed-link {
speed = <1000>;
full-duplex;
};
}; };
ethernet@e2000 { ethernet@e2000 {
fixed-link = <1 1 1000 0 0>; phy-mode = "sgmii";
phy-connection-type = "sgmii"; fixed-link {
speed = <1000>;
full-duplex;
};
}; };
ethernet@e4000 { ethernet@e4000 {
...@@ -229,7 +235,7 @@ ethernet@e6000 { ...@@ -229,7 +235,7 @@ ethernet@e6000 {
ethernet@e8000 { ethernet@e8000 {
phy-handle = <&front_phy>; phy-handle = <&front_phy>;
phy-connection-type = "rgmii"; phy-mode = "rgmii-id";
}; };
mdio0: mdio@fc000 { mdio0: mdio@fc000 {
......
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