xref: /freebsd/sys/contrib/device-tree/Bindings/net/marvell,orion-mdio.yaml (revision 7fdf597e96a02165cfe22ff357b857d5fa15ed8a)
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
19properties:
20  compatible:
21    enum:
22      - marvell,orion-mdio
23      - marvell,xmdio
24
25  reg:
26    maxItems: 1
27
28  interrupts:
29    maxItems: 1
30
31  clocks:
32    minItems: 1
33    maxItems: 4
34
35required:
36  - compatible
37  - reg
38
39allOf:
40  - $ref: mdio.yaml#
41
42unevaluatedProperties: false
43
44examples:
45  - |
46    mdio@d0072004 {
47      compatible = "marvell,orion-mdio";
48      reg = <0xd0072004 0x84>;
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