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