Commit 83f51f06 authored by Sekhar Nori's avatar Sekhar Nori Committed by Tony Lindgren

ARM: dts: dra72-evm-revc: workaround incorrect DP83867 RX_CTRL pin strap

The DRA72 EVM Rev C 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: default avatarSekhar Nori <nsekhar@ti.com>
Reviewed-by: default avatarGrygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent c17133e0
...@@ -70,6 +70,7 @@ dp83867_0: ethernet-phy@2 { ...@@ -70,6 +70,7 @@ dp83867_0: ethernet-phy@2 {
ti,min-output-impedance; ti,min-output-impedance;
interrupt-parent = <&gpio6>; interrupt-parent = <&gpio6>;
interrupts = <16 IRQ_TYPE_EDGE_FALLING>; interrupts = <16 IRQ_TYPE_EDGE_FALLING>;
ti,dp83867-rxctrl-strap-quirk;
}; };
dp83867_1: ethernet-phy@3 { dp83867_1: ethernet-phy@3 {
...@@ -80,5 +81,6 @@ dp83867_1: ethernet-phy@3 { ...@@ -80,5 +81,6 @@ dp83867_1: ethernet-phy@3 {
ti,min-output-impedance; ti,min-output-impedance;
interrupt-parent = <&gpio6>; interrupt-parent = <&gpio6>;
interrupts = <16 IRQ_TYPE_EDGE_FALLING>; interrupts = <16 IRQ_TYPE_EDGE_FALLING>;
ti,dp83867-rxctrl-strap-quirk;
}; };
}; };
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment