1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/net/calxeda-xgmac.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Calxeda Highbank 10Gb XGMAC Ethernet controller
8
9description: |
10  The Calxeda XGMAC Ethernet controllers are directly connected to the
11  internal machine "network fabric", which is set up, initialised and
12  managed by the firmware. So there are no PHY properties in this
13  binding. Switches in the fabric take care of routing and mapping the
14  traffic to external network ports.
15
16maintainers:
17  - Andre Przywara <andre.przywara@arm.com>
18
19properties:
20  compatible:
21    const: calxeda,hb-xgmac
22
23  reg:
24    maxItems: 1
25
26  interrupts:
27    description: |
28      Can point to at most 3 xgmac interrupts. The 1st one is the main
29      interrupt, the 2nd one is used for power management. The optional
30      3rd one is the low power state interrupt.
31    minItems: 2
32    maxItems: 3
33
34  dma-coherent: true
35
36required:
37  - compatible
38  - reg
39  - interrupts
40
41additionalProperties: false
42
43examples:
44  - |
45    ethernet@fff50000 {
46        compatible = "calxeda,hb-xgmac";
47        reg = <0xfff50000 0x1000>;
48        interrupts = <0 77 4>, <0 78 4>, <0 79 4>;
49    };
50