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
7title: MediaTek Wireless Ethernet Dispatch (WED) WO controller interface for MT7986
8
9maintainers:
10  - Lorenzo Bianconi <lorenzo@kernel.org>
11  - Felix Fietkau <nbd@nbd.name>
12
13description:
14  The MediaTek wo-ccif provides a configuration interface for WED WO
15  controller used to perfrom offload rx packet processing (e.g. 802.11
16  aggregation packet reordering or rx header translation) on MT7986 soc.
17
18properties:
19  compatible:
20    items:
21      - enum:
22          - mediatek,mt7986-wo-ccif
23      - const: syscon
24
25  reg:
26    maxItems: 1
27
28  interrupts:
29    maxItems: 1
30
31required:
32  - compatible
33  - reg
34  - interrupts
35
36additionalProperties: false
37
38examples:
39  - |
40    #include <dt-bindings/interrupt-controller/arm-gic.h>
41    #include <dt-bindings/interrupt-controller/irq.h>
42    soc {
43      #address-cells = <2>;
44      #size-cells = <2>;
45
46      syscon@151a5000 {
47        compatible = "mediatek,mt7986-wo-ccif", "syscon";
48        reg = <0 0x151a5000 0 0x1000>;
49        interrupts = <GIC_SPI 205 IRQ_TYPE_LEVEL_HIGH>;
50      };
51    };
52