Skip to content

Commit

Permalink
dt-bindings: net: Add RGMII internal delay for DP83869
Browse files Browse the repository at this point in the history
Add the internal delay values into the header and update the binding
with the internal delay properties.

Signed-off-by: Dan Murphy <dmurphy@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Dan Murphy authored and David S. Miller committed Jun 25, 2020
1 parent 92252ee commit 2fb305c
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion Documentation/devicetree/bindings/net/ti,dp83869.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ $schema: "http://devicetree.org/meta-schemas/core.yaml#"
title: TI DP83869 ethernet PHY

allOf:
- $ref: "ethernet-controller.yaml#"
- $ref: "ethernet-phy.yaml#"

maintainers:
- Dan Murphy <dmurphy@ti.com>
Expand Down Expand Up @@ -64,6 +64,18 @@ properties:
Operational mode for the PHY. If this is not set then the operational
mode is set by the straps. see dt-bindings/net/ti-dp83869.h for values
rx-internal-delay-ps:
description: Delay is in pico seconds
enum: [ 250, 500, 750, 1000, 1250, 1500, 1750, 2000, 2250, 2500, 2750, 3000,
3250, 3500, 3750, 4000 ]
default: 2000

tx-internal-delay-ps:
description: Delay is in pico seconds
enum: [ 250, 500, 750, 1000, 1250, 1500, 1750, 2000, 2250, 2500, 2750, 3000,
3250, 3500, 3750, 4000 ]
default: 2000

required:
- reg

Expand All @@ -80,5 +92,7 @@ examples:
ti,op-mode = <DP83869_RGMII_COPPER_ETHERNET>;
ti,max-output-impedance = "true";
ti,clk-output-sel = <DP83869_CLK_O_SEL_CHN_A_RCLK>;
rx-internal-delay-ps = <2000>;
tx-internal-delay-ps = <2000>;
};
};

0 comments on commit 2fb305c

Please sign in to comment.