1# SPDX-License-Identifier: GPL-2.0-or-later
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/net/aspeed,ast2600-mdio.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: ASPEED AST2600 MDIO Controller
8
9maintainers:
10  - Andrew Jeffery <andrew@aj.id.au>
11
12description: |+
13  The ASPEED AST2600 MDIO controller is the third iteration of ASPEED's MDIO
14  bus register interface, this time also separating out the controller from the
15  MAC.
16
17allOf:
18  - $ref: "mdio.yaml#"
19
20properties:
21  compatible:
22    const: aspeed,ast2600-mdio
23  reg:
24    maxItems: 1
25    description: The register range of the MDIO controller instance
26
27required:
28  - compatible
29  - reg
30  - "#address-cells"
31  - "#size-cells"
32
33examples:
34  - |
35    mdio0: mdio@1e650000 {
36            compatible = "aspeed,ast2600-mdio";
37            reg = <0x1e650000 0x8>;
38            #address-cells = <1>;
39            #size-cells = <0>;
40
41            ethphy0: ethernet-phy@0 {
42                    compatible = "ethernet-phy-ieee802.3-c22";
43                    reg = <0>;
44            };
45    };
46