Skip to content

Commit a6d1c41

Browse files
tests: drivers: spi: spi_loopback: nrf54h20 cpuapp: add cs gpio
Add CS GPIO to nrf54h20dk/nrf54h20/cpuapp which is connected to PORT which is in the "fast domain". The fast domain needs to be resumed from thread context given it requires IPC communication. This thus ensures that GPIO can be used with and without PM_DEVICE_RUNTIME enabled. Signed-off-by: Bjarki Arge Andreasen <[email protected]>
1 parent e011f21 commit a6d1c41

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tests/drivers/spi/spi_loopback/boards/nrf54h20dk_nrf54h20_common.dtsi

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,18 @@
3939
reg = <0>;
4040
spi-max-frequency = <DT_FREQ_M(8)>;
4141
};
42+
cs-gpios = <&gpio7 0 0>;
4243
};
4344

4445
&gpio0 {
4546
status = "okay";
4647
};
4748

49+
&gpio7 {
50+
status = "okay";
51+
zephyr,pm-device-runtime-auto;
52+
};
53+
4854
&gpiote130 {
4955
status = "okay";
5056
};

0 commit comments

Comments
 (0)