Qualcomm Technologies ath12k wireless devices (AHB)

Schema identifier ($id): "http://devicetree.org/schemas/net/wireless/qcom,ipq5332-wifi.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Jeff Johnson <jjohnson@kernel.org>"

Qualcomm Technologies IEEE 802.11be AHB devices.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "qcom,ipq5332-wifi"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Array item rules (items) #

Item 1

XO clock used for copy engine

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "xo"

interrupts — required here #

Array item rules (items) #

Item 1

Fatal interrupt

Item 2

Ready interrupt

Item 3

Spawn acknowledge interrupt

Item 4

Stop acknowledge interrupt

Item 5

misc-pulse1 interrupt events

Item 6

misc-latch interrupt events

Item 7

sw exception interrupt events

Item 8

interrupt event for ring CE0

Item 9

interrupt event for ring CE1

Item 10

interrupt event for ring CE2

Item 11

interrupt event for ring CE3

Item 12

interrupt event for ring CE4

Item 13

interrupt event for ring CE5

Item 14

interrupt event for ring CE6

Item 15

interrupt event for ring CE7

Item 16

interrupt event for ring CE8

Item 17

interrupt event for ring CE9

Item 18

interrupt event for ring CE10

Item 19

interrupt event for ring CE11

Item 20

interrupt event for ring host2wbm-desc-feed

Item 21

interrupt event for ring host2reo-re-injection

Item 22

interrupt event for ring host2reo-command

Item 23

interrupt event for ring host2rxdma-monitor-ring1

Item 24

interrupt event for ring reo2ost-exception

Item 25

interrupt event for ring wbm2host-rx-release

Item 26

interrupt event for ring reo2host-status

Item 27

interrupt event for ring reo2host-destination-ring4

Item 28

interrupt event for ring reo2host-destination-ring3

Item 29

interrupt event for ring reo2host-destination-ring2

Item 30

interrupt event for ring reo2host-destination-ring1

Item 31

interrupt event for ring rxdma2host-monitor-destination-mac3

Item 32

interrupt event for ring rxdma2host-monitor-destination-mac2

Item 33

interrupt event for ring rxdma2host-monitor-destination-mac1

Item 34

interrupt event for ring host2rxdma-host-buf-ring-mac3

Item 35

interrupt event for ring host2rxdma-host-buf-ring-mac2

Item 36

interrupt event for ring host2rxdma-host-buf-ring-mac1

Item 37

interrupt event for ring host2tcl-input-ring4

Item 38

interrupt event for ring host2tcl-input-ring3

Item 39

interrupt event for ring host2tcl-input-ring2

Item 40

interrupt event for ring host2tcl-input-ring1

Item 41

interrupt event for ring wbm2host-tx-completions-ring4

Item 42

interrupt event for ring wbm2host-tx-completions-ring3

Item 43

interrupt event for ring wbm2host-tx-completions-ring2

Item 44

interrupt event for ring wbm2host-tx-completions-ring1

Item 45

interrupt event for ring host2tx-monitor-ring1

Item 46

interrupt event for ring txmon2host-monitor-destination-mac3

Item 47

interrupt event for ring txmon2host-monitor-destination-mac2

Item 48

interrupt event for ring txmon2host-monitor-destination-mac1

Item 49

interrupt event for umac-reset

interrupt-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "fatal"

Item 2

Exact value (const): "ready"

Item 3

Exact value (const): "spawn"

Item 4

Exact value (const): "stop-ack"

Item 5

Exact value (const): "misc-pulse1"

Item 6

Exact value (const): "misc-latch"

Item 7

Exact value (const): "sw-exception"

Item 8

Exact value (const): "ce0"

Item 9

Exact value (const): "ce1"

Item 10

Exact value (const): "ce2"

Item 11

Exact value (const): "ce3"

Item 12

Exact value (const): "ce4"

Item 13

Exact value (const): "ce5"

Item 14

Exact value (const): "ce6"

Item 15

Exact value (const): "ce7"

Item 16

Exact value (const): "ce8"

Item 17

Exact value (const): "ce9"

Item 18

Exact value (const): "ce10"

Item 19

Exact value (const): "ce11"

Item 20

Exact value (const): "host2wbm-desc-feed"

Item 21

Exact value (const): "host2reo-re-injection"

Item 22

Exact value (const): "host2reo-command"

Item 23

Exact value (const): "host2rxdma-monitor-ring1"

Item 24

Exact value (const): "reo2ost-exception"

Item 25

Exact value (const): "wbm2host-rx-release"

Item 26

Exact value (const): "reo2host-status"

Item 27

Exact value (const): "reo2host-destination-ring4"

Item 28

Exact value (const): "reo2host-destination-ring3"

Item 29

Exact value (const): "reo2host-destination-ring2"

Item 30

Exact value (const): "reo2host-destination-ring1"

Item 31

Exact value (const): "rxdma2host-monitor-destination-mac3"

Item 32

Exact value (const): "rxdma2host-monitor-destination-mac2"

Item 33

Exact value (const): "rxdma2host-monitor-destination-mac1"

Item 34

Exact value (const): "host2rxdma-host-buf-ring-mac3"

Item 35

Exact value (const): "host2rxdma-host-buf-ring-mac2"

Item 36

Exact value (const): "host2rxdma-host-buf-ring-mac1"

Item 37

Exact value (const): "host2tcl-input-ring4"

Item 38

Exact value (const): "host2tcl-input-ring3"

Item 39

Exact value (const): "host2tcl-input-ring2"

Item 40

Exact value (const): "host2tcl-input-ring1"

Item 41

Exact value (const): "wbm2host-tx-completions-ring4"

Item 42

Exact value (const): "wbm2host-tx-completions-ring3"

Item 43

Exact value (const): "wbm2host-tx-completions-ring2"

Item 44

Exact value (const): "wbm2host-tx-completions-ring1"

Item 45

Exact value (const): "host2tx-monitor-ring1"

Item 46

Exact value (const): "txmon2host-monitor-destination-mac3"

Item 47

Exact value (const): "txmon2host-monitor-destination-mac2"

Item 48

Exact value (const): "txmon2host-monitor-destination-mac1"

Item 49

Exact value (const): "umac-reset"

memory-region — required here #

Memory regions used by the ath12k firmware.

Array item rules (items) #

Item 1

Q6 memory region

Item 2

m3 dump memory region

Item 3

Q6 caldata memory region

Item 4

Multi Link Operation (MLO) Global memory region

memory-region-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "q6-region"

Item 2

Exact value (const): "m3-dump"

Item 3

Exact value (const): "q6-caldb"

Item 4

Exact value (const): "mlo-global-mem"

qcom,calibration-variant — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/string

String to uniquely identify variant of the calibration data for designs with colliding bus and device ids

qcom,rproc — required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle

Phandle to the Qualcomm Hexagon DSP(q6 remote processor), which is utilized for offloading WiFi processing tasks, this q6 remote processor operates in conjunction with WiFi.

qcom,smem-states — required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle-array

States used by the AP to signal the remote processor

Array item rules (items) #

Item 1

Shutdown WCSS pd

Item 2

Stop WCSS pd

Item 3

Spawn WCSS pd

qcom,smem-state-names — required here #

Names of the states used by the AP to signal the remote processor

Array item rules (items) #

Item 1

Exact value (const): "shutdown"

Item 2

Exact value (const): "stop"

Item 3

Exact value (const): "spawn"

Required in this object (required): "compatible", "reg", "clocks", "clock-names", "interrupts", "interrupt-names", "memory-region", "memory-region-names", "qcom,rproc", "qcom,smem-states", "qcom,smem-state-names"

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/clock/qcom,ipq5332-gcc.h>

wifi0: wifi@c000000 {
    compatible = "qcom,ipq5332-wifi";
    reg = <0x0c000000 0x1000000>;
    clocks = <&gcc GCC_XO_CLK>;
    clock-names = "xo";
    interrupts-extended = <&wcss_smp2p_in 8 IRQ_TYPE_NONE>,
                          <&wcss_smp2p_in 9 IRQ_TYPE_NONE>,
                          <&wcss_smp2p_in 12 IRQ_TYPE_NONE>,
                          <&wcss_smp2p_in 11 IRQ_TYPE_NONE>,
                          <&intc GIC_SPI 559 IRQ_TYPE_EDGE_RISING>,
                          <&intc GIC_SPI 560 IRQ_TYPE_EDGE_RISING>,
                          <&intc GIC_SPI 561 IRQ_TYPE_EDGE_RISING>,
                          <&intc GIC_SPI 422 IRQ_TYPE_EDGE_RISING>,
                          <&intc GIC_SPI 423 IRQ_TYPE_EDGE_RISING>,
                          <&intc GIC_SPI 424 IRQ_TYPE_EDGE_RISING>,
                          <&intc GIC_SPI 425 IRQ_TYPE_EDGE_RISING>,
                          <&intc GIC_SPI 426 IRQ_TYPE_EDGE_RISING>,
                          <&intc GIC_SPI 427 IRQ_TYPE_EDGE_RISING>,
                          <&intc GIC_SPI 428 IRQ_TYPE_EDGE_RISING>,
                          <&intc GIC_SPI 429 IRQ_TYPE_EDGE_RISING>,
                          <&intc GIC_SPI 430 IRQ_TYPE_EDGE_RISING>,
                          <&intc GIC_SPI 431 IRQ_TYPE_EDGE_RISING>,
                          <&intc GIC_SPI 432 IRQ_TYPE_EDGE_RISING>,
                          <&intc GIC_SPI 433 IRQ_TYPE_EDGE_RISING>,
                          <&intc GIC_SPI 491 IRQ_TYPE_EDGE_RISING>,
                          <&intc GIC_SPI 495 IRQ_TYPE_EDGE_RISING>,
                          <&intc GIC_SPI 493 IRQ_TYPE_EDGE_RISING>,
                          <&intc GIC_SPI 544 IRQ_TYPE_EDGE_RISING>,
                          <&intc GIC_SPI 457 IRQ_TYPE_EDGE_RISING>,
                          <&intc GIC_SPI 466 IRQ_TYPE_EDGE_RISING>,
                          <&intc GIC_SPI 497 IRQ_TYPE_EDGE_RISING>,
                          <&intc GIC_SPI 454 IRQ_TYPE_EDGE_RISING>,
                          <&intc GIC_SPI 453 IRQ_TYPE_EDGE_RISING>,
                          <&intc GIC_SPI 452 IRQ_TYPE_EDGE_RISING>,
                          <&intc GIC_SPI 451 IRQ_TYPE_EDGE_RISING>,
                          <&intc GIC_SPI 488 IRQ_TYPE_EDGE_RISING>,
                          <&intc GIC_SPI 488 IRQ_TYPE_EDGE_RISING>,
                          <&intc GIC_SPI 484 IRQ_TYPE_EDGE_RISING>,
                          <&intc GIC_SPI 554 IRQ_TYPE_EDGE_RISING>,
                          <&intc GIC_SPI 554 IRQ_TYPE_EDGE_RISING>,
                          <&intc GIC_SPI 549 IRQ_TYPE_EDGE_RISING>,
                          <&intc GIC_SPI 507 IRQ_TYPE_EDGE_RISING>,
                          <&intc GIC_SPI 500 IRQ_TYPE_EDGE_RISING>,
                          <&intc GIC_SPI 499 IRQ_TYPE_EDGE_RISING>,
                          <&intc GIC_SPI 498 IRQ_TYPE_EDGE_RISING>,
                          <&intc GIC_SPI 450 IRQ_TYPE_EDGE_RISING>,
                          <&intc GIC_SPI 449 IRQ_TYPE_EDGE_RISING>,
                          <&intc GIC_SPI 448 IRQ_TYPE_EDGE_RISING>,
                          <&intc GIC_SPI 447 IRQ_TYPE_EDGE_RISING>,
                          <&intc GIC_SPI 543 IRQ_TYPE_EDGE_RISING>,
                          <&intc GIC_SPI 486 IRQ_TYPE_EDGE_RISING>,
                          <&intc GIC_SPI 486 IRQ_TYPE_EDGE_RISING>,
                          <&intc GIC_SPI 482 IRQ_TYPE_EDGE_RISING>,
                          <&intc GIC_SPI 419 IRQ_TYPE_EDGE_RISING>;
    interrupt-names = "fatal",
                      "ready",
                      "spawn",
                      "stop-ack",
                      "misc-pulse1",
                      "misc-latch",
                      "sw-exception",
                      "ce0",
                      "ce1",
                      "ce2",
                      "ce3",
                      "ce4",
                      "ce5",
                      "ce6",
                      "ce7",
                      "ce8",
                      "ce9",
                      "ce10",
                      "ce11",
                      "host2wbm-desc-feed",
                      "host2reo-re-injection",
                      "host2reo-command",
                      "host2rxdma-monitor-ring1",
                      "reo2ost-exception",
                      "wbm2host-rx-release",
                      "reo2host-status",
                      "reo2host-destination-ring4",
                      "reo2host-destination-ring3",
                      "reo2host-destination-ring2",
                      "reo2host-destination-ring1",
                      "rxdma2host-monitor-destination-mac3",
                      "rxdma2host-monitor-destination-mac2",
                      "rxdma2host-monitor-destination-mac1",
                      "host2rxdma-host-buf-ring-mac3",
                      "host2rxdma-host-buf-ring-mac2",
                      "host2rxdma-host-buf-ring-mac1",
                      "host2tcl-input-ring4",
                      "host2tcl-input-ring3",
                      "host2tcl-input-ring2",
                      "host2tcl-input-ring1",
                      "wbm2host-tx-completions-ring4",
                      "wbm2host-tx-completions-ring3",
                      "wbm2host-tx-completions-ring2",
                      "wbm2host-tx-completions-ring1",
                      "host2tx-monitor-ring1",
                      "txmon2host-monitor-destination-mac3",
                      "txmon2host-monitor-destination-mac2",
                      "txmon2host-monitor-destination-mac1",
                      "umac-reset";

    memory-region = <&q6_region>, <&m3_dump>, <&q6_caldb>, <&mlo_mem>;
    memory-region-names = "q6-region", "m3-dump", "q6-caldb", "mlo-global-mem";
    qcom,calibration-variant = "RDP441_1";
    qcom,rproc = <&q6v5_wcss>;
    qcom,smem-states = <&wcss_smp2p_out 8>,
                       <&wcss_smp2p_out 9>,
                       <&wcss_smp2p_out 10>;
    qcom,smem-state-names = "shutdown",
                            "stop",
                            "spawn";
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Line 2: Copyright (c) 2024-2025 Qualcomm Innovation Center, Inc. All rights reserved.

Edit this page