# TI's AM62 wrapper module for the Synopsys USBSS-DRD controller

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

> Device-tree binding reference for TI's AM62 wrapper module for the Synopsys USBSS-DRD controller.

<!-- 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;usb&#47;ti&#44;am62&#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;Aswath Govindraju &#60;a&#45;govindraju&#64;ti&#46;com&#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

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

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

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

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

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

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

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

**Item 1**

> <div id="dt-e773fec0b410a1422253">
> <p style="white-space: pre-wrap">USB CFG register space</p>
> </div>

<a id="dt-302751dd79bfd514b9d7"></a>

**Item 2**

> <div id="dt-b729cb065b03c20c0e01">
> <p style="white-space: pre-wrap">USB PHY2 register space</p>
> </div>

<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 ISO 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 phandle to usb2_refclk</p>
</div>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-c7438d9082840936a9a7"><code>1</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-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-7ad610d8d9ec63777612"></a>

### <code>ti&#44;syscon&#45;phy&#45;pll&#45;refclk</code> — required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-d499d39b2462a7d2f9c4">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;phandle&#45;array</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-8f5710c4314b4caa4970>)</span>

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

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

<a id="dt-002fce8bca6daa0ec146"></a>

**Item 1**

> <a id="dt-b722ac949cdacd1a7b77"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-0a43514d2997f6653f45"></a>
>
> **Item 1**
>
> > <div id="dt-5604b00721d60300c13e">
> > <p style="white-space: pre-wrap">Phandle to the SYSCON entry</p>
> > </div>
>
> <a id="dt-e8fd5b241c749dfc2e75"></a>
>
> **Item 2**
>
> > <div id="dt-9e7554b1c5c2a467a88d">
> > <p style="white-space: pre-wrap">USB phy control register offset within SYSCON</p>
> > </div>

<div id="dt-32ac65cca30855bd1b47">
<p style="white-space: pre-wrap">Specifier for conveying frequency of ref clock input, for the operation of USB2PHY.</p>
</div>

<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-e92215bd3c2f5373b164"></a>

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

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

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

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-9b969d6c8a0ce221b8f5">[<code>snps&#44;dwc3&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-usb/snps-dwc3.md#dt-root>)</span>

<div id="dt-a270a32213e44a4e4d26">
<p style="white-space: pre-wrap">Required child node</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>, <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>, <span id="dt-c127a87237cb22622910"><code>&#34;ti&#44;syscon&#45;phy&#45;pll&#45;refclk&#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;
#include &lt;dt-bindings/gpio/gpio.h&gt;

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

  usbss1: usb@f910000 {
    compatible = "ti,am62-usb";
    reg = &lt;0x00 0x0f910000 0x00 0x800&gt;,
          &lt;0x00 0x0f918000 0x00 0x400&gt;;
    clocks = &lt;&amp;k3_clks 162 3&gt;;
    clock-names = "ref";
    ti,syscon-phy-pll-refclk = &lt;&amp;wkup_conf 0x4018&gt;;
    power-domains = &lt;&amp;k3_pds 179 TI_SCI_PD_EXCLUSIVE&gt;;
    #address-cells = &lt;2&gt;;
    #size-cells = &lt;2&gt;;

    usb@31100000 {
      compatible = "snps,dwc3";
      reg = &lt;0x00 0x31100000 0x00 0x50000&gt;;
      interrupts = &lt;GIC_SPI 226 IRQ_TYPE_LEVEL_HIGH&gt;, /* irq.0 */
                   &lt;GIC_SPI 226 IRQ_TYPE_LEVEL_HIGH&gt;; /* irq.0 */
      interrupt-names = "host", "peripheral";
      maximum-speed = "high-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-only OR BSD-2-Clause</span></p>

</details>
