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