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