Skip to content
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
18 changes: 13 additions & 5 deletions boards/nordic/nrf7002dk/nrf5340_cpuapp_common_pinctrl.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,12 @@
<NRF_PSEL(QSPI_IO0, 0, 13)>,
<NRF_PSEL(QSPI_IO1, 0, 14)>,
<NRF_PSEL(QSPI_IO2, 0, 15)>,
<NRF_PSEL(QSPI_IO3, 0, 16)>,
<NRF_PSEL(QSPI_CSN, 0, 18)>;
<NRF_PSEL(QSPI_IO3, 0, 16)>;
bias-pull-down;
};
group2 {
psels = <NRF_PSEL(QSPI_CSN, 0, 18)>;
bias-pull-up;
};
};

Expand All @@ -66,10 +70,14 @@
<NRF_PSEL(QSPI_IO0, 0, 13)>,
<NRF_PSEL(QSPI_IO1, 0, 14)>,
<NRF_PSEL(QSPI_IO2, 0, 15)>,
<NRF_PSEL(QSPI_IO3, 0, 16)>,
<NRF_PSEL(QSPI_CSN, 0, 18)>;
low-power-enable;
<NRF_PSEL(QSPI_IO3, 0, 16)>;
bias-pull-down;
};
group2 {
psels = <NRF_PSEL(QSPI_CSN, 0, 18)>;
bias-pull-up;
};
low-power-enable;
};

uart1_default: uart1_default {
Expand Down
21 changes: 21 additions & 0 deletions boards/shields/nrf7002ek/boards/nrf5340dk_nrf5340_cpuapp.overlay
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,24 @@
&gpio_fwd {
status = "disabled";
};

/*
* Override the default pinctrl settings for SPI4 when used with the nRF7002 EK
* to pull down the SPIM lines. This is needed to avoid floating inputs when
* the SPI4 is not used. The default pinctrl settings are defined in the
* nrf5340_cpuapp_common_pinctrl.dtsi file.
*/
&pinctrl {
spi4_default: spi4_default {
group1 {
bias-pull-down;
};
};

spi4_sleep: spi4_sleep {
group1 {
bias-pull-down;
low-power-enable;
};
};
};