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
24  reg:
25    maxItems: 1
26    description: The register range of the MDIO controller instance
27
28  resets:
29    maxItems: 1
30
31required:
32  - compatible
33  - reg
34  - "#address-cells"
35  - "#size-cells"
36
37unevaluatedProperties: false
38
39examples:
40  - |
41    #include <dt-bindings/clock/ast2600-clock.h>
42    mdio0: mdio@1e650000 {
43            compatible = "aspeed,ast2600-mdio";
44            reg = <0x1e650000 0x8>;
45            #address-cells = <1>;
46            #size-cells = <0>;
47            resets = <&syscon ASPEED_RESET_MII>;
48
49            ethphy0: ethernet-phy@0 {
50                    compatible = "ethernet-phy-ieee802.3-c22";
51                    reg = <0>;
52            };
53    };
54