Files
linux/Documentation/devicetree/bindings/net/apm,xgene-mdio-rgmii.yaml
Rob Herring (Arm) e663ad6e06 dt-bindings: net: Convert APM XGene MDIO to DT schema
Convert the APM XGene MDIO bus binding to DT schema format. It's a
straight-forward conversion.

Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
Link: https://patch.msgid.link/20250908231016.2070305-2-robh@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2025-09-11 18:35:46 -07:00

55 lines
1005 B
YAML

# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/net/apm,xgene-mdio-rgmii.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: APM X-Gene SoC MDIO
maintainers:
- Iyappan Subramanian <iyappan@os.amperecomputing.com>
- Keyur Chudgar <keyur@os.amperecomputing.com>
- Quan Nguyen <quan@os.amperecomputing.com>
allOf:
- $ref: mdio.yaml#
properties:
compatible:
enum:
- apm,xgene-mdio-rgmii
- apm,xgene-mdio-xfi
reg:
maxItems: 1
clocks:
maxItems: 1
unevaluatedProperties: false
required:
- compatible
- reg
- clocks
examples:
- |
mdio@17020000 {
compatible = "apm,xgene-mdio-rgmii";
#address-cells = <1>;
#size-cells = <0>;
reg = <0x17020000 0xd100>;
clocks = <&menetclk 0>;
phy@3 {
reg = <0x3>;
};
phy@4 {
reg = <0x4>;
};
phy@5 {
reg = <0x5>;
};
};