APM X-Gene SoC MDIO

Schema identifier ($id): "http://devicetree.org/schemas/net/apm,xgene-mdio-rgmii.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Iyappan Subramanian <iyappan@os.amperecomputing.com>", "Keyur Chudgar <keyur@os.amperecomputing.com>", "Quan Nguyen <quan@os.amperecomputing.com>"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): mdio.yaml#

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "apm,xgene-mdio-rgmii", "apm,xgene-mdio-xfi"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 1

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Required in this object (required): "compatible", "reg", "clocks"

Examples (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>;
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Edit this page