1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: "http://devicetree.org/schemas/arm/mediatek/mediatek,mt7622-wed.yaml#"
5$schema: "http://devicetree.org/meta-schemas/core.yaml#"
6
7title: MediaTek Wireless Ethernet Dispatch Controller for MT7622
8
9maintainers:
10  - Lorenzo Bianconi <lorenzo@kernel.org>
11  - Felix Fietkau <nbd@nbd.name>
12
13description:
14  The mediatek wireless ethernet dispatch controller can be configured to
15  intercept and handle access to the WLAN DMA queues and PCIe interrupts
16  and implement hardware flow offloading from ethernet to WLAN.
17
18properties:
19  compatible:
20    items:
21      - enum:
22          - mediatek,mt7622-wed
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      wed0: wed@1020a000 {
46        compatible = "mediatek,mt7622-wed","syscon";
47        reg = <0 0x1020a000 0 0x1000>;
48        interrupts = <GIC_SPI 214 IRQ_TYPE_LEVEL_LOW>;
49      };
50    };
51