summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/net/dptel,dap8211r.yaml
blob: 4cd0f9730d954d4a792adbba7413590cffee6f6d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/net/dptel,dap8211r.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: DAPU Telecom DAP8211R(I) Gigabit Ethernet PHY

maintainers:
  - Artem Shimko <a.shimko.dev@gmail.com>

description: |
  The DAP8211R(I) is a Gigabit Ethernet PHY with RGMII interface,
  supporting IEEE 802.3az Energy Efficient Ethernet, IEEE 1588 SyncE,
  and an internal packet generator for diagnostics.

  Specifications:
    - 10BASE-Te, 100BASE-TX, 1000BASE-T
    - RGMII with configurable TX/RX clock delays (150 ps steps, 0-2250 ps)
    - IEEE 802.3az-2010 Energy Efficient Ethernet
    - IEEE 1588 SyncE support
    - Internal packet generator and checker for link diagnostics

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

properties:
  compatible:
    const: ethernet-phy-id0008.011b

  reg:
    maxItems: 1

  rx-internal-delay-ps:
    description:
      RGMII RX clock delay in picoseconds (0 to maximum).
    multipleOf: 150
    maximum: 2250
    default: 1950

  tx-internal-delay-ps:
    description:
      RGMII TX clock delay in picoseconds (0 to maximum).
    multipleOf: 150
    maximum: 2250
    default: 1950

unevaluatedProperties: false

examples:
  - |
    mdio {
        #address-cells = <1>;
        #size-cells = <0>;

        ethernet-phy@1 {
            compatible = "ethernet-phy-id0008.011b";
            reg = <1>;
            rx-internal-delay-ps = <1950>;
            tx-internal-delay-ps = <1950>;
        };
    };