summaryrefslogtreecommitdiffstats
path: root/dts/Bindings/net/xlnx,emaclite.yaml
blob: 92d8ade988f69ddbaca250077af6a07ca0996a86 (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
60
61
62
63
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/net/xlnx,emaclite.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Xilinx Emaclite Ethernet controller

maintainers:
  - Radhey Shyam Pandey <radhey.shyam.pandey@amd.com>
  - Harini Katakam <harini.katakam@amd.com>

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

properties:
  compatible:
    enum:
      - xlnx,opb-ethernetlite-1.01.a
      - xlnx,opb-ethernetlite-1.01.b
      - xlnx,xps-ethernetlite-1.00.a
      - xlnx,xps-ethernetlite-2.00.a
      - xlnx,xps-ethernetlite-2.01.a
      - xlnx,xps-ethernetlite-3.00.a

  reg:
    maxItems: 1

  interrupts:
    maxItems: 1

  phy-handle: true

  local-mac-address: true

  xlnx,tx-ping-pong:
    type: boolean
    description: hardware supports tx ping pong buffer.

  xlnx,rx-ping-pong:
    type: boolean
    description: hardware supports rx ping pong buffer.

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

additionalProperties: false

examples:
  - |
    axi_ethernetlite_1: ethernet@40e00000 {
        compatible = "xlnx,xps-ethernetlite-3.00.a";
        reg = <0x40e00000 0x10000>;
        interrupt-parent = <&axi_intc_1>;
        interrupts = <1>;
        local-mac-address = [00 00 00 00 00 00];
        phy-handle = <&phy0>;
        xlnx,rx-ping-pong;
        xlnx,tx-ping-pong;
    };