Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nrf54H: wifi: Fix application core boot #2403

Merged
merged 4 commits into from
Dec 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions boards/shields/nrf7002eb/boards/nrf54h20dk_nrf54h20_cpuapp.overlay
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
/*
* Copyright (c) 2024 Nordic Semiconductor ASA
*
* SPDX-License-Identifier: Apache-2.0
*/

/* Only GPIOs 1..11 are supported for PORT1 in nRF54H20DK board, for now
* remove this as Wi-Fi SR co-existence is not yet supported on this board.
* The external SR RF switch may not even be present on this board.
*/
&nrf70 {
/delete-property/ srrf-switch-gpios;
};
6 changes: 6 additions & 0 deletions drivers/wifi/nrf_wifi/Kconfig.nrfwifi
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,12 @@ config NRF70_SR_COEX

config NRF70_SR_COEX_RF_SWITCH
bool "GPIO configuration to control SR side RF switch position"
depends on $(dt_node_has_prop,nrf70, srrf-switch-gpios)
depends on NRF70_SR_COEX
help
Select this option to enable GPIO configuration to control SR side RF switch position.
If this GPIO is asserted (1), the SR side RF switch is connected to the Wi-Fi side (shared antenna).
If this GPIO is de-asserted (0), the SR side RF switch is connected to the SR side (separate antenna).

config NRF70_WORKQ_STACK_SIZE
int "Stack size for workqueue"
Expand Down
2 changes: 0 additions & 2 deletions drivers/wifi/nrf_wifi/src/coex.c
Original file line number Diff line number Diff line change
Expand Up @@ -247,10 +247,8 @@ int nrf_wifi_config_sr_switch(bool separate_antennas)

if (separate_antennas) {
gpio_pin_set_dt(&sr_rf_switch_spec, 0x0);
LOG_INF("GPIO P1.10 set to 0");
} else {
gpio_pin_set_dt(&sr_rf_switch_spec, 0x1);
LOG_INF("GPIO P1.10 set to 1");
}

return 0;
Expand Down
Loading