summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/net/cirrus,ep9301-eth.yaml
blob: ad0915307095e3c77ba9c4c5ece192761c462e29 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/net/cirrus,ep9301-eth.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: EP93xx SoC Ethernet Controller

maintainers:
  - Alexander Sverdlin <alexander.sverdlin@gmail.com>
  - Nikita Shubin <nikita.shubin@maquefel.me>

allOf:
  - $ref: ethernet-controller.yaml#

properties:
  compatible:
    oneOf:
      - const: cirrus,ep9301-eth
      - items:
          - enum:
              - cirrus,ep9302-eth
              - cirrus,ep9307-eth
              - cirrus,ep9312-eth
              - cirrus,ep9315-eth
          - const: cirrus,ep9301-eth

  reg:
    items:
      - description: The physical base address and size of IO range

  interrupts:
    items:
      - description: Combined signal for various interrupt events

  phy-handle: true

  mdio:
    $ref: mdio.yaml#
    unevaluatedProperties: false
    description: optional node for embedded MDIO controller

required:
  - compatible
  - reg
  - interrupts
  - phy-handle

additionalProperties: false

examples:
  - |
    ethernet@80010000 {
        compatible = "cirrus,ep9301-eth";
        reg = <0x80010000 0x10000>;
        interrupt-parent = <&vic1>;
        interrupts = <7>;
        phy-handle = <&phy0>;
    };