Skip to content

Commit ea67a55

Browse files
chlongvScott Wood
authored andcommitted
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: Valentin Longchamp <valentin@longchamp.me> Acked-by: Madalin Bucur <madalin.bucur@nxp.com> Signed-off-by: Scott Wood <oss@buserror.net>
1 parent 565f9bc commit ea67a55

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

arch/powerpc/boot/dts/fsl/kmcent2.dts

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -210,13 +210,19 @@
210210

211211
fman@400000 {
212212
ethernet@e0000 {
213-
fixed-link = <0 1 1000 0 0>;
214-
phy-connection-type = "sgmii";
213+
phy-mode = "sgmii";
214+
fixed-link {
215+
speed = <1000>;
216+
full-duplex;
217+
};
215218
};
216219

217220
ethernet@e2000 {
218-
fixed-link = <1 1 1000 0 0>;
219-
phy-connection-type = "sgmii";
221+
phy-mode = "sgmii";
222+
fixed-link {
223+
speed = <1000>;
224+
full-duplex;
225+
};
220226
};
221227

222228
ethernet@e4000 {
@@ -229,7 +235,7 @@
229235

230236
ethernet@e8000 {
231237
phy-handle = <&front_phy>;
232-
phy-connection-type = "rgmii";
238+
phy-mode = "rgmii-id";
233239
};
234240

235241
mdio0: mdio@fc000 {

0 commit comments

Comments
 (0)