Airoha AN7583 Dedicated MDIO Controller

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

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

Maintainers (maintainers): "Christian Marangi <ansuelsmth@gmail.com>"

Airoha AN7583 SoC have 3 different MDIO Controller. One comes from the intergated Switch based on MT7530. The other 2 (that this schema describe) live under the SCU register supporting both C22 and C45 PHYs.

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

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "airoha,an7583-mdio"

reg — required here #

Allowed values (enum): 200, 204

clocks — required here #

Maximum number of items (maxItems): 1

resets — required here #

Maximum number of items (maxItems): 1

clock-frequency — not listed as required here #

Default value (default): 2500000

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

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

system-controller {
    #address-cells = <1>;
    #size-cells = <0>;

    mdio-bus@c8 {
        compatible = "airoha,an7583-mdio";
        reg = <0xc8>;

        clocks = <&scu>;
        resets = <&scu>;
    };
};

Source notes #

Annotations retained from the schema source

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

Edit this page