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