# TI wrapper module for the Cadence USBSS-DRD controller

_Peios Kernel / Hardware and drivers / Device-tree binding reference / USB bindings_

> Device-tree binding reference for TI wrapper module for the Cadence USBSS-DRD controller.

<!-- SPDX-License-Identifier: GPL-2.0 -->


<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;usb&#47;ti&#44;j721e&#45;usb&#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;Roger Quadros &#60;rogerq&#64;kernel&#46;org&#62;&#34;</code></span>

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

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

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

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

<a id="dt-39566f01414e34c67b85"></a>

#### Exactly one of these rules must match (<code>oneOf</code>)

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

**Rule 1**

> **Exact value (<code>const</code>):** <span id="dt-d1fe1b456a54b64074d3"><code>&#34;ti&#44;j721e&#45;usb&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> <a id="dt-4c3e118873fbaedb5de2"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-b02d8860067795c00ae4"></a>
>
> **Item 1**
>
> > **Exact value (<code>const</code>):** <span id="dt-82dceb5784ff71f5fdf5"><code>&#34;ti&#44;am64&#45;usb&#34;</code></span>
>
> <a id="dt-bdc26de0ccb1d52bb6a4"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-cc26fa5d96bc7cf0a818"><code>&#34;ti&#44;j721e&#45;usb&#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-1e6b10cf5f67a6a268f5"></a>

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

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

<a id="dt-030bda573e8c53177f1a"></a>

### <code>power&#45;domains</code> — required here

<div id="dt-33c740e5969dba94b4e6">
<p style="white-space: pre-wrap">PM domain provider node and an args specifier containing the USB device id value. See, Documentation/devicetree/bindings/soc/ti/sci-pm-domain.yaml</p>
</div>

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

<a id="dt-4e9a371963ac013ad39d"></a>

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

<div id="dt-853257adf43f6880d753">
<p style="white-space: pre-wrap">Clock phandles to usb2_refclk and lpm_clk</p>
</div>

**Minimum number of items (<code>minItems</code>):** <span id="dt-1f26a8d0aa315cbb9547"><code>2</code></span>

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

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — required here

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

#### Array item rules (<code>items</code>)

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

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-3403d68873725c15739a"><code>&#34;ref&#34;</code></span>

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

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-0298e5f353a64a09a8a6"><code>&#34;lpm&#34;</code></span>

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

### <code>ti&#44;usb2&#45;only</code> — not listed as required here

<div id="dt-3334c933114a7651715f">
<p style="white-space: pre-wrap">If present, it restricts the controller to USB2.0 mode of operation. Must be present if USB3 PHY is not available for USB.</p>
</div>

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

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

### <code>ti&#44;vbus&#45;divider</code> — not listed as required here

<div id="dt-7676ff4b9ed6c00e38b8">
<p style="white-space: pre-wrap">Should be present if USB VBUS line is connected to the VBUS pin of the SoC via a 1/3 voltage divider.</p>
</div>

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

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

### <code>&#35;address&#45;cells</code> — not listed as 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> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-793e842f88ef513a8f93"><code>2</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-5a4040e24c8520078d9a"></a>

### <code>&#94;usb&#64;</code> — name matches this regular expression

**Value type (<code>type</code>):** <span id="dt-e39834141c5415b855d2"><code>&#34;object&#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;power&#45;domains&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;clocks&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;clock&#45;names&#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/soc/ti,sci_pm_domain.h&gt;
#include &lt;dt-bindings/interrupt-controller/arm-gic.h&gt;

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

    cdns_usb@4104000 {
        compatible = "ti,j721e-usb";
        reg = &lt;0x00 0x4104000 0x00 0x100&gt;;
        power-domains = &lt;&amp;k3_pds 288 TI_SCI_PD_EXCLUSIVE&gt;;
        clocks = &lt;&amp;k3_clks 288 15&gt;, &lt;&amp;k3_clks 288 3&gt;;
        clock-names = "ref", "lpm";
        assigned-clocks = &lt;&amp;k3_clks 288 15&gt;;	/* USB2_REFCLK */
        assigned-clock-parents = &lt;&amp;k3_clks 288 16&gt;; /* HFOSC0 */
        #address-cells = &lt;2&gt;;
        #size-cells = &lt;2&gt;;

        usb@6000000 {
              compatible = "cdns,usb3";
              reg = &lt;0x00 0x6000000 0x00 0x10000&gt;,
                    &lt;0x00 0x6010000 0x00 0x10000&gt;,
                    &lt;0x00 0x6020000 0x00 0x10000&gt;;
              reg-names = "otg", "xhci", "dev";
              interrupts = &lt;GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH&gt;,	/* irq.0 */
                           &lt;GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH&gt;,	/* irq.6 */
                           &lt;GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH&gt;;	/* otgirq.0 */
              interrupt-names = "host",
                                "peripheral",
                                "otg";
              maximum-speed = "super-speed";
              dr_mode = "otg";
        };
    };
};
</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</span></p>

</details>
