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