Skip to content

Commit 90a48e8

Browse files
bama-nordickartben
authored andcommitted
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>
1 parent 021c96d commit 90a48e8

File tree

1 file changed

+2
-12
lines changed

1 file changed

+2
-12
lines changed

boards/shields/nrf7002ek/boards/nrf5340dk_nrf5340_cpuapp.overlay

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -16,31 +16,21 @@
1616

1717
/*
1818
* Override the default pinctrl settings for SPI4 when used with the nRF7002 EK
19-
* to pull down the MISO line. This is needed to avoid floating inputs when
19+
* to pull down the SPIM lines. This is needed to avoid floating inputs when
2020
* the SPI4 is not used. The default pinctrl settings are defined in the
2121
* nrf5340_cpuapp_common_pinctrl.dtsi file.
2222
*/
2323
&pinctrl {
2424
spi4_default: spi4_default {
2525
group1 {
26-
psels = <NRF_PSEL(SPIM_SCK, 1, 15)>,
27-
<NRF_PSEL(SPIM_MOSI, 1, 13)>;
28-
};
29-
group2 {
30-
psels = <NRF_PSEL(SPIM_MISO, 1, 14)>;
3126
bias-pull-down;
3227
};
3328
};
3429

3530
spi4_sleep: spi4_sleep {
3631
group1 {
37-
psels = <NRF_PSEL(SPIM_SCK, 1, 15)>,
38-
<NRF_PSEL(SPIM_MOSI, 1, 13)>;
39-
};
40-
group2 {
41-
psels = <NRF_PSEL(SPIM_MISO, 1, 14)>;
4232
bias-pull-down;
33+
low-power-enable;
4334
};
44-
low-power-enable;
4535
};
4636
};

0 commit comments

Comments
 (0)