Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
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
7title: Airoha AN7583 Dedicated MDIO Controller
8
9maintainers:
10 - Christian Marangi <ansuelsmth@gmail.com>
11
12description:
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
22properties:
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
38required:
39 - compatible
40 - reg
41 - clocks
42 - resets
43
44unevaluatedProperties: false
45
46examples:
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 };