Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: "http://devicetree.org/schemas/arm/mediatek/mediatek,mt7622-wed.yaml#"
0005 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
0006 
0007 title: MediaTek Wireless Ethernet Dispatch Controller for MT7622
0008 
0009 maintainers:
0010   - Lorenzo Bianconi <lorenzo@kernel.org>
0011   - Felix Fietkau <nbd@nbd.name>
0012 
0013 description:
0014   The mediatek wireless ethernet dispatch controller can be configured to
0015   intercept and handle access to the WLAN DMA queues and PCIe interrupts
0016   and implement hardware flow offloading from ethernet to WLAN.
0017 
0018 properties:
0019   compatible:
0020     items:
0021       - enum:
0022           - mediatek,mt7622-wed
0023       - const: syscon
0024 
0025   reg:
0026     maxItems: 1
0027 
0028   interrupts:
0029     maxItems: 1
0030 
0031 required:
0032   - compatible
0033   - reg
0034   - interrupts
0035 
0036 additionalProperties: false
0037 
0038 examples:
0039   - |
0040     #include <dt-bindings/interrupt-controller/arm-gic.h>
0041     #include <dt-bindings/interrupt-controller/irq.h>
0042     soc {
0043       #address-cells = <2>;
0044       #size-cells = <2>;
0045       wed0: wed@1020a000 {
0046         compatible = "mediatek,mt7622-wed","syscon";
0047         reg = <0 0x1020a000 0 0x1000>;
0048         interrupts = <GIC_SPI 214 IRQ_TYPE_LEVEL_LOW>;
0049       };
0050     };