GNU Linux-libre 6.8.9-gnu
[releases.git] / Documentation / devicetree / bindings / soc / mediatek / mediatek,mt7986-wo-ccif.yaml
1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/soc/mediatek/mediatek,mt7986-wo-ccif.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: MediaTek Wireless Ethernet Dispatch (WED) WO controller interface for MT7986
8
9 maintainers:
10   - Lorenzo Bianconi <lorenzo@kernel.org>
11   - Felix Fietkau <nbd@nbd.name>
12
13 description:
14   The MediaTek wo-ccif provides a configuration interface for WED WO
15   controller used to perform offload rx packet processing (e.g. 802.11
16   aggregation packet reordering or rx header translation) on MT7986 soc.
17
18 properties:
19   compatible:
20     items:
21       - enum:
22           - mediatek,mt7986-wo-ccif
23           - mediatek,mt7988-wo-ccif
24       - const: syscon
25
26   reg:
27     maxItems: 1
28
29   interrupts:
30     maxItems: 1
31
32 required:
33   - compatible
34   - reg
35   - interrupts
36
37 additionalProperties: false
38
39 examples:
40   - |
41     #include <dt-bindings/interrupt-controller/arm-gic.h>
42     #include <dt-bindings/interrupt-controller/irq.h>
43     soc {
44       #address-cells = <2>;
45       #size-cells = <2>;
46
47       syscon@151a5000 {
48         compatible = "mediatek,mt7986-wo-ccif", "syscon";
49         reg = <0 0x151a5000 0 0x1000>;
50         interrupts = <GIC_SPI 205 IRQ_TYPE_LEVEL_HIGH>;
51       };
52     };