MediaTek Wireless Ethernet Dispatch Controller for MT7622
Schema identifier ($id): "http://devicetree.org/schemas/arm/mediatek/mediatek,mt7622-wed.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Lorenzo Bianconi <lorenzo@kernel.org>", "Felix Fietkau <nbd@nbd.name>"
The mediatek wireless ethernet dispatch controller can be configured to intercept and handle access to the WLAN DMA queues and PCIe interrupts and implement hardware flow offloading from ethernet to WLAN.
Properties and child nodes (properties) #
compatible — required here #
Array item rules (items) #
Item 1
Allowed values (
enum):"mediatek,mt7622-wed","mediatek,mt7981-wed","mediatek,mt7986-wed","mediatek,mt7988-wed"
Item 2
Exact value (
const):"syscon"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
memory-region — not listed as required here #
Array item rules (items) #
Item 1
firmware EMI region
Item 2
firmware ILM region
Item 3
firmware DLM region
Item 4
firmware CPU DATA region
Item 5
firmware BOOT region
memory-region-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"wo-emi"
Item 2
Exact value (
const):"wo-ilm"
Item 3
Exact value (
const):"wo-dlm"
Item 4
Exact value (
const):"wo-data"
Item 5
Exact value (
const):"wo-boot"
mediatek,wo-ccif — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
mediatek wed-wo controller interface.
All of these rules must match (allOf) #
Rule 1 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"mediatek,mt7622-wed"When the condition matches (
then) #Properties and child nodes (
properties)
memory-region-names— not listed as required here
false— Not permitted by this property rule.
memory-region— not listed as required here
false— Not permitted by this property rule.
mediatek,wo-ccif— not listed as required here
false— Not permitted by this property rule.
Required in this object (required): "compatible", "reg", "interrupts"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/interrupt-controller/irq.h>
soc {
#address-cells = <2>;
#size-cells = <2>;
wed0: wed@1020a000 {
compatible = "mediatek,mt7622-wed","syscon";
reg = <0 0x1020a000 0 0x1000>;
interrupts = <GIC_SPI 214 IRQ_TYPE_LEVEL_LOW>;
};
};
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/interrupt-controller/irq.h>
soc {
#address-cells = <2>;
#size-cells = <2>;
wed@15010000 {
compatible = "mediatek,mt7986-wed", "syscon";
reg = <0 0x15010000 0 0x1000>;
interrupts = <GIC_SPI 205 IRQ_TYPE_LEVEL_HIGH>;
memory-region = <&wo_emi>, <&wo_ilm>, <&wo_dlm>,
<&wo_data>, <&wo_boot>;
memory-region-names = "wo-emi", "wo-ilm", "wo-dlm",
"wo-data", "wo-boot";
mediatek,wo-ccif = <&wo_ccif0>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)