File Index
Files and directories
Sign in
FILE

aspeed,ast2600-mdio.yaml

File preview with syntax highlighting.

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