mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-08-30 21:52:21 +00:00

Convert the bindings for socfpga-dwmac to yaml. Since the original text contained descriptions for two separate nodes, two separate yaml files were created. Signed-off-by: Mun Yew Tham <mun.yew.tham@altera.com> Signed-off-by: Matthew Gerlach <matthew.gerlach@altera.com> Reviewed-by: Maxime Chevallier <maxime.chevallier@bootlin.com> Reviewed-by: Rob Herring (Arm) <robh@kernel.org> Link: https://patch.msgid.link/20250630213748.71919-1-matthew.gerlach@altera.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
50 lines
1.2 KiB
YAML
50 lines
1.2 KiB
YAML
# 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";
|
|
};
|