155c1c4e9SLorenzo Bianconi# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 255c1c4e9SLorenzo Bianconi%YAML 1.2 355c1c4e9SLorenzo Bianconi--- 455c1c4e9SLorenzo Bianconi$id: "http://devicetree.org/schemas/arm/mediatek/mediatek,mt7622-wed.yaml#" 555c1c4e9SLorenzo Bianconi$schema: "http://devicetree.org/meta-schemas/core.yaml#" 655c1c4e9SLorenzo Bianconi 755c1c4e9SLorenzo Bianconititle: MediaTek Wireless Ethernet Dispatch Controller for MT7622 855c1c4e9SLorenzo Bianconi 955c1c4e9SLorenzo Bianconimaintainers: 1055c1c4e9SLorenzo Bianconi - Lorenzo Bianconi <lorenzo@kernel.org> 1155c1c4e9SLorenzo Bianconi - Felix Fietkau <nbd@nbd.name> 1255c1c4e9SLorenzo Bianconi 1355c1c4e9SLorenzo Bianconidescription: 1455c1c4e9SLorenzo Bianconi The mediatek wireless ethernet dispatch controller can be configured to 1555c1c4e9SLorenzo Bianconi intercept and handle access to the WLAN DMA queues and PCIe interrupts 1655c1c4e9SLorenzo Bianconi and implement hardware flow offloading from ethernet to WLAN. 1755c1c4e9SLorenzo Bianconi 1855c1c4e9SLorenzo Bianconiproperties: 1955c1c4e9SLorenzo Bianconi compatible: 2055c1c4e9SLorenzo Bianconi items: 2155c1c4e9SLorenzo Bianconi - enum: 2255c1c4e9SLorenzo Bianconi - mediatek,mt7622-wed 23*22ecfce1SLorenzo Bianconi - mediatek,mt7986-wed 2455c1c4e9SLorenzo Bianconi - const: syscon 2555c1c4e9SLorenzo Bianconi 2655c1c4e9SLorenzo Bianconi reg: 2755c1c4e9SLorenzo Bianconi maxItems: 1 2855c1c4e9SLorenzo Bianconi 2955c1c4e9SLorenzo Bianconi interrupts: 3055c1c4e9SLorenzo Bianconi maxItems: 1 3155c1c4e9SLorenzo Bianconi 3255c1c4e9SLorenzo Bianconirequired: 3355c1c4e9SLorenzo Bianconi - compatible 3455c1c4e9SLorenzo Bianconi - reg 3555c1c4e9SLorenzo Bianconi - interrupts 3655c1c4e9SLorenzo Bianconi 3755c1c4e9SLorenzo BianconiadditionalProperties: false 3855c1c4e9SLorenzo Bianconi 3955c1c4e9SLorenzo Bianconiexamples: 4055c1c4e9SLorenzo Bianconi - | 4155c1c4e9SLorenzo Bianconi #include <dt-bindings/interrupt-controller/arm-gic.h> 4255c1c4e9SLorenzo Bianconi #include <dt-bindings/interrupt-controller/irq.h> 4355c1c4e9SLorenzo Bianconi soc { 4455c1c4e9SLorenzo Bianconi #address-cells = <2>; 4555c1c4e9SLorenzo Bianconi #size-cells = <2>; 4655c1c4e9SLorenzo Bianconi wed0: wed@1020a000 { 4755c1c4e9SLorenzo Bianconi compatible = "mediatek,mt7622-wed","syscon"; 4855c1c4e9SLorenzo Bianconi reg = <0 0x1020a000 0 0x1000>; 4955c1c4e9SLorenzo Bianconi interrupts = <GIC_SPI 214 IRQ_TYPE_LEVEL_LOW>; 5055c1c4e9SLorenzo Bianconi }; 5155c1c4e9SLorenzo Bianconi }; 52