1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 # Copyright 2024 Analog Devices Inc.
5 $id: http://devicetree.org/schemas/iio/frequency/adi,admfm2000.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
8 title: ADMFM2000 Dual Microwave Down Converter
11 - Kim Seer Paller <kimseer.paller@analog.com>
14 Dual microwave down converter module with input RF and LO frequency ranges
15 from 0.5 to 32 GHz and an output IF frequency range from 0.1 to 8 GHz.
16 It consists of a LNA, mixer, IF filter, DSA, and IF amplifier for each down
33 description: Represents a channel of the device.
35 additionalProperties: false
46 Enable mixer mode for the channel. It downconverts RF between 5 GHz
47 and 32 GHz to IF between 0.5 GHz and 8 GHz. If not present, the channel
48 is in direct IF mode which bypasses the mixer and downconverts RF
49 between 2 GHz and 8 GHz to IF between 0.5 GHz and 8 GHz.
54 GPIOs to select the RF path for the channel. The same state of CTRL-A
55 and CTRL-B GPIOs is not permitted.
56 CTRL-A CTRL-B CH1 Status CH2 Status
57 1 0 Direct IF mode Mixer mode
58 0 1 Mixer mode Direct IF mode
61 - description: CTRL-A GPIO
62 - description: CTRL-B GPIO
66 Choice of attenuation:
67 DSA-V4 DSA-V3 DSA-V2 DSA-V1 DSA-V0
77 - description: DSA-V0 GPIO
78 - description: DSA-V1 GPIO
79 - description: DSA-V2 GPIO
80 - description: DSA-V3 GPIO
81 - description: DSA-V4 GPIO
91 additionalProperties: false
95 #include <dt-bindings/gpio/gpio.h>
97 compatible = "adi,admfm2000";
104 switch-gpios = <&gpio 1 GPIO_ACTIVE_LOW>,
105 <&gpio 2 GPIO_ACTIVE_HIGH>;
107 attenuation-gpios = <&gpio 17 GPIO_ACTIVE_LOW>,
108 <&gpio 22 GPIO_ACTIVE_LOW>,
109 <&gpio 23 GPIO_ACTIVE_LOW>,
110 <&gpio 24 GPIO_ACTIVE_LOW>,
111 <&gpio 25 GPIO_ACTIVE_LOW>;
117 switch-gpios = <&gpio 3 GPIO_ACTIVE_LOW>,
118 <&gpio 4 GPIO_ACTIVE_HIGH>;
120 attenuation-gpios = <&gpio 0 GPIO_ACTIVE_LOW>,
121 <&gpio 5 GPIO_ACTIVE_LOW>,
122 <&gpio 6 GPIO_ACTIVE_LOW>,
123 <&gpio 16 GPIO_ACTIVE_LOW>,
124 <&gpio 26 GPIO_ACTIVE_LOW>;