summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/net/xlnx,gmii-to-rgmii.yaml
blob: 0f781dac6717c648ad8de5c9dc576b7965c1e2b1 (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
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/net/xlnx,gmii-to-rgmii.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Xilinx GMII to RGMII Converter

maintainers:
  - Harini Katakam <harini.katakam@amd.com>

description:
  The Gigabit Media Independent Interface (GMII) to Reduced Gigabit Media
  Independent Interface (RGMII) core provides the RGMII between RGMII-compliant
  ethernet physical media devices (PHY) and the Gigabit Ethernet controller.
  This core can be used in all three modes of operation(10/100/1000 Mb/s).
  The Management Data Input/Output (MDIO) interface is used to configure the
  speed of operation. This core can switch dynamically between the three
  different speed modes by configuring the converter register through mdio write.
  The core cannot function without an external phy connected to it.

properties:
  compatible:
    const: xlnx,gmii-to-rgmii-1.0

  reg:
    minimum: 0
    maximum: 31
    description: The ID number for the phy.

  phy-handle:
    $ref: ethernet-controller.yaml#/properties/phy-handle

required:
  - compatible
  - reg
  - phy-handle

unevaluatedProperties: false

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

        phy: ethernet-phy@0 {
            reg = <0>;
        };
        gmiitorgmii@8 {
            compatible = "xlnx,gmii-to-rgmii-1.0";
            reg = <8>;
            phy-handle = <&phy>;
        };
    };