xref: /freebsd/sys/contrib/device-tree/Bindings/soc/mediatek/mediatek,mt7986-wo-ccif.yaml (revision 84943d6f38e936ac3b7a3947ca26eeb27a39f938)
18bab661aSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
28bab661aSEmmanuel Vadot%YAML 1.2
38bab661aSEmmanuel Vadot---
48bab661aSEmmanuel Vadot$id: http://devicetree.org/schemas/soc/mediatek/mediatek,mt7986-wo-ccif.yaml#
58bab661aSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
68bab661aSEmmanuel Vadot
78bab661aSEmmanuel Vadottitle: MediaTek Wireless Ethernet Dispatch (WED) WO controller interface for MT7986
88bab661aSEmmanuel Vadot
98bab661aSEmmanuel Vadotmaintainers:
108bab661aSEmmanuel Vadot  - Lorenzo Bianconi <lorenzo@kernel.org>
118bab661aSEmmanuel Vadot  - Felix Fietkau <nbd@nbd.name>
128bab661aSEmmanuel Vadot
138bab661aSEmmanuel Vadotdescription:
148bab661aSEmmanuel Vadot  The MediaTek wo-ccif provides a configuration interface for WED WO
15aa1a8ff2SEmmanuel Vadot  controller used to perform offload rx packet processing (e.g. 802.11
168bab661aSEmmanuel Vadot  aggregation packet reordering or rx header translation) on MT7986 soc.
178bab661aSEmmanuel Vadot
188bab661aSEmmanuel Vadotproperties:
198bab661aSEmmanuel Vadot  compatible:
208bab661aSEmmanuel Vadot    items:
218bab661aSEmmanuel Vadot      - enum:
228bab661aSEmmanuel Vadot          - mediatek,mt7986-wo-ccif
23*84943d6fSEmmanuel Vadot          - mediatek,mt7988-wo-ccif
248bab661aSEmmanuel Vadot      - const: syscon
258bab661aSEmmanuel Vadot
268bab661aSEmmanuel Vadot  reg:
278bab661aSEmmanuel Vadot    maxItems: 1
288bab661aSEmmanuel Vadot
298bab661aSEmmanuel Vadot  interrupts:
308bab661aSEmmanuel Vadot    maxItems: 1
318bab661aSEmmanuel Vadot
328bab661aSEmmanuel Vadotrequired:
338bab661aSEmmanuel Vadot  - compatible
348bab661aSEmmanuel Vadot  - reg
358bab661aSEmmanuel Vadot  - interrupts
368bab661aSEmmanuel Vadot
378bab661aSEmmanuel VadotadditionalProperties: false
388bab661aSEmmanuel Vadot
398bab661aSEmmanuel Vadotexamples:
408bab661aSEmmanuel Vadot  - |
418bab661aSEmmanuel Vadot    #include <dt-bindings/interrupt-controller/arm-gic.h>
428bab661aSEmmanuel Vadot    #include <dt-bindings/interrupt-controller/irq.h>
438bab661aSEmmanuel Vadot    soc {
448bab661aSEmmanuel Vadot      #address-cells = <2>;
458bab661aSEmmanuel Vadot      #size-cells = <2>;
468bab661aSEmmanuel Vadot
478bab661aSEmmanuel Vadot      syscon@151a5000 {
488bab661aSEmmanuel Vadot        compatible = "mediatek,mt7986-wo-ccif", "syscon";
498bab661aSEmmanuel Vadot        reg = <0 0x151a5000 0 0x1000>;
508bab661aSEmmanuel Vadot        interrupts = <GIC_SPI 205 IRQ_TYPE_LEVEL_HIGH>;
518bab661aSEmmanuel Vadot      };
528bab661aSEmmanuel Vadot    };
53