xref: /linux/Documentation/devicetree/bindings/net/aspeed,ast2600-mdio.yaml (revision a1c3be890440a1769ed6f822376a3e3ab0d42994)
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
33unevaluatedProperties: false
34
35examples:
36  - |
37    mdio0: mdio@1e650000 {
38            compatible = "aspeed,ast2600-mdio";
39            reg = <0x1e650000 0x8>;
40            #address-cells = <1>;
41            #size-cells = <0>;
42
43            ethphy0: ethernet-phy@0 {
44                    compatible = "ethernet-phy-ieee802.3-c22";
45                    reg = <0>;
46            };
47    };
48