Commit 43bf2025 authored by Daniel González Cabanelas's avatar Daniel González Cabanelas Committed by Gregory CLEMENT
Browse files

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: default avatarDaniel González Cabanelas <dgcbueu@gmail.com>
Reviewed-by: default avatarAndrew Lunn <andrew@lunn.ch>
Signed-off-by: default avatarGregory CLEMENT <gregory.clement@bootlin.com>
parent 947c6ce5
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -247,9 +247,8 @@
&mdio {
	phy0: ethernet-phy@0 { /* Marvell 88E1318 */
		reg = <0>;
		marvell,reg-init = <0x0 0x16 0x0 0x0002>,
				<0x0 0x19 0x0 0x0077>,
				<0x0 0x18 0x0 0x5747>;
		marvell,reg-init = <0x2 0x19 0x0 0x0077>,
				   <0x2 0x18 0x0 0x5747>;
	};
};