diff options
author | Daniel González Cabanelas <dgcbueu@gmail.com> | 2020-06-26 21:39:05 +0300 |
---|---|---|
committer | Gregory CLEMENT <gregory.clement@bootlin.com> | 2020-07-18 23:57:06 +0300 |
commit | 43bf2025452d26ba006a7f321daf014cea952c8b (patch) | |
tree | 577d9825bcb1df9be57cab9f55f1542e9d9deece /arch/arm/boot/dts/armada-370-dlink-dns327l.dts | |
parent | 947c6ce5ea5d7c30bfcd9a09c2952a849d813d53 (diff) | |
download | linux-43bf2025452d26ba006a7f321daf014cea952c8b.tar.xz |
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 <dgcbueu@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
Diffstat (limited to 'arch/arm/boot/dts/armada-370-dlink-dns327l.dts')
-rw-r--r-- | arch/arm/boot/dts/armada-370-dlink-dns327l.dts | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/arm/boot/dts/armada-370-dlink-dns327l.dts b/arch/arm/boot/dts/armada-370-dlink-dns327l.dts index baa459dd51e4..2008c6eaaa52 100644 --- a/arch/arm/boot/dts/armada-370-dlink-dns327l.dts +++ b/arch/arm/boot/dts/armada-370-dlink-dns327l.dts @@ -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>; }; }; |