GNU Linux-libre 4.14.266-gnu1
[releases.git] / Documentation / devicetree / bindings / net / ti,dp83867.txt
1 * Texas Instruments - dp83867 Giga bit ethernet phy
2
3 Required properties:
4         - reg - The ID number for the phy, usually a small integer
5         - ti,rx-internal-delay - RGMII Receive Clock Delay - see dt-bindings/net/ti-dp83867.h
6                 for applicable values. Required only if interface type is
7                 PHY_INTERFACE_MODE_RGMII_ID or PHY_INTERFACE_MODE_RGMII_RXID
8         - ti,tx-internal-delay - RGMII Transmit Clock Delay - see dt-bindings/net/ti-dp83867.h
9                 for applicable values. Required only if interface type is
10                 PHY_INTERFACE_MODE_RGMII_ID or PHY_INTERFACE_MODE_RGMII_TXID
11         - ti,fifo-depth - Transmitt FIFO depth- see dt-bindings/net/ti-dp83867.h
12                 for applicable values
13
14 Optional property:
15         - ti,min-output-impedance - MAC Interface Impedance control to set
16                                     the programmable output impedance to
17                                     minimum value (35 ohms).
18         - ti,max-output-impedance - MAC Interface Impedance control to set
19                                     the programmable output impedance to
20                                     maximum value (70 ohms).
21         - ti,dp83867-rxctrl-strap-quirk - This denotes the fact that the
22                                     board has RX_DV/RX_CTRL pin strapped in
23                                     mode 1 or 2. To ensure PHY operation,
24                                     there are specific actions that
25                                     software needs to take when this pin is
26                                     strapped in these modes. See data manual
27                                     for details.
28
29 Note: ti,min-output-impedance and ti,max-output-impedance are mutually
30       exclusive. When both properties are present ti,max-output-impedance
31       takes precedence.
32
33 Default child nodes are standard Ethernet PHY device
34 nodes as described in Documentation/devicetree/bindings/net/phy.txt
35
36 Example:
37
38         ethernet-phy@0 {
39                 reg = <0>;
40                 ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_25_NS>;
41                 ti,tx-internal-delay = <DP83867_RGMIIDCTL_2_75_NS>;
42                 ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>;
43         };
44
45 Datasheet can be found:
46 http://www.ti.com/product/DP83867IR/datasheet