Debian Codegraph @

Documentation/devicetree/bindings/net/airoha,an7583-mdio.yaml

raw
1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/net/airoha,an7583-mdio.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: Airoha AN7583 Dedicated MDIO Controller
8
9 maintainers:
10 - Christian Marangi <[email protected]>
11
12 description:
13 Airoha AN7583 SoC have 3 different MDIO Controller.
14
15 One comes from the intergated Switch based on MT7530.
16
17 The other 2 (that this schema describe) live under the SCU
18 register supporting both C22 and C45 PHYs.
19
20 $ref: mdio.yaml#
21
22 properties:
23 compatible:
24 const: airoha,an7583-mdio
25
26 reg:
27 enum: [0xc8, 0xcc]
28
29 clocks:
30 maxItems: 1
31
32 resets:
33 maxItems: 1
34
35 clock-frequency:
36 default: 2500000
37
38 required:
39 - compatible
40 - reg
41 - clocks
42 - resets
43
44 unevaluatedProperties: false
45
46 examples:
47 - |
48 system-controller {
49 #address-cells = <1>;
50 #size-cells = <0>;
51
52 mdio-bus@c8 {
53 compatible = "airoha,an7583-mdio";
54 reg = <0xc8>;
55
56 clocks = <&scu>;
57 resets = <&scu>;
58 };
59 };