Skip to content

Commit c6effa3

Browse files
[nrf fromtree] tests: drivers: i2c: target_api: extend nrf overlays with bus gpios
Add bus gpios to zephyr,user node in nrf overlays to enable testing device_deinit test case. Signed-off-by: Bjarki Arge Andreasen <[email protected]> (cherry picked from commit e0fa444b8dbff03a05a7942825dca8c5bd0109a9)
1 parent 929fe3a commit c6effa3

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

tests/drivers/i2c/i2c_target_api/boards/nrf54h20dk_nrf54h20_cpuapp.overlay

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,23 @@
99
* SCL = P1.2 and P1.3
1010
*/
1111

12+
/ {
13+
zephyr,user {
14+
sda0-gpios = <&gpio2 8 0>;
15+
scl0-gpios = <&gpio1 2 0>;
16+
sda1-gpios = <&gpio2 9 0>;
17+
scl1-gpios = <&gpio1 3 0>;
18+
};
19+
};
20+
21+
&gpio1 {
22+
status = "okay";
23+
};
24+
25+
&gpio2 {
26+
status = "okay";
27+
};
28+
1229
&pinctrl {
1330
i2c130_default: i2c130_default {
1431
group1 {

0 commit comments

Comments
 (0)