nrf7002ek: dts: Add pull down to SPIM GPIO pins

Add a pull down to SPIM GPIO pins on nRF5340DK to ensure the i/o pins
on the nrf7002 device are not floating when SPI is inactive.

Signed-off-by: Bansidhar Mangalwedhekar <bansidhar.mangalwedhekar@nordicsemi.no>
This commit is contained in:
Bansidhar Mangalwedhekar 2025-05-16 02:14:39 +05:30 committed by Benjamin Cabé
commit 90a48e814b

View file

@ -16,31 +16,21 @@
/* /*
* Override the default pinctrl settings for SPI4 when used with the nRF7002 EK * Override the default pinctrl settings for SPI4 when used with the nRF7002 EK
* to pull down the MISO line. This is needed to avoid floating inputs when * 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 * the SPI4 is not used. The default pinctrl settings are defined in the
* nrf5340_cpuapp_common_pinctrl.dtsi file. * nrf5340_cpuapp_common_pinctrl.dtsi file.
*/ */
&pinctrl { &pinctrl {
spi4_default: spi4_default { spi4_default: spi4_default {
group1 { group1 {
psels = <NRF_PSEL(SPIM_SCK, 1, 15)>,
<NRF_PSEL(SPIM_MOSI, 1, 13)>;
};
group2 {
psels = <NRF_PSEL(SPIM_MISO, 1, 14)>;
bias-pull-down; bias-pull-down;
}; };
}; };
spi4_sleep: spi4_sleep { spi4_sleep: spi4_sleep {
group1 { group1 {
psels = <NRF_PSEL(SPIM_SCK, 1, 15)>,
<NRF_PSEL(SPIM_MOSI, 1, 13)>;
};
group2 {
psels = <NRF_PSEL(SPIM_MISO, 1, 14)>;
bias-pull-down; bias-pull-down;
};
low-power-enable; low-power-enable;
}; };
}; };
};