From 90a48e814b9699d34d41e42038bef0132427a5c3 Mon Sep 17 00:00:00 2001 From: Bansidhar Mangalwedhekar Date: Fri, 16 May 2025 02:14:39 +0530 Subject: [PATCH] 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 --- .../boards/nrf5340dk_nrf5340_cpuapp.overlay | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/boards/shields/nrf7002ek/boards/nrf5340dk_nrf5340_cpuapp.overlay b/boards/shields/nrf7002ek/boards/nrf5340dk_nrf5340_cpuapp.overlay index 9c0acc017d9..357de43f2ec 100644 --- a/boards/shields/nrf7002ek/boards/nrf5340dk_nrf5340_cpuapp.overlay +++ b/boards/shields/nrf7002ek/boards/nrf5340dk_nrf5340_cpuapp.overlay @@ -16,31 +16,21 @@ /* * 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 * nrf5340_cpuapp_common_pinctrl.dtsi file. */ &pinctrl { spi4_default: spi4_default { group1 { - psels = , - ; - }; - group2 { - psels = ; bias-pull-down; }; }; spi4_sleep: spi4_sleep { group1 { - psels = , - ; - }; - group2 { - psels = ; bias-pull-down; + low-power-enable; }; - low-power-enable; }; };