Skip to content

Commit 43bf202

Browse files
danitoolgclement
authored andcommitted
ARM: dts: dlink-dns327l: fix reg-init PHY
The marvell PHY reg-init registers for the D-Link DNS-327L are wrong. Currently the first field is used to set the page 2, but this is pointless. The usage is not correct, and we are setting the wrong registers. Fix it. Signed-off-by: Daniel González Cabanelas <[email protected]> Reviewed-by: Andrew Lunn <[email protected]> Signed-off-by: Gregory CLEMENT <[email protected]>
1 parent 947c6ce commit 43bf202

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

arch/arm/boot/dts/armada-370-dlink-dns327l.dts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -247,9 +247,8 @@
247247
&mdio {
248248
phy0: ethernet-phy@0 { /* Marvell 88E1318 */
249249
reg = <0>;
250-
marvell,reg-init = <0x0 0x16 0x0 0x0002>,
251-
<0x0 0x19 0x0 0x0077>,
252-
<0x0 0x18 0x0 0x5747>;
250+
marvell,reg-init = <0x2 0x19 0x0 0x0077>,
251+
<0x2 0x18 0x0 0x5747>;
253252
};
254253
};
255254

0 commit comments

Comments
 (0)