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