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