# GENI Serial Engine QUP Wrapper Controller

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Soc bindings / qcom_

> Device-tree binding reference for GENI Serial Engine QUP Wrapper Controller.

<!-- SPDX-License-Identifier: (GPL-2.0 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;soc&#47;qcom&#47;qcom&#44;sa8255p&#45;geni&#45;se&#45;qup&#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;Praveen Talari &#60;quic&#95;ptalari&#64;quicinc&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">Generic Interface (GENI) based Qualcomm Universal Peripheral (QUP) wrapper is a programmable module for supporting a wide range of serial interfaces like UART, SPI, I2C, I3C, etc. A single QUP module can provide up to 8 Serial Interfaces, using its internal Serial Engines. The GENI Serial Engine QUP Wrapper controller is modeled as a node with zero or more child nodes each representing a serial engine.</p>
</div>

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

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

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

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

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;qcom&#44;sa8255p&#45;geni&#45;se&#45;qup&#34;</code></span>

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

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

<div id="dt-571d87f60678ead6c5ff">
<p style="white-space: pre-wrap">QUP wrapper common register address and length.</p>
</div>

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

<a id="dt-2efe70314a961a652abe"></a>

### <code>&#35;address&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-e6e6af09ab617572731b"><code>2</code></span>

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

### <code>&#35;size&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-793e842f88ef513a8f93"><code>2</code></span>

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

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

<code>true</code> — No constraints added by this property rule.

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

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

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

<a id="dt-4603ee192633e8dffc49"></a>

### <code>dma&#45;coherent</code> — not listed as required here

<code>true</code> — No constraints added by this property rule.

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

## Properties matching a name pattern (<code>patternProperties</code>)

<a id="dt-8102fc64e8781b26caa4"></a>

### <code>spi&#64;&#91;0&#45;9a&#45;f&#93;&#43;&#36;</code> — name matches this regular expression

**Value type (<code>type</code>):** <span id="dt-fa76e0a48bb1d381b0d3"><code>&#34;object&#34;</code></span>

<div id="dt-bf0b95063735481e4373">
<p style="white-space: pre-wrap">GENI serial engine based SPI controller. SPI in master mode supports up to 50MHz, up to four chip selects, programmable data path from 4 bits to 32 bits and numerous protocol variants.</p>
</div>

<a id="dt-7e1f56230bb8eb892222"></a>

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

<code>true</code>

Allowed by this rule.

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

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

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

**<code>compatible</code> — not listed as required here**

**Exact value (<code>const</code>):** <span id="dt-b7ced3a0f3a902afb2d2"><code>&#34;qcom&#44;sa8255p&#45;geni&#45;spi&#34;</code></span>

<a id="dt-0f55ede3ec5fc078089a"></a>

### <code>i2c&#64;&#91;0&#45;9a&#45;f&#93;&#43;&#36;</code> — name matches this regular expression

**Value type (<code>type</code>):** <span id="dt-cd3b6c8a5f73e7287ba3"><code>&#34;object&#34;</code></span>

<div id="dt-b6d80f5684eb1680d38b">
<p style="white-space: pre-wrap">GENI serial engine based I2C controller.</p>
</div>

<a id="dt-9291e2d07999a179b7f5"></a>

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

<code>true</code>

Allowed by this rule.

<a id="dt-57883ecd8e9541fe11ff"></a>

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

<a id="dt-51277b91ee2ff7ae2eb0"></a>

**<code>compatible</code> — not listed as required here**

**Exact value (<code>const</code>):** <span id="dt-97d2798f7763fa36b38b"><code>&#34;qcom&#44;sa8255p&#45;geni&#45;i2c&#34;</code></span>

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

### <code>serial&#64;&#91;0&#45;9a&#45;f&#93;&#43;&#36;</code> — name matches this regular expression

**Value type (<code>type</code>):** <span id="dt-4aca7b42ed5ef8cf7cf1"><code>&#34;object&#34;</code></span>

<div id="dt-5b9a7e3ab618af529fa0">
<p style="white-space: pre-wrap">GENI Serial Engine based UART Controller.</p>
</div>

<a id="dt-20311895884e3b5d6313"></a>

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

<code>true</code>

Allowed by this rule.

<a id="dt-3cc4f7b211263fb10548"></a>

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

<a id="dt-2c8a90f87746c32db268"></a>

**<code>compatible</code> — not listed as required here**

**Allowed values (<code>enum</code>):** <a id="dt-342fce767c0d6dde231b"></a> <span id="dt-7e7f078fbdb5b06da66f"><code>&#34;qcom&#44;sa8255p&#45;geni&#45;uart&#34;</code></span>, <span id="dt-e3ae9d64f782463291b1"><code>&#34;qcom&#44;sa8255p&#45;geni&#45;debug&#45;uart&#34;</code></span>

**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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;&#35;address&#45;cells&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;&#35;size&#45;cells&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;ranges&#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">#include &lt;dt-bindings/interrupt-controller/arm-gic.h&gt;

soc {
    #address-cells = &lt;2&gt;;
    #size-cells = &lt;2&gt;;

    geniqup@9c0000 {
        compatible = "qcom,sa8255p-geni-se-qup";
        reg = &lt;0 0x9c0000 0 0x6000&gt;;
        #address-cells = &lt;2&gt;;
        #size-cells = &lt;2&gt;;
        ranges;

        serial@990000 {
            compatible = "qcom,sa8255p-geni-uart";
            reg = &lt;0 0x990000 0 0x4000&gt;;
            interrupts = &lt;GIC_SPI 531 IRQ_TYPE_LEVEL_HIGH&gt;;
            power-domains = &lt;&amp;scmi0_pd 0&gt;, &lt;&amp;scmi0_dvfs 0&gt;;
            power-domain-names = "power", "perf";
        };
    };
};
</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 OR BSD-2-Clause)</span></p>

</details>
