| 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 |
|
| 8 |
title: Altera GMII to SGMII Converter |
| 9 |
|
| 10 |
maintainers: |
| 11 |
- Matthew Gerlach <[email protected]> |
| 12 |
|
| 13 |
description: |
| 14 |
This binding describes the Altera GMII to SGMII converter. |
| 15 |
|
| 16 |
properties: |
| 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 |
|
| 32 |
required: |
| 33 |
- compatible |
| 34 |
- reg |
| 35 |
- reg-names |
| 36 |
|
| 37 |
unevaluatedProperties: false |
| 38 |
|
| 39 |
examples: |
| 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 |
}; |