xref: /linux/Documentation/devicetree/bindings/net/xlnx,emaclite.yaml (revision 4f2c0a4acffbec01079c28f839422e64ddeff004)
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  phy-handle: true
33
34  local-mac-address: true
35
36  xlnx,tx-ping-pong:
37    type: boolean
38    description: hardware supports tx ping pong buffer.
39
40  xlnx,rx-ping-pong:
41    type: boolean
42    description: hardware supports rx ping pong buffer.
43
44required:
45  - compatible
46  - reg
47  - interrupts
48  - phy-handle
49
50additionalProperties: false
51
52examples:
53  - |
54    axi_ethernetlite_1: ethernet@40e00000 {
55        compatible = "xlnx,xps-ethernetlite-3.00.a";
56        reg = <0x40e00000 0x10000>;
57        interrupt-parent = <&axi_intc_1>;
58        interrupts = <1>;
59        local-mac-address = [00 00 00 00 00 00];
60        phy-handle = <&phy0>;
61        xlnx,rx-ping-pong;
62        xlnx,tx-ping-pong;
63    };
64