xref: /linux/Documentation/devicetree/bindings/net/altr,gmii-to-sgmii-2.0.yaml (revision 8be4d31cb8aaeea27bde4b7ddb26e28a89062ebf)
1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2# Copyright (C) 2025 Altera Corporation
3%YAML 1.2
4---
5$id: http://devicetree.org/schemas/net/altr,gmii-to-sgmii-2.0.yaml#
6$schema: http://devicetree.org/meta-schemas/core.yaml#
7
8title: Altera GMII to SGMII Converter
9
10maintainers:
11  - Matthew Gerlach <matthew.gerlach@altera.com>
12
13description:
14  This binding describes the Altera GMII to SGMII converter.
15
16properties:
17  compatible:
18    const: altr,gmii-to-sgmii-2.0
19
20  reg:
21    items:
22      - description: Registers for the emac splitter IP
23      - description: Registers for the GMII to SGMII converter.
24      - description: Registers for TSE control.
25
26  reg-names:
27    items:
28      - const: hps_emac_interface_splitter_avalon_slave
29      - const: gmii_to_sgmii_adapter_avalon_slave
30      - const: eth_tse_control_port
31
32required:
33  - compatible
34  - reg
35  - reg-names
36
37unevaluatedProperties: false
38
39examples:
40  - |
41    phy@ff000240 {
42        compatible = "altr,gmii-to-sgmii-2.0";
43        reg = <0xff000240 0x00000008>,
44              <0xff000200 0x00000040>,
45              <0xff000250 0x00000008>;
46        reg-names = "hps_emac_interface_splitter_avalon_slave",
47                    "gmii_to_sgmii_adapter_avalon_slave",
48                    "eth_tse_control_port";
49    };
50