Skip to content

Commit f156c85

Browse files
committed
tests: drivers: gpio-async: Add overlay for tiny2040
Add an overlay to configure the gpio used. Currently, this is set as an "LED" even though this is not correct, as Zephyr doesn't have any DT entries for general purpose GPIOs. Key matrix might make sense, if the Zephyr driver can be kept from claiming it. Signed-off-by: David Brown <[email protected]>
1 parent 06c1dfe commit f156c85

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
/ {
2+
gpio-leds {
3+
compatible = "gpio-leds";
4+
col0: col0 {
5+
gpios = <&gpio0 6 GPIO_ACTIVE_HIGH>;
6+
label = "Column 0";
7+
};
8+
row0: row0 {
9+
gpios = <&gpio0 0 (GPIO_PULL_DOWN | GPIO_ACTIVE_HIGH)>;
10+
label = "Row 0";
11+
};
12+
};
13+
};

0 commit comments

Comments
 (0)