Lines Matching +full:in +full:- +full:gpios

2 # SPDX-License-Identifier: Apache-2.0
15 Front-End Module (FEM) support
16 ------------------------------
18 External front-end modules are range extenders used for boosting
20 system includes an external FEM, set it up in the devicetree using
27 nrf_radio_fem: my-fem {
34 - generic-fem-two-ctrl-pins
35 - nordic,nrf21540-fem
41 ---------------------------
44 The 'dfe-supported' property will be set when it is available.
45 In this case, the 'dfegpio[n]-gpios' properties configure GPIO pins
48 Each dfegpio[n]-gpios property which is set is used to initialize the
51 None of the dfegpio[n]-gpios properties are marked 'required',
56 That in turn means that at least one dfegpio[n]-gpios
59 4 GPIOs must be provided (since 4 GPIO pins support switching up to
62 GPIOs are used in order, following the indices of the dfegpio[n]-gpios
64 antenna switch patterns to GPIOs.
67 --------------------------
71 0x3 means that antenna GPIOs at indexes 0 and 1 will be set, while
74 The number of GPIOs specified with dfegpio[n]-gpios properties
76 GPIOs, the pattern count cannot be greater than 16, and the
79 Antenna switch patterns are stored in DFE internal memory by
86 ----------
90 * Idle: in this state, PDU transmission happens.
91 DFE uses SWITCHPATTERN[0] to select the antenna in this state.
92 (The 'dfe-pdu-antenna' property value described below is stored
93 in SWITCHPATTERN[0] by the radio controller code.)
95 * Guard: in this state, DFE prepares for reception or transmission
99 * Reference: in this state, DFE starts to receive or transmit CTE.
100 In AoA mode, DFE collects reference IQ samples. The selected
101 antenna is the same as in the guard state.
103 * Switch-sample: in this state, actual antenna switching happens.
105 number of switch-sample periods is greater than the number of
109 compatible: "nordic,nrf-radio"
123 Phandle linking the RADIO node to its external front-end module.
130 dfe-supported:
134 This property should be treated as read-only and should not be overridden;
137 dfe-antenna-num:
142 This should only be set if dfe-supported is true. If you set this
145 dfe-pdu-antenna:
151 This should only be set if dfe-supported is true.
153 This pattern is stored in SWITCHPATTERN[0] before actual antenna
154 switching patterns. This pattern will also be used to drive GPIOs
155 when the radio releases control of GPIOs used to switch antennas.
157 dfegpio0-gpios:
158 type: phandle-array
160 Pin select for DFE pin 0. This should only be set if dfe-supported
165 dfegpio1-gpios = <&gpio0 2 0>;
169 dfegpio1-gpios = <&gpio1 4 0>;
171 Note the last 'flags' cell in the property is not used,
174 dfegpio1-gpios:
175 type: phandle-array
177 Pin select for DFE pin 1. See description for dfegpio0-gpios.
179 dfegpio2-gpios:
180 type: phandle-array
182 Pin select for DFE pin 2. See description for dfegpio0-gpios.
184 dfegpio3-gpios:
185 type: phandle-array
187 Pin select for DFE pin 3. See description for dfegpio0-gpios.
189 dfegpio4-gpios:
190 type: phandle-array
192 Pin select for DFE pin 4. See description for dfegpio0-gpios.
194 dfegpio5-gpios:
195 type: phandle-array
197 Pin select for DFE pin 5. See description for dfegpio0-gpios.
199 dfegpio6-gpios:
200 type: phandle-array
202 Pin select for DFE pin 6. See description for dfegpio0-gpios.
204 dfegpio7-gpios:
205 type: phandle-array
207 Pin select for DFE pin 7. See description for dfegpio0-gpios.
209 ieee802154-supported:
215 ble-2mbps-supported:
220 ble-coded-phy-supported:
225 tx-high-power-supported:
231 cs-supported:
235 This property should be treated as read-only and should not be overridden;