# ADMFM2000 Dual Microwave Down Converter

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Industrial I/O bindings / frequency_

> Device-tree binding reference for ADMFM2000 Dual Microwave Down Converter.

<!-- 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;iio&#47;frequency&#47;adi&#44;admfm2000&#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;Kim Seer Paller &#60;kimseer&#46;paller&#64;analog&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">Dual microwave down converter module with input RF and LO frequency ranges from 0.5 to 32 GHz and an output IF frequency range from 0.1 to 8 GHz. It consists of a LNA, mixer, IF filter, DSA, and IF amplifier for each down conversion path.</p>
</div>

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

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

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

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

**Allowed values (<code>enum</code>):** <a id="dt-207128c21dbd6355c894"></a> <span id="dt-bd234eb96375d77ca611"><code>&#34;adi&#44;admfm2000&#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>1</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>0</code></span>

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

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

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

### <code>&#94;channel&#64;&#91;0&#45;1&#93;&#36;</code> — name matches this regular expression

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

<div id="dt-325cebc73df85510b5f8">
<p style="white-space: pre-wrap">Represents a channel of the device.</p>
</div>

<a id="dt-84da8ee5eca694d83c16"></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-c496d39586cd4fb39a7d"></a>

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

<a id="dt-6d845b801c8956743e0c"></a>

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

<div id="dt-511c82eec091c2905b68">
<p style="white-space: pre-wrap">The channel number.</p>
</div>

**Minimum value (<code>minimum</code>):** <span id="dt-fd0b47a4577cbfa3ba5a"><code>0</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-af43bad7154fa99a9eff"><code>1</code></span>

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

**<code>adi&#44;mixer&#45;mode</code> — not listed as required here**

<div id="dt-544a0680ed5395dbed49">
<p style="white-space: pre-wrap">Enable mixer mode for the channel. It downconverts RF between 5 GHz and 32 GHz to IF between 0.5 GHz and 8 GHz. If not present, the channel is in direct IF mode which bypasses the mixer and downconverts RF between 2 GHz and 8 GHz to IF between 0.5 GHz and 8 GHz.</p>
</div>

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

<a id="dt-2587d2f79fe0dd072a55"></a>

**<code>switch&#45;gpios</code> — required here**

<div id="dt-5c76fdfe9152ffcd1d15">
<p style="white-space: pre-wrap">GPIOs to select the RF path for the channel. The same state of CTRL-A
and CTRL-B GPIOs is not permitted.
CTRL-A   CTRL-B    CH1 Status        CH2 Status
1        0         Direct IF mode    Mixer mode
0        1         Mixer mode        Direct IF mode</p>
</div>

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

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

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

**Item 1**

> <div id="dt-b0b0427c3bd38a56a6ca">
> <p style="white-space: pre-wrap">CTRL-A GPIO</p>
> </div>

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

**Item 2**

> <div id="dt-235779149f3f61a291d4">
> <p style="white-space: pre-wrap">CTRL-B GPIO</p>
> </div>

<a id="dt-57eafcd3e0e94419165f"></a>

**<code>attenuation&#45;gpios</code> — required here**

<div id="dt-41e1686797dd89ec4cad">
<p style="white-space: pre-wrap">Choice of attenuation:
DSA-V4  DSA-V3  DSA-V2  DSA-V1  DSA-V0
1       1       1       1       1        0 dB
1       1       1       1       0        -1 dB
1       1       1       0       1        -2 dB
1       1       0       1       1        -4 dB
1       0       1       1       1        -8 dB
0       1       1       1       1        -16 dB
0       0       0       0       0        -31 dB</p>
</div>

<a id="dt-6e1b60868c552361ffcb"></a>

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

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

**Item 1**

> <div id="dt-31e8d2b862f2d34ef87d">
> <p style="white-space: pre-wrap">DSA-V0 GPIO</p>
> </div>

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

**Item 2**

> <div id="dt-5b07ab8166a943b384ac">
> <p style="white-space: pre-wrap">DSA-V1 GPIO</p>
> </div>

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

**Item 3**

> <div id="dt-33bd56498636b43e96e0">
> <p style="white-space: pre-wrap">DSA-V2 GPIO</p>
> </div>

<a id="dt-877c11b0c274f2b081d9"></a>

**Item 4**

> <div id="dt-a6f8a926b8f315b1b215">
> <p style="white-space: pre-wrap">DSA-V3 GPIO</p>
> </div>

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

**Item 5**

> <div id="dt-60d873daef61f63ec73e">
> <p style="white-space: pre-wrap">DSA-V4 GPIO</p>
> </div>

**Required in this object (<code>required</code>):** <a id="dt-0d1f4ad905b6325378fe"></a> <span id="dt-1d8b7937e2819686bb4c"><code>&#34;reg&#34;</code></span>, <span id="dt-a54528d3a1603038f345"><code>&#34;switch&#45;gpios&#34;</code></span>, <span id="dt-676ad7f3e3da9892878a"><code>&#34;attenuation&#45;gpios&#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>

<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/gpio/gpio.h&gt;
converter {
  compatible = "adi,admfm2000";

  #address-cells = &lt;1&gt;;
  #size-cells = &lt;0&gt;;

  channel@0 {
    reg = &lt;0&gt;;
    switch-gpios = &lt;&amp;gpio 1 GPIO_ACTIVE_LOW&gt;,
                   &lt;&amp;gpio 2 GPIO_ACTIVE_HIGH&gt;;

    attenuation-gpios = &lt;&amp;gpio 17 GPIO_ACTIVE_LOW&gt;,
                        &lt;&amp;gpio 22 GPIO_ACTIVE_LOW&gt;,
                        &lt;&amp;gpio 23 GPIO_ACTIVE_LOW&gt;,
                        &lt;&amp;gpio 24 GPIO_ACTIVE_LOW&gt;,
                        &lt;&amp;gpio 25 GPIO_ACTIVE_LOW&gt;;
  };

  channel@1 {
    reg = &lt;1&gt;;
    adi,mixer-mode;
    switch-gpios = &lt;&amp;gpio 3 GPIO_ACTIVE_LOW&gt;,
                   &lt;&amp;gpio 4 GPIO_ACTIVE_HIGH&gt;;

    attenuation-gpios = &lt;&amp;gpio 0 GPIO_ACTIVE_LOW&gt;,
                        &lt;&amp;gpio 5 GPIO_ACTIVE_LOW&gt;,
                        &lt;&amp;gpio 6 GPIO_ACTIVE_LOW&gt;,
                        &lt;&amp;gpio 16 GPIO_ACTIVE_LOW&gt;,
                        &lt;&amp;gpio 26 GPIO_ACTIVE_LOW&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>

<p id="dt-comment-1"><strong>Line 2:</strong> <span> Copyright 2024 Analog Devices Inc.</span></p>

</details>
