File tree Expand file tree Collapse file tree 4 files changed +78
-0
lines changed Expand file tree Collapse file tree 4 files changed +78
-0
lines changed Original file line number Diff line number Diff line change
1
+ / {
2
+ nrf_radio_fem: nrf21540_fem {
3
+ compatible = "nordic,nrf21540-fem";
4
+ tx-en-gpios = <&arduino_header 11 GPIO_ACTIVE_HIGH>; /* D5 */
5
+ rx-en-gpios = <&arduino_header 9 GPIO_ACTIVE_HIGH>; /* D3 */
6
+ pdn-gpios = <&arduino_header 15 GPIO_ACTIVE_HIGH>; /* D9 */
7
+ ant-sel-gpios = <&arduino_header 10 GPIO_ACTIVE_HIGH>; /* D4 */
8
+ mode-gpios = <&arduino_header 8 GPIO_ACTIVE_HIGH>; /* D2 */
9
+ spi-if = <&nrf_radio_fem_spi>;
10
+ supply-voltage-mv = <3000>;
11
+ };
12
+ };
13
+
14
+ &spi0 {
15
+ /* status = "okay"; */
16
+ cs-gpios = <&arduino_header 16 GPIO_ACTIVE_LOW>; /* D10 */
17
+
18
+ nrf_radio_fem_spi: nrf21540_fem_spi@0 {
19
+ compatible = "nordic,nrf21540-fem-spi";
20
+ /* status = "okay"; */
21
+ reg = <0>;
22
+ spi-max-frequency = <8000000>;
23
+ };
24
+ };
25
+
26
+ &radio {
27
+ fem = <&nrf_radio_fem>;
28
+ };
Original file line number Diff line number Diff line change @@ -82,6 +82,16 @@ tests:
82
82
- nrf5340bsim/nrf5340/cpunet
83
83
integration_platforms :
84
84
- nrf5340dk/nrf5340/cpunet
85
+ sample.bluetooth.hci_ipc.iso.fem.bt_ll_sw_split :
86
+ harness : bluetooth
87
+ tags : bluetooth
88
+ extra_args :
89
+ - CONF_FILE="nrf5340_cpunet_iso-bt_ll_sw_split.conf"
90
+ - DTC_OVERLAY_FILE="./boards/nrf5340_audio_dk_nrf5340_cpunet_nrf21540_ek.overlay"
91
+ platform_allow :
92
+ - nrf5340_audio_dk/nrf5340/cpunet
93
+ integration_platforms :
94
+ - nrf5340_audio_dk/nrf5340/cpunet
85
95
sample.bluetooth.hci_ipc.df.bt_ll_sw_split :
86
96
harness : bluetooth
87
97
tags : bluetooth
Original file line number Diff line number Diff line change
1
+ /* SPDX-License-Identifier: Apache-2.0 */
2
+
3
+ / {
4
+ gpio_fwd: nrf-gpio-forwarder {
5
+ compatible = "nordic,nrf-gpio-forwarder";
6
+ status = "okay";
7
+
8
+ nrf21540-gpio-if {
9
+ gpios = <&arduino_header 11 0>, /* tx-en-gpios */
10
+ <&arduino_header 9 0>, /* rx-en-gpios */
11
+ <&arduino_header 15 0>, /* pdn-gpios */
12
+ <&arduino_header 10 0>, /* ant-sel-gpios */
13
+ <&arduino_header 8 0>; /* mode-gpios */
14
+ };
15
+
16
+ nrf21540-spi-if {
17
+ gpios = <&arduino_header 16 0>, /* cs-gpios */
18
+ <&gpio0 8 0>, /* SPIM_SCK */
19
+ <&gpio0 10 0>, /* SPIM_MISO */
20
+ <&gpio0 9 0>; /* SPIM_MOSI */
21
+ };
22
+ };
23
+ };
24
+
25
+ &uart0 {
26
+ compatible = "nordic,nrf-uarte";
27
+ current-speed = <1000000>;
28
+ status = "okay";
29
+ hw-flow-control;
30
+ };
Original file line number Diff line number Diff line change @@ -47,6 +47,16 @@ tests:
47
47
tags :
48
48
- uart
49
49
- bluetooth
50
+ sample.bluetooth.hci_uart.nrf5340_audio_dk_cpuapp.fem :
51
+ harness : bluetooth
52
+ platform_allow :
53
+ - nrf5340_audio_dk/nrf5340/cpuapp
54
+ integration_platforms :
55
+ - nrf5340_audio_dk/nrf5340/cpuapp
56
+ extra_args : DTC_OVERLAY_FILE=./boards/nrf5340_audio_dk_nrf5340_cpuapp_nrf21540_ek.overlay
57
+ tags :
58
+ - uart
59
+ - bluetooth
50
60
sample.bluetooth.hci_uart.nrf52833.all :
51
61
harness : bluetooth
52
62
platform_allow : nrf52833dk/nrf52833
You can’t perform that action at this time.
0 commit comments