Lines Matching +full:switch +full:- +full:mode +full:- +full:frequency
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 ---
5 $id: http://devicetree.org/schemas/iio/frequency/adi,admfm2000.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
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.
22 - adi,admfm2000
24 '#address-cells':
27 '#size-cells':
31 "^channel@[0-1]$":
44 adi,mixer-mode:
46 Enable mixer mode for the channel. It downconverts RF between 5 GHz
48 is in direct IF mode which bypasses the mixer and downconverts RF
52 switch-gpios:
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
64 attenuation-gpios:
67 DSA-V4 DSA-V3 DSA-V2 DSA-V1 DSA-V0
69 1 1 1 1 0 -1 dB
70 1 1 1 0 1 -2 dB
71 1 1 0 1 1 -4 dB
72 1 0 1 1 1 -8 dB
73 0 1 1 1 1 -16 dB
74 0 0 0 0 0 -31 dB
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
84 - reg
85 - switch-gpios
86 - attenuation-gpios
89 - compatible
94 - |
95 #include <dt-bindings/gpio/gpio.h>
99 #address-cells = <1>;
100 #size-cells = <0>;
104 switch-gpios = <&gpio 1 GPIO_ACTIVE_LOW>,
107 attenuation-gpios = <&gpio 17 GPIO_ACTIVE_LOW>,
116 adi,mixer-mode;
117 switch-gpios = <&gpio 3 GPIO_ACTIVE_LOW>,
120 attenuation-gpios = <&gpio 0 GPIO_ACTIVE_LOW>,