Files
android_kernel_samsung_sm87…/bindings/net/calxeda-xgmac.yaml
Melody Olvera 6f18ce8026 dt-bindings: Add devicetree bindings
Add snapshot of device tree bindings from keystone common kernel, branch
"android-mainline-keystone-qcom-release" at c4c12103f9c0 ("Snap for 9228065
from e32903b9a63bb558df8b803b076619c53c16baad to
android-mainline-keystone-qcom-release").

Change-Id: I7682079615cbd9f29340a5c1f2a1d84ec441a1f1
Signed-off-by: Melody Olvera <quic_molvera@quicinc.com>
2023-04-03 15:40:37 -07:00

50 lines
1.2 KiB
YAML

# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/net/calxeda-xgmac.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: Calxeda Highbank 10Gb XGMAC Ethernet controller
description: |
The Calxeda XGMAC Ethernet controllers are directly connected to the
internal machine "network fabric", which is set up, initialised and
managed by the firmware. So there are no PHY properties in this
binding. Switches in the fabric take care of routing and mapping the
traffic to external network ports.
maintainers:
- Andre Przywara <andre.przywara@arm.com>
properties:
compatible:
const: calxeda,hb-xgmac
reg:
maxItems: 1
interrupts:
description: |
Can point to at most 3 xgmac interrupts. The 1st one is the main
interrupt, the 2nd one is used for power management. The optional
3rd one is the low power state interrupt.
minItems: 2
maxItems: 3
dma-coherent: true
required:
- compatible
- reg
- interrupts
additionalProperties: false
examples:
- |
ethernet@fff50000 {
compatible = "calxeda,hb-xgmac";
reg = <0xfff50000 0x1000>;
interrupts = <0 77 4>, <0 78 4>, <0 79 4>;
};