ASPEED AST2600 MDIO Controller

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

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

Maintainers (maintainers): "Andrew Jeffery <andrew@aj.id.au>"

The ASPEED AST2600 MDIO controller is the third iteration of ASPEED's MDIO bus register interface, this time also separating out the controller from the MAC.

All of these rules must match (allOf) #

Rule 1 #

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

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Exact value (const): "aspeed,ast2600-mdio"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "aspeed,ast2700-mdio"

Item 2

Exact value (const): "aspeed,ast2600-mdio"

reg — required here #

Maximum number of items (maxItems): 1

The register range of the MDIO controller instance

resets — not listed as required here #

Maximum number of items (maxItems): 1

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

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/ast2600-clock.h>
mdio0: mdio@1e650000 {
        compatible = "aspeed,ast2600-mdio";
        reg = <0x1e650000 0x8>;
        #address-cells = <1>;
        #size-cells = <0>;
        resets = <&syscon ASPEED_RESET_MII>;

        ethphy0: ethernet-phy@0 {
                compatible = "ethernet-phy-ieee802.3-c22";
                reg = <0>;
        };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-or-later

Edit this page