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