# Qualcomm Technologies ath12k wireless devices (PCIe) with WSI interface

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Network bindings / wireless_

> Device-tree binding reference for Qualcomm Technologies ath12k wireless devices (PCIe) with WSI interface.

<!-- SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -->


<a id="dt-root"></a>

**Schema identifier (<code>&#36;id</code>):** <span id="dt-09f478f44eb202ea573e"><code>&#34;http&#58;&#47;&#47;devicetree&#46;org&#47;schemas&#47;net&#47;wireless&#47;qcom&#44;ath12k&#45;wsi&#46;yaml&#35;&#34;</code></span>

**Schema dialect (<code>&#36;schema</code>):** <span id="dt-dcb375baab6014763a68"><code>&#34;http&#58;&#47;&#47;devicetree&#46;org&#47;meta&#45;schemas&#47;core&#46;yaml&#35;&#34;</code></span>

<a id="dt-e46b5a5dd81dbd751c9f"></a>

**Maintainers (<code>maintainers</code>):** <a id="dt-fbc39820abb8bb999095"></a> <span id="dt-fb78ddfc22abfc6fe56d"><code>&#34;Jeff Johnson &#60;jjohnson&#64;kernel&#46;org&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">Qualcomm Technologies IEEE 802.11be PCIe devices with WSI interface.</p>
<p style="white-space: pre-wrap">The ath12k devices (QCN9274) feature WSI support. WSI stands for
WLAN Serial Interface. It is used for the exchange of specific
control information across radios based on the doorbell mechanism.
This WSI connection is essential to exchange control information
among these devices.</p>
<p style="white-space: pre-wrap">The WSI interface includes TX and RX ports, which are used to connect
multiple WSI-supported devices together, forming a WSI group.</p>
<p style="white-space: pre-wrap">Diagram to represent one WSI connection (one WSI group) among
three devices.</p>
<pre><code>         +-------+        +-------+        +-------+
         | pcie1 |        | pcie2 |        | pcie3 |
         |       |        |       |        |       |
  +-----&gt;|  wsi  |-------&gt;|  wsi  |-------&gt;|  wsi  |-----+
  |      | grp 0 |        | grp 0 |        | grp 0 |     |
  |      +-------+        +-------+        +-------+     |
  +------------------------------------------------------+</code></pre>
<p style="white-space: pre-wrap">Diagram to represent two WSI connections (two separate WSI groups)
among four devices.</p>
<pre><code>     +-------+    +-------+          +-------+    +-------+
     | pcie0 |    | pcie1 |          | pcie2 |    | pcie3 |
     |       |    |       |          |       |    |       |
 +--&gt;|  wsi  |---&gt;|  wsi  |--+   +--&gt;|  wsi  |---&gt;|  wsi  |--+
 |   | grp 0 |    | grp 0 |  |   |   | grp 1 |    | grp 1 |  |
 |   +-------+    +-------+  |   |   +-------+    +-------+  |
 +---------------------------+   +---------------------------+</code></pre>
</div>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Allowed values (<code>enum</code>):** <a id="dt-207128c21dbd6355c894"></a> <span id="dt-bd234eb96375d77ca611"><code>&#34;pci17cb&#44;1109&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-73652d3de802bc41d3bc"></a>

### <code>qcom&#44;calibration&#45;variant</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-9b21408fb1de5c480ab6">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;string</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-2c695d502852c3a1e1b7>)</span>

<div id="dt-857248b9ab13b4895ba1">
<p style="white-space: pre-wrap">String to uniquely identify variant of the calibration data for designs with colliding bus and device ids</p>
</div>

<a id="dt-f16811504ec54c53d893"></a>

### <code>qcom&#44;ath12k&#45;calibration&#45;variant</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-de8a7b7d4114e523f909">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;string</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-2c695d502852c3a1e1b7>)</span>

**Deprecated (<code>deprecated</code>):** <span id="dt-ad1012ef888f350191b8"><code>true</code></span>

<div id="dt-ff0a69aad22ce6be84db">
<p style="white-space: pre-wrap">String to uniquely identify variant of the calibration data for designs with colliding bus and device ids</p>
</div>

<a id="dt-b4c3f10342e9239d7a0e"></a>

### <code>qcom&#44;wsi&#45;controller</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-3088ee48654201a45956">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;flag</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-4496aa5cdf2440415eba>)</span>

<div id="dt-899baace48b22c489c24">
<p style="white-space: pre-wrap">The WSI controller device in the WSI group aids (is capable) to synchronize the Timing Synchronization Function (TSF) clock across all devices in the WSI group.</p>
</div>

<a id="dt-638717a7c9bbf1878b7e"></a>

### <code>ports</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-253551a11be145495212">[<code>&#47;schemas&#47;graph&#46;yaml&#35;&#47;properties&#47;ports</code>](</kernel/hardware/devicetree-bindings/dt-shared/graph.md#dt-638717a7c9bbf1878b7e>)</span>

<a id="dt-076265030fa616d9c245"></a>

#### Properties and child nodes (<code>properties</code>)

<a id="dt-16a3f454af238f04e210"></a>

**<code>port&#64;0</code> — not listed as required here**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-4bf3c29e51dd1dcdbf80">[<code>&#47;schemas&#47;graph&#46;yaml&#35;&#47;properties&#47;port</code>](</kernel/hardware/devicetree-bindings/dt-shared/graph.md#dt-1d845f0617b4072cef77>)</span>

<div id="dt-b1724f7738be96ef356e">
<p style="white-space: pre-wrap">This is the TX port of WSI interface. It is attached to the RX port of the next device in the WSI connection.</p>
</div>

<a id="dt-d8ac7b78cc1246edfc03"></a>

**<code>port&#64;1</code> — not listed as required here**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-9faa1456d91cf714ff9d">[<code>&#47;schemas&#47;graph&#46;yaml&#35;&#47;properties&#47;port</code>](</kernel/hardware/devicetree-bindings/dt-shared/graph.md#dt-1d845f0617b4072cef77>)</span>

<div id="dt-0fa4b11c6410ab72ea2f">
<p style="white-space: pre-wrap">This is the RX port of WSI interface. It is attached to the TX port of the previous device in the WSI connection.</p>
</div>

**Required in this object (<code>required</code>):** <a id="dt-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;compatible&#34;</code></span>, <span id="dt-ee7433925c1528c16b99"><code>&#34;reg&#34;</code></span>

<a id="dt-738c4b4f9e483441138b"></a>

## Properties not matched by properties or patternProperties in this schema (<code>additionalProperties</code>)

<code>false</code>

Not allowed by this rule.

<a id="dt-1a130cabaa8a47b058bf"></a>

## Examples (<code>examples</code>)

<pre id="dt-0bd6510295af0c95ff2d"><code class="language-dts">pcie {
    #address-cells = &lt;3&gt;;
    #size-cells = &lt;2&gt;;

    pcie@0 {
        device_type = "pci";
        reg = &lt;0x0 0x0 0x0 0x0 0x0&gt;;
        #address-cells = &lt;3&gt;;
        #size-cells = &lt;2&gt;;
        ranges;

        wifi@0 {
            compatible = "pci17cb,1109";
            reg = &lt;0x0 0x0 0x0 0x0 0x0&gt;;

            qcom,calibration-variant = "RDP433_1";

            ports {
                #address-cells = &lt;1&gt;;
                #size-cells = &lt;0&gt;;

                port@0 {
                    reg = &lt;0&gt;;

                    wifi1_wsi_tx: endpoint {
                        remote-endpoint = &lt;&amp;wifi2_wsi_rx&gt;;
                    };
                };

                port@1 {
                    reg = &lt;1&gt;;

                    wifi1_wsi_rx: endpoint {
                        remote-endpoint = &lt;&amp;wifi3_wsi_tx&gt;;
                    };
                };
            };
        };
    };

    pcie@1 {
        device_type = "pci";
        reg = &lt;0x0 0x0 0x1 0x0 0x0&gt;;
        #address-cells = &lt;3&gt;;
        #size-cells = &lt;2&gt;;
        ranges;

        wifi@0 {
            compatible = "pci17cb,1109";
            reg = &lt;0x0 0x0 0x0 0x0 0x0&gt;;

            qcom,calibration-variant = "RDP433_2";
            qcom,wsi-controller;

            ports {
                #address-cells = &lt;1&gt;;
                #size-cells = &lt;0&gt;;

                port@0 {
                    reg = &lt;0&gt;;

                    wifi2_wsi_tx: endpoint {
                        remote-endpoint = &lt;&amp;wifi3_wsi_rx&gt;;
                    };
                };

                port@1 {
                    reg = &lt;1&gt;;

                    wifi2_wsi_rx: endpoint {
                        remote-endpoint = &lt;&amp;wifi1_wsi_tx&gt;;
                    };
                };
            };
        };
    };

    pcie@2 {
        device_type = "pci";
        reg = &lt;0x0 0x0 0x2 0x0 0x0&gt;;
        #address-cells = &lt;3&gt;;
        #size-cells = &lt;2&gt;;
        ranges;

        wifi@0 {
            compatible = "pci17cb,1109";
            reg = &lt;0x0 0x0 0x0 0x0 0x0&gt;;

            qcom,calibration-variant = "RDP433_3";

            ports {
                #address-cells = &lt;1&gt;;
                #size-cells = &lt;0&gt;;

                port@0 {
                    reg = &lt;0&gt;;

                    wifi3_wsi_tx: endpoint {
                        remote-endpoint = &lt;&amp;wifi1_wsi_rx&gt;;
                    };
                };

                port@1 {
                    reg = &lt;1&gt;;

                    wifi3_wsi_rx: endpoint {
                        remote-endpoint = &lt;&amp;wifi2_wsi_tx&gt;;
                    };
                };
            };
        };
    };
};
</code></pre>

## Source notes

<details>
<summary>Annotations retained from the schema source</summary>

<p id="dt-comment-0"><strong>Line 1:</strong> <span> SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)</span></p>

<p id="dt-comment-1"><strong>Line 2:</strong> <span> Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.</span></p>

<p id="dt-comment-2"><strong>Line 50:</strong> <span> QCN9274</span></p>

</details>
