xref: /linux/Documentation/devicetree/bindings/net/cirrus,ep9301-eth.yaml (revision 566ab427f827b0256d3e8ce0235d088e6a9c28bd)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/net/cirrus,ep9301-eth.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: EP93xx SoC Ethernet Controller
8
9maintainers:
10  - Alexander Sverdlin <alexander.sverdlin@gmail.com>
11  - Nikita Shubin <nikita.shubin@maquefel.me>
12
13allOf:
14  - $ref: ethernet-controller.yaml#
15
16properties:
17  compatible:
18    oneOf:
19      - const: cirrus,ep9301-eth
20      - items:
21          - enum:
22              - cirrus,ep9302-eth
23              - cirrus,ep9307-eth
24              - cirrus,ep9312-eth
25              - cirrus,ep9315-eth
26          - const: cirrus,ep9301-eth
27
28  reg:
29    items:
30      - description: The physical base address and size of IO range
31
32  interrupts:
33    items:
34      - description: Combined signal for various interrupt events
35
36  phy-handle: true
37
38  mdio:
39    $ref: mdio.yaml#
40    unevaluatedProperties: false
41    description: optional node for embedded MDIO controller
42
43required:
44  - compatible
45  - reg
46  - interrupts
47  - phy-handle
48
49additionalProperties: false
50
51examples:
52  - |
53    ethernet@80010000 {
54        compatible = "cirrus,ep9301-eth";
55        reg = <0x80010000 0x10000>;
56        interrupt-parent = <&vic1>;
57        interrupts = <7>;
58        phy-handle = <&phy0>;
59    };
60