# STMicroelectronics SPEAr600 Serial Memory Interface (SMI) Controller

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

> Device-tree binding reference for STMicroelectronics SPEAr600 Serial Memory Interface (SMI) 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;mtd&#47;st&#44;spear600&#45;smi&#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;Richard Weinberger &#60;richard&#64;nod&#46;at&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The SPEAr600 Serial Memory Interface (SMI) is a dedicated serial flash controller supporting up to four chip selects for serial NOR flashes connected in parallel. The controller is memory-mapped and the attached flash devices appear in the CPU address space.The driver (drivers/mtd/devices/spear_smi.c) probes the attached flashes dynamically by sending commands (e.g., RDID) to each bank. Flash sub nodes describe the memory range and optional per-flash properties.</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;st&#44;spear600&#45;smi&#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-c2de09e7f7fd211b679d"></a>

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

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

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

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

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

<div id="dt-06feee67d6cb471eebad">
<p style="white-space: pre-wrap">Functional clock rate of the SMI controller in Hz.</p>
</div>

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

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

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

### <code>&#94;flash&#64;&#46;&#42;&#36;</code> — name matches this regular expression

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-835ba1b616be4fe64f3c">[<code>&#47;schemas&#47;mtd&#47;mtd&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-mtd/mtd.md#dt-root>)</span>

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

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

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

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

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

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

**<code>st&#44;smi&#45;fast&#45;mode</code> — not listed as required here**

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

<div id="dt-ec836b2cbd67348ab554">
<p style="white-space: pre-wrap">Indicates that the attached flash supports fast read mode.</p>
</div>

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

#### Properties not evaluated by applicable rules (<code>unevaluatedProperties</code>)

<code>false</code>

Not allowed by this rule.

**Required in this object (<code>required</code>):** <a id="dt-7426dc9872501b28cf6d"></a> <span id="dt-e80a67b6688bd0eadc3b"><code>&#34;reg&#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;clock&#45;rate&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;&#35;address&#45;cells&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;&#35;size&#45;cells&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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">flash@fc000000 {
    compatible = "st,spear600-smi";
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;1&gt;;
    reg = &lt;0xfc000000 0x1000&gt;;
    interrupt-parent = &lt;&amp;vic1&gt;;
    interrupts = &lt;12&gt;;
    clock-rate = &lt;50000000&gt;;  /* 50 MHz */

    flash@fc000000 {
        reg = &lt;0xfc000000 0x1000&gt;;
        st,smi-fast-mode;
    };
};
</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>
