Qualcomm Technologies ath11k wireless devices

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

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

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

These are dt entries for Qualcomm Technologies, Inc. IEEE 802.11ax devices, for example like AHB based IPQ8074.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "qcom,ipq8074-wifi", "qcom,ipq6018-wifi", "qcom,wcn6750-wifi", "qcom,ipq5018-wifi"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Minimum number of items (minItems): 32

Maximum number of items (maxItems): 52

interrupt-names — not listed as required here #

Maximum number of items (maxItems): 52

qcom,rproc — required here #

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

DT entry of q6v5-wcss remoteproc driver. Phandle to a node that can contain the following properties * compatible * reg * reg-names

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 in the board-2.bin for designs with colliding bus and device specific ids

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

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

Deprecated (deprecated): true

string to uniquely identify variant of the calibration data in the board-2.bin for designs with colliding bus and device specific ids

memory-region — not listed as required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 2

phandle to a node describing reserved memory (System RAM memory) used by ath11k firmware (see bindings/reserved-memory/reserved-memory.txt)

iommus — not listed as required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 2

ieee80211-freq-limit — not listed as required here #

true — No constraints added by this property rule.

wifi-firmware — not listed as required here #

Value type (type): "object"

WCN6750 wifi node can contain one optional firmware subnode. Firmware subnode is needed when the platform does not have Trustzone.

Required in this object (required): "iommus"

qcom,smem-states — not listed as required here #

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

State bits used by the AP to signal the WLAN Q6.

Array item rules (items) #

Item 1

Signal bits used to enable/disable low power mode on WCN6750 in the case of WoW (Wake on Wireless).

qcom,smem-state-names — not listed as required here #

The names of the state bits used for SMP2P output.

Array item rules (items) #

Item 1

Exact value (const): "wlan-smp2p-out"

Required in this object (required): "compatible", "reg", "interrupts", "qcom,rproc"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): ieee80211.yaml#

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "qcom,ipq8074-wifi", "qcom,ipq6018-wifi"

When the condition matches (then) #

Properties and child nodes (properties)

interrupts — not listed as required here

Array item rules (items)

Item 1

misc-pulse1 interrupt events

Item 2

misc-latch interrupt events

Item 3

sw exception interrupt events

Item 4

watchdog interrupt events

Item 5

interrupt event for ring CE0

Item 6

interrupt event for ring CE1

Item 7

interrupt event for ring CE2

Item 8

interrupt event for ring CE3

Item 9

interrupt event for ring CE4

Item 10

interrupt event for ring CE5

Item 11

interrupt event for ring CE6

Item 12

interrupt event for ring CE7

Item 13

interrupt event for ring CE8

Item 14

interrupt event for ring CE9

Item 15

interrupt event for ring CE10

Item 16

interrupt event for ring CE11

Item 17

interrupt event for ring host2wbm-desc-feed

Item 18

interrupt event for ring host2reo-re-injection

Item 19

interrupt event for ring host2reo-command

Item 20

interrupt event for ring host2rxdma-monitor-ring3

Item 21

interrupt event for ring host2rxdma-monitor-ring2

Item 22

interrupt event for ring host2rxdma-monitor-ring1

Item 23

interrupt event for ring reo2ost-exception

Item 24

interrupt event for ring wbm2host-rx-release

Item 25

interrupt event for ring reo2host-status

Item 26

interrupt event for ring reo2host-destination-ring4

Item 27

interrupt event for ring reo2host-destination-ring3

Item 28

interrupt event for ring reo2host-destination-ring2

Item 29

interrupt event for ring reo2host-destination-ring1

Item 30

interrupt event for ring rxdma2host-monitor-destination-mac3

Item 31

interrupt event for ring rxdma2host-monitor-destination-mac2

Item 32

interrupt event for ring rxdma2host-monitor-destination-mac1

Item 33

interrupt event for ring ppdu-end-interrupts-mac3

Item 34

interrupt event for ring ppdu-end-interrupts-mac2

Item 35

interrupt event for ring ppdu-end-interrupts-mac1

Item 36

interrupt event for ring rxdma2host-monitor-status-ring-mac3

Item 37

interrupt event for ring rxdma2host-monitor-status-ring-mac2

Item 38

interrupt event for ring rxdma2host-monitor-status-ring-mac1

Item 39

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

Item 40

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

Item 41

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

Item 42

interrupt event for ring rxdma2host-destination-ring-mac3

Item 43

interrupt event for ring rxdma2host-destination-ring-mac2

Item 44

interrupt event for ring rxdma2host-destination-ring-mac1

Item 45

interrupt event for ring host2tcl-input-ring4

Item 46

interrupt event for ring host2tcl-input-ring3

Item 47

interrupt event for ring host2tcl-input-ring2

Item 48

interrupt event for ring host2tcl-input-ring1

Item 49

interrupt event for ring wbm2host-tx-completions-ring3

Item 50

interrupt event for ring wbm2host-tx-completions-ring2

Item 51

interrupt event for ring wbm2host-tx-completions-ring1

Item 52

interrupt event for ring tcl2host-status-ring

interrupt-names — required here

Array item rules (items)

Item 1

Exact value (const): "misc-pulse1"

Item 2

Exact value (const): "misc-latch"

Item 3

Exact value (const): "sw-exception"

Item 4

Exact value (const): "watchdog"

Item 5

Exact value (const): "ce0"

Item 6

Exact value (const): "ce1"

Item 7

Exact value (const): "ce2"

Item 8

Exact value (const): "ce3"

Item 9

Exact value (const): "ce4"

Item 10

Exact value (const): "ce5"

Item 11

Exact value (const): "ce6"

Item 12

Exact value (const): "ce7"

Item 13

Exact value (const): "ce8"

Item 14

Exact value (const): "ce9"

Item 15

Exact value (const): "ce10"

Item 16

Exact value (const): "ce11"

Item 17

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

Item 18

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

Item 19

Exact value (const): "host2reo-command"

Item 20

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

Item 21

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

Item 22

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

Item 23

Exact value (const): "reo2ost-exception"

Item 24

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

Item 25

Exact value (const): "reo2host-status"

Item 26

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

Item 27

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

Item 28

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

Item 29

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

Item 30

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

Item 31

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

Item 32

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

Item 33

Exact value (const): "ppdu-end-interrupts-mac3"

Item 34

Exact value (const): "ppdu-end-interrupts-mac2"

Item 35

Exact value (const): "ppdu-end-interrupts-mac1"

Item 36

Exact value (const): "rxdma2host-monitor-status-ring-mac3"

Item 37

Exact value (const): "rxdma2host-monitor-status-ring-mac2"

Item 38

Exact value (const): "rxdma2host-monitor-status-ring-mac1"

Item 39

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

Item 40

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

Item 41

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

Item 42

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

Item 43

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

Item 44

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

Item 45

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

Item 46

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

Item 47

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

Item 48

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

Item 49

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

Item 50

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

Item 51

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

Item 52

Exact value (const): "tcl2host-status-ring"

Required in this object (required): "interrupt-names"

Rule 3 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

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

When the condition matches (then) #

Properties and child nodes (properties)

interrupts — not listed as required here

Array item rules (items)

Item 1

interrupt event for ring CE1

Item 2

interrupt event for ring CE2

Item 3

interrupt event for ring CE3

Item 4

interrupt event for ring CE4

Item 5

interrupt event for ring CE5

Item 6

interrupt event for ring CE6

Item 7

interrupt event for ring CE7

Item 8

interrupt event for ring CE8

Item 9

interrupt event for ring CE9

Item 10

interrupt event for ring CE10

Item 11

interrupt event for ring DP1

Item 12

interrupt event for ring DP2

Item 13

interrupt event for ring DP3

Item 14

interrupt event for ring DP4

Item 15

interrupt event for ring DP5

Item 16

interrupt event for ring DP6

Item 17

interrupt event for ring DP7

Item 18

interrupt event for ring DP8

Item 19

interrupt event for ring DP9

Item 20

interrupt event for ring DP10

Item 21

interrupt event for ring DP11

Item 22

interrupt event for ring DP12

Item 23

interrupt event for ring DP13

Item 24

interrupt event for ring DP14

Item 25

interrupt event for ring DP15

Item 26

interrupt event for ring DP16

Item 27

interrupt event for ring DP17

Item 28

interrupt event for ring DP18

Item 29

interrupt event for ring DP19

Item 30

interrupt event for ring DP20

Item 31

interrupt event for ring DP21

Item 32

interrupt event for ring DP22

Examples (examples) #

wifi0: wifi@c000000 {
    compatible = "qcom,ipq8074-wifi";
    reg = <0xc000000 0x2000000>;
    interrupts = <0 320 1>,
                 <0 319 1>,
                 <0 318 1>,
                 <0 317 1>,
                 <0 316 1>,
                 <0 315 1>,
                 <0 314 1>,
                 <0 311 1>,
                 <0 310 1>,
                 <0 411 1>,
                 <0 410 1>,
                 <0 40 1>,
                 <0 39 1>,
                 <0 302 1>,
                 <0 301 1>,
                 <0 37 1>,
                 <0 36 1>,
                 <0 296 1>,
                 <0 295 1>,
                 <0 294 1>,
                 <0 293 1>,
                 <0 292 1>,
                 <0 291 1>,
                 <0 290 1>,
                 <0 289 1>,
                 <0 288 1>,
                 <0 239 1>,
                 <0 236 1>,
                 <0 235 1>,
                 <0 234 1>,
                 <0 233 1>,
                 <0 232 1>,
                 <0 231 1>,
                 <0 230 1>,
                 <0 229 1>,
                 <0 228 1>,
                 <0 224 1>,
                 <0 223 1>,
                 <0 203 1>,
                 <0 183 1>,
                 <0 180 1>,
                 <0 179 1>,
                 <0 178 1>,
                 <0 177 1>,
                 <0 176 1>,
                 <0 163 1>,
                 <0 162 1>,
                 <0 160 1>,
                 <0 159 1>,
                 <0 158 1>,
                 <0 157 1>,
                 <0 156 1>;
    interrupt-names = "misc-pulse1",
                      "misc-latch",
                      "sw-exception",
                      "watchdog",
                      "ce0",
                      "ce1",
                      "ce2",
                      "ce3",
                      "ce4",
                      "ce5",
                      "ce6",
                      "ce7",
                      "ce8",
                      "ce9",
                      "ce10",
                      "ce11",
                      "host2wbm-desc-feed",
                      "host2reo-re-injection",
                      "host2reo-command",
                      "host2rxdma-monitor-ring3",
                      "host2rxdma-monitor-ring2",
                      "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",
                      "ppdu-end-interrupts-mac3",
                      "ppdu-end-interrupts-mac2",
                      "ppdu-end-interrupts-mac1",
                      "rxdma2host-monitor-status-ring-mac3",
                      "rxdma2host-monitor-status-ring-mac2",
                      "rxdma2host-monitor-status-ring-mac1",
                      "host2rxdma-host-buf-ring-mac3",
                      "host2rxdma-host-buf-ring-mac2",
                      "host2rxdma-host-buf-ring-mac1",
                      "rxdma2host-destination-ring-mac3",
                      "rxdma2host-destination-ring-mac2",
                      "rxdma2host-destination-ring-mac1",
                      "host2tcl-input-ring4",
                      "host2tcl-input-ring3",
                      "host2tcl-input-ring2",
                      "host2tcl-input-ring1",
                      "wbm2host-tx-completions-ring3",
                      "wbm2host-tx-completions-ring2",
                      "wbm2host-tx-completions-ring1",
                      "tcl2host-status-ring";
    qcom,rproc = <&q6v5_wcss>;
};

reserved-memory {
    #address-cells = <2>;
    #size-cells = <2>;

    qcn9074_0: wifi@51100000 {
        no-map;
        reg = <0x0 0x51100000 0x0 0x03500000>;
    };
};

pci {
    pcie0 {
        #size-cells = <2>;
        #address-cells = <3>;

        wifi_0: wifi@0 {
            reg = <0 0 0 0 0>;
            memory-region = <&qcn9074_0>;
        };
    };
};
#include <dt-bindings/interrupt-controller/arm-gic.h>

reserved-memory {
    #address-cells = <2>;
    #size-cells = <2>;

    wlan_ce_mem: memory@4cd000 {
        no-map;
        reg = <0x0 0x004cd000 0x0 0x1000>;
    };

    wlan_fw_mem: memory@80c00000 {
        no-map;
        reg = <0x0 0x80c00000 0x0 0xc00000>;
    };
};

wifi: wifi@17a10040 {
    compatible = "qcom,wcn6750-wifi";
    reg = <0x17a10040 0x0>;
    iommus = <&apps_smmu 0x1c00 0x1>;
    interrupts = <GIC_SPI 768 IRQ_TYPE_EDGE_RISING>,
                 <GIC_SPI 769 IRQ_TYPE_EDGE_RISING>,
                 <GIC_SPI 770 IRQ_TYPE_EDGE_RISING>,
                 <GIC_SPI 771 IRQ_TYPE_EDGE_RISING>,
                 <GIC_SPI 772 IRQ_TYPE_EDGE_RISING>,
                 <GIC_SPI 773 IRQ_TYPE_EDGE_RISING>,
                 <GIC_SPI 774 IRQ_TYPE_EDGE_RISING>,
                 <GIC_SPI 775 IRQ_TYPE_EDGE_RISING>,
                 <GIC_SPI 776 IRQ_TYPE_EDGE_RISING>,
                 <GIC_SPI 777 IRQ_TYPE_EDGE_RISING>,
                 <GIC_SPI 778 IRQ_TYPE_EDGE_RISING>,
                 <GIC_SPI 779 IRQ_TYPE_EDGE_RISING>,
                 <GIC_SPI 780 IRQ_TYPE_EDGE_RISING>,
                 <GIC_SPI 781 IRQ_TYPE_EDGE_RISING>,
                 <GIC_SPI 782 IRQ_TYPE_EDGE_RISING>,
                 <GIC_SPI 783 IRQ_TYPE_EDGE_RISING>,
                 <GIC_SPI 784 IRQ_TYPE_EDGE_RISING>,
                 <GIC_SPI 785 IRQ_TYPE_EDGE_RISING>,
                 <GIC_SPI 786 IRQ_TYPE_EDGE_RISING>,
                 <GIC_SPI 787 IRQ_TYPE_EDGE_RISING>,
                 <GIC_SPI 788 IRQ_TYPE_EDGE_RISING>,
                 <GIC_SPI 789 IRQ_TYPE_EDGE_RISING>,
                 <GIC_SPI 790 IRQ_TYPE_EDGE_RISING>,
                 <GIC_SPI 791 IRQ_TYPE_EDGE_RISING>,
                 <GIC_SPI 792 IRQ_TYPE_EDGE_RISING>,
                 <GIC_SPI 793 IRQ_TYPE_EDGE_RISING>,
                 <GIC_SPI 794 IRQ_TYPE_EDGE_RISING>,
                 <GIC_SPI 795 IRQ_TYPE_EDGE_RISING>,
                 <GIC_SPI 796 IRQ_TYPE_EDGE_RISING>,
                 <GIC_SPI 797 IRQ_TYPE_EDGE_RISING>,
                 <GIC_SPI 798 IRQ_TYPE_EDGE_RISING>,
                 <GIC_SPI 799 IRQ_TYPE_EDGE_RISING>;
    qcom,rproc = <&remoteproc_wpss>;
    memory-region = <&wlan_fw_mem>, <&wlan_ce_mem>;
    qcom,smem-states = <&wlan_smp2p_out 0>;
    qcom,smem-state-names = "wlan-smp2p-out";
    wifi-firmware {
        iommus = <&apps_smmu 0x1c02 0x1>;
    };
};

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) 2018-2019 The Linux Foundation. All rights reserved.

Edit this page