Lines Matching +full:gpios +full:- +full:set +full:- +full:reg

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
86 ----------
92 (The 'dfe-pdu-antenna' property value described below is stored
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"
114 reg:
123 Phandle linking the RADIO node to its external front-end module.
130 dfe-supported:
133 If set, the radio hardware supports the Direction Finding Extension.
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.
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>;
172 and should be set to 0 as shown.
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:
212 If set, indicates that the radio hardware supports the IEEE 802.15.4
215 ble-2mbps-supported:
218 If set, indicates that the radio hardware supports the 2 Mbps BLE mode.
220 ble-coded-phy-supported:
223 If set, indicates that the radio hardware supports coded BLE PHY.
225 tx-high-power-supported:
228 If set, indicates that the radio hardware supports high TX power
231 cs-supported:
234 If set, the radio hardware supports the BLE Channel Sounding feature.
235 This property should be treated as read-only and should not be overridden;