Documentation / devicetree / bindings / net / altr,gmii-to-sgmii-2.0.yaml


Based on kernel version 6.17. Page generated on 2025-10-03 10:04 EST.

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
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
# Copyright (C) 2025 Altera Corporation
%YAML 1.2
---
$id: http://devicetree.org/schemas/net/altr,gmii-to-sgmii-2.0.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Altera GMII to SGMII Converter

maintainers:
  - Matthew Gerlach <matthew.gerlach@altera.com>

description:
  This binding describes the Altera GMII to SGMII converter.

properties:
  compatible:
    const: altr,gmii-to-sgmii-2.0

  reg:
    items:
      - description: Registers for the emac splitter IP
      - description: Registers for the GMII to SGMII converter.
      - description: Registers for TSE control.

  reg-names:
    items:
      - const: hps_emac_interface_splitter_avalon_slave
      - const: gmii_to_sgmii_adapter_avalon_slave
      - const: eth_tse_control_port

required:
  - compatible
  - reg
  - reg-names

unevaluatedProperties: false

examples:
  - |
    phy@ff000240 {
        compatible = "altr,gmii-to-sgmii-2.0";
        reg = <0xff000240 0x00000008>,
              <0xff000200 0x00000040>,
              <0xff000250 0x00000008>;
        reg-names = "hps_emac_interface_splitter_avalon_slave",
                    "gmii_to_sgmii_adapter_avalon_slave",
                    "eth_tse_control_port";
    };