]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: dts: dra71-evm: workaround incorrect DP83867 RX_CTRL pin strap
authorSekhar Nori <nsekhar@ti.com>
Wed, 9 Aug 2017 14:02:47 +0000 (19:32 +0530)
committerTony Lindgren <tony@atomide.com>
Thu, 10 Aug 2017 17:30:25 +0000 (10:30 -0700)
The DRA71 EVM straps the DP83867 GigaBit Ethernet phy's RX_DV/RX_CTRL pin
in mode 1. Unfortunately, the phy data manual disallows this.

Add "ti,dp83867-rxctrl-strap-quirk" property to the phy's device-tree node
to allow kernel to enable software workaround for this incorrect strap
setting. This is as suggested by the phy's datamanual and ensures proper
operation of this PHY.

This needs to be done for both instances of this PHY present on the board.

Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Reviewed-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/dra71-evm.dts

index a6298eb56978710c24291fc05d17770fefccd188..9897e8fa684516a245c63f435baa3e5855362218 100644 (file)
@@ -191,6 +191,7 @@ dp83867_0: ethernet-phy@2 {
                ti,tx-internal-delay = <DP83867_RGMIIDCTL_250_PS>;
                ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_8_B_NIB>;
                ti,min-output-impedance;
+               ti,dp83867-rxctrl-strap-quirk;
        };
 
        dp83867_1: ethernet-phy@3 {
@@ -199,6 +200,7 @@ dp83867_1: ethernet-phy@3 {
                ti,tx-internal-delay = <DP83867_RGMIIDCTL_250_PS>;
                ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_8_B_NIB>;
                ti,min-output-impedance;
+               ti,dp83867-rxctrl-strap-quirk;
        };
 };