xref: /linux/Documentation/devicetree/bindings/net/xlnx,emaclite.yaml (revision fcc79e1714e8c2b8e216dc3149812edd37884eef)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/net/xlnx,emaclite.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Xilinx Emaclite Ethernet controller
8
9maintainers:
10  - Radhey Shyam Pandey <radhey.shyam.pandey@amd.com>
11  - Harini Katakam <harini.katakam@amd.com>
12
13allOf:
14  - $ref: ethernet-controller.yaml#
15
16properties:
17  compatible:
18    enum:
19      - xlnx,opb-ethernetlite-1.01.a
20      - xlnx,opb-ethernetlite-1.01.b
21      - xlnx,xps-ethernetlite-1.00.a
22      - xlnx,xps-ethernetlite-2.00.a
23      - xlnx,xps-ethernetlite-2.01.a
24      - xlnx,xps-ethernetlite-3.00.a
25
26  reg:
27    maxItems: 1
28
29  interrupts:
30    maxItems: 1
31
32  clocks:
33    maxItems: 1
34
35  phy-handle: true
36
37  local-mac-address: true
38
39  xlnx,tx-ping-pong:
40    type: boolean
41    description: hardware supports tx ping pong buffer.
42
43  xlnx,rx-ping-pong:
44    type: boolean
45    description: hardware supports rx ping pong buffer.
46
47required:
48  - compatible
49  - reg
50  - interrupts
51  - clocks
52  - phy-handle
53
54additionalProperties: false
55
56examples:
57  - |
58    axi_ethernetlite_1: ethernet@40e00000 {
59        compatible = "xlnx,xps-ethernetlite-3.00.a";
60        reg = <0x40e00000 0x10000>;
61        interrupt-parent = <&axi_intc_1>;
62        interrupts = <1>;
63        clocks = <&dummy>;
64        local-mac-address = [00 00 00 00 00 00];
65        phy-handle = <&phy0>;
66        xlnx,rx-ping-pong;
67        xlnx,tx-ping-pong;
68    };
69