Qualcomm ipq806x MDIO bus controller

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

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

Maintainers (maintainers): "Ansuel Smith <ansuelsmth@gmail.com>"

The ipq806x soc have a MDIO dedicated controller that is used to communicate with the gmac phy connected.

All of these rules must match (allOf) #

Rule 1 #

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

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "qcom,ipq8064-mdio"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "reg", "clocks", "#address-cells", "#size-cells"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,gcc-ipq806x.h>

mdio0: mdio@37000000 {
    #address-cells = <1>;
    #size-cells = <0>;

    compatible = "qcom,ipq8064-mdio";
    reg = <0x37000000 0x200000>;

    clocks = <&gcc GMAC_CORE1_CLK>;

    switch@10 {
        compatible = "qca,qca8337";
        reg = <0x10>;

        ports {
            #address-cells = <1>;
            #size-cells = <0>;
            /* ... */
        };
    };
};

Source notes #

Annotations retained from the schema source

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

Edit this page