-
Notifications
You must be signed in to change notification settings - Fork 6.5k
Commit
Add CI coverage for nRF5340 plus nRF21540 FEM usage in hci_uart plus hci_ipc samples. Signed-off-by: Vinayak Kariappa Chettimada <[email protected]>
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
/ { | ||
nrf_radio_fem: nrf21540_fem { | ||
compatible = "nordic,nrf21540-fem"; | ||
Check warning on line 3 in samples/bluetooth/hci_ipc/boards/nrf5340_audio_dk_nrf5340_cpunet_nrf21540_ek.overlay GitHub Actions / Run compliance checks on patch series (PR)LEADING_SPACE
|
||
tx-en-gpios = <&gpio1 4 GPIO_ACTIVE_HIGH>; | ||
Check warning on line 4 in samples/bluetooth/hci_ipc/boards/nrf5340_audio_dk_nrf5340_cpunet_nrf21540_ek.overlay GitHub Actions / Run compliance checks on patch series (PR)LEADING_SPACE
|
||
rx-en-gpios = <&gpio1 6 GPIO_ACTIVE_HIGH>; | ||
Check warning on line 5 in samples/bluetooth/hci_ipc/boards/nrf5340_audio_dk_nrf5340_cpunet_nrf21540_ek.overlay GitHub Actions / Run compliance checks on patch series (PR)LEADING_SPACE
|
||
mode-gpios = <&gpio1 8 GPIO_ACTIVE_HIGH>; | ||
Check warning on line 6 in samples/bluetooth/hci_ipc/boards/nrf5340_audio_dk_nrf5340_cpunet_nrf21540_ek.overlay GitHub Actions / Run compliance checks on patch series (PR)LEADING_SPACE
|
||
pdn-gpios = <&gpio0 29 GPIO_ACTIVE_HIGH>; | ||
Check warning on line 7 in samples/bluetooth/hci_ipc/boards/nrf5340_audio_dk_nrf5340_cpunet_nrf21540_ek.overlay GitHub Actions / Run compliance checks on patch series (PR)LEADING_SPACE
|
||
spi-if = <&nrf_radio_fem_spi>; | ||
Check warning on line 8 in samples/bluetooth/hci_ipc/boards/nrf5340_audio_dk_nrf5340_cpunet_nrf21540_ek.overlay GitHub Actions / Run compliance checks on patch series (PR)LEADING_SPACE
|
||
supply-voltage-mv = <1800>; | ||
Check warning on line 9 in samples/bluetooth/hci_ipc/boards/nrf5340_audio_dk_nrf5340_cpunet_nrf21540_ek.overlay GitHub Actions / Run compliance checks on patch series (PR)LEADING_SPACE
|
||
}; | ||
Check warning on line 10 in samples/bluetooth/hci_ipc/boards/nrf5340_audio_dk_nrf5340_cpunet_nrf21540_ek.overlay GitHub Actions / Run compliance checks on patch series (PR)LEADING_SPACE
|
||
}; | ||
|
||
&spi0 { | ||
cs-gpios = <&gpio0 21 GPIO_ACTIVE_LOW>; | ||
|
||
nrf_radio_fem_spi: nrf21540_fem_spi@0 { | ||
compatible = "nordic,nrf21540-fem-spi"; | ||
reg = <0>; | ||
spi-max-frequency = <8000000>; | ||
}; | ||
}; | ||
|
||
&radio { | ||
fem = <&nrf_radio_fem>; | ||
}; |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
/* SPDX-License-Identifier: Apache-2.0 */ | ||
|
||
/ { | ||
gpio_fwd: nrf-gpio-forwarder { | ||
compatible = "nordic,nrf-gpio-forwarder"; | ||
status = "okay"; | ||
nrf21540-gpio-if { | ||
gpios = <&gpio1 4 GPIO_ACTIVE_HIGH>, // tx-en-gpios | ||
Check warning on line 8 in samples/bluetooth/hci_uart/boards/nrf5340_audio_dk_nrf5340_cpuapp_nrf21540_ek.overlay GitHub Actions / Run compliance checks on patch series (PR)SPACE_BEFORE_TAB
|
||
<&gpio1 6 GPIO_ACTIVE_HIGH>, // rx-en-gpios | ||
Check warning on line 9 in samples/bluetooth/hci_uart/boards/nrf5340_audio_dk_nrf5340_cpuapp_nrf21540_ek.overlay GitHub Actions / Run compliance checks on patch series (PR)SPACE_BEFORE_TAB
|
||
<&gpio1 8 GPIO_ACTIVE_HIGH>, // mode-gpios | ||
<&gpio0 29 GPIO_ACTIVE_HIGH>, // pdn-gpios | ||
<&gpio0 21 GPIO_ACTIVE_LOW>; // cs-gpios | ||
}; | ||
}; | ||
}; | ||
|
||
&uart0 { | ||
compatible = "nordic,nrf-uarte"; | ||
current-speed = <1000000>; | ||
status = "okay"; | ||
hw-flow-control; | ||
}; |