# i.MX Wireless External Interface Module (WEIM)

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Memory controllers bindings / fsl_

> Device-tree binding reference for i.MX Wireless External Interface Module (WEIM).

<!-- 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;memory&#45;controllers&#47;fsl&#47;fsl&#44;imx&#45;weim&#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;Shawn Guo &#60;shawnguo&#64;kernel&#46;org&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Sascha Hauer &#60;s&#46;hauer&#64;pengutronix&#46;de&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The term "wireless" does not imply that the WEIM is literally an interface without wires. It simply means that this module was originally designed for wireless and mobile applications that use low-power technology. The actual devices are instantiated from the child nodes of a WEIM node.</p>
</div>

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

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

<a id="dt-5155525ecd924660ec0a"></a>

### <code>&#36;nodename</code> — not listed as required here

**String pattern (<code>pattern</code>):** <span id="dt-0b2111a24a010949ece7"><code>&#34;&#94;memory&#45;controller&#64;&#91;0&#45;9a&#45;f&#93;&#43;&#36;&#34;</code></span>

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

> **Allowed values (<code>enum</code>):** <a id="dt-617e1a2040e2496013d4"></a> <span id="dt-c31075c43df89b2793e3"><code>&#34;fsl&#44;imx1&#45;weim&#34;</code></span>, <span id="dt-44b402f75e7bf3caf313"><code>&#34;fsl&#44;imx27&#45;weim&#34;</code></span>, <span id="dt-f03e1478792ca587ff5c"><code>&#34;fsl&#44;imx50&#45;weim&#34;</code></span>, <span id="dt-34cab0afbb7f2b55efc5"><code>&#34;fsl&#44;imx51&#45;weim&#34;</code></span>, <span id="dt-d29c3f554eb9a606c63a"><code>&#34;fsl&#44;imx6q&#45;weim&#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**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-aa1230b5a2b80f9fb387"></a> <span id="dt-49b534c9c8948cfc8034"><code>&#34;fsl&#44;imx31&#45;weim&#34;</code></span>, <span id="dt-93451931f534c9a92fb4"><code>&#34;fsl&#44;imx35&#45;weim&#34;</code></span>
>
> <a id="dt-bdc26de0ccb1d52bb6a4"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-cc26fa5d96bc7cf0a818"><code>&#34;fsl&#44;imx27&#45;weim&#34;</code></span>

<a id="dt-39cb5b72c94e12bd53ea"></a>

**Rule 3**

> <a id="dt-e626d61e9d5d76cc48f9"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-6b46935eab08de6d1f0a"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-9d5b9f6fd2f9759f6e43"></a> <span id="dt-73fb2f4b762df7b35870"><code>&#34;fsl&#44;imx6sx&#45;weim&#34;</code></span>, <span id="dt-4f2dd487e4b2e6e79827"><code>&#34;fsl&#44;imx6ul&#45;weim&#34;</code></span>
>
> <a id="dt-5ea82ea034747ba6da29"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-e9c55cb91230c7ee5a28"><code>&#34;fsl&#44;imx6q&#45;weim&#34;</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>1</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-4e9a371963ac013ad39d"></a>

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

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

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

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

<a id="dt-5315854e7aab056c8c42"></a>

### <code>fsl&#44;weim&#45;cs&#45;gpr</code> — not listed as required here

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

<div id="dt-4a123790dd624e47300c">
<p style="white-space: pre-wrap">Phandle to the system General Purpose Register controller that contains
WEIM CS GPR register, e.g. IOMUXC_GPR1 on i.MX6Q. IOMUXC_GPR1[11:0]
should be set up as one of the following 4 possible values depending on
the CS space configuration.</p>
<pre><code>IOMUXC_GPR1[11:0]    CS0    CS1    CS2    CS3
---------------------------------------------
        05          128M     0M     0M     0M
        033          64M    64M     0M     0M
        0113         64M    32M    32M     0M
        01111        32M    32M    32M    32M</code></pre>
<p style="white-space: pre-wrap">In case that the property is absent, the reset value or what bootloader
sets up in IOMUXC_GPR1[11:0] will be used.</p>
</div>

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

### <code>fsl&#44;burst&#45;clk&#45;enable</code> — not listed as required here

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

<div id="dt-f3248a26ede26e3f9356">
<p style="white-space: pre-wrap">The presence of this property indicates that the weim bus should operate in Burst Clock Mode.</p>
</div>

<a id="dt-5728d7de27a02a40c8d2"></a>

### <code>fsl&#44;continuous&#45;burst&#45;clk</code> — not listed as required here

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

<div id="dt-caf10b231c4faf994e49">
<p style="white-space: pre-wrap">Make Burst Clock to output continuous clock. Without this option Burst Clock will output clock only when necessary.</p>
</div>

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

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

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

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

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

<div id="dt-f3970c7e874a92299c1a">
<p style="white-space: pre-wrap">Devices attached to chip selects are represented as subnodes.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-ce59478d78ce8a631b9b">[<code>fsl&#44;imx&#45;weim&#45;peripherals&#46;yaml</code>](</kernel/hardware/devicetree-bindings/dt-memory-controllers/fsl/fsl-imx-weim-peripherals.md#dt-root>)</span>

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

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

<code>true</code>

Allowed by this rule.

**Required in this object (<code>required</code>):** <a id="dt-041554cc069a277150b8"></a> <span id="dt-3f6be64e61af09afdf0d"><code>&#34;fsl&#44;weim&#45;cs&#45;timing&#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;clocks&#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>, <span id="dt-c127a87237cb22622910"><code>&#34;ranges&#34;</code></span>

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

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

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

### Rule 1

> <a id="dt-3bbb54dfa1f05dfb4d25"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-97f47e9dc804c839f86d"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-bbadeeb73dfaefabae79"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-bf9d7a6c36fc19e6cd0a"></a>
> >
> > **This rule must not match (<code>not</code>)**
> >
> > > <a id="dt-451f8454a4f96d20fdd9"></a>
> > >
> > > **Rule for matching array elements (<code>contains</code>)**
> > >
> > > > **Allowed values (<code>enum</code>):** <a id="dt-b0443397560b968195b8"></a> <span id="dt-eee805568886c3c0f483"><code>&#34;fsl&#44;imx50&#45;weim&#34;</code></span>, <span id="dt-db8973c13f1a89db260a"><code>&#34;fsl&#44;imx6q&#45;weim&#34;</code></span>
>
> <a id="dt-1ba25143802b75b74702"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-b212c2ef78c22fab2e20"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-9b5b1c088688c4b91e6e"></a>
> >
> > **<code>fsl&#44;weim&#45;cs&#45;gpr</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.
> >
> > <a id="dt-80309963dd4ab712ae6e"></a>
> >
> > **<code>fsl&#44;burst&#45;clk&#45;enable</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.

<a id="dt-22ca5ec5b89308748ecc"></a>

### Rule 2

> <a id="dt-ffbf5afb799d5f07b3e1"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-1f5272cb1d084137975e"></a>
> >
> > **This rule must not match (<code>not</code>)**
> >
> > > **Required in this object (<code>required</code>):** <a id="dt-6d7596bdf54362b56296"></a> <span id="dt-04863704c832ad7c52e8"><code>&#34;fsl&#44;burst&#45;clk&#45;enable&#34;</code></span>
>
> <a id="dt-0971d01a730acc20e97a"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-26d1c84fcc55a7d91dea"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-a0bab322b9a1abb03383"></a>
> >
> > **<code>fsl&#44;continuous&#45;burst&#45;clk</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.

<a id="dt-317510ea5c8bf789ca60"></a>

### Rule 3

> <a id="dt-15ef78abba37234c7e3a"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-81c13bb46c56768b42c8"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-676f6e45d3a322ea7096"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-c8f14712d9ed2dde9441"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-8cd5c6ac7cc13c2d9acf"><code>&#34;fsl&#44;imx1&#45;weim&#34;</code></span>
>
> <a id="dt-86c371e5831ff1f84ce5"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-c8fcd31065f7e965d191"></a>
> >
> > **Properties matching a name pattern (<code>patternProperties</code>)**
> >
> > <a id="dt-46f8879387a17e68c122"></a>
> >
> > **<code>&#94;&#46;&#42;&#64;&#91;0&#45;7&#93;&#44;&#91;0&#45;9a&#45;f&#93;&#43;&#36;</code> — name matches this regular expression**
> >
> > <a id="dt-e162deff036d5ac5ab4e"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-ad0080e6b84568f9eb23"></a>
> >
> > **<code>fsl&#44;weim&#45;cs&#45;timing</code> — not listed as required here**
> >
> > <a id="dt-d699810caf275647e1cb"></a>
> >
> > **Array item rules (<code>items</code>)**
> >
> > <a id="dt-589c210eb08a8be26734"></a>
> >
> > **Item 1**
> >
> > > <div id="dt-627f5e7ac224b6a45c1d">
> > > <p style="white-space: pre-wrap">CSxU</p>
> > > </div>
> >
> > <a id="dt-625b525ffd6a97dc1813"></a>
> >
> > **Item 2**
> >
> > > <div id="dt-a71999891e865d9cc9f6">
> > > <p style="white-space: pre-wrap">CSxL</p>
> > > </div>

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

### Rule 4

> <a id="dt-5d622c5a2672c1e49b35"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-8d84f7bba76b4e26221f"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-11dc65c5cf7abc0317bb"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-3de4a4db25c09109abf4"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Allowed values (<code>enum</code>):** <a id="dt-2f146490cc52d0a82c19"></a> <span id="dt-b1038ed41acf3cc462f9"><code>&#34;fsl&#44;imx27&#45;weim&#34;</code></span>, <span id="dt-ee83d100044168836749"><code>&#34;fsl&#44;imx31&#45;weim&#34;</code></span>, <span id="dt-e937cad1333060d95a2c"><code>&#34;fsl&#44;imx35&#45;weim&#34;</code></span>
>
> <a id="dt-889ceb40bc531bf0dc1d"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-9fff9961ce6722b392f4"></a>
> >
> > **Properties matching a name pattern (<code>patternProperties</code>)**
> >
> > <a id="dt-2fc8d95e2a5be39ac137"></a>
> >
> > **<code>&#94;&#46;&#42;&#64;&#91;0&#45;7&#93;&#44;&#91;0&#45;9a&#45;f&#93;&#43;&#36;</code> — name matches this regular expression**
> >
> > <a id="dt-bf07c06af5a8eac9e61c"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-b0623131e3539193fa11"></a>
> >
> > **<code>fsl&#44;weim&#45;cs&#45;timing</code> — not listed as required here**
> >
> > <a id="dt-d6cf8b466419a93cc50a"></a>
> >
> > **Array item rules (<code>items</code>)**
> >
> > <a id="dt-0d1b2766a0ddcd6c706f"></a>
> >
> > **Item 1**
> >
> > > <div id="dt-b530111c26f29d089911">
> > > <p style="white-space: pre-wrap">CSCRxU</p>
> > > </div>
> >
> > <a id="dt-d3082a77dfe2f6e55574"></a>
> >
> > **Item 2**
> >
> > > <div id="dt-2bc5ff84bae0d312608d">
> > > <p style="white-space: pre-wrap">CSCRxL</p>
> > > </div>
> >
> > <a id="dt-2bcec30922080dda6fb9"></a>
> >
> > **Item 3**
> >
> > > <div id="dt-ece126b98b1883f55a2d">
> > > <p style="white-space: pre-wrap">CSCRxA</p>
> > > </div>

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

### Rule 5

> <a id="dt-30dd43480a02ff52099e"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-815e247e2e39708faa21"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-95159efb137dae08a1e1"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-2bc9a23172c2091be559"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Allowed values (<code>enum</code>):** <a id="dt-f6f7348eb6a3f6a0c1d3"></a> <span id="dt-e23119600ac866295534"><code>&#34;fsl&#44;imx50&#45;weim&#34;</code></span>, <span id="dt-394f4c36882e88052506"><code>&#34;fsl&#44;imx51&#45;weim&#34;</code></span>, <span id="dt-95e59d4b4fc4dc8444e1"><code>&#34;fsl&#44;imx6q&#45;weim&#34;</code></span>, <span id="dt-1690cc8817b19888354c"><code>&#34;fsl&#44;imx6sx&#45;weim&#34;</code></span>, <span id="dt-9ab9b547d9880bdef7d4"><code>&#34;fsl&#44;imx6ul&#45;weim&#34;</code></span>
>
> <a id="dt-b13bdf6bf01ba2db1729"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-71e2d872d02b2110c3db"></a>
> >
> > **Properties matching a name pattern (<code>patternProperties</code>)**
> >
> > <a id="dt-56a9de97b9ca73f7584b"></a>
> >
> > **<code>&#94;&#46;&#42;&#64;&#91;0&#45;7&#93;&#44;&#91;0&#45;9a&#45;f&#93;&#43;&#36;</code> — name matches this regular expression**
> >
> > <a id="dt-87a11483d9a327b36458"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-e8c2bf45b4eefae63dd7"></a>
> >
> > **<code>fsl&#44;weim&#45;cs&#45;timing</code> — not listed as required here**
> >
> > <a id="dt-0d7cc5925425c57d2a44"></a>
> >
> > **Array item rules (<code>items</code>)**
> >
> > <a id="dt-915f1568b6b45cd5c7e3"></a>
> >
> > **Item 1**
> >
> > > <div id="dt-757cc4387ef532b6925d">
> > > <p style="white-space: pre-wrap">CSxGCR1</p>
> > > </div>
> >
> > <a id="dt-cd3c37988f6fe165a02c"></a>
> >
> > **Item 2**
> >
> > > <div id="dt-2f5ece5a003f52b2ea34">
> > > <p style="white-space: pre-wrap">CSxGCR2</p>
> > > </div>
> >
> > <a id="dt-84320aa4bee901726df5"></a>
> >
> > **Item 3**
> >
> > > <div id="dt-602d550f634f90eeea8c">
> > > <p style="white-space: pre-wrap">CSxRCR1</p>
> > > </div>
> >
> > <a id="dt-7477716e54e7a3160de6"></a>
> >
> > **Item 4**
> >
> > > <div id="dt-6e9ae38fe9c3a7a2c539">
> > > <p style="white-space: pre-wrap">CSxRCR2</p>
> > > </div>
> >
> > <a id="dt-43729b6fcfac287a3635"></a>
> >
> > **Item 5**
> >
> > > <div id="dt-0b4bf69421f780b1361b">
> > > <p style="white-space: pre-wrap">CSxWCR1</p>
> > > </div>
> >
> > <a id="dt-a637c9dbf011647b92c0"></a>
> >
> > **Item 6**
> >
> > > <div id="dt-b5a4427491ceef9a571f">
> > > <p style="white-space: pre-wrap">CSxWCR2</p>
> > > </div>

<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">memory-controller@21b8000 {
    compatible = "fsl,imx6q-weim";
    reg = &lt;0x021b8000 0x4000&gt;;
    clocks = &lt;&amp;clks 196&gt;;
    #address-cells = &lt;2&gt;;
    #size-cells = &lt;1&gt;;
    ranges = &lt;0 0 0x08000000 0x08000000&gt;;
    fsl,weim-cs-gpr = &lt;&amp;gpr&gt;;

    flash@0,0 {
        compatible = "cfi-flash";
        reg = &lt;0 0 0x02000000&gt;;
        #address-cells = &lt;1&gt;;
        #size-cells = &lt;1&gt;;
        bank-width = &lt;2&gt;;
        fsl,weim-cs-timing = &lt;0x00620081 0x00000001 0x1c022000
                              0x0000c000 0x1404a38e 0x00000000&gt;;
    };
};
</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>
