1*55c1c4e9SLorenzo Bianconi# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2*55c1c4e9SLorenzo Bianconi%YAML 1.2 3*55c1c4e9SLorenzo Bianconi--- 4*55c1c4e9SLorenzo Bianconi$id: "http://devicetree.org/schemas/arm/mediatek/mediatek,mt7622-wed.yaml#" 5*55c1c4e9SLorenzo Bianconi$schema: "http://devicetree.org/meta-schemas/core.yaml#" 6*55c1c4e9SLorenzo Bianconi 7*55c1c4e9SLorenzo Bianconititle: MediaTek Wireless Ethernet Dispatch Controller for MT7622 8*55c1c4e9SLorenzo Bianconi 9*55c1c4e9SLorenzo Bianconimaintainers: 10*55c1c4e9SLorenzo Bianconi - Lorenzo Bianconi <lorenzo@kernel.org> 11*55c1c4e9SLorenzo Bianconi - Felix Fietkau <nbd@nbd.name> 12*55c1c4e9SLorenzo Bianconi 13*55c1c4e9SLorenzo Bianconidescription: 14*55c1c4e9SLorenzo Bianconi The mediatek wireless ethernet dispatch controller can be configured to 15*55c1c4e9SLorenzo Bianconi intercept and handle access to the WLAN DMA queues and PCIe interrupts 16*55c1c4e9SLorenzo Bianconi and implement hardware flow offloading from ethernet to WLAN. 17*55c1c4e9SLorenzo Bianconi 18*55c1c4e9SLorenzo Bianconiproperties: 19*55c1c4e9SLorenzo Bianconi compatible: 20*55c1c4e9SLorenzo Bianconi items: 21*55c1c4e9SLorenzo Bianconi - enum: 22*55c1c4e9SLorenzo Bianconi - mediatek,mt7622-wed 23*55c1c4e9SLorenzo Bianconi - const: syscon 24*55c1c4e9SLorenzo Bianconi 25*55c1c4e9SLorenzo Bianconi reg: 26*55c1c4e9SLorenzo Bianconi maxItems: 1 27*55c1c4e9SLorenzo Bianconi 28*55c1c4e9SLorenzo Bianconi interrupts: 29*55c1c4e9SLorenzo Bianconi maxItems: 1 30*55c1c4e9SLorenzo Bianconi 31*55c1c4e9SLorenzo Bianconirequired: 32*55c1c4e9SLorenzo Bianconi - compatible 33*55c1c4e9SLorenzo Bianconi - reg 34*55c1c4e9SLorenzo Bianconi - interrupts 35*55c1c4e9SLorenzo Bianconi 36*55c1c4e9SLorenzo BianconiadditionalProperties: false 37*55c1c4e9SLorenzo Bianconi 38*55c1c4e9SLorenzo Bianconiexamples: 39*55c1c4e9SLorenzo Bianconi - | 40*55c1c4e9SLorenzo Bianconi #include <dt-bindings/interrupt-controller/arm-gic.h> 41*55c1c4e9SLorenzo Bianconi #include <dt-bindings/interrupt-controller/irq.h> 42*55c1c4e9SLorenzo Bianconi soc { 43*55c1c4e9SLorenzo Bianconi #address-cells = <2>; 44*55c1c4e9SLorenzo Bianconi #size-cells = <2>; 45*55c1c4e9SLorenzo Bianconi wed0: wed@1020a000 { 46*55c1c4e9SLorenzo Bianconi compatible = "mediatek,mt7622-wed","syscon"; 47*55c1c4e9SLorenzo Bianconi reg = <0 0x1020a000 0 0x1000>; 48*55c1c4e9SLorenzo Bianconi interrupts = <GIC_SPI 214 IRQ_TYPE_LEVEL_LOW>; 49*55c1c4e9SLorenzo Bianconi }; 50*55c1c4e9SLorenzo Bianconi }; 51