1 # SPDX-License-Identifier: (GPL-2.0+ OR BSD-2-Clause)
2 # Copyright (C) 2019 Texas Instruments Incorporated
5 $id: "http://devicetree.org/schemas/net/ti,dp83867.yaml#"
6 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
8 title: TI DP83867 ethernet PHY
11 - $ref: "ethernet-controller.yaml#"
14 - Dan Murphy <dmurphy@ti.com>
17 The DP83867 device is a robust, low power, fully featured Physical Layer
18 transceiver with integrated PMD sublayers to support 10BASE-Te, 100BASE-TX
19 and 1000BASE-T Ethernet protocols.
21 The DP83867 is designed for easy implementation of 10/100/1000 Mbps Ethernet
22 LANs. It interfaces directly to twisted pair media via an external
23 transformer. This device interfaces directly to the MAC layer through the
24 IEEE 802.3 Standard Media Independent Interface (MII), the IEEE 802.3 Gigabit
25 Media Independent Interface (GMII) or Reduced GMII (RGMII).
27 Specifications about the Ethernet PHY can be found at:
28 https://www.ti.com/lit/gpn/dp83867ir
34 ti,min-output-impedance:
37 MAC Interface Impedance control to set the programmable output impedance
38 to a minimum value (35 ohms).
40 ti,max-output-impedance:
43 MAC Interface Impedance control to set the programmable output impedance
44 to a maximum value (70 ohms).
45 Note: ti,min-output-impedance and ti,max-output-impedance are mutually
46 exclusive. When both properties are present ti,max-output-impedance
50 $ref: /schemas/types.yaml#/definitions/uint32
52 Transmitt FIFO depth see dt-bindings/net/ti-dp83867.h for values
55 $ref: /schemas/types.yaml#/definitions/uint32
57 Receive FIFO depth see dt-bindings/net/ti-dp83867.h for values
60 $ref: /schemas/types.yaml#/definitions/uint32
62 Muxing option for CLK_OUT pin. See dt-bindings/net/ti-dp83867.h
63 for applicable values. The CLK_OUT pin can also be disabled by this
64 property. When omitted, the PHY's default will be left as is.
67 $ref: /schemas/types.yaml#/definitions/uint32
69 RGMII Receive Clock Delay - see dt-bindings/net/ti-dp83867.h
70 for applicable values. Required only if interface type is
71 PHY_INTERFACE_MODE_RGMII_ID or PHY_INTERFACE_MODE_RGMII_RXID.
74 $ref: /schemas/types.yaml#/definitions/uint32
76 RGMII Transmit Clock Delay - see dt-bindings/net/ti-dp83867.h
77 for applicable values. Required only if interface type is
78 PHY_INTERFACE_MODE_RGMII_ID or PHY_INTERFACE_MODE_RGMII_TXID.
80 Note: If the interface type is PHY_INTERFACE_MODE_RGMII the TX/RX clock
81 delays will be left at their default values, as set by the PHY's pin
82 strapping. The default strapping will use a delay of 2.00 ns. Thus
83 PHY_INTERFACE_MODE_RGMII, by default, does not behave as RGMII with no
84 internal delay, but as PHY_INTERFACE_MODE_RGMII_ID. The device tree
85 should use "rgmii-id" if internal delays are desired as this may be
86 changed in future to cause "rgmii" mode to disable delays.
88 ti,dp83867-rxctrl-strap-quirk:
91 This denotes the fact that the board has RX_DV/RX_CTRL pin strapped in
92 mode 1 or 2. To ensure PHY operation, there are specific actions that
93 software needs to take when this pin is strapped in these modes.
94 See data manual for details.
96 ti,sgmii-ref-clock-output-enable:
99 This denotes which SGMII configuration is used (4 or 6-wire modes).
100 Some MACs work with differential SGMII clock. See data manual for details.
104 $ref: /schemas/types.yaml#/definitions/uint32
106 Transmitt FIFO depth- see dt-bindings/net/ti-dp83867.h for applicable
112 unevaluatedProperties: false
116 #include <dt-bindings/net/ti-dp83867.h>
118 #address-cells = <1>;
120 ethphy0: ethernet-phy@0 {
122 tx-fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>;
123 rx-fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>;
124 ti,max-output-impedance;
125 ti,clk-output-sel = <DP83867_CLK_O_SEL_CHN_A_RCLK>;
126 ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_25_NS>;
127 ti,tx-internal-delay = <DP83867_RGMIIDCTL_2_75_NS>;