Lines Matching +full:nrf21540 +full:- +full:fem
2 # SPDX-License-Identifier: Apache-2.0
15 Here is an example of how a nrf-gpio-forwarder can be used with a nRF5340
16 combined with a nRF21540 Front-End module. Consider the following node
18 the details of the nRF21540 Front-End module's interface:
20 nrf_radio_fem: nrf21540 {
21 compatible = "nordic,nrf21540-fem";
22 tx-en-gpios = <&gpio0 30 GPIO_ACTIVE_HIGH>;
23 rx-en-gpios = <&gpio1 11 GPIO_ACTIVE_HIGH>;
24 pdn-gpios = <&gpio1 10 GPIO_ACTIVE_HIGH>;
25 mode-gpios = <&gpio1 12 GPIO_ACTIVE_HIGH>;
28 Since the nRF21540 Front-End module should be controlled by the nRF5340
31 nrf-gpio-forwarder node defined in DTS file targeted for the nRF5340
34 gpio_fwd: nrf-gpio-forwarder {
35 compatible = "nordic,nrf-gpio-forwarder";
36 nrf21540-gpio-if {
41 In the above example, the nrf-gpio-forwarder node is configured to forward
44 - P0.30 (matching `tx-en-gpios`)
45 - P1.11 (matching `rx-en-gpios`)
46 - P1.10 (matching `pdn-gpios`)
47 - P1.12 (matching `mode-gpios`)
52 to. In the above example, the GPIO flags must be set in the nrf21540 node.
53 They are set to 0 in the nrf-gpio-forwarder node as they are ignored anyway.
59 nrf-gpio-forwarder instance.
61 compatible: "nordic,nrf-gpio-forwarder"
65 child-binding:
70 type: phandle-array