xref: /linux/Documentation/devicetree/bindings/net/marvell,orion-mdio.yaml (revision 9025cebf12d1763de36d5e09e2b0a1e4f9b13b28)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/net/marvell,orion-mdio.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Marvell MDIO Ethernet Controller interface
8
9maintainers:
10  - Andrew Lunn <andrew@lunn.ch>
11
12description: |
13  The Ethernet controllers of the Marvel Kirkwood, Dove, Orion5x, MV78xx0,
14  Armada 370, Armada XP, Armada 7k and Armada 8k have an identical unit that
15  provides an interface with the MDIO bus. Additionally, Armada 7k and Armada
16  8k has a second unit which provides an interface with the xMDIO bus. This
17  driver handles these interfaces.
18
19allOf:
20  - $ref: "mdio.yaml#"
21
22properties:
23  compatible:
24    enum:
25      - marvell,orion-mdio
26      - marvell,xmdio
27
28  reg:
29    maxItems: 1
30
31  interrupts:
32    maxItems: 1
33
34  clocks:
35    minItems: 1
36    maxItems: 4
37
38required:
39  - compatible
40  - reg
41
42unevaluatedProperties: false
43
44examples:
45  - |
46    mdio@d0072004 {
47      compatible = "marvell,orion-mdio";
48      reg = <0xd0072004 0x4>;
49      #address-cells = <1>;
50      #size-cells = <0>;
51      interrupts = <30>;
52
53      phy0: ethernet-phy@0 {
54        reg = <0>;
55      };
56
57      phy1: ethernet-phy@1 {
58        reg = <1>;
59      };
60    };
61