# Synopsys Designware Mobile Storage Host Controller Common Properties

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

> Device-tree binding reference for Synopsys Designware Mobile Storage Host Controller Common Properties.

<!-- 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;mmc&#47;synopsys&#45;dw&#45;mshc&#45;common&#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>

<a id="dt-935ee547587f3e75de61"></a>

## All of these rules must match (<code>allOf</code>)

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

### Rule 1

> **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-95c8874f25311f4b1ab1">[<code>mmc&#45;controller&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-mmc/mmc-controller.md#dt-root>)</span>

**Maintainers (<code>maintainers</code>):** <a id="dt-fbc39820abb8bb999095"></a> <span id="dt-fb78ddfc22abfc6fe56d"><code>&#34;Ulf Hansson &#60;ulf&#46;hansson&#64;linaro&#46;org&#62;&#34;</code></span>

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

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

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

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

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

<a id="dt-563c20491090a57ac4c9"></a>

### <code>reset&#45;names</code> — not listed as required here

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

<a id="dt-0298421e73bc073162cc"></a>

### <code>clock&#45;frequency</code> — not listed as required here

<div id="dt-a8bced0e066c3e53744b">
<p style="white-space: pre-wrap">Should be the frequency (in Hz) of the ciu clock.  If this is specified and the ciu clock is specified then we'll try to set the ciu clock to this at probe time.</p>
</div>

<a id="dt-9009089ae7f3a277016d"></a>

### <code>fifo&#45;depth</code> — not listed as required here

<div id="dt-6001d2d747c8109a3155">
<p style="white-space: pre-wrap">The maximum size of the tx/rx fifo's. If this property is not specified, the default value of the fifo size is determined from the controller registers.</p>
</div>

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

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

### <code>card&#45;detect&#45;delay</code> — not listed as required here

<div id="dt-e86504d30dc605ef419c">
<p style="white-space: pre-wrap">Delay in milli-seconds before detecting card after card insert event. The default value is 0.</p>
</div>

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

**Default value (<code>default</code>):** <span id="dt-a99395ca8334ef8b3c5f"><code>0</code></span>

<a id="dt-9815a1bfcc19865144c7"></a>

### <code>data&#45;addr</code> — not listed as required here

<div id="dt-b3bd8b453b8c646848a5">
<p style="white-space: pre-wrap">Override fifo address with value provided by DT. The default FIFO reg offset is assumed as 0x100 (version &lt; 0x240A) and 0x200(version &gt;= 0x240A) by driver. If the controller does not follow this rule, please use this property to set fifo address in device tree.</p>
</div>

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

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

### <code>fifo&#45;watermark&#45;aligned</code> — not listed as required here

<div id="dt-6979b9a8c9148028ba34">
<p style="white-space: pre-wrap">Data done irq is expected if data length is less than watermark in PIO mode. But fifo watermark is requested to be aligned with data length in some SoC so that TX/RX irq can be generated with data done irq. Add this watermark quirk to mark this requirement and force fifo watermark setting accordingly.</p>
</div>

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

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

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

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

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

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

**Exact value (<code>const</code>):** <span id="dt-05981720df4cd7d43d3c"><code>&#34;rx&#45;tx&#34;</code></span>

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

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

<code>true</code>

Allowed by this rule.

## 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>

<p id="dt-comment-1"><strong>Line 15:</strong> <span> Everything else is described in the common file</span></p>

</details>
