Skip to content

Commit 54cb011

Browse files
nordic-baminordicjm
authored andcommitted
[nrf fromtree] tests: drivers: flash: Verify 'supply-gpios' for SPI nor flash driver
Test SPI NOR flash driver ability to hande the 'supply-gpios' property. Signed-off-by: Bartosz Miller <bartosz.miller@nordicsemi.no> (cherry picked from commit 08250dc)
1 parent 196e6a0 commit 54cb011

3 files changed

Lines changed: 17 additions & 0 deletions

File tree

tests/drivers/flash/common/boards/nrf54h20dk_nrf54h20_cpuapp.overlay

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,5 @@
2727
&mx25uw63 {
2828
status = "okay";
2929
supply-gpios = <&gpio0 0 GPIO_ACTIVE_HIGH>;
30+
t-reset-recovery = <10000>;
3031
};

tests/drivers/flash/common/boards/nrf54lm20dk_nrf54lm20a_cpuapp.overlay

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,14 @@
44
* SPDX-License-Identifier: Apache-2.0
55
*/
66

7+
/ {
8+
zephyr,user {
9+
test-gpios = <&gpio1 4 GPIO_ACTIVE_HIGH>;
10+
};
11+
};
12+
713
&mx25r64 {
814
status = "okay";
15+
supply-gpios = <&gpio1 3 GPIO_ACTIVE_HIGH>;
16+
t-reset-recovery = <10000>;
917
};

tests/drivers/flash/common/boards/nrf54lm20dk_nrf54lm20b_cpuapp.overlay

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,14 @@
44
* SPDX-License-Identifier: Apache-2.0
55
*/
66

7+
/ {
8+
zephyr,user {
9+
test-gpios = <&gpio1 4 GPIO_ACTIVE_HIGH>;
10+
};
11+
};
12+
713
&mx25r64 {
814
status = "okay";
15+
supply-gpios = <&gpio1 3 GPIO_ACTIVE_HIGH>;
16+
t-reset-recovery = <10000>;
917
};

0 commit comments

Comments
 (0)